From: Sasidharan, M. <Man...@pl...> - 2003-01-16 18:40:07
|
Here are my few cents: 1. Try re-starting JBoss and see if it helps 2. Have you run the Oracle JVM initialisation SQLs on the database.. This is required for using XA with Oracle. There is a script/sql to verify whether this is installed fine. 3. Oracle provides separate JDBC drivers for use with JDK 1.4, can you try using this too. HTH regards MS -----Original Message----- From: Igor Fedorenko [mailto:ife...@th...] Sent: Thursday, January 16, 2003 9:37 AM To: jbo...@li... Subject: RE: [JBoss-user] Could not enlist in transaction on entering meta-aware object I've never tried it with UserTransaction. Could you check that basic container managed transaction works? (simple SSB that inserts one row into a db). If CMT works I'll look into UserTransaction issues. -----Original Message----- From: David Ward [mailto:dav...@do...] Sent: Thursday, January 16, 2003 12:11 PM To: jbo...@li... Subject: [JBoss-user] Could not enlist in transaction on entering meta-aware object I am getting the following error using jboss-3.2.0RC1_tomcat-4.1.18, JDK 1.4.1_01 hitting Oracle 9.2.0.1.0 (with initjvm), using the matching thin jdbc driver. All requests go through a servlet that wraps everything in a JNDI-looked-up UserTransaction. "Could not enlist in transaction on entering meta-aware object" Here is my oracle-xa-ds.xml: <datasources> <xa-datasource> <jndi-name>MyDS</jndi-name> <track-connection-by-tx>true</track-connection-by-tx> <managedconnectionfactory-class> org.jboss.resource.adapter.jdbc.xa.oracle.XAOracleManagedConnectionFactory </managedconnectionfactory-class> <xa-datasource-property name="URL">jdbc:oracle:thin:@foo:1521:bar</xa-datasource-property> <xa-datasource-property name="User">user</xa-datasource-property> <xa-datasource-property name="Password">password</xa-datasource-property> </xa-datasource> </datasources> I changed transaction-service.xml to pad=true: <mbean code="org.jboss.tm.XidFactory" name="jboss:service=XidFactory"> <attribute name="Pad">true</attribute> </mbean> Any ideas? Thanks, David ------------------------------------------------------- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en _______________________________________________ JBoss-user mailing list JBo...@li... https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en _______________________________________________ JBoss-user mailing list JBo...@li... https://lists.sourceforge.net/lists/listinfo/jboss-user |