You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/11/27 00:37:45 UTC
DO NOT REPLY [Bug 14877] New: -
Coyote HTTP not using the port numbers I specify in server.xml
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14877>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14877
Coyote HTTP not using the port numbers I specify in server.xml
Summary: Coyote HTTP not using the port numbers I specify in
server.xml
Product: Tomcat 4
Version: 4.1.12
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Normal
Priority: Other
Component: Connector:Coyote JK 2
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: robert.wolf@nmiinc.com
Modified the standard conf/server.xml
- copied the <Service name="Tomcat-Standalone"> ... </service>
to a 2nd one <Service name="Tomcat-Standalone-8082"> ... </service>
- inside the 2nd one added '2' to all port numbers,
i.e. 8080 -> 8082 8009 -> 8011
If you look below you will see an error that port 8009 is already in use caused
by the 2nd service, it should be using port=8011 as specified inside the
2nd <Service ...> instead it switches to 8010.
What if I need to specify 100 services? It needs to use the ports I specify or
it will be a maze.
[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8082
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12
[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080
[INFO] ChannelSocket - -JK2: ajp13 listening on tcp port 8009
[INFO] JkMain - -Jk running ID=0 time=18/86 config=/usr/local/jakarta-tomcat-4.
1.12/conf/jk2.properties
Starting service Tomcat-Standalone-8082
Apache Tomcat/4.1.12
[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8082
[INFO] ChannelSocket - -Port busy 8009 java.net.BindException: Address already i
n use
[INFO] ChannelSocket - -JK2: ajp13 listening on tcp port 8010
[INFO] JkMain - -Jk running ID=1 time=1/8 config=/usr/local/jakarta-tomcat-4.1.
12/conf/jk2.properties
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>