hi neal
with tomcat4.0.4 there are no default webapps. (Prior to this there was a
root context pre-configured) If you are getting a page that says 'There is
no context available to process this request'  or something, then it's
running. If you are getting the standard 'The page cannot be displayed' (IE)
then it's not. Which do you get.
Also the first thing u should do is check the logs... try
/usr/java/jakarta-tomcat4.0.4/catalina.out 
maybe your answer is there.
or... try typing 'ps -aux' at the command line. If you see about 10-20
references to a process like "/usr/java/j2sdk1.4.0/bin/java -classpath
/usr/local/tomcat/bin/bootstrap.jar:/usr/java/j2sdk1.4.0/lib....." etc then
tomcat is running.

> -----Original Message-----
> From: neal [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 26, 2002 2:59 PM
> To: Tomcat Users List
> Subject: RE: startup/shutdown Tomcat on Linux
> 
> 
> Thanks for the info.
> 
> I set my TOMCAT_HOME (/usr/java/jakarta-tomcat4.0.4) and JAVA_HOME
> (/usr/java/j2sdk1.4.0_01) env variables as needed to run 
> these commands. The
> commands appear to now run fine (startup for instance will list 4 env
> variables it is apparently referenceing - CATALINA_BASE, 
> CATALINA_HOME,
> CATALINA_TMPDIR, JAVA_HOME) and control is returned to the 
> shell ... but
> Tomcat still isn't returning any pages to my browser.  It was 
> working fine
> before I restarted the server.  :-\
> 
> Any thoughts?
> 
> Thanks.
> Neal
> 
> 
> -----Original Message-----
> From: Randall R Schulz [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 25, 2002 10:21 PM
> To: [EMAIL PROTECTED]
> Subject: Re: startup/shutdown Tomcat on Linux
> 
> 
> Neal,
> 
> Just use the ".sh" counterparts to the ".bat" files you used 
> on Windows.
> 
> If you want Tomcat to start when the system comes up (or, to use some
> jargon, enters the proper "run level") you should find 
> someone at your site
> who's familiar with Linux configuration. This can be handled 
> manually, by
> editing startup and shutdown files in /etc/rc.d or, on many 
> modern Linux
> systems, by using a GUI front-end to those configuration 
> files. However,
> there are several variants on the underlying scheme and the tools that
> expose it, so it's not feasible to instruct you on the 
> details from what
> you've told us (i.e., simply that you're using Linux).
> 
> Good luck.
> 
> Randall Schulz
> Mountain View, CA USA
> 
> 
> At 22:04 2002-08-25, neal wrote:
> >How do you start and shutdown Tomcat on Linux?
> >
> >I'm (obvioulsy) a windows person.  I am attempting to get my 
> app running on
> >Linux.  From the /bin directory I attempted to call 
> "shutdown.bat".  This
> >didn't work so I restarted the server (shutdown -r now).  
> When the server
> >came back, Tomcat was no longer responding.  Attempting to 
> call the URLs
> >pointing to Tomcat, I now get either (a) a DNS error or (b) 
> a hung request
> >that never comes back.
> >
> >I guess my ideal would be that Tomcat would auto-start upon 
> reboot of the
> >server.  Is this easy to setup? In the near-term though I 
> just need to know
> >how to start/restart/shutdown tomcat.
> >
> >Thanks in advance!
> >
> >Neal
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

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

Reply via email to