[jboss-dev] Re: jboss-head-testsuite-sun-1.5 Build Failed

Ryan Campbell rcampbel at redhat.com
Mon Mar 12 22:03:46 EDT 2007


The server:start task doesn't detect the startup because Tomcat is not 
running in the tomcat-sso config!  Somebody screwed up the 
tomcat-sso-tests target.

You should see a line like this:

2007-03-12 06:23:30,698 INFO  [org.apache.coyote.http11.Http11Protocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080

In this log file:


http://cruisecontrol.jboss.com/cc/artifacts/jboss-head-testsuite-sun-1.5/20070312055641/build/output/jboss-5.0.0.Beta2/server/tomcat-sso/log/server.log

So something is wrong with the tomcat-sso configuration that prevents it 
from including tomcat6.   See the tomcat-sso-tests target.  It includes 
the /deployers directory, but not /deploy/jbossweb-tomcat6.

Martin Vecera wrote:
> Hello,
>
> the problem of testsuite is:
> ------------------------------------
> tomcat-sso-tests:
>      [echo] creating tomcat-sso config
>      [copy] Copying 98 files to /services/cruisecontrol/checkout/jboss-head-testsuite-sun-1.5/build/output/jboss-5.0.0.Beta2/server/tomcat-sso
>      [echo] Overwriting config descriptors
>      [copy] Copying 4 files to /services/cruisecontrol/checkout/jboss-head-testsuite-sun-1.5/build/output/jboss-5.0.0.Beta2/server/tomcat-sso
> [server:start] Starting server "tomcat-sso" with command: 
> [server:start] /opt/jdk1.5.0_10/bin/java -cp /services/cruisecontrol/checkout/jboss-head-testsuite-sun-1.5/build/output/jboss-5.0.0.Beta2/bin/run.jar:/opt/jdk1.5.0_10/lib/tools.jar -Xmx128m   org.jboss.Main -c tomcat-sso -b localhost 
>
> BUILD FAILED
> /services/cruisecontrol/checkout/jboss-head-testsuite-sun-1.5/testsuite/build.xml:857: The following error occurred while executing this line:
> /services/cruisecontrol/checkout/jboss-head-testsuite-sun-1.5/testsuite/build.xml:1202: Error starting server "tomcat-sso": Server failed to start; see logs.
> ------------------------------------
>
> But the server.log says:
> ------------------------------------
> ...
> 2007-03-12 09:32:49,031 DEBUG
> [org.jboss.deployers.plugins.deployment.MainDeployerImpl] Deployed:
> vfsfile:/services/cruisecontrol/checkout/jboss-head-testsuite-sun-1.5/build/output/jboss-5.0.0.Beta2/server/tomcat-sso/deploy/jbossjca-service.xml
> 2007-03-12 09:32:49,033 INFO  [org.jboss.system.server.profileservice.ServerImpl] JBoss (Microcontainer) [5.0.0.Beta2 (build: SVNTag=JBoss_5_0_0_Beta2 date=200703120614)] Started in 15s:686ms
> ------------------------------------
>
> So no blocked ports or something like this. The server is started, but
> Ant task server:start (org.jboss.ant.taskdefs.server.StartServerTask) is
> not able to recognize it. error.log and output.log are empty and
> boot.log doesn't contain any error messages.
>
> Apache Ant version 1.6.2 compiled on July 16 2004
>
> Any ideas?
>
> Regards,
> Martin Vecera
>   





More information about the jboss-development mailing list