tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: multiple instances
Date Thu, 13 Jun 2002 19:17:59 GMT

I have multiple instances of tomcat 3.1 running in a production environment,
with each instance a separate hostname (a.x.com, b.x.com, etc) served by
apache 1.3, though all instances are running as the same user.  If this is
similar to what you are trying to do, holler back and I will dig out the
configs and post it.  I'm knee deep in tomcat 4 at the moment so I don't
have the configs handy. :)

John Turner
jturner@aas.com
http://www.aas.com


-----Original Message-----
From: chad kellerman [mailto:ckellerman@alabanza.com]
Sent: Thursday, June 13, 2002 3:05 PM
To: tomcat-user@jakarta.apache.org
Subject: multiple instances


Hi everyone,

     I think this topic has been beet to death.  But I have a few questions 
more.

   Just a quick survey.  Does anyone have mulitple instances of tomcat 
running-under different users?  (under linux or Solaris)
  If so, how many instances are you running? with 20 users? 50,100?

   My problem...
    My set up has the main tomcat installation in /usr/local/tomcat/.  I
have 
also another user called gotc.  His tomcat instance in in
/home/gotc/www/tomcat-  which I think I am going to change so it is not in
his 
directory root.  but anyway.

    My server.xml files are set up so that the main tomcat should list on 
8080.  And that gotc-tomcat should listen on 8090.  No other port is the
same 
in the server.xml file.  Each runs great separately, but when run together, 
the one started second dies with the error:

StandardServer.await: create[8005]: java.net.BindException: Address already
in 
use
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:321)
        at java.net.ServerSocket.bind(ServerSocket.java:308)
        at java.net.ServerSocket.bind(ServerSocket.java:266)
        at java.net.ServerSocket.<init>(ServerSocket.java:182)
        at 
org.apache.catalina.core.StandardServer.await(StandardServer.java:277)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:794)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)


     what port is it trying to bind to?  And how can I change that port to 
another?


Sorry for the long email...  But thanks for any help...


--chad

--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message