I dont really see anything wrong, except you should not specify the oracle XID class in the XID attribute. place it in the jboss.properties file. here is my entry in jboss.properties:
And my Jboss.jcml entry: (first make sure it is in the drivers)
Then the datasource mbean:
Hope this helps.
I am also intrested in this ,I did as you wrote, but when I make a jndi lookup for
"java;/MultiDS", I got javax.naming.NameNotFoundException.
But when I lookup "java:/InstantDB" (the existing tag in jboss.jcml), I succeed.
Is there still anything for make the Oracle Datasource available for jndi lookup ? Thanks
I have known it, I found that I have configured the wrong file.
Because I use jboss-tomcat, so I should configure the jboss.jcml on \conf\tomcat ,not the file with same name on \conf\default