Subject: | |
From: | |
Reply To: | |
Date: | Thu, 14 Feb 2008 10:59:28 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi,
Just installed Tomcat, JDK and xml-commons apis, but Tomcat still refuses to start
/usr/bin/rebuild-jar-repository: error: Failed to set JAVACMD
Any idea? Thanks
Diego
-----Mensaje original-----
De: [log in to unmask] [mailto:[log in to unmask]] En nombre de Steve Traylen
Enviado el: jueves, 14 de febrero de 2008 10:15
Para: [log in to unmask]
CC: Steve Traylen; Scientific Linux users mailing list; [log in to unmask]
Asunto: Re: Getting Tomcat5 to run under SL 5.1
On Feb 13, 2008, at 4:14 PM, A.K.Srikanth wrote:
> To provide a bit more sequence info here:
> I installed SL 5.1 (clean install) where I asked for tomcat5 and
> sister packages to be installed
> Then tried to get Tomcat5 running. I got a complaint about xml-
> xxxxx jar missing. I did a yum with the jar name and that updated
> fine.
> Then I realized that jdk-1.5.0-14 was not installed even though
> I could swear I asked for it.
This is quite possible.... The package xml-commons-jaxp-1.3-apis as
needed by tomcat obsoletes jdk-1.5.0 ...
Steve
> So I went to Add/Remove Programs and checked it again and asked
> that it be installed. It downloaded and installed fine.
>
> Then I tried to get tomcat5 running and I get the problem
> mentioned in the email below
>
> 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
>
--
Steve Traylen
[log in to unmask]
|
|
|