aspose file tools
The moose likes Tomcat and the fly likes startup.bat and shutdown.bat not working. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "startup.bat and shutdown.bat not working." Watch "startup.bat and shutdown.bat not working." New topic
Author

startup.bat and shutdown.bat not working.

mithun gooty
Ranch Hand

Joined: Mar 14, 2006
Posts: 33
Recently i downloaded tamcat-6.0, when i run startup.bat and shutdown.bat scripts some exceptions are thrown. Following is the stacktrace when i run
shutdown.bat script, i dont see any stacktrace when i run startup.bat.
Please help.

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/catalina/startup/Bootstrap (Unsupported major.minor version9.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClassSecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)


Thank you.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

It looks like you're using an older JVM to run Tomcat.
Make sure you look at the requirements posted on the Tomcat site for the version you're using.

If you have the correct JVM on your machine, you'll need to make sure that Tomcat is using it.

How have you intalled Tomcat (the .exe version or the .zip version)?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Jesper de Jong
Java Cowboy
Bartender

Joined: Aug 16, 2005
Posts: 12911
    
    3

mithun gm, please check your private messages. You can see them by clicking "My Profile" at the top right of the page.

For Tomcat 6.0, you need Java 5 or newer. Which version of Java are you using?
[ August 07, 2007: Message edited by: Jesper Young ]

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: startup.bat and shutdown.bat not working.
 
Similar Threads
Transmogrify
Tomcat Error
java command error
JBOSS PROBBLEM...PLEASE HELP ME!!!
help with marcus questions