tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schlichtherle <christian-b...@schlichtherle.de>
Subject Re: Next issues
Date Thu, 29 Aug 2013 06:58:35 GMT
Turns out I need to put the WAR (and the other EAR) into the apps folder, not the webapps folder.
Wasn't this supposed to be disabled by default? What's the difference anyway?

Am 29.08.2013 um 08:44 schrieb Christian Schlichtherle <christian@schlichtherle.de>:

> Deploying this app used to work in 1.5.2 and even 1.6.0-SNAPSHOT, but not with the TomEE+
drop-in WAR I've built from the Git repository:
> 
> 29.08.2013 08:36:46 org.apache.catalina.core.ContainerBase addChildInternal
> SCHWERWIEGEND: ContainerBase.addChild: start: 
> org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/autoupdate-server]]
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
> 	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.deployDirectory(HostConfig.java:1113)
> 	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> 	at java.lang.Thread.run(Thread.java:680)
> Caused by: java.lang.NullPointerException
> 	at org.apache.catalina.core.NamingContextListener.addEnvironment(NamingContextListener.java:816)
> 	at org.apache.catalina.core.NamingContextListener.createNamingContext(NamingContextListener.java:685)
> 	at org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:271)
> 	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:5322)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> 	... 11 more
> 29.08.2013 08:36:46 org.apache.catalina.startup.HostConfig deployDirectory
> SCHWERWIEGEND: Error deploying web application directory /Users/christian/sandbox/apache-tomcat-7.0.42/webapps/autoupdate-server
> java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/autoupdate-server]]
> 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
> 	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.deployDirectory(HostConfig.java:1113)
> 	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> 	at java.lang.Thread.run(Thread.java:680)
> 


Mime
View raw message