Diego,
   This is because you dont have the jdk/jre.  I suspect that xml-commons apis blows it away.   I saw the same problem. So I went to add/remove programs and installed the jdk1.5.0_14 again. Then I set the JAVA_HOME variable and it still did not work.

  Then I went into add/remove programs on SL5.1 and uninstalled all the tomcat packages. It will remove these along with some dependencies.

  Then check that java is still there by going to /usr/java/jdk1.5.0_14/ and make sure these are real files and not dummy links pointing to nowhere.

   Then go to http://tomcat.apache.org/tomcat-5.5-doc/index.html and download tomcat 5.5.   You wont have RPMs but you can get it running on SL 5.1

Hope this helps

Thanks,
Sri


A.K.Srikanth wrote:
All,
  I dont know the what the problem was and didnt get any responses for this query so far.....but I uninstalled all the tomcat packages that came with SL5.1 and downloaded the tar file for 5.5 from Apache website and am up and running

Thanks,
Sri

A.K.Srikanth wrote:
Hi,
  Have any of you got Tomcat5 running on SL 5.1 working successfully? Tomcat5 fails due to the following error:

Using CATALINA_BASE:   /usr/share/tomcat5
Using CATALINA_HOME:   /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JRE_HOME:      
sun.misc.InvalidJarIndexException: Invalid index
    at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:769)
    at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:682)
    at sun.misc.URLClassPath.getResource(URLClassPath.java:161)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.ClassLoader.defineClass1(Native Method)


Any help would be appreciated. My apologies if this question has already been asked before and answered.

Thanks,
Sri


Reply via email to