jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaushal Zagade <zag...@gmail.com>
Subject Re: cactus and webphere - urgent please
Date Wed, 08 Dec 2004 00:16:05 GMT
Thanks Aaron,

yes the author is not on the list and his tutorial was using wsad4.0.

i am a little new to this so don't mind if my questions are a little basic.

about the port, as i am running the project on WSAD5.1.2 (and on RAD
6.0) the port to which the server listens is 9080 -
http://localhost:9080/cactus_test.
so i have modified the cactus.properties file to look like this - 

cactus.contextURL = http://localhost:9080/cactus_test  
cactus.servletRedirectorName = ServletRedirector
cactus.enableLogging = true
 
is this correct ?
and
the web.xml is

<servlet>  
<servlet-name>ServletRedirector</servlet-name>  
<servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class>
 
</servlet> 

<servlet-mapping>  
<servlet-name>ServletRedirector</servlet-name>  
<url-pattern>/ServletRedirector</url-pattern>  
</servlet-mapping>


there is nothing coming on my console after the server has started other than 
this after running the EJBServletTestCase as a Java Application:

=====

Dec 7, 2004 2:57:38 PM org.apache.commons.httpclient.HttpMethodBase
INFO: Recoverable exception caught when processing request
Dec 7, 2004 2:57:42 PM org.apache.commons.httpclient.HttpMethodBase
WARNING: Recoverable exception caught but
MethodRetryHandler.retryMethod() returned false, rethrowing exception

=====

and this is what i get on the JUnit dialog box that pops up:

=====

testHelloWorld3(test.EJBServletTestCase):
org.apache.commons.httpclient.HttpRecoverableException:Error in
parsing the status line from the response:unable to find the line
starting with "HTTP".

=====

i am really not able to understand why the test is failing. is there
anything you can think i am doing wrong ?


Kaushal

Mime
View raw message