geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy (JIRA)" <>
Subject [jira] Updated: (GERONIMO-1098) Tomcat web connector fails to start due to missing name attribute
Date Fri, 21 Oct 2005 09:54:00 GMT
     [ ]

Vamsavardhana Reddy updated GERONIMO-1098:

    Attachment: tomcatConnectorName.patch

tomcatConnectorName.patch:  Fixes the problem by setting the "name" attribute when the connector
GBean is created.

> Tomcat web connector fails to start due to missing name attribute
> -----------------------------------------------------------------
>          Key: GERONIMO-1098
>          URL:
>      Project: Geronimo
>         Type: Bug
>   Components: Tomcat
>     Versions: 1.0-M5
>     Reporter: Vamsavardhana Reddy
>     Priority: Minor
>  Attachments: tomcatConnectorName.patch
> Tomcat HTTP Web Connector created by the API org.apache.geronimo.console.util.PortletManager.createWebConnector(actionRequest,
managerName, containerName, name, protocol, host, port)  fails to start on calling startRecursive()
on the connector gbean.  Error seems to be due to a "null" value in the "name" attribute of
the GBean.  Log shows the following error.
> 14:53:47,471 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED
state: objectName="geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/Tomcat,J2EEServer=geronimo,j2eeType=GBean,name=TomcatWebConnector-HTTP-T3000"
> java.lang.IllegalArgumentException: name cannot be null.
> 	at org.apache.geronimo.tomcat.ConnectorGBean.<init>(
>                      ...
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(
>                      ...
> 	at org.apache.geronimo.tomcat.TomcatWebConnector$$EnhancerByCGLIB$$d52b2a39.startRecursive(<generated>)
> 	at org.apache.geronimo.console.webmanager.ConnectorPortlet.processAction(
>                      ...
> 	at Source)
> Ultimate reason seems to be that TomcatManagerImpl.addConnector(String containerObjectName,
String uniqueName, String protocol, String host, int port) does not set the "name" GBean attribute
of the connector when the connector is created.  Though the connector is created successfully
without this attribute, org.apache.geronimo.tomcat.ConnectorGBean constructor throws an Exception
while attempting to start the connector.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message