[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cactus-user
Subject:    RE: Problem with <cactus> task using Cactus v1.7 + Tomcat 5.5.9 +
From:       Tejaswini Yardi <tejaswini.yardi () gmail ! com>
Date:       2007-04-17 6:21:56
Message-ID: 10029897.post () talk ! nabble ! com
[Download RAW message or body]


Hi

I am facing the same problem - I am using the same set of softwares - but I
am not being able to successfully deploy the application if my script also
contains code to use <cactus> task. If i comment code for using <cactus>
task then it deploys the app successfully.

I also tried using the new server.xml as specified in reply to the question
- but it fails to deploy the application :(

Could you please help me with this - am stuck with this problem for the last
two days.

Regards,
TY




Vincent Massol wrote:
> 
> Hi Paolo,
> 
> I don't think we support Tomcat 5.5.x. There's probably a slight variation
> with it that prevents using it with the existing code. I believe Tomcat
> 5.5.x is a different beast than Tomcat 5.0.x.
> 
> We're currently working to integrate Cargo (http://cargo.codehaus.org)
> which
> supports Tomcat 5.5.x.
> 
> Now, if you have a small patch to male the current code work with Tomcat
> 5.5.x, we'll apply it.
> 
> Thanks
> -Vincent
> 
> > -----Original Message-----
> > From: Paolo Castagna [mailto:paolo.castagna@hp.com]
> > Sent: lundi 4 juillet 2005 13:06
> > To: Cactus Users List
> > Subject: Problem with <cactus> task using Cactus v1.7 + Tomcat 5.5.9 +
> > JDKv1.5.0_04 ...
> > 
> > Hi,
> > I am using Cactus v1.7 with JDK v1.5.0_04 and Tomcat v5.5.9,
> > but when I run tests using the <cactus> Ant task it does not
> > start Tomcat:
> > 
> > -----------------------------------------------------------------------
> > Output redirected to /home/castagna/workspace/mywebapp/build/test-
> > reports/tomcat5x.out
> > Execute:Java13CommandLauncher: Executing '/opt/jdk1.5.0_04/jre/bin/java'
> > with arguments:
> > '-Dlog4j.appender.cactus=org.apache.log4j.FileAppender'
> > '-Djava.util.logging.FileHandler.pattern=build/test_server.log'
> > '-Dlog4j.additivity.org.apache.commons.httpclient=false'
> > '-Dlog4j.additivity.httpclient=false'
> > '-Dorg.apache.commons.logging.simplelog.log.org.apache.cactus=trace'
> > '-Dlog4j.appender.cactus.layout=org.apache.log4j.PatternLayout'
> > '-
> > Djava.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
> > '
> > '-Dlog4j.configuration=file:build/logging_server.properties'
> > '-Dorg.apache.cactus.level=ALL'
> > '-
> > Dorg.apache.commons.logging.simplelog.log.org.apache.commons.httpclient=tr
> > ace'
> > '-Dhandlers=java.util.logging.FileHandler'
> > '-Dlog4j.appender.cactus.File=build/test_server.log'
> > '-Dorg.apache.commons.logging.simplelog.showlogname=true'
> > '-Djava.util.logging.config.file=build/logging_server.properties'
> > '-Dlog4j.category.httpclient=WARN, cactus'
> > '-Dlog4j.appender.cactus.Append=false'
> > '-Dlog4j.category.org.apache.commons.httpclient=DEBUG, cactus'
> > '-Dlog4j.category.org.apache.cactus=DEBUG, cactus'
> > '-Dlog4j.rootCategory=DEBUG, cactus'
> > '-Dlog4j.additivity.org.apache.cactus=false'
> > '-Dlog4j.appender.cactus.layout.ConversionPattern=%d{ABSOLUTE} [%t] %-5p
> > %-30.30c{2} %x - %m %n'
> > '-Dcactus.contextURL=http://localhost:8080/mywebapp-
> > cactus'
> > '-Dcatalina.home=/opt/jakarta-tomcat-5.5.9'
> > '-Dcatalina.base=/tmp/cactus/tomcat5x'
> > '-classpath'
> > '/opt/jakarta-
> > tomcat-5.5.9/bin/bootstrap.jar:/opt/jdk1.5.0_04/lib/tools.jar'
> > 'org.apache.catalina.startup.Bootstrap'
> > 'start'
> > 
> > The ' characters around the executable and arguments are
> > not part of the command.
> > Checking if server is up ...
> > Failed to connect to [http://localhost:8080/mywebapp-
> > cactus/ServletRedirector?Cactus_Service=RUN_TEST] (Connection refused)
> > Checking if server is up ...
> > Failed to connect to [http://localhost:8080/mywebapp-
> > cactus/ServletRedirector?Cactus_Service=RUN_TEST] (Connection refused)
> > Checking if server is up ...
> > Failed to connect to [http://localhost:8080/mywebapp-
> > cactus/ServletRedirector?Cactus_Service=RUN_TEST] (Connection refused)
> > Checking if server is up ...
> > Failed to connect to [http://localhost:8080/mywebapp-
> > cactus/ServletRedirector?Cactus_Service=RUN_TEST] (Connection refused)
> > Checking if server is up ...
> > Failed to connect to [http://localhost:8080/mywebapp-
> > cactus/ServletRedirector?Cactus_Service=RUN_TEST] (Connection refused)
> > Checking if server is up ...
> > -----------------------------------------------------------------------
> > 
> > I do not have any problem using Tomcat v4.x or Tomcat v5.0.x with JDK
> > v1.5.0_04.
> > 
> > Best regards,
> > Paolo Castagna.
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: \
http://www.nabble.com/Problem-with-%3Ccactus%3E-task-using-Cactus-v1.7-%2B-Tomcat-5.5.9-%2B-JDK-v1.5.0_04-...-tf120609.html#a10029897
 Sent from the Cactus - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic