Thanks Doug.. Thanks Felix... I made the changes as suggested by you
guys and it seems that I am approaching near... My web.xml is still the
same.
I made the changes as suggested by Doug for server.xml...
Now I can see that in tomcat55x.out its loading the server configuration
and the end of the log looks like this:
------------------------------------------------------------------------
-
[INFO] Http11BaseProtocol - Starting Coyote HTTP/1.1 on http-8088
[INFO] Catalina - Server startup in 31966 ms
------------------------------------------------------------------------
-
This shows that Tomcat 5.5.23 is getting started, however when I am
doing http://localhost:8080/ I am not getting any response.

On the build console I am getting the message shown below:
========================================================================
====
test:
   [cactus]
-----------------------------------------------------------------
   [cactus] Running tests against Tomcat 5.5.23 @ http://localhost:8080
   [cactus]
-----------------------------------------------------------------
   [cactus] Deleting 495 files from
D:\DOCUME~1\SUJEET~1.SIN\LOCALS~1\Temp\cactus\tomcat5x
   [cactus] Deleted 123 directories from
D:\DOCUME~1\SUJEET~1.SIN\LOCALS~1\Temp\cactus\tomcat5x

BUILD FAILED
D:\workspaceLombo\bwStripesCactus\cactusbuild.xml:427: Failed to start
the container after more than [800000] ms. Trying to connect to the
[http://localhost:8080/bwStripesCactus-cactified/ServletRedirector?Cactu
s_Service=RUN_TEST] test URL yielded a [-1] error code. Please run in
debug mode for more details about the error.

========================================================================
====

Please help.....

Regards
Sujeet Kumar Sinha

-----Original Message-----
From: Simmons, Doug [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 28, 2007 1:09 AM
To: Cactus Users List
Subject: RE: Unable to run cactus tests on Tomcat 5.5.23(Urgent help
required)

Sujeet,

In my experience the <tomcat5x> task does not support tomcat 5.5.x
because the server.xml format for tomcat changed slightly since tomcat
5.0.x. That said, you can a workaround it by creating your own
server.xml for tomcat 5.5.x and pointing the <tomcat5x> task to it via
the "serverxml" attribute. Please see the below example;


        <tomcat5x if="cactus.home.tomcat55x"
            dir="${cactus.home.tomcat55x}" port="${cactus.port}"
                serverxml="${src.conf.dir}/tomcat55x/server.xml"
            output="${target.testreports.dir}/tomcat55x.out"
            todir="${target.testreports.dir}/tomcat55x"/>

Cheers!
-Doug

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Monday, August 27, 2007 5:42 AM
To: cactus-user@jakarta.apache.org
Subject: Unable to run cactus tests on Tomcat 5.5.23(Urgent help
required)


Hi,

  I am trying to execute cactus test cases using an ant build script. I
am using jakarta-cactus-12-1.7 and ant 1.6.5. I am running the test
scripts on Tomcat 5.5.23.... The build script successfully generates the
war and cactify war file, however it hangs while executing the test
cases. It displays the message as shown below:

test:
   [cactus]
-----------------------------------------------------------------
   [cactus] Running tests against Tomcat 5.5.23 @ http://localhost:8080
   [cactus]
-----------------------------------------------------------------


Please let me know if anybody has come across this issue.. I am not
getting any clue as nothing is getting generated in logs anywhere...
Quick response is much appreciated...

Thanks
Sujeet


This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete
the original.  Any other use of the email by you is prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to