tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Parveen Pasha <php07...@yahoo.com>
Subject Re: Help !!! Tomcat 5.5.7 - cannot start
Date Fri, 08 Apr 2005 18:47:50 GMT
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 <rharri@gmail.com> wrote:
> Does "echo $JAVA_HOME" show it set correctly?
> Bob
> 
> On Apr 8, 2005 1:28 PM, Anoop kumar V
> <anoopkumarv@gmail.com> wrote:
> > Just make sure you have included catalina.jar file
> in the classpath.
> > 
> > -Anoop
> > 
> > On Apr 8, 2005 1:23 PM, Parveen Pasha
> <php07726@yahoo.com> 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


Mime
View raw message