geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-1140) Bad component query building logic (JCAResourceImpl finds no JCAConnectionFactories)
Date Sun, 06 Nov 2005 20:50:19 GMT
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
  Components: core, kernel  
    Versions: 1.0-M5    
    Reporter: Aaron Mulder
     Fix For: 1.0


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


Mime
View raw message