Here is a server.xml for tomcat-5.5.x by the way which is modeled (and
slightly changed) after the default 5.0.x server.xml that cactus uses in
the <tomcat5x> task.

Cheers,
-Doug

<Server port="8005" shutdown="SHUTDOWN" debug="0">

  <GlobalNamingResources>
      <Resource name="UserDatabase" auth="Container"
        type="org.apache.catalina.UserDatabase"
        description="User database that can be updated and saved"
        factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
        pathname="conf/tomcat-users.xml" />
  </GlobalNamingResources>

  <Service name="Catalina">
    <Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
        port="8088" minProcessors="5" maxProcessors="100"
        enableLookups="true" redirectPort="8443" acceptCount="100"
        connectionTimeout="20000" disableUploadTimeout="true"/>
    <Engine name="Catalina" defaultHost="localhost" debug="0">
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
        resourceName="UserDatabase"/>
      <Host name="localhost" appBase="webapps" unpackWARs="true"
        autoDeploy="true"/>
    </Engine>
  </Service>

</Server>


-----Original Message-----
From: Simmons, Doug [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 27, 2007 12:39 PM
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]

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

Reply via email to