Mark:

Thanks for the response. The issue we were facing is when we are tying to 
access  a simple index.jsp file which is deployed on tomcat.

I am sure java handles the libraries properly since tomcat is a component in 
our system and all other components are working fine. This issue is very 
particular to tomcat where it detects a duplicate package name across jar files 
and throws an invalid jar index exception.And also as you have mentioned I 
regenerate all the jar files using maven/jenkins build before deploying.

Thanks and Regards,
SG



On Sep 5, 2013, at 5:55 PM, Mark Thomas wrote:

On 05/09/2013 22:00, Sabari Gandhi wrote:
All:

I am facing an invalid jar index exception in both tomcat 5.5.x and
7.0.39 . After some investigation , we figured out this is because of
class loading in tomcat which uses  index.list file in jar files. I
have two jars with same package names but classes in those package
are different. Since the package name are defined or mentioned in the
index.list file of every jar for some reason tomcat is showing me an
invalid jar index exception even if try to load  a simple index.jsp.

Any suggestions to overcome this is greatly appreciated. Thanks !!

Your jar indexes are broken. They need to be re-generated for all the
JAR files in in one go so that the package mappings are correct.

The error you are seeing is from the JRE code, not from Tomcat.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: 
users-unsubscr...@tomcat.apache.org<mailto:users-unsubscr...@tomcat.apache.org>
For additional commands, e-mail: 
users-h...@tomcat.apache.org<mailto:users-h...@tomcat.apache.org>


Reply via email to