Romain Manni-Bucau created MEECROWAVE-262:
---------------------------------------------
Summary: Ensure disabling tomcat scanning does not require any
other customization
Key: MEECROWAVE-262
URL: https://issues.apache.org/jira/browse/MEECROWAVE-262
Project: Meecrowave
Issue Type: Bug
Reporter: Romain Manni-Bucau
Assignee: Romain Manni-Bucau
Fix For: 1.2.10
Currently it fails with:
{code:java}
java.lang.IllegalStateException: Error starting
childjava.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:706) at
org.apache.meecrowave.Meecrowave.deployWebapp(Meecrowave.java:409) at
org.apache.meecrowave.Meecrowave.deployClasspath(Meecrowave.java:190) at
org.apache.meecrowave.Meecrowave.deployClasspath(Meecrowave.java:209) at
org.apache.meecrowave.Meecrowave.bake(Meecrowave.java:431) at
org.apache.meecrowave.Meecrowave.bake(Meecrowave.java:426) at
org.apache.meecrowave.MeecrowaveTest.noTomcatScanning(MeecrowaveTest.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498) at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at
org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at
org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at
org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at
org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at
org.junit.runners.ParentRunner.run(ParentRunner.java:413) at
org.junit.runner.JUnitCore.run(JUnitCore.java:137) at
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at
com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33)
at
com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:230)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:58)Caused by:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Tomcat].StandardHost[localhost].[]] 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)
... 33 moreCaused by: java.lang.NullPointerException at
org.apache.meecrowave.tomcat.OWBJarScanner.scan(OWBJarScanner.java:52) at
org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:2137)
at
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1288) at
org.apache.meecrowave.tomcat.MeecrowaveContextConfig.webConfig(MeecrowaveContextConfig.java:96)
at
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:985)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:303)
at
org.apache.meecrowave.tomcat.MeecrowaveContextConfig.lifecycleEvent(MeecrowaveContextConfig.java:170)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5082)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ... 34
more
[09:16:44.112][INFO ][owave-stop-hook][oyote.http11.Http11NioProtocol] Pausing
ProtocolHandler ["http-nio-43463"][09:16:44.149][INFO
][owave-stop-hook][.catalina.core.StandardService] Stopping service
[Tomcat][09:16:44.150][INFO ][owave-stop-hook][oyote.http11.Http11NioProtocol]
Stopping ProtocolHandler ["http-nio-43463"][09:16:44.197][INFO
][owave-stop-hook][oyote.http11.Http11NioProtocol] Destroying ProtocolHandler
["http-nio-43463"]
Process finished with exit code 255 {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)