Thanks, But I got it. I had the stupid shutdown port the same on the server.xml files.
My bad.... --chad On Thu June 13 2002 3:17 pm, Turner, John wrote: > 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 > [EMAIL PROTECTED] > http://www.aas.com > > > -----Original Message----- > From: chad kellerman [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 13, 2002 3:05 PM > To: [EMAIL PROTECTED] > 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:3 >9 ) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp >l .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 -- Chad Kellerman Alabanza Inc. Jr. Systems Administrator 10 E. Baltimore Street Baltimore, Md 21202 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
