jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ankur.ku...@axa.com.au
Subject ServletTestRunner, fixed context path
Date Wed, 14 Apr 2004 00:36:01 GMT
We are using Cactus and its intergrated with existing web application, 
called as "eservice".
Now, due to security contraints controlled by SiteMinder people in our 
environment, all Cactus related redirectors and test runner is mapped to
"/eservice/test" and hence cactus.contextURL should be 

But the issue is ServletTestRunner doesn't set this system property using 
cactus.properties file in WEB-INF folder anymore rather it uses :

                    "http://" + theRequest.getServerName() + ":"
                    + theRequest.getServerPort()
                    + theRequest.getContextPath());

Because of this, ServletTestRunner doesnt work in our environment as it 
gets context path as "eservice" not "eservice/test". 

Is there any workaround to get over this problem?

Otherwise it can be raised as a bug and can be fixed in future release. 

Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message