Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Q: 1 server, 2 IP's, 2 TOMCAT servers... HELP

 
William Kuderka
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please take it easy on me. I am a UNIX system admin trying to assist a dev team. We have an existing iPlanet webserver working with a Tomcat app server on one of our Sun Solaris boxes. We are trying to add second web instance, bound to a second IP (that part is working) and have a speparate Tomcat app server also be bound to the second IP address (that part isn't working).
The second iPlanet web server instance can serve static pages correctly. When we try to start the second Tomcat app server it starts to initialize and then stops indicating: "java.lang.reflect.InvocationTargetException: org.apache.tomcat.core.TomcatException: Root cause - Address already in use".
My gut feeling is that Tomcat is binding to the first IP.
Please understand I know next to nothing about Tomcat. How would I tell Tomcat to open/use ports on the second IP address?
 
Isaias C. Barroso
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
try to edit the file server.xml on the conf directory in the tag <Host name="xxx.xxx.xxx.xxx" ..
Best Regards
 
William Kuderka
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply.
I took a look at the server.xml file and did not see an entry for "Host name=" anywhere in the file.
We are running Tomcat 3.3. I took a look at the documentation on the jakarta.apache.org site and didn't see anything about a "Host name=" setting in the server.xml documentation.
Do you think the setting you suggest is not documented or not available in my version of Tomcat?
 
William Kuderka
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, is the jakarta.apache.org site the best reference for Tomcat 3.3 or should I be looking some place else for docs?
Thanks again.
 
Isaias C. Barroso
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I utilize tomcat 4.1.
have a documentation on tomcat at http://localhost:8080
Best Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic