Please help me in setting apache-tomcat-6.0.20 on linux. When I use the code

sh startup.sh

I see this.

Using CATALINA_BASE: /home/apinder/apache-tomcat-6.0.20-src
Using CATALINA_HOME: /home/apinder/apache-tomcat-6.0.20-src
Using CATALINA_TMPDIR: /home/apinder/apache-tomcat-6.0.20-src/temp
Using JRE_HOME: /usr/java/jdk1.6.0_14/

No error message is shown here, but if I open http://localhost:8080/ tomcat default page doesn't open. I haven't changed any setting.

If I try to shutdown tomcat using shutdown.sh I see this

Using CATALINA_BASE: /home/apinder/apache-tomcat-6.0.20-src
Using CATALINA_HOME: /home/apinder/apache-tomcat-6.0.20-src
Using CATALINA_TMPDIR: /home/apinder/apache-tomcat-6.0.20-src/temp
Using JRE_HOME: /usr/java/jdk1.6.0_14/
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
Caused by: java.lang.ClassNotFoundException: org.apache.catalina.startup.Bootstrap
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: org.apache.catalina.startup.Bootstrap. Program will exit.

I downloaded source (apache-tomcat-6.0.20-src)
logging.properties file is there.

This article has been dead for over six months. Start a new discussion instead.