Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-11-03 Thread dOE
I was FINALLY able to make this work using the single isapi.dll tomcat_connector, and two separate Tomcat instances on the same host. I swapped the server.xml I was using with a default one, and I followed the information in the LinuxJournal url below, and only changed what was mentioned (essentia

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-30 Thread Serge Fonville
If you have two completely separate installations, you should specify a catalina home in the batch file that starts the instance, if just the config an apps are separate, specify a catalina base in the startup fileAlso you could use http://www.linuxjournal.com/article/8561 for a more step by step a

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-30 Thread dOE
Thanks for the reply Serge, On Win32 I have the CATALINA_HOME set to pont to where Tomcat is installed, and were server1 resides. To configure CATALINA_BASE the same way, but pont to another directory that ONLY contains *conf*, *webapps*, *logs*, *temp*, and *work*? What would need to be in the

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-30 Thread Serge Fonville
You can define a CATALINA_HOME/BASE in the startup file(catalina.bat/sh). (all it does now is use the global environment variable because it isn't specified inside the file)You could define a HOME1 and HOME2 variable, but that would require a lot more changes inside the startup file. To be sure, s

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-29 Thread dOE
Guys, please don't give up on me yet, I am going to go read up on the documentation tonight to see what else I need to do to get this site working. I think my focus will be more for the Win32 rather 'nix because it more of a priority. On Wed, Oct 29, 2008 at 2:17 PM, dOE <[EMAIL PROTECTED]> wrote

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-29 Thread dOE
Now this needs to be replicated on a Win32 system as well following this how can this be done? The service can not be started by a command-line script (ideally). On Wed, Oct 29, 2008 at 2:02 PM, Hassan Schroeder < [EMAIL PROTECTED]> wrote: > On Wed, Oct 29, 2008 at 10:23 AM, dOE <[EMAIL PROTECTE

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-29 Thread Hassan Schroeder
On Wed, Oct 29, 2008 at 10:23 AM, dOE <[EMAIL PROTECTED]> wrote: > perhaps this is where my problem is at this stage. I would need a > "Catalina_Home2" and have that pointing to *server2 *...? I am guessing, but > would this mean I need to edit every mention of Catalina_Home to > Catalina_Home2 i

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-29 Thread dOE
If I were to install tomcat in /approot/tomcat (this would be the distribution directory that contains ../bin, and then I created /approot/sites/server1, and ...server2. I know enough that catalina_home variable would need to point to /approot/tomcat/, but where would I point my catalina_base vari

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-29 Thread dOE
I read the article, and I had already done everything it discussed. Not to clear on the "Catalina_Base" since I have to separate tomcats and most of the configurations are using relative paths. I do have an environmental variable set for "Catalina_Home" on the server that points to *server1 *inst

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-29 Thread Serge Fonville
You seem to be missing libraries.Have you defined separate catalina_bases for each instance and are all the required libs in the classpath Have you read "http://azeditech.com/tomcat/multiple-tomcat-instances.html"; Any additional informa

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-29 Thread dOE
You say the page not found errors are good... *IT IS GOOD BECAUSE IT TELLS ME THE SERVER IS BEING HIT. PRIOR TO YOUR HELP THE WRONG SERVER WAS OPENING ON ALL PORTS AND IP's NO LONGER THE CASE. * The configuration of the connectors looks ok Are there any errors in the logs and have you configured

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-29 Thread Serge Fonville
You say the page not found errors are good...The configuration of the connectors looks ok Are there any errors in the logs and have you configured an identiefieable error page for both instances? ( inside web.xml) That way you can determine which tomcat is serving the error. Do the other connectors

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-29 Thread dOE
Hi Serge, Below are the values from both of my server.xml files. I specified the address that the port should listen on, and I am unable to open * http://192.168.100.2:8080* (GOOD!). When I attempt to open * http://192.168.100.2:8180* I get a 400, and *http://192.168.100.1:8180* the "request" r

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-29 Thread Steve Ochani
Send reply to: Tomcat Users List Date sent: Wed, 29 Oct 2008 09:06:57 -0400 From: dOE <[EMAIL PROTECTED]> Send reply to: [EMAIL PROTECTED] To: Tomcat User-List Subject: How can I hard code the IP address on a single server with multiple Tomcat instances. >

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-29 Thread Serge Fonville
Place inside a element and the output of netstat contains an entry for 127.0.0.1:80 instead of the usual 0.0.0.0:80 Regards, Serge Fonville On Wed, Oct 29, 2008 at 2:31 PM, dOE <[EMAIL PROTECTED]> wrote: > Serge thanks for the reply... > > so to hard code the IP its just a matter of ONLY addin

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-29 Thread dOE
Serge thanks for the reply... so to hard code the IP its just a matter of ONLY adding ? The online document site does not give any syntax examples. On Wed, Oct 29, 2008 at 9:17 AM, Serge Fonville <[EMAIL PROTECTED]>wrote: > There is an address attribute inside the connector that specifies the

Re: How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-29 Thread Serge Fonville
There is an address attribute inside the connector that specifies the address of the listening socket http://tomcat.apache.org/tomcat-6.0-doc/config/http.html http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html Hope this helps Regards, Serge Fonville On Wed, Oct 29, 2008 at 2:06 PM, dOE <[E

How can I hard code the IP address on a single server with multiple Tomcat instances.

2008-10-29 Thread dOE
I have a server that I am hosting multiple Tomcat servers from, and the issue I am running into is... - I have multiple IP's bound to the servers interface, Tomcat _1 has port 8080 specified as its connector port. The second Tomcat_2 has port 8180 set as its conector port in its server.xml, but re