geronimo-dev mailing list archives

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

         Key: GERONIMO-1098
     Project: Geronimo
        Type: Bug
  Components: Tomcat  
    Versions: 1.0-M5    
    Reporter: Vamsavardhana Reddy
    Priority: Minor

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:
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