Doesn't work with 1.6.0 as well. I tried with and without the host line in
system.properties. I get a different error though, and I already got this
error in 1.5.x, but only sometimes and only when I tried the virtual host
thing.The error disappeared when I stopped TomEE and waited a moment before
restart. After one or two reboots the error about deployment IDs already
being used disappeared and the error mentioned in my first post ("can't find
path under current webapp deployment []") returns. However with 1.6.0 I only
get that error about deployment IDs. I will restart a couple of times to
make sure, but either way the virtual host is not working.One thing I
observed is: I have a @Scheduled EJB timer, that keeps on running when TomEE
failed to start properly, though I can't access my application or even the
TomEE manager app.INFO: Assembling app: /opt/tomcat/webapps/MYAPPCONTEXTApr
13, 2013 1:22:47 PM org.apache.openejb.assembler.classic.Assembler
createApplicationSEVERE: Application cannot be deployed as it contains
deployment-ids which are in use: app: /opt/tomcat/webapps/MYAPPCONTEXTApr
13, 2013 1:22:47 PM org.apache.openejb.assembler.classic.Assembler
createApplicationSEVERE: DeploymentId already used: TestServiceApr 13, 2013
1:22:47 PM org.apache.openejb.assembler.classic.Assembler
createApplicationSEVERE: DeploymentId already used: UserDao... more EJBs and
JAX-RS-EJBs ...Apr 13, 2013 1:22:47 PM
org.apache.tomee.catalina.TomcatWebAppBuilder startInternalSEVERE: Unable to
deploy collapsed ear in war
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/MYAPPCONTEXT]org.apache.openejb.DuplicateDeploymentIdException:
Application cannot be deployed as it contains deployment-ids which are in
use: app: /opt/tomcat/webapps/MYAPPCONTEXT TestService UserDao ...
more EJBs and JAX-RS-EJBs ... at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:647)
at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:607)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1067)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:972)
at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:124)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5269)
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:633)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
--
View this message in context:
http://openejb.979440.n4.nabble.com/Virtual-host-not-working-tp4662204p4662212.html
Sent from the OpenEJB User mailing list archive at Nabble.com.