[opencms-dev] AA Starting Tomcat under Linux

Jonathan Woods jonathan.woods at scintillance.com
Thu May 18 10:33:45 CEST 2006


Nick -

It would probably be best to hit Google and search for "starting services
automatically under SUSE" or something like that.  Some useful hits appear,
e.g. http://www.linux-tutorial.info/modules.php?name=Tutorial&pageid=67.

Jon

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of nickm at absa.co.za
Sent: 18 May 2006 09:24
To: kuku at physik.rwth-aachen.de; The OpenCms mailing list
Subject: RE: [opencms-dev] AA Starting Tomcat under Linux

 Hi Cristof

I have minimal Unix exposure so I have just enough knowledge to break and
re-installed Which is just what I did yesterday

I tried to place code in file tomcat.sh
And now my Linux wont let me login 

I put tomcat.sh in this folder:
/etc/profile.d


And every time I logon I got error
Cant find catalina.sh
And the Login screen re appeared
Even from the "safe mode"

No fixing helped so I formatted the hard disk and re-installed Linux


Dear friend please help me again and tell me :
What file must I create
Where must I put this file
And what code must this file have inside



 

With kind regards

Nick Michael

 

Tel Ext 7141

Cell 082 508 1950


-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Christoph P.
Kukulies
Sent: Wednesday, 17 May, 2006 10:54
To: The OpenCms mailing list
Subject: Re: [opencms-dev] AA Starting Tomcat under Linux

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
> 
> Do I need to change the ./startup.sh to just startup.sh
> 
> and/or do I need to make a change in another file to point to the 
> tomcat file ?
> 
> Regards
> Nico

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

___________________________________________________________

Important Notice: 
Authorised Financial Services Provider

Important restrictions, qualifications and disclaimers ("the Disclaimer")
apply to this email. To read this click on the following address or copy
into your Internet browser: 

http://www.absa.co.za/disclaimer

The Disclaimer forms part of the content of this email in terms of section
11 of the Electronic Communications and Transactions Act, 25 of 2002. 

If you are unable to access the Disclaimer, send a blank e-mail to
disclaimer at absa.co.za and we will send you a copy of the Disclaimer.

_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list