If I recall correctly Tomcat 5 and lower need a JDK to run, not a JRE.

Cheers,
Kees de Kooter
http://www.boplicity.net



On Wed, Feb 4, 2009 at 10:39, alex_m
<alexander.tolfmans-mar...@systeam.se> wrote:
>
> Hi!
>
> I have a RedHat server that with Tomcat5.5.18 and java (JRE) 1.6.0. When i
> tries to start the tomcat server it fails and i get this output in the
> Catalina.out file. (this is not due to this bug:
> https://issues.apache.org/bugzilla/s...g.cgi?id=45983)
>
> Any clues?
>
> BR
> Alex
>
> From Catalina.out:
>
> Using CATALINA_BASE: /usr/share/tomcat5
> Using CATALINA_HOME: /usr/share/tomcat5
> Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
> Using JRE_HOME: /usr/lib/jvm/java/jre
> Exception in thread "main" java.lang.NoClassDefFoundError: \
> Caused by: java.lang.ClassNotFoundException: \
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> Could not find the main class: \. Program will exit.
> --
> View this message in context: 
> http://www.nabble.com/java.lang.ClassNotFoundException-when-starting-tomcat-tp21827180p21827180.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

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

Reply via email to