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

2008-09-21 Thread buzzterrier
gt; Thanks in advance > -- View this message in context: http://www.nabble.com/HOW-TO-install-setup-2-instances-of-tomcat-on-same-server-tp19079289p19600961.html Sent from the Tomcat - User mailing list archive at Nabble.com. ---

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

2008-08-27 Thread Martin Gainty
: Re: HOW TO install/setup 2 instances of tomcat on same server > > This error looks like an error in your shell script. Maybe someone else > can offer up some help with this. I use jsvc in my environment. > > --David > > edponce wrote: > > just that > > >

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

2008-08-27 Thread David Smith
This error looks like an error in your shell script. Maybe someone else can offer up some help with this. I use jsvc in my environment. --David edponce wrote: just that -sh: line 0: export: `In the config file': not a valid identifier /bin/bash: /usr/bin/tomcat5-test: Permission denied

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

2008-08-27 Thread edponce
interfere with each other >>>> findFreePorts >>>> sed -i -e "s/8005/${randomPort1}/g" -e >>>> "s/8080/${CONNECTOR_PORT}/g" >>>> \ >>>> -e "s/8009/${randomPort2}/g" -e "s/8443/$

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

2008-08-27 Thread David Smith
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: [ FAILED ] i cant find what is the problem in the config

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

2008-08-27 Thread edponce
rt fi ;; status) status ;; version) parseOptions "${JAVA_HOME}/bin/java" \ -classpath "${CATALINA_HOME}/server/lib/catalina.jar" \ org.apache.catalina.util.ServerInfo ;; *) ech

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

2008-08-27 Thread edponce
e please guide me on the correct direction so that i don't mess > up anything! I've never worked with Tomcat that is why i have no idea on > how to do it. > Thanks in advance > -- View this message in context: http://www.nabble.com/HOW-TO-install-setup-2-instances-of-tomcat-on-sam

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

2008-08-27 Thread edponce
> echo "$0 running (${pid}) but no PID file exists" >> RETVAL="0" >> else >> echo "$0 is stopped" >> fi >> fi >> return $RETVAL >> } >> >> function stop() { &

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

2008-08-27 Thread edponce
"$0 is stopped" >> fi >> fi >> return $RETVAL >> } >> >> function stop() { >> local STOP_VERBOSE="false" >> echo -n "Stopping $TOMCAT_PROG: " >> if [ -f "/var/lock/subsys/${NAME}&

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

2008-08-27 Thread David Smith
[EMAIL PROTECTED] rc5.d]# tomcat5-test start -bash: /usr/bin/tomcat5-test: Permission denied You need to add the execute privilege to your tomcat5-test script. Take a look at the man page for chmod. ... wich was /etc/tomcat5 (where i have the catalina policies and jkproperties, etc) for /etc

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

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

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

2008-08-27 Thread edponce
me" >>>>>> (like "realserver.mycompany.com" and "testserver.mycompany.com") and >>>>>> could have a different directory where the applications reside, but >>>>>> the application itself would be named the same way. >>>&g

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

2008-08-26 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 didn&#x

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

2008-08-26 Thread David Smith
If you installed tomcat using the .exe installer, go get the .zip download and grab the service.bat file from it's bin directory. If you installed .zip version of tomcat, you should have a file in the bin directory named service.bat. Service.bat can help you create new tomcat services in the

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

2008-08-26 Thread edponce
;> much about Tomcat to start witj, either one of the above is probably >>>> easier to set up than two separate Tomcat instances. >>>> >>>> The difference between the above solutions and two really separate >>>> Tomcat insta

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

2008-08-25 Thread David Smith
Ok ... forgive me if this was posted already, but what OS do you have and how are you starting the production instance? Windows systems starting the production tomcat as a service is different than Linux/Unix systems starting tomcat with jsvc or a service script. --David edponce wrote: Davi

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

2008-08-25 Thread edponce
u knowing not >> much about Tomcat to start witj, either one of the above is probably >> easier to set up than two separate Tomcat instances. >> >> The difference between the above solutions and two really separate >> Tomcat instances would be if the test application could really crash >> the whole server, in which cas

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

2008-08-25 Thread edponce
To start a new topic, e-mail: users@tomcat.apache.org >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/HOW-TO-install-setup-2-instances-of-tomcat

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

2008-08-25 Thread edponce
topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/HOW-TO-install-setup-2-instances-of-tomcat-on-same-server-tp19079289p19145878.html S

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

2008-08-24 Thread Thomas Haines
Hi edponce so if i understood everything i just need to duplicate the tomcat folder, do i need to rename it or something? Yes, you just need to duplicate it. You can call the duplicate folder whatever you like. Then "On the duplicated tomcat directory, you need to edit the server.xml fi

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

2008-08-22 Thread edponce
ou want to run two instances, the easiest way, to my > mind, is to duplicate the tomcat directory. On the duplicated tomcat > directory, you need to edit the server.xml file so that the second > server.xml as unique ports for the shutdown port, the interface port > (eg 8080 co

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

2008-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ed, 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 production a

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

2008-08-21 Thread Mark H. Wood
On Thu, Aug 21, 2008 at 02:31:41AM +0200, André Warnier wrote: > Markus Schönhaber wrote: [snip] >> Furthermore, if I understand the OP's statement above correctly, he wants >> to be able to restart the development Tomcat without affecting the >> production Tomcat. That's not possible with either

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

2008-08-21 Thread David Smith
Can any one please guide me on the correct direction so that i don't mess up anything! I've never worked with Tomcat that is why i have no idea on how to do it. Yes. Just open the server.xml file in tomcat's conf directory and look for the elements that aren't wrapped in xml comments ( ).

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

2008-08-20 Thread Thomas Haines
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 production and the other for development (which can be start

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

2008-08-20 Thread André Warnier
Markus Schönhaber wrote: André Warnier wrote: edponce wrote: 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 without

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

2008-08-20 Thread Markus Schönhaber
André Warnier wrote: edponce wrote: 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 without affecting the production o

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

2008-08-20 Thread André Warnier
André Warnier wrote: 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 production and the other for development (wh

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

2008-08-20 Thread André Warnier
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 production and the other for development (which can be start and sto

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

2008-08-20 Thread edponce
never worked with Tomcat that is why i have no idea on how to do it. Thanks in advance -- View this message in context: http://www.nabble.com/HOW-TO-install-setup-2-instances-of-tomcat-on-same-server-tp19079289p19079289.html Sent from the Tomcat - User mailing list arc