Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 68325 invoked from network); 8 Apr 2005 18:48:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Apr 2005 18:48:23 -0000 Received: (qmail 38756 invoked by uid 500); 8 Apr 2005 18:47:52 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 38743 invoked by uid 500); 8 Apr 2005 18:47:52 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 38730 invoked by uid 99); 8 Apr 2005 18:47:52 -0000 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,FROM_ENDS_IN_NUMS,PLING_PLING,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web80202.mail.yahoo.com (HELO web80202.mail.yahoo.com) (66.218.79.37) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 08 Apr 2005 11:47:51 -0700 Message-ID: <20050408184750.6109.qmail@web80202.mail.yahoo.com> Received: from [64.95.22.11] by web80202.mail.yahoo.com via HTTP; Fri, 08 Apr 2005 11:47:50 PDT Date: Fri, 8 Apr 2005 11:47:50 -0700 (PDT) From: Parveen Pasha Subject: Re: Help !!! Tomcat 5.5.7 - cannot start To: Tomcat Users List , Robert Harrison In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I am installing all this for the first time. Where do you set the classpath, to include the catalina.jar? How do I know if tomcat is running? ps -ef | grep tomcat yields the same result. Do not see any pid the output is a set of paths that has tomcat in it. $JAVA_HOME and $CATLINA_HOME are set correctly. I may have said it wrong that it is during startup I get the error. It is actually during execution of shutdown.sh. Sorry about that. When I do: su - tomcat -c /usr/local/tomcat/jakarta-tomcat-5.5.7/bin/startup.sh I get: Using CATALINA_BASE: /usr/local/tomcat/jakarta-tomcat-5.5.7 Using CATALINA_HOME: /usr/local/tomcat/jakarta-tomcat-5.5.7 Using CATALINA_TMPDIR: /usr/local/tomcat/jakarta-tomcat-5.5.7/temp Using JRE_HOME: /usr/java/jdk1.5.0_02 [root@WEBDEV01 ~]# su - tomcat -c /usr/local/tomcat/jakarta-tomcat-5.5.7/bin/shutdown.sh I get: Using CATALINA_BASE: /usr/local/tomcat/jakarta-tomcat-5.5.7 Using CATALINA_HOME: /usr/local/tomcat/jakarta-tomcat-5.5.7 Using CATALINA_TMPDIR: /usr/local/tomcat/jakarta-tomcat-5.5.7/temp Using JRE_HOME: /usr/java/jdk1.5.0_02 java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina 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:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:198) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:386) --- Robert Harrison wrote: > Does "echo $JAVA_HOME" show it set correctly? > Bob > > On Apr 8, 2005 1:28 PM, Anoop kumar V > wrote: > > Just make sure you have included catalina.jar file > in the classpath. > > > > -Anoop > > > > On Apr 8, 2005 1:23 PM, Parveen Pasha > wrote: > > > Using Tomcat 5.5 + Fedora Core 3 + jdk1.5.02 > > > > > > Changed the port to 8090 from the default 8080 > > > port in server.xml. > > > > > > Did not install the runtime environment. only > > > installed jdk1.5.02 using the > > > rpm -iv jdk-1_5_0_02-linux-i586-rpm > > > > > > When I execute the startup.sh script, I receive > the > > > following error in Catalina.out > > > > > > java.lang.ClassNotFoundException: > > > org.apache.catalina.startup.Catalina > > > 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:306) > > > at > > > > java.lang.ClassLoader.loadClass(ClassLoader.java:251) > > > at > > > > org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:198) > > > at > > > > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:386) > > > > > > Cannot view the default web applications > included with > > > Tomcat when accessing via http://localhost:8090 > > > > > > I receive the following message: The page cannot > be > > > displayed. > > > > > > I did not find any solution on the Web. Can > someone > > > help. > > > > > > Thanks! Thanks! ............ > > > > > > Parveen > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > tomcat-user-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: > tomcat-user-help@jakarta.apache.org > > > > > > > > > > -- > > Thanks and best regards, > > Anoop > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > tomcat-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: > tomcat-user-help@jakarta.apache.org > > > > > > > -- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > tomcat-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org