I am using the JBoss 4.0 DR4 and have encountered the following problem - I am deploying a resource adapter as an rar file whose deployment descriptor file ra.xml looks like - ----------------------------------- <?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd" version="1.5"> <display-name>Test Adapter</display-name> <vendor-name>Testing</vendor-name> <eis-type>Test</eis-type> <resourceadapter-version>1.0</resourceadapter-version> <resourceadapter-class>com.test.ejb.connector.jca15.ResourceAdapterImpl</resourceadapter-class> <config-property> <config-property-name>ConfigProp1</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>D:/test/ejb_sample.dat</config-property-value> </config-property> <config-property> <config-property-name>ConfigProp2</config-property-name> <config-property-type>java.lang.String</config-property-type> <config-property-value>/test/private/testing</config-property-value> </config-property> <config-property> <outbound-resourceadapter> <connection-definition> <managedconnectionfactory-class>com.test.ejb.connector.jca15.ManagedConnectionFactoryImpl</managedconnectionfactory-class> <connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface> <connectionfactory-impl-class>com.test.ejb.connector.jca15.ConnectionFactoryImpl</connectionfactory-impl-class> <connection-interface>javax.resource.cci.Connection</connection-interface> <connection-impl-class>com.test.ejb.connector.jca15.ConnectionImplJCA15</connection-impl-class> </connection-definition> <transaction-support>NoTransaction</transaction-support> <reauthentication-support>false</reauthentication-support> </outbound-resourceadapter> ------------------------------------ In my Resource adapter implementation class I have javabean functions for ConfigProp1 and ConfigProp2. On deployment these functions are getting called but the value passed to function is null. What could be the problem here? Also I have the same functions in my ManagedConnectionFactory implementation class also (as I had a JCA10 connector earlier). This class implements ResourceAdapterAssociation. Going by the JCA15 specs, the container should call setResourceAdapter on this class, which it correctly does but it also calls these javabean functions. This inspite of the fact that my ds-xml does not define these properties for the connection factory? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843489#3843489 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843489 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
