Hi I have similar problem but with Oracle9i
if u use the Oracle-xa-ds.xml and configure the jboss-service.xml to set the pad
attribute i get the following error
can some one tell me whats the issue with it. I have copied the Oracle-xa-ds.xml file
to deploy directory moreover i have changed the standardjbosscmp-jdbc.xml to set the
default datasource to XAOracleDS.
The error is posted below.
Thanx for all the help
15:43:06,140 INFO [JBossManagedConnectionPool] Started jboss.jca:service=
ManagedConnectionPool,name=JmsXA
15:43:06,171 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.3/s
erver/default/deploy/jms/jms-ds.xml
15:43:06,171 INFO [MainDeployer] Starting deployment of package: file:/C:
/jboss-3.2.3/server/default/deploy/oracle-xa-ds.xml
15:43:06,281 INFO [RARDeployment] Started jboss.jca:service=ManagedConnec
tionFactory,name=XAOracleDS
15:43:06,281 INFO [JBossManagedConnectionPool] Started jboss.jca:service=
ManagedConnectionPool,name=XAOracleDS
15:43:06,296 ERROR [OracleXAExceptionFormatter] Starting failed
java.lang.ClassNotFoundException: No ClassLoaders found for: oracle.jdbc.x
a.OracleXAException
This is how my Oracle-xa-ds.xml looks
---------------------------------------------------
<xa-datasource>
<jndi-name>XAOracleDS</jndi-name>
<track-connection-by-tx>true</track-connection-by-tx>
<isSameRM-override-value>false</isSameRM-override-value>
<xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
<xa-datasource-property
name="URL">jdbc:oracle:thin:@192.168.68.2:1521:xxxxx</xa-datasource-property>
<xa-datasource-property name="User">xxx</xa-datasource-property>
<xa-datasource-property name="Password">yyy</xa-datasource-property>
<!-- Uses the pingDatabase method to check a connection is still valid before
handing it out from the pool -->
<!--valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name-->
<!-- Checks the Oracle error codes and messages for fatal errors -->
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<!-- Oracles XA datasource cannot reuse a connection outside a transaction once
enlisted in a global transaction and vice-versa -->
<no-tx-separate-pools/>
</xa-datasource>
<depends
optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager
---------------------------------------------------
This is what I have in my standardjbosscmp-jdbc.xml.
<jbosscmp-jdbc>
java:/XAOracleDS
<datasource-mapping>Oracle9i</datasource-mapping>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831944#3831944
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831944
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development