• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
I utilize tomcat 4.1.
have a documentation on tomcat at http://localhost:8080
Best Regards
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic