[jboss-dev-forums] [Design of JCA on JBoss] - Re: jboss-ra.xml useful?

Jeff Zhang do-not-reply at jboss.com
Fri May 9 03:38:31 EDT 2008


The test deploy the testjcaprops-override.rar file.

+-testjcaprops.jar
+-META-INF
     +-ra.xml
     +-jboss-ra.xml

In ra.xml:

  | <config-property>
  | <config-property-name>StringRAR</config-property-name>
  | <config-property-type>java.lang.String</config-property-type>
  | <config-property-value>StringFromRARProperties</config-property-value>
  | </config-property>
  | <config-property>
  | <config-property-name>BooleanRAR</config-property-name>
  | <config-property-type>java.lang.Boolean</config-property-type>
  | <config-property-value>True</config-property-value>
  | </config-property> 
  | 

And in jboss-ra.xml:

  | <ra-config-property>
  | <ra-config-property-name>StringRAR</ra-config-property-name>
  | <ra-config-property-type>java.lang.String</ra-config-property-type>
  | <ra-config-property-value>XMLOVERRIDE</ra-config-property-value>
  | </ra-config-property>
  | <ra-config-property>
  | <ra-config-property-name>BooleanRAR</ra-config-property-name>
  | <ra-config-property-type>java.lang.Boolean</ra-config-property-type>
  | <ra-config-property-value>False</ra-config-property-value>
  | </ra-config-property>
  | 

the property value should be override, but it is not.
I have looked AS5, 4.2.2, 4.0.5, it seems jboss-ra.xml not work all. My question is if we use jboss-ra.xml as jca resource adaptor addition description file?

Thanks

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

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



More information about the jboss-dev-forums mailing list