Hi,

In article <[EMAIL PROTECTED]>,
Thu, 6 Sep 2007 12:50:15 +0530,
Indranil Poddar <[EMAIL PROTECTED]> wrote: 
indranil> Added jars to Java Build path: 
indranil>         cactus-1.5.jar,
indranil>         aspectjrt-1.1.1.jar
indranil>         commons-httpclient-2.0-rc2.jar.

Do you mean WEB-INF/lib of the application contains these jars?
If so, you may also need to add commons-logging and junit jars.
It's depending on the class-path of the application in the server.


indranil> Added the following mappings to my web.xml:
indranil>                 <servlet-name>ServletRedirector</servlet-name>
indranil>                 <servlet-class>
indranil> org.apache.cactus.server.ServletTestRedirector</servlet-class>
indranil> </servlet>
indranil> <servlet>
indranil>                 <servlet-name>ServletTestRunner</servlet-name>
indranil>                 <servlet-class>
indranil> org.apache.cactus.server.runner.ServletTestRunner</servlet-class>
indranil> </servlet>
indranil> 
indranil> 
indranil>         <servlet-mapping>
indranil>                 <servlet-name>ServletRedirector</servlet-name>
indranil>                 <url-pattern>/ServletRedirector</url-pattern>
indranil>         </servlet-mapping>
indranil>         <servlet-mapping>
indranil>                 <servlet-name>ServletTestRunner</servlet-name>
indranil>                 <url-pattern>/ServletTestRunner</url-pattern>
indranil>         </servlet-mapping>

It looks good.
Next point to be confirmed is the consistency between
the context-root of the application and cactus.contextURL property.

According to the stack-trace in your previous message,
the cactus.contextURL would be http://localhost:9080/CspLoanAdmin/JSP/Admin.
If the application had been deployed as CspLoadAdmin, however,
the cactus.contextURL should be http://localhost:9080/CspLoanAdmin.


BTW, I'm assuming the application had been deployed successfully,
because the server returned 404 instead of 5xx.
Since I have never used WebSphere, it might be a wrong assumption. 
I recommend you to check the fact first :-)

Hope this helps,
----
Kazuhito SUGURI

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

Reply via email to