You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Csanyi Pal <cs...@gmail.com> on 2008/11/28 19:30:12 UTC

Starting at boot Tomcat 6 on Debian

Hi,

I have installed Tomcat 6 on Debian GNU/Linux Etch using
apache-tomcat-6.0.18.tar.gz in to the /usr/local/apache-tomcat-6.0.18/
directory. 

I setup in the .bash_profile JAVA_HOME and PATH variables:

$ echo $JAVA_HOME
/usr/lib/jvm/java-6-sun-1.6.0.07

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/\
apache-tomcat-6.0.18/bin:/usr/lib/jvm/java-6-sun-1.6.0.07/\
bin:/usr/lib/jvm/java-6-sun-1.6.0.07/bin

and also in the /etc/profiles file.

I made symlinks:

$ ls -ln S97startupTomcat6
lrwxrwxrwx 1 0 0 46 2008-11-28 18:50 S97startupTomcat6 -> 
/usr/local/apache-tomcat-6.0.18/bin/startup.sh

$ ls -ln K89shutdownTomcat6 
lrwxrwxrwx 1 0 0 47 2008-11-28 15:03 K89shutdownTomcat6 -> 
/usr/local/apache-tomcat-6.0.18/bin/shutdown.sh

When I boot the system Tomcat 6 should to start automatically but this
isn't happen. Why?

Any advices will be appreciated!

-- 
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Starting at boot Tomcat 6 on Debian

Posted by Csanyi Pal <cs...@gmail.com>.
Csanyi Pal <cs...@gmail.com> writes:

> Hi,
>
> I have installed Tomcat 6 on Debian GNU/Linux Etch using
> apache-tomcat-6.0.18.tar.gz in to the /usr/local/apache-tomcat-6.0.18/
> directory. 
>
> I setup in the .bash_profile JAVA_HOME and PATH variables:
>
> $ echo $JAVA_HOME
> /usr/lib/jvm/java-6-sun-1.6.0.07
>
> $ echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/\
> apache-tomcat-6.0.18/bin:/usr/lib/jvm/java-6-sun-1.6.0.07/\
> bin:/usr/lib/jvm/java-6-sun-1.6.0.07/bin
>
> and also in the /etc/profiles file.
>
> I made symlinks:
>
in to the /etc/rcS.d/S97startupTomcat6
> $ ls -ln S97startupTomcat6
> lrwxrwxrwx 1 0 0 46 2008-11-28 18:50 S97startupTomcat6 -> 
> /usr/local/apache-tomcat-6.0.18/bin/startup.sh

and in to the /etc/rc0.d/K89shutdownTomcat6
> $ ls -ln K89shutdownTomcat6 
> lrwxrwxrwx 1 0 0 47 2008-11-28 15:03 K89shutdownTomcat6 -> 
> /usr/local/apache-tomcat-6.0.18/bin/shutdown.sh
>
> When I boot the system Tomcat 6 should to start automatically but this
> isn't happen. Why?
>
> Any advices will be appreciated!

-- 
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org