Hi,
We were using Tomcat version 3.3.1 in our product and everything wad
working fine. Recently Tomcat released 3.3.1a with
security updates. To fix the security issue we have replaced the 4 jar files
(tomcat.jar, tomcat_modules.jar, tomcat_util.jar, facade22.jar)
mentioned in the report.
After updating the jar files our product is not working and throwing
class not found exception.
In server.xml we have the following configuration
#####
<LoaderInterceptor11 useApplicationLoader="true" jarSeparator=";"
additionalJars="C:\PROGRA~1\myclasspath;C:\PROGRA~1\classpath" debug="10" />
#####
After updating the tomcat jar files, the dir
"C:\PROGRA~1\myclasspath;C:\PROGRA~1\classpath" is not added in the
context's
classpath and all access to class files in this directory throws "Class Not
Found Exception"
We have narrowed down the problem to "tomcat_modules.jar". If we replace
this jar file from 3.3.1 version, everything works
fine.
I have downloaded the source for 3.3.1 and 3.3.1a and i didn't find any
change in LoaderInterceptor11.java. But the size of classfiles
in both jar are not same.
I have enabled debug for this module and the only difference i could note is
an extra "/" character is missing at the end of classpath
with new jar files. following are diff
LoaderInterceptor11: file:C:/PROGRA~1/myclasspath
< LoaderInterceptor11: file:C:/PROGRA~1//classpath
< LoaderInterceptor11: DEFAULT:/test adding: file:C:/PROGRA~1/myclasspath
< LoaderInterceptor11: DEFAULT:/test adding: file:C:/PROGRA~1/classpath
---
> LoaderInterceptor11: file:C:/PROGRA~1/myclasspath/
> LoaderInterceptor11: file:C:/PROGRA~1/classpath/
> LoaderInterceptor11: DEFAULT:/test adding:
file:C:/PROGRA~1/CSCOpx/myclasspath/
> LoaderInterceptor11: DEFAULT:/test adding:
file:C:/PROGRA~1/CSCOpx/classpath/
I need help on debugging this. Thanks for any help and suggestion.
Regards
Surendra
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]