Error starting 2nd instance of tomcat

2008-08-27 Thread edponce
I am getting an error starting my 2nd instance with the script i created... this is my error on my command line > [EMAIL PROTECTED] ~]# tomcat5-test start > In the config file > Starting tomcat5-test: [ FAILED ] and this is my catalina.out file... -sh: lin

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-27 Thread edponce
> Anything in catalina.out related to the failed startup? > > --David > > edponce wrote: >> david... >> my only problem now is >> >> [EMAIL PROTECTED] ~]# tomcat5-test start >> In the config file >> Starting tomcat5-test:

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-27 Thread edponce
sleep 1 let count="${count}+1" done if [ "$count" -gt "$SHUTDOWN_WAIT" ]; then if [ "$STOP_VERBOSE" = "true" ]; then echo -n -e "\nkilling processes which d

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-27 Thread edponce
: [ FAILED ] Thank you, edponce wrote: > > I know this question has been asked a lot but I've read different > solutions depending on the needs of the problem. I need to have 2 > instances of tomcat on the same server for the same application. One would > be for prod

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-27 Thread edponce
. In that case, duplicate both. > Disk space is generally cheap and tomcat doesn't take that much room. > That would also bolster separation of the dev and production > environments as each should have their own log directories. > > --David > > edponce wrote: >&

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-27 Thread edponce
n of the dev and production > environments as each should have their own log directories. > > --David > > edponce wrote: >> ive created this start script in the /usr/bin/ folder...what i did is >> modified the previous path of the original tomcat instance to the new >

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-27 Thread edponce
ive created this start script in the /usr/bin/ folder...what i did is modified the previous path of the original tomcat instance to the new one... wich was /etc/tomcat5 (where i have the catalina policies and jkproperties, etc) for /etc/tomcat5-testbut that raised other questions should i be

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-27 Thread edponce
at how the bat file creates a new service and then roll your own > from the command line. > > --David > > edponce wrote: >> DAvid >> I am on windows, but i connect to the server via ssh so all the commands >> are >> just like in Linux. >> I've tr

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-26 Thread edponce
Tom, ive created this start script...what i did is modified the previous path of the original tomcat instance to the new one... wich was /etc/tomcat5 (where i have the catalina policies and jkproperties, etc) for /etc/tomcat5but that raised other questions should i be duplicating that folder o

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-26 Thread edponce
or a service script. > > --David > > edponce wrote: >> David, >> Thanks for replying. I've duplicated my tomcat folder and renamed it and >> ive >> changed the 2 and the shut down port. But i dunno >> how >> to start the duplicate instance.

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-25 Thread edponce
ndent on how big the webapp is as well as how much extra > memory tomcat has. It's better to occasionally restart a dev instance > of tomcat than bounce a production instance when it stops responding. > > --David > > André Warnier wrote: >> André Warnier wrote: >>

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-25 Thread edponce
one last question tom, do i need to rename the other tomcat5 archives to whatever name I choose for my 2nd instance. Eduardo edponce wrote: > > Tom, > Thanks for the aclarations and I just have one last question. How do I > start the second instance withough affecting the 1st one

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-25 Thread edponce
Tom, Thanks for the aclarations and I just have one last question. How do I start the second instance withough affecting the 1st one? becuase if i do tomcat5 start/stop that will kill both instances right? Thank you, Eduardo Thomas Haines-2 wrote: > > Hi edponce > >> so

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-22 Thread edponce
JVM Version:1.4.2 JVM Vendor: Free Software Foundation, Inc. Thomas Haines-2 wrote: > >> >>> edponce wrote: >>>> I know this question has been asked a lot but I've read different >>>> solutions >>>> depending on the needs of the

HOW TO install/setup 2 instances of tomcat on same server

2008-08-20 Thread edponce
I know this question has been asked a lot but I've read different solutions depending on the needs of the problem. I need to have 2 instances of tomcat on the same server for the same application. One would be for production and the other for development (which can be start and stopped whenever wi