You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org> on 2005/12/21 21:28:30 UTC

[jira] Created: (GERONIMO-1398) getHost() method of ConnectorGBean is returning /0.0.0.0

getHost() method of  ConnectorGBean is returning   /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


    getHost() method of  ConnectorGBean is returning   /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


[jira] Updated: (GERONIMO-1398) ConnectorGBean is creating an attribute 'address' with value /0.0.0.0

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1398?page=all ]

anita kulshreshtha updated GERONIMO-1398:
-----------------------------------------

        Summary: ConnectorGBean is creating an attribute 'address' with value   /0.0.0.0  (was: getHost() method of  ConnectorGBean is returning   /0.0.0.0)
    Description: 
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



  was:
    getHost() method of  ConnectorGBean is returning   /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




better discription of the problem

> 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


[jira] Commented: (GERONIMO-1398) ConnectorGBean is creating an attribute 'address' with value /0.0.0.0

Posted by "anita kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
    [ 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


[jira] Closed: (GERONIMO-1398) ConnectorGBean is creating an attribute 'address' with value /0.0.0.0

Posted by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1398?page=all ]

Vamsavardhana Reddy closed GERONIMO-1398.
-----------------------------------------

    Resolution: Fixed

Examined the return value from connector.getAttribute("address") in ConnectorGBean.getHost().  Do not notice this problem in server built from branches\1.2 rev 482525.  Please reopen the issue if the problem still exists.

> 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
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>    Affects 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