Hi,
I am trying to figure out a way of making sure that my two war files
located on one physical Linux box are running in separate JVM's. I tried
mounting the two separate contexts to two separate ports, using
something like:
ApJServMount /context1 ajpv12://localhost:8007/context1
ApJServMount /context2 ajpv12://localhost:8009/context2
in my httpd.conf file and defining two different PoolTcpConnector
connectors on the corresponding ports in my server.xml file. However,
when I start up Tomcat (3.1) I get the following error:
FATAL:java.net.BindException: Address already in use
java.net.BindException: Address already in use
If I dont define the PoolTcpConnector for port 8009 then Tomcat works,
except that my two war files are running in the same JVM, which I do not
want. I have also tried changing the second connector port, but that
does not work either.
I thought the point of war files was that you could just drop the war
file into the webapps folder at an ISP, for example, and Tomcat would
automatically load the context. However, this seems fairly useless if
you can't specify that the different war files run in separate JVM's. Is
there something I am missing?
Any and all comments greatly appreciated. Thanks!
-David-
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]