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
>
> 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
> >
>
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
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/$
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
rt
fi
;;
status)
status
;;
version)
parseOptions
"${JAVA_HOME}/bin/java" \
-classpath "${CATALINA_HOME}/server/lib/catalina.jar" \
org.apache.catalina.util.ServerInfo
;;
*)
ech
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
> echo "$0 running (${pid}) but no PID file exists"
>> RETVAL="0"
>> else
>> echo "$0 is stopped"
>> fi
>> fi
>> return $RETVAL
>> }
>>
>> function stop() {
&
"$0 is stopped"
>> fi
>> fi
>> return $RETVAL
>> }
>>
>> function stop() {
>> local STOP_VERBOSE="false"
>> echo -n "Stopping $TOMCAT_PROG: "
>> if [ -f "/var/lock/subsys/${NAME}&
[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
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
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
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
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
;> 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
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
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
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
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
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
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
-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
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
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 (
).
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
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
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
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
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
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
30 matches
Mail list logo