tomcat7 build failure

Serge Hallyn serge.hallyn at ubuntu.com
Thu Mar 19 14:48:32 UTC 2015


Hi,

when I try to build tomcat7 from source on a jessie host, I get several
test failures.  One of the test output files is attached - I'm afraid I
have no idea how to read this.  Can anyone explain what's actually broken?

thanks,
-serge

Testsuite: org.apache.catalina.core.TestStandardContext
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.907 sec
------------- Standard Error -----------------
Mar 19, 2015 3:32:26 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-127.0.0.1-auto-1"]
Mar 19, 2015 3:32:26 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 19, 2015 3:32:26 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 (Ubuntu)
Mar 19, 2015 3:32:26 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-auto-1-54778"]
Mar 19, 2015 3:32:26 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-127.0.0.1-auto-1-54778"]
Mar 19, 2015 3:32:26 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 19, 2015 3:32:26 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-127.0.0.1-auto-1-54778"]
Mar 19, 2015 3:32:26 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-1-54778"]
Mar 19, 2015 3:32:26 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-127.0.0.1-auto-2"]
Mar 19, 2015 3:32:26 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 19, 2015 3:32:26 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 (Ubuntu)
Mar 19, 2015 3:32:26 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-auto-2-57959"]
Mar 19, 2015 3:32:26 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
INFO: No global web.xml found
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-127.0.0.1-auto-2-57959"]
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-127.0.0.1-auto-2-57959"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-2-57959"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-3"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-4"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-127.0.0.1-auto-5"]
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 (Ubuntu)
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter Bug46243
javax.servlet.ServletException: Init fail (test)
	at org.apache.catalina.core.TestStandardContext$Bug46243Filter.init(TestStandardContext.java:179)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4830)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5510)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	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:745)
Caused by: java.lang.ClassNotFoundException
	... 13 more

Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error filterStart
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [] startup failed due to previous errors
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-auto-5-60131"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-127.0.0.1-auto-5-60131"]
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-127.0.0.1-auto-5-60131"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-5-60131"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-127.0.0.1-auto-6"]
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 (Ubuntu)
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-auto-6-48472"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-127.0.0.1-auto-6-48472"]
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-127.0.0.1-auto-6-48472"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-6-48472"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-127.0.0.1-auto-7"]
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 (Ubuntu)
Mar 19, 2015 3:32:28 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
INFO: No global web.xml found
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-auto-7-49083"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-127.0.0.1-auto-7-49083"]
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-127.0.0.1-auto-7-49083"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-7-49083"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-127.0.0.1-auto-8"]
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 (Ubuntu)
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-auto-8-50962"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-127.0.0.1-auto-8-50962"]
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-127.0.0.1-auto-8-50962"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-8-50962"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-9"]
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-127.0.0.1-auto-10"]
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 19, 2015 3:32:28 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 (Ubuntu)
Mar 19, 2015 3:32:28 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-auto-10-59216"]
Mar 19, 2015 3:32:29 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
INFO: No global web.xml found
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-127.0.0.1-auto-10-59216"]
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-127.0.0.1-auto-10-59216"]
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-10-59216"]
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-127.0.0.1-auto-11"]
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 (Ubuntu)
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-auto-11-51113"]
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-127.0.0.1-auto-11-51113"]
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-127.0.0.1-auto-11-51113"]
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-11-51113"]
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-127.0.0.1-auto-12"]
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 (Ubuntu)
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-auto-12-35678"]
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-127.0.0.1-auto-12-35678"]
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-127.0.0.1-auto-12-35678"]
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-12-35678"]
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-127.0.0.1-auto-13"]
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 (Ubuntu)
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet  threw load() exception
javax.servlet.ServletException: failing on purpose
	at org.apache.catalina.core.TestStandardContext$FailingStartupServlet.init(TestStandardContext.java:862)
	at javax.servlet.GenericServlet.init(GenericServlet.java:158)
	at org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.loadServlet(Tomcat.java:866)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5231)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5518)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	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:745)

Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-auto-13-34196"]
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-127.0.0.1-auto-13-34196"]
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-127.0.0.1-auto-13-34196"]
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.56 (Ubuntu)
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet  threw load() exception
javax.servlet.ServletException: failing on purpose
	at org.apache.catalina.core.TestStandardContext$FailingStartupServlet.init(TestStandardContext.java:862)
	at javax.servlet.GenericServlet.init(GenericServlet.java:158)
	at org.apache.catalina.startup.Tomcat$ExistingStandardWrapper.loadServlet(Tomcat.java:866)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5231)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5518)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	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:745)

Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error loadOnStartup
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [] startup failed due to previous errors
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-127.0.0.1-auto-13-34196"]
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-127.0.0.1-auto-13-34196"]
Mar 19, 2015 3:32:29 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-127.0.0.1-auto-13-34196"]
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-13-34196"]
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-14"]
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-15"]
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-16"]
Mar 19, 2015 3:32:29 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.0.0.1-auto-17"]
------------- ---------------- ---------------

Testcase: testTldListener took 1.17 sec
Testcase: testWebappListenerConfigureFail took 1.513 sec
Testcase: testAddPostConstructMethodNullClassName took 0.002 sec
Testcase: testAddPreDestroyMethodConflicts took 0.001 sec
Testcase: testBug46243 took 0.134 sec
Testcase: testBug49711 took 0.058 sec
Testcase: testBug49922 took 0.373 sec
Testcase: testBug50015 took 0.073 sec
Testcase: testBug56903 took 0.007 sec
Testcase: testWebappLoaderStartFail took 0.287 sec
Testcase: testBug51376a took 0.049 sec
Testcase: testBug51376b took 0.042 sec
Testcase: testFlagFailCtxIfServletStartFails took 0.164 sec
Testcase: testAddPreDestroyMethodNullClassName took 0.002 sec
Testcase: testAddPreDestroyMethodNullMethodName took 0.002 sec
Testcase: testAddPostConstructMethodNullMethodName took 0.003 sec
Testcase: testAddPostConstructMethodConflicts took 0.001 sec





More information about the pkg-java-maintainers mailing list