I can not confirm your observation, we run multiple wars on one tomee 1.5.2 1.7.1/0 instance every war with even multiple persistence.xml inside.

Is this the full trace?

Am 27.01.2015 um 18:02 schrieb racarlson:
in tomee 1.6 I have 3 wars each with persistence.xml and unqiue
persistence-unit name. Everything works fine. After upgrading to tomee 1.7
it seems if I try to include more than 1 war on a tomee instance anything
after the first fails. If I put each on its own tomee with own port
everything works fine. What has change? Does tomee only support 1
persistence.xml per server now?

below is the stack trace I get, it doesn't give any more errors or details
about why it failed (fails)

SEVERE: Unable to deploy collapsed ear in war
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/AuditService-1.0]
org.apache.openejb.config.ValidationFailedException: Module failed
validation. AppModule(name=AuditService-1.0)
         at
org.apache.openejb.config.ReportValidationResults.deploy(ReportValidationResults.java:88)
         at
org.apache.openejb.config.AppInfoBuilder.build(AppInfoBuilder.java:309)
         at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:965)
         at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1214)
         at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1087)
         at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:130)
         at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
         at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
         at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5378)
         at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
         at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
         at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
         at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
         at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247)
         at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898)
         at java.util.concurrent.Executors$RunnableAdapter.call(Unknown
Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
         at java.lang.Thread.run(Unknown Source)

Jan 27, 2015 11:58:14 AM org.apache.catalina.core.ContainerBase removeChild
SEVERE: ContainerBase.removeChild: destroy:
org.apache.catalina.LifecycleException: An invalid Lifecycle transition was
attempted ([before_destroy]) for component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/AuditService-1.0]]
in state [STARTING_PREP]
         at
org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:409)
         at
org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:299)
         at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1041)
         at
org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:1524)
         at
org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:1505)
         at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1254)
         at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1087)
         at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:130)
         at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
         at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
         at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5378)



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/tomee-1-7-fails-with-multiple-wars-having-persistence-xml-tp4673560.html
Sent from the TomEE Users mailing list archive at Nabble.com.



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to