tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Luc BEAUDET <beau...@toolchest.cyber.kodak.com>
Subject Re: Automatic start from /etc/rc3.d ???
Date Thu, 06 Jun 2002 14:07:15 GMT
Phillip Morelock a щcrit :

> su -c
>
> see
> man su
>
> Oh, wait, I see that you know that already --
>
> For me I had to symlink to tomcat.sh and init will automatically call it
> with "start" and "stop" arguments:
>
> tomcat.sh start
> and on shutdown:
> tomcat.sh stop
>
> which is essentially what startup.sh and shutdown.sh do.
>
> This worked for me on Linux, don't know Sun, sorry.
>
> cheers
> fillup
>
> On 6/6/02 3:05 AM, "Jean-Luc BEAUDET" <beaudet@toolchest.cyber.kodak.com>
> wrote:
>
> > Hi all,
> >
> > Using SOLARIS 2.8, Tomcat 4.0.2 on a SUN 220R Server
> >
> > Well my Tomcat engine is runnin' under a special user, let's say
> > wildcat.
> >
> > I'm  looking for a way to automatically start this engine at system
> > boot, like i do with Apache.
> >
> > Apache has a special way - start by root and change user to handle the
> > processes - to do the trick, but not Tomcat.
> >
> > Does any one knows about a restriction to use smth like su wildtiger -c
> > '$TOMCAT_HOME/bin/startup.sh'...
> >
> > Any suggestions welcome.
> >
> > Jean-Luc :O)
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> >
>
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>

Thanks for yur help.

JL :O)



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message