geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/connector/src/java/org/apache/geronimo/connector/deployment RAR_1_5ConfigBuilder.java
Date Mon, 12 Apr 2004 06:29:13 GMT
djencks     2004/04/11 23:29:13

  Modified:    modules/connector/src/java/org/apache/geronimo/connector/deployment
                        RAR_1_5ConfigBuilder.java
  Log:
  Umm, system classloader can't find much of anything
  
  Revision  Changes    Path
  1.9       +2 -2      incubator-geronimo/modules/connector/src/java/org/apache/geronimo/connector/deployment/RAR_1_5ConfigBuilder.java
  
  Index: RAR_1_5ConfigBuilder.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/connector/src/java/org/apache/geronimo/connector/deployment/RAR_1_5ConfigBuilder.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- RAR_1_5ConfigBuilder.java	12 Mar 2004 17:58:45 -0000	1.8
  +++ RAR_1_5ConfigBuilder.java	12 Apr 2004 06:29:13 -0000	1.9
  @@ -211,7 +211,7 @@
                       }
                       managedConnectionFactoryGBean.setReferencePatterns("ConnectionManagerFactory",
Collections.singleton(connectionManagerFactoryObjectName));
                       if (connectionfactoryInstance.getCredentialInterface() != null &&
PasswordCredential.class.getName().equals(connectionfactoryInstance.getCredentialInterface().getStringValue()))
{
  -                        GBeanMBean realmGBean = new GBeanMBean(PasswordCredentialRealm.class.getName());
  +                        GBeanMBean realmGBean = new GBeanMBean(PasswordCredentialRealm.class.getName(),
PasswordCredentialRealm.class.getClassLoader());
                           realmGBean.setAttribute("RealmName", BASE_PASSWORD_CREDENTIAL_LOGIN_MODULE_NAME
+ connectionfactoryInstance.getName());
                           context.addGBean(ObjectName.getInstance(BASE_PASSWORD_CREDENTIAL_LOGIN_MODULE_NAME
+ connectionfactoryInstance.getName()), realmGBean);
                           managedConnectionFactoryGBean.setReferencePatterns("ManagedConnectionFactoryListener",
Collections.singleton(ObjectName.getInstance(BASE_PASSWORD_CREDENTIAL_LOGIN_MODULE_NAME +
connectionfactoryInstance.getName())));
  
  
  

Mime
View raw message