geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <>
Subject [jira] Closed: (GERONIMO-1981) Web Connector has GBean=(container name) in AbstractName
Date Tue, 16 May 2006 02:53:15 GMT
     [ ]
David Jencks closed GERONIMO-1981:

    Resolution: Fixed
     Assign To: David Jencks  (was: Dain Sundstrom)

Fixed in rev 406807.  Get a big stack trace on console, but don't create the 2nd gbean with
the same name.

> Web Connector has GBean=(container name) in AbstractName
> --------------------------------------------------------
>          Key: GERONIMO-1981
>          URL:
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: kernel
>     Versions: 1.1
>     Reporter: Aaron Mulder
>     Assignee: David Jencks
>     Priority: Blocker
>      Fix For: 1.1

> The GBean name for the default Jetty AJP connector appears to be (forgive the URL encoding
but this came from the console):
> geronimo%2Fjetty%2F1.1-SNAPSHOT%2Fcar%3FGBean%3DJettyWebContainer%2CServiceModule%3Dgeronimo%2Fjetty%2F1.1-SNAPSHOT%2Fcar%2Cj2eeType%3DGBean%2Cname%3DJettyAJP13Connector
> The problem is the part of the connector name that appears to say "GBean=JettyWebContainer"
> I believe that was introduced in an attempt to have a standard JSR-77 component list
its parent module with its parent module type, but that doesn't seem to make sense for parents
of type "GBean".  Can we remove the "ParentType=ParentName" block for parents of type GBean?
> If not, then we have a bug that when creating a new web connector we don't add the "ParentType=ParentName"
block.  e.g., see JettyManagerImpl.addConnector, which runs this:
> AbstractName name = kernel.getNaming().createChildName(containerName, uniqueName, NameFactory.GERONIMO_SERVICE);
> And that gets a name without the GBean=JettyWebConnector, which means even if the name=
component is the same as an existing connector, it comes out with a distinct AbstractName.

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