[opencms-dev] AA Starting Tomcat under Linux
Christoph P. Kukulies
kuku at physik.rwth-aachen.de
Wed May 17 11:10:35 CEST 2006
On Wed, May 17, 2006 at 10:53:45AM +0200, Christoph P. Kukulies wrote:
> On Wed, May 17, 2006 at 10:33:16AM +0200, nickm at absa.co.za wrote:
> > Hi sigi
> > Thanks for the advice
> >
> > BTW I am using SUSE 9.3 Linux.
> >
> > I created a file tomcat in this path
> > /etc/init.d/tomcat
> >
> > I placed these command in this tomcat file :
> >
>
> Did you write it that way? CATALINA_home? Where did you define CATALINA_home?
>
> Try something like
>
> export CATALINA_HOME=/full/path/to/tomcat
> export JAVA_HOME=/usr/lib/java (or where your j2sdk is installed)
>
> cd $CATALINA_HOME/bin
> ./startup.sh
>
>
> > cd $CATALINA_home/bin
> > ./startup.sh
>
> How familar are you with Linux and Unix in general, BTW?
>
> >
> > And nothing happens the tomcat does not start
And how familar are you with the functioing of your specific Linux
distribution? Some Linuxes (Redhat, don't know Suse),
need a link in the respective rc5.d (if you running at runlevel 5
which I assume), like
cd /etc/rc.d/rc5.d
ln -s ../init.d/tomcat S99tomcat
(normally chkconfig take care of this but this is redhat only and
requires a properly constructed init script)
I don't know at the moment how this is organized in Suse Linux.
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
More information about the opencms-dev
mailing list