Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-2961

Unable to deploy war project on Arquillian integration tests using arquillian-tomee-embedded Maven artifact

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.0.2, 8.0.3
    • Fix Version/s: 8.0.6
    • Labels:
      None
    • Environment:

      Description

      When trying to run the test code provided to this issue, the log shows the following error message:

      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------< test:tomee-simple >-------------------------
      [INFO] Building tomee-simple 0.0.1-SNAPSHOT
      [INFO] -------------------------------[ war ]--------------------------------
      [INFO]
      [INFO] — maven-resources-plugin:2.6:resources (default-resources) @ tomee-simple —
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 0 resource
      [INFO]
      [INFO] — maven-compiler-plugin:3.1:compile (default-compile) @ tomee-simple —
      [INFO] Nothing to compile - all classes are up to date
      [INFO]
      [INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ tomee-simple —
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 1 resource
      [INFO]
      [INFO] — maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tomee-simple —
      [INFO] Nothing to compile - all classes are up to date
      [INFO]
      [INFO] — maven-surefire-plugin:2.12.4:test (default-test) @ tomee-simple —
      [INFO] Surefire report directory: /home/arturo/workspaces/eclipse_workspace/tomee-simple/target/surefire-reports

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running amllado.arquillian.tomee.test.TestHelloWorldRestController
      ene. 21, 2021 10:02:47 P. M. org.apache.tomee.embedded.Container start
      INFORMACIÓN: Starting TomEE from: /tmp/arquillian-apache-tomee
      ene. 21, 2021 10:02:48 P. M. org.apache.coyote.AbstractProtocol init
      INFORMACIÓN: Initializing ProtocolHandler ["http-nio-20002"]
      ene. 21, 2021 10:02:48 P. M. org.apache.catalina.core.StandardService startInternal
      INFORMACIÓN: Starting service [Tomcat]
      ene. 21, 2021 10:02:48 P. M. org.apache.catalina.core.StandardEngine startInternal
      INFORMACIÓN: Starting Servlet engine: [Apache Tomcat/9.0.35]
      ene. 21, 2021 10:02:48 P. M. org.apache.coyote.AbstractProtocol start
      INFORMACIÓN: Starting ProtocolHandler ["http-nio-20002"]
      ene. 21, 2021 10:02:48 P. M. org.apache.openejb.util.OptionsLog info
      INFORMACIÓN: Using 'openejb.jdbc.datasource-creator=org.apache.tomee.jdbc.TomEEDataSourceCreator'
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.OpenEJB$Instance <init>
      INFORMACIÓN: ********************************************************************************
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.OpenEJB$Instance <init>
      INFORMACIÓN: OpenEJB http://tomee.apache.org/
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.OpenEJB$Instance <init>
      INFORMACIÓN: Startup: Thu Jan 21 22:02:49 CET 2021
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.OpenEJB$Instance <init>
      INFORMACIÓN: Copyright 1999-2018 (C) Apache OpenEJB Project, All Rights Reserved.
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.OpenEJB$Instance <init>
      INFORMACIÓN: Version: 8.0.2
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.OpenEJB$Instance <init>
      INFORMACIÓN: Build date: 20200514
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.OpenEJB$Instance <init>
      INFORMACIÓN: Build time: 11:52
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.OpenEJB$Instance <init>
      INFORMACIÓN: ********************************************************************************
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.OpenEJB$Instance <init>
      INFORMACIÓN: openejb.home = /tmp/arquillian-apache-tomee
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.OpenEJB$Instance <init>
      INFORMACIÓN: openejb.base = /tmp/arquillian-apache-tomee
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.cdi.CdiBuilder initializeOWB
      INFORMACIÓN: Created new singletonService org.apache.openejb.cdi.ThreadSingletonServiceImpl@425357dd
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.cdi.CdiBuilder initializeOWB
      INFORMACIÓN: Succeeded in installing singleton service
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.config.ConfigurationFactory init
      INFORMACIÓN: TomEE configuration file is '/tmp/arquillian-apache-tomee/conf/openejb.xml'
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.config.ConfigurationFactory configureService
      INFORMACIÓN: Configuring Service(id=Tomcat Security Service, type=SecurityService, provider-id=Tomcat Security Service)
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.config.ConfigurationFactory configureService
      INFORMACIÓN: Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.util.OptionsLog info
      INFORMACIÓN: Using 'openejb.system.apps=false'
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.util.OptionsLog info
      INFORMACIÓN: Using 'openejb.deployments.classpath=false'
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.assembler.classic.Assembler createRecipe
      INFORMACIÓN: Creating TransactionManager(id=Default Transaction Manager)
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.assembler.classic.Assembler createRecipe
      INFORMACIÓN: Creating SecurityService(id=Tomcat Security Service)
      ene. 21, 2021 10:02:49 P. M. org.apache.openejb.util.OptionsLog info
      INFORMACIÓN: Using 'openejb.servicemanager.enabled=false'
      ene. 21, 2021 10:02:51 P. M. org.apache.openejb.util.JarExtractor extract
      INFORMACIÓN: Extracting jar: /tmp/arquillian-tomee-app-working-dir/0/tomee-simple.war
      ene. 21, 2021 10:02:51 P. M. org.apache.openejb.util.JarExtractor extract
      INFORMACIÓN: Extracted path: /tmp/arquillian-tomee-app-working-dir/0/tomee-simple
      ene. 21, 2021 10:02:51 P. M. org.apache.tomee.catalina.TomcatWebAppBuilder deployWebApps
      INFORMACIÓN: using default host: localhost
      ene. 21, 2021 10:02:51 P. M. org.apache.tomee.catalina.TomcatWebAppBuilder init
      INFORMACIÓN: ------------------------- localhost -> /tomee-simple
      ene. 21, 2021 10:02:51 P. M. org.apache.openejb.util.OptionsLog info
      INFORMACIÓN: Using 'openejb.session.manager=org.apache.tomee.catalina.session.QuickSessionManager'
      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.apache.openejb.ClassLoaderUtil (file:/home/arturo/.m2/repository/org/apache/tomee/openejb-core/8.0.2/openejb-core-8.0.2.jar) to field java.net.URLClassLoader.ucp
      WARNING: Please consider reporting this to the maintainers of org.apache.openejb.ClassLoaderUtil
      WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
      WARNING: All illegal access operations will be denied in a future release
      ene. 21, 2021 10:02:51 P. M. org.apache.openejb.config.ConfigurationFactory configureApplication
      INFORMACIÓN: Configuring enterprise application: /tmp/arquillian-tomee-app-working-dir/0/tomee-simple
      ene. 21, 2021 10:02:51 P. M. org.apache.openejb.config.InitEjbDeployments deploy
      INFORMACIÓN: Auto-deploying ejb HelloWorldBean: EjbDeployment(deployment-id=HelloWorldBean)
      ene. 21, 2021 10:02:51 P. M. org.apache.openejb.config.ConfigurationFactory configureService
      INFORMACIÓN: Configuring Service(id=Default Stateless Container, type=Container, provider-id=Default Stateless Container)
      ene. 21, 2021 10:02:51 P. M. org.apache.openejb.config.AutoConfig createContainer
      INFORMACIÓN: Auto-creating a container for bean HelloWorldBean: Container(type=STATELESS, id=Default Stateless Container)
      ene. 21, 2021 10:02:51 P. M. org.apache.openejb.assembler.classic.Assembler createRecipe
      INFORMACIÓN: Creating Container(id=Default Stateless Container)
      ene. 21, 2021 10:02:51 P. M. org.apache.openejb.config.ConfigurationFactory configureService
      INFORMACIÓN: Configuring Service(id=Default Managed Container, type=Container, provider-id=Default Managed Container)
      ene. 21, 2021 10:02:51 P. M. org.apache.openejb.config.AutoConfig createContainer
      INFORMACIÓN: Auto-creating a container for bean tomee-simple.Comp1914526580: Container(type=MANAGED, id=Default Managed Container)
      ene. 21, 2021 10:02:51 P. M. org.apache.openejb.assembler.classic.Assembler createRecipe
      INFORMACIÓN: Creating Container(id=Default Managed Container)
      ene. 21, 2021 10:02:51 P. M. org.apache.openejb.core.managed.SimplePassivater init
      INFORMACIÓN: Using directory /tmp for stateful session passivation
      ene. 21, 2021 10:02:52 P. M. org.apache.openejb.config.AppInfoBuilder build
      INFORMACIÓN: Enterprise application "/tmp/arquillian-tomee-app-working-dir/0/tomee-simple" loaded.
      ene. 21, 2021 10:02:52 P. M. org.apache.openejb.assembler.classic.Assembler createApplication
      INFORMACIÓN: Assembling app: /tmp/arquillian-tomee-app-working-dir/0/tomee-simple
      ene. 21, 2021 10:02:52 P. M. org.apache.openejb.assembler.classic.JndiBuilder bind
      INFORMACIÓN: Jndi(name=HelloWorldBeanLocal) --> Ejb(deployment-id=HelloWorldBean)
      ene. 21, 2021 10:02:52 P. M. org.apache.openejb.assembler.classic.JndiBuilder bind
      INFORMACIÓN: Jndi(name=global/tomee-simple/HelloWorldBean!amllado.arquillian.tomee.ejb.HelloWorldService) --> Ejb(deployment-id=HelloWorldBean)
      ene. 21, 2021 10:02:52 P. M. org.apache.openejb.assembler.classic.JndiBuilder bind
      INFORMACIÓN: Jndi(name=global/tomee-simple/HelloWorldBean) --> Ejb(deployment-id=HelloWorldBean)
      ene. 21, 2021 10:02:52 P. M. org.apache.openejb.cdi.CdiBuilder initSingleton
      INFORMACIÓN: Existing thread singleton service in SystemInstance(): org.apache.openejb.cdi.ThreadSingletonServiceImpl@425357dd
      ene. 21, 2021 10:02:52 P. M. org.apache.openejb.cdi.ManagedSecurityService <init>
      INFORMACIÓN: Some Principal APIs could not be loaded: org.eclipse.microprofile.jwt.JsonWebToken out of org.eclipse.microprofile.jwt.JsonWebToken not found
      ene. 21, 2021 10:02:52 P. M. org.apache.openejb.cdi.OpenEJBLifecycle startApplication
      INFORMACIÓN: OpenWebBeans Container is starting...
      ene. 21, 2021 10:02:52 P. M. org.apache.webbeans.plugins.PluginLoader startUp
      INFORMACIÓN: Adding OpenWebBeansPlugin : [CdiPlugin]
      ene. 21, 2021 10:02:52 P. M. org.apache.webbeans.config.BeansDeployer validateInjectionPoints
      INFORMACIÓN: All injection points were validated successfully.
      ene. 21, 2021 10:02:53 P. M. org.apache.openejb.cdi.OpenEJBLifecycle startApplication
      INFORMACIÓN: OpenWebBeans Container has started, it took 701 ms.
      ene. 21, 2021 10:02:53 P. M. org.apache.openejb.assembler.classic.Assembler startEjbs
      INFORMACIÓN: Created Ejb(deployment-id=HelloWorldBean, ejb-name=HelloWorldBean, container=Default Stateless Container)
      ene. 21, 2021 10:02:53 P. M. org.apache.openejb.assembler.classic.Assembler startEjbs
      INFORMACIÓN: Started Ejb(deployment-id=HelloWorldBean, ejb-name=HelloWorldBean, container=Default Stateless Container)
      ene. 21, 2021 10:02:53 P. M. org.apache.openejb.assembler.classic.Assembler createApplication
      INFORMACIÓN: Deployed Application(path=/tmp/arquillian-tomee-app-working-dir/0/tomee-simple)
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.876 sec <<< FAILURE!
      amllado.arquillian.tomee.test.TestHelloWorldRestController Time elapsed: 6.874 sec <<< ERROR!
      org.jboss.arquillian.container.spi.client.container.DeploymentException: Unable to deploy
      at org.apache.openejb.arquillian.embedded.EmbeddedTomEEContainer.deploy(EmbeddedTomEEContainer.java:197)
      at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:161)
      at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:128)
      at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
      at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:127)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
      at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
      at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85)
      at org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:50)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
      at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
      at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:78)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
      at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
      at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
      at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
      at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143)
      at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
      at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
      at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:95)
      at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:80)
      at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:263)
      at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:239)
      at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:79)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
      at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
      at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85)
      at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143)
      at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
      at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
      at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:101)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
      at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:103)
      at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:85)
      at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
      at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
      at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:96)
      at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:92)
      at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:143)
      at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:114)
      at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:87)
      at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:202)
      at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431)
      at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55)
      at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219)
      at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
      at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167)
      at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
      at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
      at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
      at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
      at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
      at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
      at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
      Caused by: org.apache.openejb.OpenEJBRuntimeException: java.lang.IllegalStateException: Error starting child
      at org.apache.tomee.catalina.deployment.TomcatWebappDeployer.deploy(TomcatWebappDeployer.java:58)
      at org.apache.tomee.embedded.Container.deploy(Container.java:883)
      at org.apache.tomee.embedded.Container.deploy(Container.java:869)
      at org.apache.openejb.arquillian.embedded.EmbeddedTomEEContainer.deploy(EmbeddedTomEEContainer.java:173)
      ... 94 more
      Caused by: java.lang.IllegalStateException: Error starting child
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
      at org.apache.tomee.catalina.TomcatWebAppBuilder.deployWar(TomcatWebAppBuilder.java:658)
      at org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps(TomcatWebAppBuilder.java:598)
      at org.apache.tomee.catalina.deployment.TomcatWebappDeployer.deploy(TomcatWebappDeployer.java:47)
      ... 97 more
      Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[/tomee-simple]]
      at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
      ... 102 more
      Caused by: javax.el.ELException: Unable to find ExpressionFactory of type # Licensed to the Apache Software Foundation (ASF) under one or more
      at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:152)
      at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:91)
      at org.apache.jasper.runtime.JspApplicationContextImpl.<init>(JspApplicationContextImpl.java:49)
      at org.apache.jasper.runtime.JspApplicationContextImpl.getInstance(JspApplicationContextImpl.java:78)
      at org.apache.jasper.runtime.JspFactoryImpl.getJspApplicationContext(JspFactoryImpl.java:216)
      at org.apache.openejb.cdi.OpenEJBLifecycle.setJspELFactory(OpenEJBLifecycle.java:420)
      at org.apache.openejb.cdi.OpenEJBLifecycle.initializeServletContext(OpenEJBLifecycle.java:387)
      at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1475)
      at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1131)
      at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:134)
      at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5052)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
      ... 103 more
      Caused by: java.lang.ClassNotFoundException: # Licensed to the Apache Software Foundation (ASF) under one or more
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1365)
      at org.apache.tomee.catalina.TomEEWebappClassLoader.loadClass(TomEEWebappClassLoader.java:209)
      at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188)
      at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:145)
      ... 115 more

      ene. 21, 2021 10:02:53 P. M. org.apache.coyote.AbstractProtocol stop
      INFORMACIÓN: Stopping ProtocolHandler ["http-nio-20002"]
      ene. 21, 2021 10:02:53 P. M. org.apache.coyote.AbstractProtocol pause
      INFORMACIÓN: Pausing ProtocolHandler ["http-nio-20002"]
      ene. 21, 2021 10:02:53 P. M. org.apache.catalina.core.StandardService stopInternal
      INFORMACIÓN: Stopping service [Tomcat]
      ene. 21, 2021 10:02:53 P. M. org.apache.openejb.assembler.classic.Assembler destroyApplication
      INFORMACIÓN: Undeploying app: /tmp/arquillian-tomee-app-working-dir/0/tomee-simple
      ene. 21, 2021 10:02:53 P. M. org.apache.coyote.AbstractProtocol destroy
      INFORMACIÓN: Destroying ProtocolHandler ["http-nio-20002"]

      Results :

      Tests in error:
      amllado.arquillian.tomee.test.TestHelloWorldRestController: Unable to deploy

      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 10.683 s
      [INFO] Finished at: 2021-01-21T22:02:53+01:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project tomee-simple: There are test failures.
      [ERROR]
      [ERROR] Please refer to /home/arturo/workspaces/eclipse_workspace/tomee-simple/target/surefire-reports for the individual test results.
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

        Attachments

        1. tomee-simple.tar.gz
          3 kB
          Arturo Martín Lladó

          Activity

            People

            • Assignee:
              cesarhernandezgt Cesar Hernandez
              Reporter:
              amllado Arturo Martín Lladó
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: