tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: Tomcat not starting properly.
Date Wed, 29 Aug 2007 11:40:34 GMT
Hmmm.... running it from the root user account -- not the smartest thing 
to do, but purely from a security stand point.  Running from the root 
account wouldn't affect this.  Given the very brief almost a stack trace 
you got on the console and the profuse complaining below about not being 
able to find the endorsed directory, you should probably get a new copy 
of the jars from your .tar.gz or .zip download and replace the jars.  
Also review your server.xml if it's been modified from the downloaded 
original.

--David

Potri Raaja wrote:

>Hi,
>
>      Since we were not able to start the server the catalina.out file is
>not updated, so I am giving you the information in catalina.out file, when
>the tomcat was started last time.
>
>Aug 9, 2007 9:57:04 AM org.apache.jk.server.JkMain start
>INFO: Jk running ID=0 time=1/22 
>config=/root/jakarta-tomcat-5.0.28/conf/jk2.properties
>Aug 9, 2007 9:57:04 AM org.apache.catalina.startup.Catalina start
>INFO: Server startup in 6487 ms
>Aug 9, 2007 10:02:04 AM org.apache.coyote.http11.Http11Protocol pause
>INFO: Pausing Coyote HTTP/1.1 on http-8080
>Aug 9, 2007 10:02:05 AM org.apache.catalina.core.StandardService stop
>INFO: Stopping service Catalina
>Aug 9, 2007 10:02:05 AM org.apache.catalina.core.StandardHostDeployer remove
>INFO: Removing web application at context path /balancer
>Aug 9, 2007 10:02:05 AM org.apache.catalina.core.StandardHostDeployer remove
>INFO: Removing web application at context path /projectreview
>Aug 9, 2007 10:02:05 AM org.apache.catalina.core.StandardHostDeployer remove
>INFO: Removing web application at context path /cm
>Aug 9, 2007 10:02:05 AM org.apache.catalina.core.StandardHostDeployer remove
>INFO: Removing web application at context path /cm1
>Aug 9, 2007 10:02:05 AM org.apache.catalina.core.StandardHostDeployer remove
>INFO: Removing web application at context path /auto
>Aug 9, 2007 10:02:05 AM org.apache.catalina.core.StandardHostDeployer remove
>INFO: Removing web application at context path /testPool
>Aug 9, 2007 10:02:05 AM org.apache.catalina.core.StandardHostDeployer remove
>INFO: Removing web application at context path 
>Aug 9, 2007 10:02:05 AM org.apache.catalina.core.StandardHostDeployer remove
>INFO: Removing web application at context path /manager
>Aug 9, 2007 10:02:05 AM org.apache.catalina.logger.LoggerBase stop
>INFO: unregistering logger Catalina:type=Logger,host=localhost
>Aug 9, 2007 10:02:05 AM org.apache.catalina.logger.LoggerBase stop
>INFO: unregistering logger Catalina:type=Logger
>Aug 9, 2007 10:02:05 AM org.apache.coyote.http11.Http11Protocol destroy
>INFO: Stopping Coyote HTTP/1.1 on http-8080
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 232:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 232:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 231:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 226:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>/root/jakarta-tomcat-5.0.28/bin/catalina.sh: line 225:
>-Djava.endorsed.dirs=/root/jakarta-tomcat-5.0.28/common/endorsed: No such
>file or directory
>
>
>Please check the above given information and let me know if you want any
>other details to proceed.
>
>Regards,
>Potri Raaja.M.
>
>
>
>
>David Smith-2 wrote:
>  
>
>>Could you post messages from the tomcat catalina.out log file?  The 
>>console messages doesn't really say much.  In particular, I'd like to 
>>see more of the exception that started to show there.
>>
>>--David
>>
>>Potri Raaja wrote:
>>    
>>
>>>Operating System : Suse Linux Enterprise Server 9.
>>>TOMCAT Version : jakarta-tomcat-5.0.28
>>>
>>>
>>>HC-APACHE:~/jakarta-tomcat-5.0.28 # echo $PATH
>>>/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/root/j2sdk1.4.2/bin:/usr/lib/java/jre/bin
>>>HC-APACHE:~/jakarta-tomcat-5.0.28 # 
>>>
>>>
>>>HC-APACHE:~/jakarta-tomcat-5.0.28 # echo $JAVA_HOME
>>>/root/j2sdk1.4.2
>>>HC-APACHE:~/jakarta-tomcat-5.0.28 # 
>>>
>>>
>>>HC-APACHE:~/jakarta-tomcat-5.0.28 # java -version
>>>java version "1.4.2"
>>>Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
>>>Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
>>>HC-APACHE:~/jakarta-tomcat-5.0.28 # 
>>>
>>>  Classpath is not set with any details, Is it needed to be given with
>>>any
>>>information for classpath. Previously Tomcat was working properly and I
>>>am
>>>not sure why this error comes now. Please help us to overcome this issue.
>>>Waiting for your favourable reply.
>>>
>>>Regards,
>>>Potri Raaja.M.
>>>
>>>
>>> 
>>>
>>>Manivannan Palanichamy wrote:
>>>  
>>>      
>>>
>>>>which tomcat version are you using?
>>>>can you also specify the value of PATH and CLASSPATH variables?
>>>>
>>>>-- 
>>>>Manivannan Palanichamy
>>>>http://mani.gw.googlepages.com/index.html
>>>>
>>>>On 8/28/07, Potri Raaja <potri.raaja@hotcourses.co.in> wrote:
>>>>    
>>>>        
>>>>
>>>>>Hi,
>>>>>
>>>>>    When I try to start my tomcat I am getting the following error, it
>>>>>is
>>>>>not getting started properly.
>>>>>
>>>>>HC-APACHE:~/jakarta-tomcat-5.0.28/bin # ./startup.sh
>>>>>Using CATALINA_BASE:   /root/jakarta-tomcat-5.0.28
>>>>>Using CATALINA_HOME:   /root/jakarta-tomcat-5.0.28
>>>>>Using CATALINA_TMPDIR: /root/jakarta-tomcat-5.0.28/temp
>>>>>Using JAVA_HOME:       /root/j2sdk1.4.2
>>>>>Exception in thread "main" java.lang.NoClassDefFoundError:
>>>>>HC-APACHE:~/jakarta-tomcat-5.0.28/bin #
>>>>>
>>>>>Can you please suggest me to overcome this error.Waiting for your
>>>>>favourable
>>>>>reply.
>>>>>
>>>>>Regards,
>>>>>Potri Raaja.M.
>>>>>--
>>>>>View this message in context:
>>>>>http://www.nabble.com/Tomcat-not-starting-properly.-tf4341696.html#a12367812
>>>>>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
>>>>>
>>>>>
>>>>>      
>>>>>          
>>>>>
>>>>    
>>>>        
>>>>
>>>  
>>>      
>>>
>>---------------------------------------------------------------------
>>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
>>
>>
>>
>>    
>>
>
>  
>


---------------------------------------------------------------------
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


Mime
View raw message