Hello,

I've got the same problem with jboss-4.0.0RC1.

ra.xml :

 
    <resourceadapter-class>
      net.java.bdbadapter.jca.BerkeleyDBResourceAdapter
    </resourceadapter-class>

    <outbound-resourceadapter>
      <connection-definition>
        <managedconnectionfactory-class>
net.java.bdbxmladapter.jca.BerkeleyDBXMLManagedConnectionFactory
        </managedconnectionfactory-class>

        <config-property>
          The db environment home directory
          <config-property-name>dbEnvHome</config-property-name>
          <config-property-type>java.lang.String</config-property-type>
        </config-property>

        <config-property>
          
            The db environment encryption password; the db environment is
            encrypted via the Berkeley DB environment encryption mechanism if
            and only if a non-empty encryption password is given.
          
          <config-property-name>dbEnvPassword</config-property-name>
          <config-property-type>java.lang.String</config-property-type>
        </config-property>

        <connectionfactory-interface>
          net.java.bdbxmladapter.BerkeleyDBXMLConnectionFactory
        </connectionfactory-interface>
        <connectionfactory-impl-class>
          net.java.bdbxmladapter.jca.JCABerkeleyDBXMLConnectionFactory
        </connectionfactory-impl-class>

        <connection-interface>
          net.java.bdbadapter.BerkeleyDBConnection
        </connection-interface>
        <connection-impl-class>
          net.java.bdbadapter.jca.JCABerkeleyDBConnection
        </connection-impl-class>
      </connection-definition>
      <transaction-support>XATransaction</transaction-support>
      <authentication-mechanism>
        <authentication-mechanism-type>
          BasicPassword
        </authentication-mechanism-type>
        <credential-interface>
          javax.resource.spi.security.PasswordCredential
        </credential-interface>
      </authentication-mechanism>
      <reauthentication-support>true</reauthentication-support>
    </outbound-resourceadapter>

    <security-permission>
      <security-permission-spec>
        grant {
          permission java.lang.RuntimePermission "getClassLoader";
        };
      </security-permission-spec>
    </security-permission>
  

setter/getter of dbEnvPassword and dbEnvHome exists in 
BerkeleyDBXMLManagedConnectionFactory. This exception is ever launched :

java.lang.IllegalArgumentException: The class 'class 
net.java.bdbxmladapter.jca.BerkeleyDBXMLManagedConnectionFactory' has no setter for 
config property 'dbEnvHome'
        at 
org.jboss.resource.connectionmanager.RARDeployment.setManagedConnectionFactoryAttribute(RARDeployment.java:617)
        at 
org.jboss.resource.connectionmanager.RARDeployment.setMcfProperties(RARDeployment.java:732)
        at 
org.jboss.resource.connectionmanager.RARDeployment.startService(RARDeployment.java:566)
        at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
        at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)


any idea?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848774#3848774

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848774


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to