tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: tomcat jmx and INFO: Port busy 8009 java.net.BindException: Address already in use
Date Tue, 27 May 2008 20:53:33 GMT
you're not trying to configure a JMX connector, you're trying to 
configure an AJP connector as defined by

<Connector port="${AJP.PORT}"
    protocol="AJP/1.3" />


Filip
sudip shrestha wrote:
> with tomcat 5.5.20 and mx4j-tools.jar at common/lib and the following setting:
> <Connector port="${AJP.PORT}"
>             handler.list="mx"
>             mx.enabled="true"
>             mx.httpHost="localhost"
>             mx.httpPort="8181"
>             protocol="AJP/1.3" />
>
> I get the following startup log:
> INFO: Starting Coyote HTTP/1.1 on http-8080
> May 27, 2008 2:23:40 PM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> May 27, 2008 2:23:40 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/130  config=null
> May 27, 2008 2:23:40 PM org.apache.jk.common.JkMX classExists
> INFO: className [mx4j.adaptor.http.HttpAdaptor] does not exist
> May 27, 2008 2:23:40 PM org.apache.jk.common.JkMX loadAdapter
> INFO: Started MX4J console on host localhost at port 8181
> HttpAdaptor version 3.0.2 started on port 8181
> May 27, 2008 2:23:40 PM org.apache.jk.common.JkMX init
> INFO: Registering the JMX hierarchy for Log4J
> May 27, 2008 2:23:40 PM org.apache.jk.common.ChannelSocket init
> INFO: Port busy 8009 java.net.BindException: Address already in use
> May 27, 2008 2:23:40 PM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8010
> May 27, 2008 2:23:40 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=1 time=0/311  config=null
> May 27, 2008 2:23:40 PM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> May 27, 2008 2:23:41 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 24087 ms
>
> and If I remove the jmx connector from server.xml, this "INFO: Port
> busy 8009 java.net.BindException: Address already in use" goes away.
>
> Thanks for the suggestion.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message