User development,

A new message was posted in the thread "How to create a XA aware connection 
factory":

http://community.jboss.org/message/527605#527605

Author  : Kreek Fred
Profile : http://community.jboss.org/people/fredk

Message:
--------------------------------------------------------------
After spitting through the jboss sourcecode I solved the problem myself:
 
the property 'URLProperty' refers to a named property in the config-property 
XADataSourceProperties
 
So one should use the following lines in the connection factory:
<config-property name="URLProperty" 
type="java.lang.String">$PROPNAME</config-property>
<config-property name="XADataSourceProperties" 
type="java.lang.String">$PROPNAME=$CONNECTIONSTRING</config-property>
 
where the both $PROPNAME's should be the same and the $CONNECTIONSTRING should 
be the connection string
 
e.g.
 
<config-property name="URLProperty" 
type="java.lang.String">URL</config-property>
<config-property name="XADataSourceProperties" 
type="java.lang.String">URL=jdbc:thin:@localhost:1521:XE</config-property>

--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/527605#527605


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to