[
http://issues.apache.org/jira/browse/GERONIMO-1398?page=comments#action_12361091
]
anita kulshreshtha commented on GERONIMO-1398:
----------------------------------------------
The following line in getHost() method is returning /0.0.0.0
Object value = connector.getAttribute("address");
A possible cause may be that the base class
org.apache.coyote.http11.Http11BaseProtocol defines an attribute 'address' of
type InetAddress in a Hashtable. It is used by
org.apache.catalina.connector.Connector.createObjectName(..)
> ConnectorGBean is creating an attribute 'address' with value /0.0.0.0
> -----------------------------------------------------------------------
>
> Key: GERONIMO-1398
> URL: http://issues.apache.org/jira/browse/GERONIMO-1398
> Project: Geronimo
> Type: Bug
> Components: Tomcat
> Versions: 1.0-M5
> Environment: All
> Reporter: anita kulshreshtha
> Priority: Minor
>
> ConnectorGBean is creating an attribute 'address' with value /0.0.0.0 .
> This creates bad objectNames for catalina MBeans.
> This explains the following results viewed via the war attached to G-1293.
> Note that this happens only for HTTP and HTPPS connector and not for AJP.
> OK - Number of results: 3
> Name: Geronimo:type=Connector,port=8009,address=0.0.0.0
> modelerType: org.apache.catalina.mbeans.ConnectorMBean
> address: 0.0.0.0
> allowTrace: false
> bufferSize: 2048
> emptySessionPath: false
> enableLookups: false
> maxPostSize: 2097152
> port: 8009
> protocol: AJP/1.3
> protocolHandlerClassName: org.apache.jk.server.JkCoyoteHandler
> proxyPort: 0
> redirectPort: 443
> scheme: http
> secure: false
> useBodyEncodingForURI: false
> xpoweredBy: false
> Name: Geronimo:type=Connector,port=8443,address=%2F0.0.0.0
> modelerType: org.apache.catalina.mbeans.ConnectorMBean
> acceptCount: 100
> address: /0.0.0.0
> algorithm: SunX509
> allowTrace: false
> bufferSize: 2048
> clientAuth: false
> compression: off
> connectionLinger: -1
> connectionTimeout: 60000
> connectionUploadTimeout: 300000
> disableUploadTimeout: true
> emptySessionPath: false
> enableLookups: false
> keystoreFile: D:\anita\geronimo\geronimom6\geronimo-1.0\var\security\keystore
> keystorePass: secret
> maxHttpHeaderSize: 8192
> maxKeepAliveRequests: 100
> maxPostSize: 2097152
> maxSpareThreads: 75
> maxThreads: 150
> minSpareThreads: 25
> port: 8443
> protocol: HTTP/1.1
> protocolHandlerClassName: org.apache.coyote.http11.Http11Protocol
> proxyPort: 0
> redirectPort: 443
> scheme: https
> secure: true
> sslProtocol: TLS
> strategy: lf
> tcpNoDelay: true
> threadPriority: 5
> useBodyEncodingForURI: false
> xpoweredBy: false
> Name: Geronimo:type=Connector,port=8080,address=%2F0.0.0.0
> modelerType: org.apache.catalina.mbeans.ConnectorMBean
> acceptCount: 100
> address: /0.0.0.0
> allowTrace: false
> bufferSize: 2048
> compression: off
> connectionLinger: -1
> connectionTimeout: 20000
> connectionUploadTimeout: 300000
> disableUploadTimeout: true
> emptySessionPath: false
> enableLookups: false
> maxHttpHeaderSize: 8192
> maxKeepAliveRequests: 100
> maxPostSize: 2097152
> maxSpareThreads: 75
> maxThreads: 150
> minSpareThreads: 25
> port: 8080
> protocol: HTTP/1.1
> protocolHandlerClassName: org.apache.coyote.http11.Http11Protocol
> proxyPort: 0
> redirectPort: 443
> scheme: http
> secure: false
> strategy: lf
> tcpNoDelay: true
> threadPriority: 5
> useBodyEncodingForURI: false
> xpoweredBy: false
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira