Help !!! Tomcat 5.5.7 - cannot start

2005-04-08 Thread Parveen Pasha
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help !!! Tomcat 5.5.7 - cannot start

2005-04-08 Thread Anoop kumar V
Just make sure you have included catalina.jar file in the classpath.

-Anoop

On Apr 8, 2005 1:23 PM, Parveen Pasha [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 
Thanks and best regards,
Anoop

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help !!! Tomcat 5.5.7 - cannot start

2005-04-08 Thread Robert Harrison
Does echo $JAVA_HOME show it set correctly?
Bob

On Apr 8, 2005 1:28 PM, Anoop kumar V [EMAIL PROTECTED] wrote:
 Just make sure you have included catalina.jar file in the classpath.
 
 -Anoop
 
 On Apr 8, 2005 1:23 PM, Parveen Pasha [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 --
 Thanks and best regards,
 Anoop
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help !!! Tomcat 5.5.7 - cannot start

2005-04-08 Thread Parveen Pasha
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

[EMAIL PROTECTED] ~]# 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 [EMAIL PROTECTED] wrote:
 Does echo $JAVA_HOME show it set correctly?
 Bob
 
 On Apr 8, 2005 1:28 PM, Anoop kumar V
 [EMAIL PROTECTED] wrote:
  Just make sure you have included catalina.jar file
 in the classpath.
  
  -Anoop
  
  On Apr 8, 2005 1:23 PM, Parveen Pasha
 [EMAIL PROTECTED] 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:
 [EMAIL PROTECTED]
   For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
  
  --
  Thanks and best regards,
  Anoop
  
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
 
 
 --
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help !!! Tomcat 5.5.7 - cannot start

2005-04-08 Thread Anoop kumar V
The simplest thing to do would be to open a command prompt (if you are
on windows) and type
echo %CLASSPATH%
and then hit enter / return key.

The jars that have been added to the classpath are shown - ensure that
u have catalina.jar or j2ee.jar.

If you are not sure open the jar files using something like winzip and
check for the existence of the class file.

HTH
-Anoop

On Apr 8, 2005 1:41 PM, Robert Harrison [EMAIL PROTECTED] wrote:
 Does echo $JAVA_HOME show it set correctly?
 Bob
 
 On Apr 8, 2005 1:28 PM, Anoop kumar V [EMAIL PROTECTED] wrote:
  Just make sure you have included catalina.jar file in the classpath.
 
  -Anoop
 
  On Apr 8, 2005 1:23 PM, Parveen Pasha [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
  --
  Thanks and best regards,
  Anoop
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 --
 


-- 
Thanks and best regards,
Anoop

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help !!! Tomcat 5.5.7 - cannot start

2005-04-08 Thread Trice, Jim
Look in $CATALINA_BASE/catalina.out for the startup error. The script
redirects STDOUT and STDERR on startup but not shutdown.
JT

-Original Message-
From: Parveen Pasha [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 1:48 PM
To: Tomcat Users List; Robert Harrison
Subject: Re: Help !!! Tomcat 5.5.7 - cannot start

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

[EMAIL PROTECTED] ~]# 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 [EMAIL PROTECTED] wrote:
 Does echo $JAVA_HOME show it set correctly?
 Bob
 
 On Apr 8, 2005 1:28 PM, Anoop kumar V
 [EMAIL PROTECTED] wrote:
  Just make sure you have included catalina.jar file
 in the classpath.
  
  -Anoop
  
  On Apr 8, 2005 1:23 PM, Parveen Pasha
 [EMAIL PROTECTED] 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:
 [EMAIL PROTECTED]
   For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
  
  --
  Thanks and best regards,
  Anoop
  
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
 
 
 --
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help !!! Tomcat 5.5.7 - cannot start

2005-04-08 Thread Trice, Jim
Sorry I meant $CATALINA_BASE/logs/catalina.out.

-Original Message-
From: Trice, Jim [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 2:46 PM
To: Tomcat Users List
Subject: RE: Help !!! Tomcat 5.5.7 - cannot start

Look in $CATALINA_BASE/catalina.out for the startup error. The script
redirects STDOUT and STDERR on startup but not shutdown.
JT

-Original Message-
From: Parveen Pasha [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 1:48 PM
To: Tomcat Users List; Robert Harrison
Subject: Re: Help !!! Tomcat 5.5.7 - cannot start

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

[EMAIL PROTECTED] ~]# 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 [EMAIL PROTECTED] wrote:
 Does echo $JAVA_HOME show it set correctly?
 Bob
 
 On Apr 8, 2005 1:28 PM, Anoop kumar V
 [EMAIL PROTECTED] wrote:
  Just make sure you have included catalina.jar file
 in the classpath.
  
  -Anoop
  
  On Apr 8, 2005 1:23 PM, Parveen Pasha
 [EMAIL PROTECTED] 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:
 [EMAIL PROTECTED]
   For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
  
  --
  Thanks and best regards,
  Anoop
  
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
 
 
 --
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help !!! Tomcat 5.5.7 - cannot start

2005-04-08 Thread Parveen Pasha
The output from catalina.out is :
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)

--- Trice, Jim [EMAIL PROTECTED] wrote:

 Sorry I meant $CATALINA_BASE/logs/catalina.out.
 
 -Original Message-
 From: Trice, Jim [mailto:[EMAIL PROTECTED] 
 Sent: Friday, April 08, 2005 2:46 PM
 To: Tomcat Users List
 Subject: RE: Help !!! Tomcat 5.5.7 - cannot start
 
 Look in $CATALINA_BASE/catalina.out for the startup
 error. The script
 redirects STDOUT and STDERR on startup but not
 shutdown.
 JT
 
 -Original Message-
 From: Parveen Pasha [mailto:[EMAIL PROTECTED] 
 Sent: Friday, April 08, 2005 1:48 PM
 To: Tomcat Users List; Robert Harrison
 Subject: Re: Help !!! Tomcat 5.5.7 - cannot start
 
 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
 
 [EMAIL PROTECTED] ~]# 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 [EMAIL PROTECTED] wrote:
  Does echo $JAVA_HOME show it set correctly?
  Bob
  
  On Apr 8, 2005 1:28 PM, Anoop kumar V
  [EMAIL PROTECTED] wrote:
   Just make sure you have included catalina.jar
 file
  in the classpath.
   
   -Anoop
   
   On Apr 8, 2005 1:23 PM, Parveen Pasha
  [EMAIL PROTECTED] 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:
  [EMAIL PROTECTED]
For additional commands, e-mail:
  [EMAIL PROTECTED]
   
   
   
   --
   Thanks and best regards,
   Anoop
   
  
 

-
   To unsubscribe, e-mail:
  [EMAIL PROTECTED]
   For additional commands, e-mail

RE: Help !!! Tomcat 5.5.7 - cannot start

2005-04-08 Thread Caldarale, Charles R
 From: Anoop kumar V [mailto:[EMAIL PROTECTED] 
 Subject: Re: Help !!! Tomcat 5.5.7 - cannot start
 
 The jars that have been added to the classpath are shown - 
 ensure that u have catalina.jar or j2ee.jar.

Sorry, but that advice is simply wrong and following it can produce
serious Tomcat classloading problems.  If you are using the standard
startup and shutdown scripts supplied with the Tomcat download, the
CLASSPATH environment variable is not used.  Instead, the scripts set
the -cp parameter based on CATALINA_HOME, and the only item that should
be specified there is bootstrap.jar from $CATALINA_HOME/bin.

Tomcat does not need the j2ee.jar at all, and placing it within the
Tomcat environment can cause duplicate class problems with the subset of
J2EE that is already included in the Tomcat download.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Help !!! Tomcat 5.5.7 - cannot start

2005-04-08 Thread Caldarale, Charles R
 From: Parveen Pasha [mailto:[EMAIL PROTECTED] 
 Subject: RE: Help !!! Tomcat 5.5.7 - cannot start
 
 The output from catalina.out is :
 java.lang.ClassNotFoundException:
 org.apache.catalina.startup.Catalina
 at
 java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at
 java.security.AccessController.doPrivileged(Native Method)

Does the user doing the shutdown have proper access to the Tomcat files?
That particular class comes from catalina.jar in the
$CATALINA_HOME/server/lib directory.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]