Re: Starting Tomcat in Apache

2001-03-18 Thread Kenneth Westelinck
do this (ie a better startup script) please let me know. regards, Kenneth Westelinck >From: Peter Bernard West <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: Starting Tomcat in Apache >Date: Sun, 18 Mar 2001 13:58:02 +1000 >

Re: Starting Tomcat in Apache

2001-03-18 Thread Milt Epstein
's own and then bring in the startup script. If > > you have a workaround, please let me know. > > > > thanks, > > > > Kenneth Westelinck > > > > >From: Peter Bernard West Reply-To: [EMAIL PROTECTED] To: > > >[EMAIL PROTECTED] Subject: Re

Re: Starting Tomcat in Apache

2001-03-18 Thread Peter Bernard West
27;s own and then bring in the startup script. If > you have a workaround, please let me know. > > thanks, > > Kenneth Westelinck > > >From: Peter Bernard West Reply-To: [EMAIL PROTECTED] To: > >[EMAIL PROTECTED] Subject: Re: Starting Tomcat in Apache Date: > >Fri,

Re: Starting Tomcat in Apache

2001-03-15 Thread Kenneth Westelinck
PROTECTED] To: >[EMAIL PROTECTED] Subject: Re: Starting Tomcat in Apache Date: >Fri, 16 Mar 2001 12:17:13 +1000 > >In Windows, does a batch script exit if any of the commands fails? If it >does not, the script will hang if startup.bat fails, or fails to produce >mod_jk.conf-auto

Re: Starting Tomcat in Apache

2001-03-15 Thread Peter Bernard West
In Windows, does a batch script exit if any of the commands fails? If it does not, the script will hang if startup.bat fails, or fails to produce mod_jk.conf-auto. Peter Steve Prior wrote: > > Wouldn't you need to insert a line in the batch file like: > if exist "%TOMCAT_HOME%\conf\mod_jk.conf

RE: Starting Tomcat in Apache

2001-03-15 Thread Adam Fowler
Hi, It would probably be a better idea to get tomcat to start/stop apache as Tomcat needs to be started beffore apache. To do this, even if apache is already started, just add a call to apache's startup script at the end of startup.sh:- /etc/rc.d/init.d/httpd restart and in shutdown.sh do:- /et

Re: Starting Tomcat in Apache

2001-03-15 Thread Steve Prior
Wouldn't you need to insert a line in the batch file like: if exist "%TOMCAT_HOME%\conf\mod_jk.conf-auto" erase "%TOMCAT_HOME%\conf\mod_jk.conf-auto" Before :loop otherwise the batch file as given would only wait the first time you ever ran it? Steve Prior Kenneth Westelinck wrote: > Hi, > > I

Re: Starting Tomcat in Apache

2001-03-15 Thread Arnaud Vandyck
venkatesan wrote: > > Hi All, > I have tomcat which i am starting everytime by typing > /bin/startup.sh and closing by ..bin/shutdown.sh. manually. Tomcat > is running with Apache in my Linux system. Can anybody know how Apache > web server will start tomcat automatically when it start

Re: Starting Tomcat in Apache

2001-03-15 Thread Kenneth Westelinck
Hi, I think you'll have to create a general startup script. The script starts Tomcat first and, if the auto-conf file is generated, starts Apache afterwards. I don't have much experience in scripting in Linux, but this is how I do it on Windows NT. startup.bat: @echo off set JAVA_HOME=c:\jdk1