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
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
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 --
For
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 script.
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
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.
Jean-Luc
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
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 the