Well, it sounds like you are running on some flavor of unix. I've set up 
tomcat servers on solaris and linux. For Solaris you can put the startup 
script in /etc/rc2.d or /etc/rc3.d. If you run on Linux. I found you 
need to put it in /etc/rc5.d. If you don't use linux, don't worry about 
rc5.d.

The commands I've put in the top of the tomcat.sh are to set environment 
variables. An alternative would be write your own script that sets the 
variables, then calls tomcat.sh (forwarding the commandline arguments). 
That way, tomcat.sh won't be altered. Come to think of it, I'll probably 
start doing this myself...

David

# Lalit Nagpal # wrote:

> so sorry,
>i did not understand what u meant ... where did rc5.d come from
>  David Kavanagh <[EMAIL PROTECTED]> wrote: What I've done is to insert some commands at 
>the top of tomcat.sh, then 
>link it from /etc/rc2.d/S99tomcat to /bin/tomcat.sh (if on 
>solaris).
>on Linux, I put it in /etc/rc5.d
>
>David
>
># Lalit Nagpal # wrote:
>
>>hi,
>>
>>i want tomcat 4 to startup up auto whenever the
>>machine is rebooted so i have put the entry
>>/startup.sh. As suggested by some i have
>>set the java path and tomcat home also in rc.local
>>file before running the startup.sh file. still it does
>>not seem to work. any bright ideas on this.
>>
>>thanx a lot
>>
>>
>>
>>
>># Lalit Nagpal #
>>
>>
>>---------------------------------
>>Do You Yahoo!?
>>Yahoo! Health - your guide to health and wellness
>>
>
>
>
>--
>To unsubscribe: 
>For additional commands: 
>Troubles with the list: 
>
>
># Lalit Nagpal #
>
>
>---------------------------------
>Do You Yahoo!?
>Yahoo! Health - your guide to health and wellness
>

Reply via email to