• 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

multiple tomcat's

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Trying to run two tomcats (4.0.1 and 1.3.4) on the same win2000 machine.
No matter how I change the port number in the server.xml file, the sencond won't start properly. it gives "java.net.BindException: Address in use: bind"
Please kindly give suggestions, Thanks!
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If two copies of tomcat are installed, how did you set the CATALINA_HOME?
Technically, if you installed the zip version, having two copies on the hard drive should be OK, but you have to be sure your application is in the right webapps folder.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On one server.xml, do a global replace.
Replace 'port="8'
to 'port="9'
and see what happens, I suppose u are only trying it for experimenting purposes.
 
Chasee Lee
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Steve and Patricia,
Thanks for your replys!
My problem is to integarte two web appications with different versions of Server engines of tomcat. One is an old legacy one. so iam not sure if the application would get effected if the server engine is upgraded.
Older version of tomcat doesn't have cataline_home. Anyway, we would run two seperate processes for these two copies of tomcats, and each process would have its catelinea_home or tomcat_home referring to its own installation directory respectively.

In the sever.xml's, the tcp connectors would refer to different listening ports. You are right that several defalt ports need to be changed to void conflicts.
 
reply
    Bookmark Topic Watch Topic
  • New Topic