[jboss-user] [Advanced Documentation] - 4yr old Oracle Datasource Examples misleading with latest Tr

northgorky do-not-reply at jboss.com
Thu Mar 20 17:49:46 EDT 2008


The sample oracle-ds.xml files should have a comment in them that the XA samples would be better in most conditions.  The DS samples will only support ONE datasource in a transaction at a time.  Any attempt to connect to two separate Oracle (or other non-XA datasource) at the same time will fail.

This is in the DataSource samples for 4.2.2.GA, as well as JBoss 5.0.0.Beta4.  It would probably be a good idea to add a line along the lines of;
<!-- WARNING: This sample is for backwards compatibility with pre Oracle10g only.
Please see the oracle-xa-ds.xml file for an up to date sample. -->

NOTE: The Wiki's are also out of date and confusing for this topic.  (Another thread).

Should I open a JIRA Issue on the examples?


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

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

More information about the jboss-user mailing list