tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Mcminn" <NMcm...@theblragency.com>
Subject RE: Tomcat won't start
Date Mon, 03 Nov 2003 17:21:53 GMT
Actually, if you start Tomcat like this:

./catalina.sh run

It starts Tomcat in the same shell you are currently running.  You can
do the same under Windows with 

catalina run

>From the CATALINA_HOME/bin directory.

--------------------------------------------
Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
mailto:nmcminn@NequalsOne.com
http://www.NequalsOne.com 

> -----Original Message-----
> From: Giorgio Franceschetti [mailto:g.franceschetti@vidya.it] 
> Sent: Monday, November 03, 2003 11:15 AM
> To: Tomcat Users List
> Subject: Re: Tomcat won't start
> 
> 
> Probably it is not that, but I had a similar problem and I edited the 
> startup file to echo the values of the variables.
> It showed what I expected.
> The problem is that tomcat is started in another shell.
> This new shell doesn't have its parent's environment 
> variables, only the 
> ones set globally.
> Bye,
>    Giorgio
> 
> 
> Nathan Mcminn wrote:
> 
> >I don't think that is the problem.  The startup script has 
> no problem 
> >reading JAVA_HOME or CATALINA_HOME.  It is only after 
> bootstrap.jar is 
> >executed and the server.xml file is read that the problem 
> occurs.  It 
> >is almost like the classloader that is being used cannot see 
> >catalina.jar in /server/lib.  Is there any way to determine what 
> >classpaths are available to the classloader at that point?
> >
> >--------------------------------------------
> >Nathan McMinn
> >Application Developer
> >NequalsOne - HealthCare marketing tools mailto:nmcminn@NequalsOne.com
> >http://www.NequalsOne.com 
> >
> >  
> >
> >>-----Original Message-----
> >>From: Giorgio Franceschetti [mailto:g.franceschetti@vidya.it]
> >>Sent: Monday, November 03, 2003 10:42 AM
> >>To: Tomcat Users List
> >>Subject: Re: Tomcat won't start
> >>
> >>
> >>I have had a similar problema, but on win XP. The problem was
> >>due to the 
> >>fact that I had set the JAVA_HOME and the CATALINA_HOME as session 
> >>variable and not like system ones.
> >>Don't know if this is the case, but....
> >>Good luck!
> >>    Giorgio
> >>
> >>Nathan Mcminn wrote:
> >>
> >>    
> >>
> >>>The problem posted below appears to be caused by Tomcat not
> >>>      
> >>>
> >>being able
> >>    
> >>
> >>>to find catalina.jar.  This file should be (and is) located in
> >>>catalina_home/server/lib.  Anybody know why Tomcat would 
> >>>      
> >>>
> >>have problems
> >>    
> >>
> >>>finding it?
> >>>
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >>>>One of our servers running Tomcat as started experiencing an odd 
> >>>>problem.  Tomcat will not start, it is complaining about 
> not being 
> >>>>able to find some classes.  The problem started shortly after 
> >>>>applying some updates using YAST.  The exception it 
> throws is shown 
> >>>>below.  We are running Tomcat 4.1.24 on JDK 1.4.1-b21 on 
> SUSE 8.  We 
> >>>>have another server with a very similar config that works 
> perfectly 
> >>>>(only difference is the distribution it runs on, RH vs SUSE)  I
> >>>>have checked CATALINA_HOME and JAVA_HOME and they both point 
> >>>>to the correct locations.  I modified catalina.sh to display 
> >>>>the CLASSPATH it uses when starting catalina and included it 
> >>>>as well.  There are a couple references to this problem in 
> >>>>the mailing list archives, but it was never answered.
> >>>>
> >>>>JAVA_HOME=/usr/lib/java
> >>>>CATALINA_HOME=/opt/jakarta 
> >>>>CLASSPATH=/usr/lib/java/lib/tools.jar:/opt/jakarta/bin/boo
> tstrap.jar
> >>>>
> >>>>Any ideas?
> >>>>
> >>>>ERROR reading /opt/jakarta/conf/server.xml
> >>>>At Line 5 /Server/Listener/ 
> >>>>className=org.apache.catalina.mbeans.ServerLifecycleListen
> er debug=0
> >>>>
> >>>>Catalina.start: java.lang.ClassNotFoundException: 
> >>>>org.apache.catalina.mbeans.ServerLifecycleListener
> >>>>java.lang.ClassNotFoundException:
> >>>>org.apache.catalina.mbeans.ServerLifecycleListener
> >>>>
> >>>>--------------------------------------------
> >>>>Nathan McMinn
> >>>>Application Developer
> >>>>NequalsOne - HealthCare marketing tools 
> >>>>mailto:nmcminn@NequalsOne.com > http://www.NequalsOne.com
> >>>>
> >>>>
> >>>>
> >>>>------------------------------------------------------------
> >>>>        
> >>>>
> >>---------
> >>    
> >>
> >>>>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
> >>
> >>
> >>    
> >>
> >
> >---------------------------------------------------------------------
> >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