You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Dain Sundstrom (JIRA)" <de...@geronimo.apache.org> on 2006/04/06 07:30:01 UTC

[jira] Assigned: (GERONIMO-1140) Bad component query building logic (JCAResourceImpl finds no JCAConnectionFactories)

     [ http://issues.apache.org/jira/browse/GERONIMO-1140?page=all ]

Dain Sundstrom reassigned GERONIMO-1140:
----------------------------------------

    Assign To: David Jencks

Close this if it is no longer a problem in 1.1

> Bad component query building logic (JCAResourceImpl finds no JCAConnectionFactories)
> ------------------------------------------------------------------------------------
>
>          Key: GERONIMO-1140
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1140
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: kernel, core
>     Versions: 1.0-M5
>     Reporter: Aaron Mulder
>     Assignee: David Jencks
>      Fix For: 1.2

>
> JCAResourceImpl does a query in getConnectionFactories line 51 that returns nothing.  The underlying query is:
> geronimo.server:J2EEApplication=null,J2EEServer=geronimo,JCAResource=null,j2eeType=JCAConnectionFactory,*
> The actual object it should be finding is:
> J2EEApplication=null,J2EEServer=geronimo,JCAResource=org/apache/geronimo/SystemDatabase,j2eeType=JCAConnectionFactory,name=SystemDatasource
> David Jencks looked at this and speculated that the problem is line 49 of J2eeContextImpl (it looks like that should be source.getKeyProperty(NameFactory.J2EE_NAME) instead).  I'm working around with a new J2eeContextImpl method for now ("newModuleContext"), but we should confirm and test that change.

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