tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Tomee 7.0.0-M3 drop in war error during application deployment
Date Wed, 04 May 2016 07:13:20 GMT
Hi

Is tomee deployed before your app OR did you set the listener in server.xml?
Le 4 mai 2016 09:09, "ravi sankar" <sankar_ravi_c@yahoo.co.in.invalid> a
écrit :

> What I am missing ? Why I am getting this error?
>
> 04-May-2016 17:05:26.682 INFO [localhost-startStop-2]
> org.apache.openejb.config.ConfigurationFactory.configureApplication
> Configuring enterprise application: D:\Servers
> \apache-tomcat-8.0.33\webapps\test_application
> 04-May-2016 17:05:26.807 SEVERE [localhost-startStop-2]
> org.apache.catalina.core.ContainerBase.addChildInternal
> ContainerBase.addChild: start:
>  org.apache.catalina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/test_application]]
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
>         at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
>         at
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1816)
>         at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NoSuchMethodError:
> javax.persistence.PersistenceContext.synchronization()Ljavax/persistence/SynchronizationType;
>         at
> org.apache.openejb.config.PersistenceContextAnnFactory$DirectPersistenceContext.synchronization(PersistenceContextAnnFactory.java:118)
>         at
> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.buildPersistenceContext(AnnotationDeployer.java:4579)
>         at
> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.buildAnnotatedRefs(AnnotationDeployer.java:3980)
>         at
> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:2907)
>         at
> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1946)
>         at
> org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:375)
>         at
> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:416)
>         at
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:1022)
>         at
> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1214)
>         at
> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1094)
>         at
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)
>         at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
>         at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150)
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
>         ... 10 more
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message