Thank you very much!
I changed the cactus.ContextURL  to http://localhost:9080/CspLoanAdmin and 
everything is working fine.
Your suggestions have been very helpful indeed.
Cheers,
Indranil Poddar 





Kazuhito SUGURI <[EMAIL PROTECTED]> 
09/06/2007 04:55 PM
Please respond to
"Cactus Users List" <[email protected]>


To
[email protected]
cc

Subject
Re: ChainedRuntimeException






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]

ForwardSourceID:NT00000BE6 
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


Reply via email to