tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donie Kelly <donie.ke...@tecnomen.ie>
Subject RE: Problem running 2 instances of Tomcat
Date Tue, 13 May 2003 16:33:56 GMT
Look in server.xml at the top of the file.

< Server port="8005" shutdown="SHUTDOWN"....

Not sure where 8009 is being used....

Donie


 -----Original Message-----
From: 	Mark Liu [mailto:markliu1989@yahoo.com] 
Sent:	13 May 2003 17:42
To:	Tomcat Users List
Subject:	Problem running 2 instances of Tomcat

I do need to run 2 instances of Tomcat on the same Sun
work station (the OS is Solaris 9).

I am running one on port 80, and when I tried to run
another one on 8080, I got the following
java.net.BindException.  It seems that ports 8009 and
8005 are being used by the other instance of Tomcat.

So, how can I get around this?  Can I change these
port numbers somewhere?  Thanks.

***** The exceptions ********

May 13, 2003 11:23:48 AM
org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
May 13, 2003 11:23:48 AM
org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8443
May 13, 2003 11:23:49 AM
org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Address
already in use
May 13, 2003 11:23:49 AM
org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8010
May 13, 2003 11:23:49 AM org.apache.jk.server.JkMain
start
INFO: Jk running ID=1 time=14/639 
config=/export/home/tomcat4.1.24/conf/jk2.properties
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:510)
        at
org.apache.catalina.startup.Catalina.start(Catalina.java:521)
        at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        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:203)
Stopping service Tomcat-Standalone

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

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


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

**********************************************************************


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


Mime
View raw message