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/05/06 18:04:51 UTC
DO NOT REPLY [Bug 8828] New: -
Coyote 1.0-b8 not using IP Address restirctions
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=8828>.
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=8828
Coyote 1.0-b8 not using IP Address restirctions
Summary: Coyote 1.0-b8 not using IP Address restirctions
Product: Tomcat 4
Version: 4.0.4 Beta 2
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Connector:Coyote HTTP/1.1
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: cbritton@metatomix.com
We have a configuration where we use both IIS and Tomcat 4 on a single machine,
both running on port 80. Each has a dedicated IP address and IIS is configured
to not use socket pooling.
This configuration works fine with TC4.0.4b2 using the old http1.1 connector,
but using Coyote 1.0-b8 I get the following error. (The same applies for
TC4.1.0 Alpha)
Platform: Win 2k, Sun JDK1.3.1_02
<snip from stderr>
[INFO] Http11Protocol - -setAttribute port 80
[INFO] Http11Protocol - -setAttribute maxThreads 300
[INFO] Http11Protocol - -setAttribute backlog 100
[INFO] Http11Protocol - -setAttribute tcpNoDelay true
[INFO] Http11Protocol - -setAttribute soTimeout 60000
[INFO] Http11Protocol - -setAttribute timeout 60000
[INFO] Http11Protocol - -setAttribute secure false
java.net.BindException: Address in use: JVM_Bind:80
at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint
(PoolTcpEndpoint.java:267)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:141)
at org.apache.coyote.tomcat4.CoyoteConnector.initialize
(CoyoteConnector.java:995)
at org.apache.catalina.core.StandardService.initialize
(StandardService.java:568)
at org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:746)
at org.apache.catalina.startup.Catalina.start(Catalina.java:503)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:399)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
[ERROR] Http11Protocol - -Error initializing endpoint <java.net.BindException:
Address in use: JVM_Bind:80>
<snip from stdout>
Catalina.start: LifecycleException: Protocol handler initialization failed:
java.net.BindException: Address in use: JVM_Bind:80
LifecycleException: Protocol handler initialization failed:
java.net.BindException: Address in use: JVM_Bind:80
at org.apache.coyote.tomcat4.CoyoteConnector.initialize
(CoyoteConnector.java:997)
at org.apache.catalina.core.StandardService.initialize
(StandardService.java:568)
at org.apache.catalina.core.StandardServer.initialize
(StandardServer.java:746)
at org.apache.catalina.startup.Catalina.start(Catalina.java:503)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:399)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Catalina.stop: LifecycleException: This server has not yet been started
LifecycleException: This server has not yet been started
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:720)
at org.apache.catalina.startup.Catalina.start(Catalina.java:535)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:399)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Here is my connector config....
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="80"
address="10.1.1.228" minProcessors="25" maxProcessors="300"
enableLookups="true" redirectPort="443" acceptCount="100" debug="9"
connectionTimeout="60000" useURIValidationHack="false" />
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>