Automatic start from /etc/rc3.d ???

2002-06-06 Thread Jean-Luc BEAUDET
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 ha

Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Phillip Morelock
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

Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Phillip Morelock
Oh and you'll probably want to define: JAVA_HOME CATALINA_HOME (or TOMCAT_HOME as appropriate) directly inside of tomcat.sh or catalina.sh cheers fillup On 6/6/02 3:17 AM, "Phillip Morelock" <[EMAIL PROTECTED]> wrote: > su -c > > see > man su > > Oh, wait, I see that you know that already

Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Alexander ten Bruggencate
On Thu, 2002-06-06 at 12:05, Jean-Luc BEAUDET wrote: > Hi all, > 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. > > Jean-Luc :O) here's my /etc/rc.d/initd/tomcat

Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Jean-Luc BEAUDET
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

Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Jean-Luc BEAUDET
Alexander ten Bruggencate a Ýcrit : > On Thu, 2002-06-06 at 12:05, Jean-Luc BEAUDET wrote: > > Hi all, > > > 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. >

Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Kevin HaleBoyes
The original message is at the end... I'm using RedHat linux but I suspect the solution is very similar. I've created a user tomcat4 in the already existing apache group. Login is disabled for this user for security reasons. The jakarta-tomcat-4.0.3 directory is owned by root with 777 perms on

Re: Automatic start from /etc/rc3.d ???

2002-06-06 Thread Nikola Milutinovic
> Oh and you'll probably want to define: > > JAVA_HOME > CATALINA_HOME > (or TOMCAT_HOME as appropriate) > > directly inside of tomcat.sh or catalina.sh Has anyone had problems with this? I'm experiencing startup problems. The script is all setup *that* way and running it manually when