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
"cactus.contextURL=http://pc23165/eservice/test".
But the issue is ServletTestRunner doesn't set this system property using
cactus.properties file in WEB-INF folder anymore rather it uses :
System.setProperty(
BaseConfiguration.CACTUS_CONTEXT_URL_PROPERTY,
"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.
*********************************************************************************