Looking at the exception :

"sun.misc.InvalidJarIndexException: Invalid index!"

Jar's can be indexed when ant packages them. I think it speeds up the classloading. INDEX.LIST

THEORY: Maybe this index format has changed between jdk 1.5 and jdk 1.3?
Make sure you're packaging environment is running jdk1.3?
Or maybe the index doesnt match whats in the jar?

Also.. are you copying jars to a SAMBA share? I remember having some weirdnesses with copying jars from my wintendo box to a SAMBA share on the old Red Hats and the jar getting corrupted. All sorts of InvalidClassFormat or something like that errors.

A re-copy of the offending jar usually sorted that out.

Anyways that was my stab in the dark...

Might be complete gibberish... might work... Ah the joys of non-deterministic advice.... :)

Cheers,
Renier

Brian Silberbauer wrote:
You can run more than one version of the jdk under linux, set
JAVA_HOME to the appropriate jdk and your away. You sys admin might
have a cow though :)

Going to tomcat4 is an option, but it does run a different servlet/jsp spec.

Brian

On 2/3/06, Quinton Curry <[EMAIL PROTECTED]> wrote:

Hi Brian,

On my local development machine i'm setup with Tomcat 5.5 on jdk 1.5
(on windows) which is working lekker - but the company server has the
previously mentioned setup which I just want to add servlet/jsp
capability to for my apps to work - ideally I would update the server
to more recent releases but I dont have permission to change anything
already in place - so I just want to extend what's already there -
maybe i should try installing Tomcat 4 on it and see what happens?


Brian Silberbauer wrote:

Do you have the same problem with a different version of jdk (1.5)?
I'm not sure that tomcat5 still supports 1.3.

Brian

On 2/3/06, Quinton Curry <[EMAIL PROTECTED]> wrote:

Hi guys,

I'm using the following:
Red Hat Linux 9.0
j2sdk 1.3.0
Tomcat 5.0.14
Apache 1.3.12

I'm having trouble trying to start Tomcat server - I get
"sun.misc.InvalidJarIndexException: Invalid index!" error  -  is it not
finding a jar file it needs? I've put every possible location in my
classpath?

hmmm...any suggestions?

cheers
Quinton




--
Brian Silberbauer
Consultant

+27 (0)83 566 2705
skype: brian.silberbauer




--
Brian Silberbauer
Consultant

+27 (0)83 566 2705
skype: brian.silberbauer


Reply via email to