Hi,
This is exactly what I had done previously. I might add that it works like
a charm for Oracle, and other programs on our system. However, when I tried the
same thing for Tom it has never open automatically - no matter where I place it
in the init list. I tried
$CATALINA_HOME/bin/startup.sh
and
/home/down/jakarta-tomcat-4.0/bin/startup.sh
and the same for
su root -c...
and
su -c...
None of these seem to work. I have no idea why. Any advise? Thanks.
"Angel, Ronald J" wrote:
> In Linux...
>
> Manually:
> Start & stop it via the startup.sh & shutdown.sh scripts in
> ../Tomcat/bin.
>
> Automatically:
> Create a script in /etc/rc.d/init.d which invokes the scripts mentioned
> above
> based on a single argument (start or stop) (pattern it after an
> existing one
> such as httpd)
> Create links to it in the various directories for each run-level.
> /etc/rc.d/rcX.d where X is 0-6 (do a man init for info on the
> various levels)
>
> Note: This script is executed as root, therefore Tomcat will run as root,
> if this
> is not desired use a command similar to the following:
>
> su tomcatUser -c$TOMCAT_HOME/bin/startup.sh
>
> This will start it as user 'tomcatUser'. Since your root, the
> user's
> password won't be needed.
>
> HTH,
> Ron
>
> > -----Original Message-----
> > From: Emerson [SMTP:[EMAIL PROTECTED]]
> > Sent: Monday, January 21, 2002 3:14 PM
> > To: Tomcat Users List
> > Subject: Re: Who starts tomcat??
> >
> > but how do you start, automatically? where?
> >
> > At 18:09 21/1/2002 +0000, you wrote:
> > > --- Emerson <[EMAIL PROTECTED]> wrote: > How you
> > >guys start tomcat in linux??? as root??? in
> > >> the initialization with
> > >> apache????
> > >>
> > >
> > >
> > >Well, during development phase its better to use
> > >plain tomcat without an apache.(unless you want to
> > >test apache's functionality too).
> > >
> > >Apache, since it binds to port 80, needs root.
> > >tomcat listens at 8080 and hence it doesnt need root.
> > >
> > >HTH,
> > >eb!
> > >
> > >__________________________________________________
> > >Do You Yahoo!?
> > >Everything you'll ever need on one web page
> > >from News and Sport to Email and Music Charts
> > >http://uk.my.yahoo.com
> > >
> > >--
> > >To unsubscribe: <mailto:[EMAIL PROTECTED]>
> > >For additional commands: <mailto:[EMAIL PROTECTED]>
> > >Troubles with the list: <mailto:[EMAIL PROTECTED]>
> > >
> > >
> > Emerson Cargnin
> > TRE-SC
> > Setor de Desenvolvimento
> > Tel: (48) 251-3700 - Ramal 3134
> >
> > --
> > To unsubscribe: <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe: <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
--
John Kolvereid
http://www.akaodin.com
http://www.kolvereid.com
[EMAIL PROTECTED]
1.610.296.4485
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>