You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Potri Raaja <po...@hotcourses.co.in> on 2007/11/14 13:21:40 UTC

Apache Tomcat-6.0.14 installation issue.

Hi,

         I installed Apache Tomcat-6.0.14 and after the installation I
logged in to the bin folder of tomcat and executed the command ./startup.sh
and it got finished without any error.
 
        And then I tried to open the tomcat with the URL
http://localhost:8080 and I was not getting the tomcat administration page
instead I was getting "Page cannot be displayed" error.

       Then I was trying to shutdown the tomcat with the command
./shutdown.sh and then I was getting the following error it is not getting
shutted down properly.


HC-TEST001:/opt/apache-tomcat-6.0.14/bin # ./shutdown.sh 
Using CATALINA_BASE:   /opt/apache-tomcat-6.0.14
Using CATALINA_HOME:   /opt/apache-tomcat-6.0.14
Using CATALINA_TMPDIR: /opt/apache-tomcat-6.0.14/temp
Using JRE_HOME:       /usr/java/j2sdk1.4.2_16/
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/catalina/startup/Bootstrap (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.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)


         

Please suggest how to solve this issue.Waiting for your favourable reply.

Regards,
Potri Raaja.M.
-- 
View this message in context: http://www.nabble.com/Apache-Tomcat-6.0.14-installation-issue.-tf4804710.html#a13745656
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Apache Tomcat-6.0.14 installation issue.

Posted by David Smith <dn...@cornell.edu>.
Using JRE_HOME:       /usr/java/j2sdk1.4.2_16/


Your jdk is too old for tomcat 6.  See the release notes.  Install java 
5 or later.

--David

Potri Raaja wrote:

>Hi,
>
>         I installed Apache Tomcat-6.0.14 and after the installation I
>logged in to the bin folder of tomcat and executed the command ./startup.sh
>and it got finished without any error.
> 
>        And then I tried to open the tomcat with the URL
>http://localhost:8080 and I was not getting the tomcat administration page
>instead I was getting "Page cannot be displayed" error.
>
>       Then I was trying to shutdown the tomcat with the command
>./shutdown.sh and then I was getting the following error it is not getting
>shutted down properly.
>
>
>HC-TEST001:/opt/apache-tomcat-6.0.14/bin # ./shutdown.sh 
>Using CATALINA_BASE:   /opt/apache-tomcat-6.0.14
>Using CATALINA_HOME:   /opt/apache-tomcat-6.0.14
>Using CATALINA_TMPDIR: /opt/apache-tomcat-6.0.14/temp
>Using JRE_HOME:       /usr/java/j2sdk1.4.2_16/
>Exception in thread "main" java.lang.UnsupportedClassVersionError:
>org/apache/catalina/startup/Bootstrap (Unsupported major.minor version 49.0)
>        at java.lang.ClassLoader.defineClass0(Native Method)
>        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
>        at
>java.security.SecureClassLoader.defineClass(SecureClassLoader.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)
>
>
>         
>
>Please suggest how to solve this issue.Waiting for your favourable reply.
>
>Regards,
>Potri Raaja.M.
>  
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org