XAResource enlistment?

Hi-
I was wondering how, in 9iAS 9.0.3, to get a hold of the TransactionManager and get the transaction, and enlist an XAResource in a stateless session bean deployed in OC4J.
Basically, I want to do this:
(TransactionManager.getTransaction()).enlistResource(xaRes);
but how do i get a hold of a reference to the transaction manager object in 9ias?
Help on this is much appreciated.
arun

Hi-
I was wondering how, in 9iAS 9.0.3, to get a hold of the TransactionManager and get the transaction, and enlist an XAResource in a stateless session bean deployed in OC4J.
Basically, I want to do this:
(TransactionManager.getTransaction()).enlistResource(xaRes);
but how do i get a hold of a reference to the transaction manager object in 9ias?
Help on this is much appreciated.
arun

Similar Messages

  • Java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMFAIL start() failed on resource 'myDomain': XAER_RMFAIL : Resource manager is unavailable

    Hi All,
    I am facing below issue without any change in the config from weblogic
    Managed servers are coming up and running without any issue
    But when we are doing any operation from application then its failing
    java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMFAIL start() failed on resource 'myDomain': XAER_RMFAIL : Resource manager is unavailable
    Regards
    Lokesh

    Hi,
    Can you please try increase the below MaxXACallMillis setting in Weblogic set 'Maximum Duration of XA Calls' to a bigger value
    MaxXACallMillis: Sets the maximum allowed duration (in milliseconds) of XA calls to XA resources. This setting applies to the entire domain.
    http://docs.oracle.com/cd/E12840_01/wls/docs103/jta/trxcon.html
    The parameter is exposed through administration console: services --> jta --> advanced --> "Maximum Duration of XA Calls:"
    Check the below docs for more information
    WLS 10.3: Intermittent XA error: XAResource.XAER_RMERR (Doc ID 1118264.1)
    Hope it Helps

  • Could not enlist XAResource!

    Hello All,
    I am using JBoss.3.2.X and we have more than one database in application. We are getting this exception. We are not facing any probelms when we getting the connection for the first database , but when i am trying to get the connection for the second database we are getting this exception . We are using a local-tx-datasource and we are also using springs framework for databased operations.
    Can any one please help us on this.
    Awaiting Reply,
    Anand
    org.jboss.resource.connectionmanager.TxConnectionManager] Could not enlist XAResource!
    javax.transaction.RollbackException: Already marked for rollback
         at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:596)
         at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:448)
         at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:502)
         at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:887)
         at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
         at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:112)
         at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
         at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:810)
         at org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:856)
         at org.springframework.jdbc.object.StoredProcedure.execute(StoredProcedure.java:102)
    --------------------------------------------------------------------------------------------

    Claudio-
    Could you post the complete stack trace, as well as your Kodo
    configuration, details about the JDBC drivers you are using, and
    information about when the error occurs (e.g., during the commit
    process)?
    In article <c9kuho$149$[email protected]>, Claudio Tasso wrote:
    Hi!
    I'm trying the latest version of Kodo (as a JCA connector) with JBoss 3.2.x,
    but the following error occurs:
    17:56:36,168 INFO [TxConnectionManager] Could not enlist XAResource!
    javax.transaction.RollbackException: Already marked for rollback
    at
    org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:588)
    at
    org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:455)
    at
    org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:343)
    at
    org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:483)
    at
    org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:814)
    Any ideas?--
    Marc Prud'hommeaux
    SolarMetric Inc.

  • Unable to enlist XAResource

    Hi,
    I'm new to Weblogic JTA when I'm trying to enlist XAResource -I'm getting an error-------:javax.transaction.SystemException: You may enlist a resource only on a server
         at weblogic.transaction.internal.TransactionImpl.enlistResource(TransactionImpl.java:467)
    If I don't enlist the xaResource then at the time of -commit()------xaRes.commit(xid, false); it's giving XAException-------
    oracle.jdbc.xa.OracleXAException
         at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:938)
    In case, I use only Transaction object and not the XAResource objcet for commit() or Rollback(); then no errror is giben but the change is not reflecting in at the DB end.
    I'm attaching the class that I've written for JTA connection---
    import java.sql.CallableStatement;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.sql.XAConnection;
    import weblogic.transaction.TransactionManager;
    //import javax.transaction.Transaction;
    //import javax.transaction.TransactionManager;
    //import javax.transaction.UserTransaction;
    import javax.transaction.Status;
    import javax.transaction.xa.XAResource;
    import javax.transaction.xa.Xid;
    import weblogic.transaction.ClientTxHelper;
    import weblogic.transaction.ServerTransactionInterceptor;
    import weblogic.transaction.ServerTransactionManager;
    import weblogic.transaction.Transaction;
    import weblogic.transaction.TransactionHelper;
    import weblogic.transaction.internal.ClientTransactionManagerImpl;
    import weblogic.transaction.internal.ServerTransactionManagerImpl;
    import weblogic.transaction.internal.TransactionHelperImpl;
    public class _JTAConnectionUtility  {
         Connection conn = null;
         public void testJTA()
              try{
                   oracle.jdbc.xa.client.OracleXADataSource xadsOra = new oracle.jdbc.xa.client.OracleXADataSource();
                   String url = "jdbc:oracle:thin:@it12:1521:orcl";
                   xadsOra.setURL(url);
                   xadsOra.setDatabaseName("orcl");
                   xadsOra.setDataSourceName("jdbc/testDS");
                   xadsOra.setDriverType("thin");
                   XAConnection xaConn = xadsOra.getXAConnection("hr", "hr");
                   System.out.println("XAConnection----->" +xaConn.toString());
                   conn= xaConn.getConnection();
                   System.out.println("Connection value --------------->" +conn.toString());
                   XAResource xaRes = xaConn.getXAResource();
                   System.out.println("XAResource----------->" +xaRes.toString());
                   System.out.println("Data Source Name------>" xadsOra.getDataSourceName()"DB name----->"+xadsOra.getDatabaseName());
                   Hashtable env = new Hashtable();
                   env.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
                   env.put(Context.PROVIDER_URL, "t3://localhost:7001");
                   env.put(Context.SECURITY_PRINCIPAL, "weblogic");
                   env.put(Context.SECURITY_CREDENTIALS, "weblogic");
                   Context ctx = new InitialContext(env);
                   System.out.println("Before lookup to User Transaction & Transaction Manager");
                   //javax.transaction.UserTransaction transaction = (UserTransaction) ctx.lookup("javax.transaction.UserTransaction");
                   //System.out.println("After Lookup status of User Transaction is ------>" +transaction.getStatus());
                   weblogic.transaction.TransactionManager transactionManager = (TransactionManager) ctx.lookup("weblogic.transaction.TransactionManager");//"javax.transaction.TransactionManager"
                   System.out.println("After Lookup status of Transaction Manager is ------>" +transactionManager.getStatus());
                   try{
                        transactionManager.begin();
                        //transactionManager.registerResource("", xaRes);
                        weblogic.transaction.Transaction transaction = (Transaction) TransactionHelper.getTransactionHelper().getTransaction();
                        //weblogic.transaction.Transaction transaction =(Transaction) ServerTransactionManagerImpl.getTransactionManager().getTransaction();
                        System.out.println("Transaction Object is ----------->" + transaction);
                        Xid xid = transaction.getXid();
                        System.out.println("XID is------>"+xid);
                        System.out.println("Value of XAResource inside 2nd try bolck is-------->" +xaRes);
                        boolean enlistRes = transaction.enlistResource(xaRes);
                        System.out.println("Enlisted Resource----------->" + enlistRes);
                        System.out.println("Value os connection inside 2nd try block is-------->" +conn);
                        System.out.println("Transaction Manager status is ---------------->" +transactionManager.getStatus());
    // simple insert query.
                        if(Status.STATUS_ACTIVE==transactionManager.getStatus()){
                             System.out.println("Inside if");
                             int ret=xaRes.prepare(xid);
                             if(ret==XAResource.XA_OK)
                                  xaRes.commit(xid, false);
                             transaction.commit();
                        }else if(Status.STATUS_ROLLEDBACK==transactionManager.getStatus()){
                             System.out.println("Inside else block");
                             xaRes.rollback(xid);
                             transaction.rollback();
                   } catch (Exception e){
                        e.printStackTrace();
         } catch (Exception e){
              e.printStackTrace();
         }finally {
              try{
                   if(conn!= null)
                        conn.close();
              }catch(SQLException e){
                   e.printStackTrace();
         public static void main(String[] args) {
              new _JTAConnectionUtility().testJTA();
              System.out.println("CHECK");
    }

    Hi,
    I'm new to Weblogic JTA when I'm trying to enlist XAResource -I'm getting an error-------:javax.transaction.SystemException: You may enlist a resource only on a server
         at weblogic.transaction.internal.TransactionImpl.enlistResource(TransactionImpl.java:467)
    If I don't enlist the xaResource then at the time of -commit()------xaRes.commit(xid, false); it's giving XAException-------
    oracle.jdbc.xa.OracleXAException
         at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:938)
    In case, I use only Transaction object and not the XAResource objcet for commit() or Rollback(); then no errror is giben but the change is not reflecting in at the DB end.
    I'm attaching the class that I've written for JTA connection---
    import java.sql.CallableStatement;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.sql.XAConnection;
    import weblogic.transaction.TransactionManager;
    //import javax.transaction.Transaction;
    //import javax.transaction.TransactionManager;
    //import javax.transaction.UserTransaction;
    import javax.transaction.Status;
    import javax.transaction.xa.XAResource;
    import javax.transaction.xa.Xid;
    import weblogic.transaction.ClientTxHelper;
    import weblogic.transaction.ServerTransactionInterceptor;
    import weblogic.transaction.ServerTransactionManager;
    import weblogic.transaction.Transaction;
    import weblogic.transaction.TransactionHelper;
    import weblogic.transaction.internal.ClientTransactionManagerImpl;
    import weblogic.transaction.internal.ServerTransactionManagerImpl;
    import weblogic.transaction.internal.TransactionHelperImpl;
    public class _JTAConnectionUtility  {
         Connection conn = null;
         public void testJTA()
              try{
                   oracle.jdbc.xa.client.OracleXADataSource xadsOra = new oracle.jdbc.xa.client.OracleXADataSource();
                   String url = "jdbc:oracle:thin:@it12:1521:orcl";
                   xadsOra.setURL(url);
                   xadsOra.setDatabaseName("orcl");
                   xadsOra.setDataSourceName("jdbc/testDS");
                   xadsOra.setDriverType("thin");
                   XAConnection xaConn = xadsOra.getXAConnection("hr", "hr");
                   System.out.println("XAConnection----->" +xaConn.toString());
                   conn= xaConn.getConnection();
                   System.out.println("Connection value --------------->" +conn.toString());
                   XAResource xaRes = xaConn.getXAResource();
                   System.out.println("XAResource----------->" +xaRes.toString());
                   System.out.println("Data Source Name------>" xadsOra.getDataSourceName()"DB name----->"+xadsOra.getDatabaseName());
                   Hashtable env = new Hashtable();
                   env.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
                   env.put(Context.PROVIDER_URL, "t3://localhost:7001");
                   env.put(Context.SECURITY_PRINCIPAL, "weblogic");
                   env.put(Context.SECURITY_CREDENTIALS, "weblogic");
                   Context ctx = new InitialContext(env);
                   System.out.println("Before lookup to User Transaction & Transaction Manager");
                   //javax.transaction.UserTransaction transaction = (UserTransaction) ctx.lookup("javax.transaction.UserTransaction");
                   //System.out.println("After Lookup status of User Transaction is ------>" +transaction.getStatus());
                   weblogic.transaction.TransactionManager transactionManager = (TransactionManager) ctx.lookup("weblogic.transaction.TransactionManager");//"javax.transaction.TransactionManager"
                   System.out.println("After Lookup status of Transaction Manager is ------>" +transactionManager.getStatus());
                   try{
                        transactionManager.begin();
                        //transactionManager.registerResource("", xaRes);
                        weblogic.transaction.Transaction transaction = (Transaction) TransactionHelper.getTransactionHelper().getTransaction();
                        //weblogic.transaction.Transaction transaction =(Transaction) ServerTransactionManagerImpl.getTransactionManager().getTransaction();
                        System.out.println("Transaction Object is ----------->" + transaction);
                        Xid xid = transaction.getXid();
                        System.out.println("XID is------>"+xid);
                        System.out.println("Value of XAResource inside 2nd try bolck is-------->" +xaRes);
                        boolean enlistRes = transaction.enlistResource(xaRes);
                        System.out.println("Enlisted Resource----------->" + enlistRes);
                        System.out.println("Value os connection inside 2nd try block is-------->" +conn);
                        System.out.println("Transaction Manager status is ---------------->" +transactionManager.getStatus());
    // simple insert query.
                        if(Status.STATUS_ACTIVE==transactionManager.getStatus()){
                             System.out.println("Inside if");
                             int ret=xaRes.prepare(xid);
                             if(ret==XAResource.XA_OK)
                                  xaRes.commit(xid, false);
                             transaction.commit();
                        }else if(Status.STATUS_ROLLEDBACK==transactionManager.getStatus()){
                             System.out.println("Inside else block");
                             xaRes.rollback(xid);
                             transaction.rollback();
                   } catch (Exception e){
                        e.printStackTrace();
         } catch (Exception e){
              e.printStackTrace();
         }finally {
              try{
                   if(conn!= null)
                        conn.close();
              }catch(SQLException e){
                   e.printStackTrace();
         public static void main(String[] args) {
              new _JTAConnectionUtility().testJTA();
              System.out.println("CHECK");
    }

  • XAConnection java.sql.SQLException: XA error: XAResource.XAER_PROTO start()

    I am getting an error when I am coming out of a method. I am not doing any database operations in the code.
    The error I am getting is
    The activity execution failed.\nCaused by: Activity '/AddNewSubMaster#Default-1.0/DeleteRequests' task 'Confirmation_Router' could not execute successfully.\nCaused by: Process execution engine execution error.\nCaused by: An error occurred while accesing the database.\nTechnical detail:SQL statement: 'unknown'\n\nCaused by: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_PROTO start() failed on resource 'ALBPM Engine Database': XAER_PROTO : Routine was invoked in an inproper context\noracle.jdbc.xa.OracleXAException\n\tat oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:938)\n\tat oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:244)\n\tat weblogic.jdbc.wrapper.VendorXAResource.start(VendorXAResource.java:50)\n\tat weblogic.jdbc.jta.DataSource.start(DataSource.java:710)\n\tat weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1182)\n\tat ...........

    Are you using studio?
    I see an Oracle DB-connection. In studio without configuration you only have one or two derby databases.

  • Xaresource and app. server

    Hi everyone,
    i am trying to write a xa-resource. i went through JTA spec. at section
    [3.3.1 Resource Enlistment], spec says
    'for each resource in use by the application, the application server
    invokes the -enlistResource- method and specifies the XAResource object
    that identifies the resource in use. the enlistResource request result
    in TM informing the resource manager to start associating the txn with
    the work performed through the corresponding resource'.
    Q1. how do i 'register' or let the app.server know about my XA Resource?
    Q2. how does app. server knows which xa resources are involved in the
    application?
    thanks,
    -talip

    Hi,
    Application servers and JTA implementations that don't do restart or crash recovery (like virtually all open-source products I know of) don't need you to do anything special for your XAResource.
    It's a bit like driving a car without brakes: it works as long as there are no obstacles on the road.
    On the other hand, a JTA implementation that works the way it should (and therefore does recovery) will typically have a custom mechanism to find out about your resource when it restarts or does recovery.
    For more information, you can download our free developer release, or just download the JtaGuide from the same page:
    http://www.atomikos.com/download.html
    Best,
    Guy
    http://www.atomikos.com - Insure your data

  • XAResource.XAER_RMFAIL start() failed on resource

    We are getting following error in production system. What may be the cause of this issue?
    com.ekaplus.common.exception.SystemException: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMERR start() failed on resource 'MyPool_EKA8X_QA': XAER_RMERR : A resource manager error has occured in the transaction branch
    oracle.jdbc.xa.OracleXAException
         at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1110)
         at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:240)
         at weblogic.jdbc.wrapper.VendorXAResource.start(VendorXAResource.java:50)
         at weblogic.jdbc.jta.DataSource.start(DataSource.java:729)
         at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1231)
         at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1164)
         at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:285)
         at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:522)
         at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:449)
         at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1599)
         at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1503)
         at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:446)
         at weblogic.jdbc.jta.DataSource.connect(DataSource.java:403)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:364)
         at com.ekaplus.common.db.ContainerConnectionProvider.getConnection(ContainerConnectionProvider.java:79)
         at com.ekaplus.dao.common.ConnectionManager.getDSConnection(ConnectionManager.java:24)
         at com.ekaplus.dao.common.ConnectionManager.getConnection(ConnectionManager.java:14)
         at com.ekaplus.dao.common.JdbcDAO.getConnection(JdbcDAO.java:372)
         at com.ekaplus.asyncAlertReminder.dao.AlertReminderBaseDAO.getConnection(AlertReminderBaseDAO.java:26)
         at com.ekaplus.asyncAlertReminder.dao.AlertEventMasterDAO.findBySearchCriteria(AlertEventMasterDAO.java:265)
         at com.ekaplus.asyncAlertReminder.service.engine.alertprocessor.OperationalAlertProcessorService.initialize(OperationalAlertProcessorService.java:151)
         at com.ekaplus.asyncAlertReminder.service.engine.alertprocessor.AlertListener.onMessage(AlertListener.java:118)
    We have tried following but no resolution could be found with these changes.
    increase MaxXACallMillis value to 600000 on JTA Advanced settings.
    Increase max pool size from 100 to 150.
    Please enable set XA transaction timeout configuration for MyPool data source and let timeout value remain 0.
    Most of the stack traces logged when this exception is raised, point to JMS queue listener making DB calls using XA pool connection. However, JMS transaction factory is non-XA.
    R,
    Vineet

    Hi mates,
    Did you finally manage to solve this issue? We are facing a very similar one, but with a transaction related to SqlJmsProvider. The transactions related to the message polling are very light and shouldn't be expiring.
    Do you have any suggestion about this?
    We have our app (ATG10.0.1deployed in WebLogic10.3.
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider --- java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMFAIL start() failed on resource 'ATGProductionDS_SDG': XAER_RMFAIL : Resource manager is unavailable
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider oracle.jdbc.xa.OracleXAException
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1110)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:240)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.wrapper.VendorXAResource.start(VendorXAResource.java:50)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.jta.DataSource.start(DataSource.java:729)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1231)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1164)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:285)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:522)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:449)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1599)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1503)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:446)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.jta.DataSource.connect(DataSource.java:403)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:364)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.dms.sql.SqlTopicManager.flagWithStatement(SqlTopicManager.java:986)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.dms.sql.SqlTopicManager.flagNewEntries(SqlTopicManager.java:872)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.dms.sql.SqlTopicManager.pollForNewEntries(SqlTopicManager.java:816)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.dms.sql.SqlJmsManager.poll(SqlJmsManager.java:1598)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.dms.sql.SqlJmsManager.performScheduledTask(SqlJmsManager.java:908)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:760)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1604)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1503)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:446)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.jta.DataSource.connect(DataSource.java:403)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:364)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.dms.sql.SqlTopicManager.flagWithStatement(SqlTopicManager.java:986)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.dms.sql.SqlTopicManager.flagNewEntries(SqlTopicManager.java:872)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.dms.sql.SqlTopicManager.pollForNewEntries(SqlTopicManager.java:816)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.dms.sql.SqlJmsManager.poll(SqlJmsManager.java:1598)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.dms.sql.SqlJmsManager.performScheduledTask(SqlJmsManager.java:908)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:760)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1522)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:446)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.jta.DataSource.connect(DataSource.java:403)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:364)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.dms.sql.SqlTopicManager.flagWithStatement(SqlTopicManager.java:986)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.dms.sql.SqlTopicManager.flagNewEntries(SqlTopicManager.java:872)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.dms.sql.SqlTopicManager.pollForNewEntries(SqlTopicManager.java:816)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.dms.sql.SqlJmsManager.poll(SqlJmsManager.java:1598)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.dms.sql.SqlJmsManager.performScheduledTask(SqlJmsManager.java:908)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:441)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:760)
    **** Error Tue Jun 04 07:29:57 BST 2013 1370327397440 /atg/dynamo/messaging/SqlJmsProvider
    Thank you very much.
    Edited by: 1009736 on 05-Jun-2013 03:11

  • Setting transaction isolation upon enlistment for XA driver not supported !!?!!?

    Hi !
    I've been developping a simple webapplication with a few Entity CMP EJB, Struts
    and some JSP.
    I registred a Pointbase XA JDBC driver in Weblogic 8.1.
    When I want to create a new post in the database via one of my EJB, I get "Due
    to vendor limitations, setting transaction isolation upon enlistment for "Pointbase
    XA" JDBC XA driver is not supported".
    What do I have to add in my xml files to make it work ?
    Something with <transaction-isolation> in the weblogic-ejb-jar.xml ?
    I'll appreciate some help here...
    Extract of my code (CustomerEditAction.java):
    <<
    CustomerHomeLocal chome = (CustomerHomeLocal) Locator.getHome("CustomerHomeLocal");
    prop = chome.create(cform.getName(), cform.getAddress(), cform.getZipcode(), cform.getCity(),cform.getCountry(),
    cform.getEmail(), cform.getPhone(), cform.getHomepage());
                             And the error message and stack is:
    <<
    javax.ejb.TransactionRolledbackLocalException: EJB Exception:; nested exception
    is: javax.ejb.EJBException: nested exception is: java.sql.SQLException: XA error:
    XAER_RMERR : A resource manager error has occured in the transaction branch start()
    failed on resource 'CaciPool - Pointbase - XA': XAER_RMERR : A resource manager
    error has occured in the transaction branch javax.transaction.xa.XAException:
    start failed for XAResource 'CaciPool - Pointbase - XA': Due to vendor limitations,
    setting transaction isolation upon enlistment for "PointBase XA" JDBC XA driver
    is not supported. at weblogic.jdbc.wrapper.XA.createException(XA.java:104) at
    weblogic.jdbc.jta.DataSource.start(DataSource.java:631) at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1069)
    at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1001)
    at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:203)
    at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:419)
    at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1230) at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1193)
    at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:371) at weblogic.jdbc.jta.DataSource.connect(DataSource.java:329)
    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:298)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:1841)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.execGenKeyNamedSequenceTableUpdateAndQuery(RDBMSPersistenceManager.java:2392)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getNextGenKeyPreFetch(RDBMSPersistenceManager.java:2174)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getNextGenKeyNamedSequenceTable(RDBMSPersistenceManager.java:2147)
    at com.caci.ejb.CustomerEJB_6i2zhv__WebLogic_CMP_RDBMS.ejbCreate(CustomerEJB_6i2zhv__WebLogic_CMP_RDBMS.java:5403)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324) at weblogic.ejb20.manager.DBManager.create(DBManager.java:1139)
    at weblogic.ejb20.manager.DBManager.localCreate(DBManager.java:1118) at weblogic.ejb20.internal.EntityEJBLocalHome.create(EntityEJBLocalHome.java:171)
    at com.caci.ejb.CustomerEJB_6i2zhv_LocalHomeImpl.create(CustomerEJB_6i2zhv_LocalHomeImpl.java:133)
    at com.caci.ui.CustomerEditAction.execute(CustomerEditAction.java:58) at
    >>
    Regards,
    Olivier

    Hi !
    I've been developping a simple webapplication with a few Entity CMP EJB, Struts
    and some JSP.
    I registred a Pointbase XA JDBC driver in Weblogic 8.1.
    When I want to create a new post in the database via one of my EJB, I get "Due
    to vendor limitations, setting transaction isolation upon enlistment for "Pointbase
    XA" JDBC XA driver is not supported".
    What do I have to add in my xml files to make it work ?
    Something with <transaction-isolation> in the weblogic-ejb-jar.xml ?
    I'll appreciate some help here...
    Extract of my code (CustomerEditAction.java):
    <<
    CustomerHomeLocal chome = (CustomerHomeLocal) Locator.getHome("CustomerHomeLocal");
    prop = chome.create(cform.getName(), cform.getAddress(), cform.getZipcode(), cform.getCity(),cform.getCountry(),
    cform.getEmail(), cform.getPhone(), cform.getHomepage());
                             And the error message and stack is:
    <<
    javax.ejb.TransactionRolledbackLocalException: EJB Exception:; nested exception
    is: javax.ejb.EJBException: nested exception is: java.sql.SQLException: XA error:
    XAER_RMERR : A resource manager error has occured in the transaction branch start()
    failed on resource 'CaciPool - Pointbase - XA': XAER_RMERR : A resource manager
    error has occured in the transaction branch javax.transaction.xa.XAException:
    start failed for XAResource 'CaciPool - Pointbase - XA': Due to vendor limitations,
    setting transaction isolation upon enlistment for "PointBase XA" JDBC XA driver
    is not supported. at weblogic.jdbc.wrapper.XA.createException(XA.java:104) at
    weblogic.jdbc.jta.DataSource.start(DataSource.java:631) at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1069)
    at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1001)
    at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:203)
    at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:419)
    at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1230) at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1193)
    at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:371) at weblogic.jdbc.jta.DataSource.connect(DataSource.java:329)
    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:298)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:1841)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.execGenKeyNamedSequenceTableUpdateAndQuery(RDBMSPersistenceManager.java:2392)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getNextGenKeyPreFetch(RDBMSPersistenceManager.java:2174)
    at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getNextGenKeyNamedSequenceTable(RDBMSPersistenceManager.java:2147)
    at com.caci.ejb.CustomerEJB_6i2zhv__WebLogic_CMP_RDBMS.ejbCreate(CustomerEJB_6i2zhv__WebLogic_CMP_RDBMS.java:5403)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324) at weblogic.ejb20.manager.DBManager.create(DBManager.java:1139)
    at weblogic.ejb20.manager.DBManager.localCreate(DBManager.java:1118) at weblogic.ejb20.internal.EntityEJBLocalHome.create(EntityEJBLocalHome.java:171)
    at com.caci.ejb.CustomerEJB_6i2zhv_LocalHomeImpl.create(CustomerEJB_6i2zhv_LocalHomeImpl.java:133)
    at com.caci.ui.CustomerEditAction.execute(CustomerEditAction.java:58) at
    >>
    Regards,
    Olivier

  • How to enlist (non-DB) XA Resource to WLS6.0 distr tx?

              Hello,
              I have a 2PC Resource in Java library, I can add XAResource interface to it. How do I enlist it
              to WLS 6.0 distributed transaction? programmatically and administratively (property file)?
              cheers
              chuck
              

              Hello,
              I have a 2PC Resource in Java library, I can add XAResource interface to it. How do I enlist it
              to WLS 6.0 distributed transaction? programmatically and administratively (property file)?
              cheers
              chuck
              

  • Registering a third party XAResource with WLS TM

    The WebLogic 6.x documentation for registering third party XA resources
              contains the following code snippet: -
              XAResource res = ... // Resource provider's implementation of XAResource
              How do you get a providers implementation?
              Where is this documented?
              

    7.0 is great however there are those of us out here who have spent hundreds of
              thousands of dollars using weblogic 6.x and are struggling through getting 2pc
              to work with different vendors. I would strongly suggest that BEA provide
              detailed documentation which consists of the following for 6.1 and greater and
              not put off till tomorrow solving the problems we as your customers have today
              Detailed setup information for
              1. IBM MQ
              2. Firano
              3. Sybase
              4. Oracle
              5. MS SQL Server
              With examples which work I mean full examples which show the following:
              1. Using JDBC to update a dbms on one connection pool and
              having a message sent to another XA resource which is persistent
              all part of a single transaction
              2. Using two connection pools two different servers doing simple
              updates/inserts using a single transaction
              3. Specific version numbers tested I know for sybase you mention their
              JConnect 5.2.1 but there is only 5.2 with EBF's and 5.5 with EBFs
              which specific sybase server version not just 12.x but 12.x with the
              following
              EBF's applied same for jdbc driver with complete example.
              It seems some of the more complicated operations are the least documented
              which is the inverse of what we as users would expect.
              We have spent probably 8-9 days with our dbas and myself trying to get item
              #2 above to work. Rob Wollen has helped in that it seems my sybase config is
              correct on weblogic but we still havent solved the problem. Perhaps it wont
              work
              with Sybase Jconnect 5.2 or 5.5 with 12.0 version of their product??
              I had also opened up a case back last october which totally was non-productive.
              So please please dont wait on new versions to fix documentation issues which
              are present today.
              thanks Larry
              Priscilla Fung wrote:
              > We have been realizing the lack of documentation for third party vendors who
              > would like to participate in distributed transactions coordinated by WLS TM
              > (similarly for vendors who would like to import foreign distributed
              > transactions into WLS). We are in the process of adding extremely detailed
              > documentation in this area in the ISV guide in the 7.0 release.
              >
              > Regards,
              > Priscilla
              >
              > Robbie Williams <[email protected]> wrote in message
              > news:[email protected]...
              > >
              > > Further more, the WebLogic JTA documentation states that it is 'important'
              > to register
              > > the XAResource before enlisting yet we have found in initial testing that
              > without
              > > registration the third party resource does enlist correctly and partakes
              > in the
              > > 2PC. The BEA white paper jmsjta states that the third party resource
              > 'must' be
              > > registered.
              > >
              > > Neither document gives any explanations as to why third party resources
              > should
              > > be registered and the implications of not doing so - most disappointing.
              > >
              > > Robbie Williams <[email protected]> wrote:
              > > >The WebLogic 6.x documentation for registering third party XA resources
              > > >
              > > >contains the following code snippet: -
              > > >
              > > >XAResource res = ... // Resource provider's implementation of XAResource
              > > >
              > > >How do you get a providers implementation?
              > > >Where is this documented?
              > > >
              > >
              > >
              > >
              

  • SQLException: XA error: XAResource.XAER_PROTO start() - weblogic 10.0.1.0

    Hello all,
    We are facing java.sql.SQLException: XA error: XAResource.XAER_PROTO start() in one of our EJB classes.
    It is only occurring intermittently! Probably during peak load time (not really sure).
    Our EJB uses CMP transactions and the EJB operation's trans-attribute is <trans-attribute>Supports</trans-attribute>.
    Google is showing similar experiences from users with wls8.1 versions. Has any one come across this error in wls 10? Any help is hugely appreciated.
    with Thanks
    Val
    * Error stacktrace & JDBC settings xml are below.
    Weblogic server version is: 10.0.1.0
    JDBC Driver version: 10.2.0.4
    Oracle Database version info:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
    NLSRTL Version 10.2.0.4.0 - Production
    Error StackTrace:_
    nested exception is javax.transaction.TransactionRolledbackException: EJB Exception: :
    javax.ejb.EJBException: Could not get JDBC Connection; nested exception is java.sql.SQLException:
    Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_PROTO start() failed on resource DatasourceTxD': XAER_PROTO : Routine was invoked in an inproper context oracle.jdbc.xa.OracleXAException
    JDBC datasource settings xml:_
    <jdbc-connection-pool-params>
    <initial-capacity>5</initial-capacity>
    <max-capacity>25</max-capacity>
    <capacity-increment>5</capacity-increment>
    <shrink-frequency-seconds>900</shrink-frequency-seconds>
    <connection-creation-retry-frequency-seconds>360</connection-creation-retry-frequency-seconds>
    <test-frequency-seconds>360</test-frequency-seconds>
    <test-connections-on-reserve>true</test-connections-on-reserve>
    <inactive-connection-timeout-seconds>600</inactive-connection-timeout-seconds>
    <test-table-name>SQL SELECT 1 FROM dual</test-table-name>
    <statement-cache-size>100</statement-cache-size>
    <seconds-to-trust-an-idle-pool-connection>360</seconds-to-trust-an-idle-pool-connection>
    </jdbc-connection-pool-params>
    <jdbc-data-source-params>
    <jndi-name>JNDI_NAME</jndi-name>
    <global-transactions-protocol>TwoPhaseCommit</global-transactions-protocol>
    </jdbc-data-source-params>
    <jdbc-xa-params>
    <keep-xa-conn-till-tx-complete>true</keep-xa-conn-till-tx-complete>
    <xa-end-only-once>true</xa-end-only-once>
    <xa-set-transaction-timeout>true</xa-set-transaction-timeout>
    <xa-transaction-timeout>120</xa-transaction-timeout>
    <xa-retry-duration-seconds>360</xa-retry-duration-seconds>
    </jdbc-xa-params>

    Thanks Joe, we will contact the official support.
    Edited by: user5380898 on Nov 1, 2010 11:20 AM

  • WLS 8.1 an the XAResource interface

    Hi I wonder if someone could advise me
              I've created a remote JMS client which is using a third party transaction manager to manage an XA global transaction consisting of many JMS Queue from various WLS servers.
              My problem comes when I try to gain an XAResource from the underlying JMS Queues (needed to enlist them in the overall transaction).
              I take an javax XAQueueSession object which points to a JMS Queue on a WLS 8.1 server and try to invoke the .getXAResource() method to produce the javax XAResource. The problem is it keeps returning me a null pointer.
              the creation of the XAQueueSession is built up in this manner
              1.) Look up connectionFactory from context, cast to an XAQueueConnnectionFactory
              2.) XAQueueConnnectionFactory produces an XAQueueConnection
              3.) XAQueueConnection creates an XAQueueSession
              4.) XAQueueConnection is then started
              5.) XAQueueSession is used to gain an XAResource which produces a null pointer
              Question
              -=-=-=-=-=-=
              1) Does WLS 8.1 support the Javax XAResource interface? if it does is it possible to get an XAResource object from the XAQueueSession?
              Any comments on these quesions would be useful
              Kind Regards
              Barry

    Since WLS JMS is clustered, it's a little more complex, because once you start two-phase commit transactions, you need to always go back to the same server in the cluster to resolve them.
              The best-documented way to do this is to use the weblogic.transaction package, which is part of the Javadocs found here:
              http://e-docs.bea.com/wls/docs81/javadocs/index.html
              You need to call the following method from the weblogic.transaction package:
              TxHelper.getClientInterposedTransactionManager()
              This takes a JNDI InitialContext, and also a server name. Once you "prepare" a transaction, you'll have to go back to that server to commit it or roll it back.
              The InterposedTransactionManager object that's returned represents the JTA transaction manager on the server that you named. You can call "getXAResource" on it to get the XAResource that you'll need.
              You will also want to route your JMS calls from your client through the server that you got the transaction manager for. If you don't have a cluster, this is pretty simple. If you have a cluster, then you should create a JMS ConnectionFactory that's targeted to a single server, so that your client calls and your XA calls go to the same node in the cluster.
              The folks on the JTA newsgroup, or BEA Support, should be able to help you with the details if things don't work out, but those are the basics.

  • XAResource identity at startup recovery

    I am trying to get my non-JDBC XAResource implementation to work with recovery in WebLogicServer. I registered the XAResource in a lifecycle listener class. A transaction in the log is prepared but not committed, but the transaction manager is not connecting this transaction with my XAResource. It is complaining about the transaction's resource being unavailable. How can I persuade WebLogic that the XAResource I registered is the one that can be used to complete this transaction?
              Specifically, what criteria does WebLogic use to associate a transaction with an XAResource at recovery time?
              Thanks

    I have two XAResources. One is the subject of the test, com.odi.jmtl.XAResourceAdapter. The instance returns "JMTL XAResource for Shopping:0" from toString.
              The second XAResource is of class com.odi.examples.ejb.shopping.XAResourceTestXAResource; its toString returns "THE TEST XARESOURCE"
              When my XAResource is first enlisted, it is by way of javax.transaction.Transaction.enlistResource.
              Later, during the server restart and prior to recovery, the XAResource is registered with the TM via weblogic.transaction.TransactionManager.registerDynamicResource.
              Well, anyways, here are the relevant lines of the log.
              ####<Sep 28, 2007 11:15:33 AM EDT> <Notice> <WebLogicServer> <> <> <main> <> <> <> <1190992533001> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
              /odi/java/weblogic/921/bea.sol/weblogic92/platform/lib/p13n/p13n-schemas.jar:/odi/java/weblogic/921/bea.sol/weblogic92/platform/lib/p13n/p13n_common.jar:/odi/java/weblogic/921/bea.sol/weblogic92/platform/lib/p13n/p13n_system.jar:/odi/java/weblogic/921/bea.sol/weblogic92/platform/lib/wlp/netuix_common.jar:/odi/java/weblogic/921/bea.sol/weblogic92/platform/lib/wlp/netuix_schemas.jar:/odi/java/weblogic/921/bea.sol/weblogic92/platform/lib/wlp/netuix_system.jar:/odi/java/weblogic/921/bea.sol/weblogic92/platform/lib/wlp/wsrp-common.jar>
              ####<Sep 28, 2007 11:15:34 AM EDT> <Info> <WebLogicServer> <> <> <main> <> <> <> <1190992534107> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Server VM Version 1.5.0_04-b05 from Sun Microsystems Inc.>
              ####<Sep 28, 2007 11:15:37 AM EDT> <Info> <Management> <> <> <main> <> <> <> <1190992537564> <BEA-141107> <Version: WebLogic Server 9.2 MP1 Sun Jan 7 00:56:31 EST 2007 883308 >
              ####<Sep 28, 2007 11:15:46 AM EDT> <Info> <WebLogicServer> <> <> <main> <> <> <> <1190992546715> <BEA-000215> <Loaded License : /odi/java/weblogic/921/bea.sol/license.bea>
              ####<Sep 28, 2007 11:15:46 AM EDT> <Notice> <WebLogicServer> <> <> <main> <> <> <> <1190992546756> <BEA-000365> <Server state changed to STARTING>
              ####<Sep 28, 2007 11:15:46 AM EDT> <Info> <WorkManager> <> <> <main> <> <> <> <1190992546796> <BEA-002900> <Initializing self-tuning thread pool>
              ####<Sep 28, 2007 11:15:47 AM EDT> <Info> <WebLogicServer> <> <> <main> <> <> <> <1190992547121> <BEA-000214> <WebLogic Server "myserver" version:
              WebLogic Server 9.2 MP1 Sun Jan 7 00:56:31 EST 2007 883308 (c) 1995, 1996, 1997, 1998 WebLogic, Inc.
              (c) 1999, 2000, 2001 BEA Systems, Inc.>
              ####<Sep 28, 2007 11:15:47 AM EDT> <Info> <Log Management> <> <> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1190992547474> <BEA-170017> <The log file /odi/java/weblogic/921/bea.sol/user_projects/domains/mydomain/servers/myserver/logs/myserver.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
              ####<Sep 28, 2007 11:15:47 AM EDT> <Info> <Log Management> <> <> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1190992547522> <BEA-170018> <The log file has been rotated to /odi/java/weblogic/921/bea.sol/user_projects/domains/mydomain/servers/myserver/logs/myserver.log00083. Log messages will continue to be logged in /odi/java/weblogic/921/bea.sol/user_projects/domains/mydomain/servers/myserver/logs/myserver.log.>
              ####<Sep 28, 2007 11:15:47 AM EDT> <Info> <Diagnostics> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992547838> <BEA-320001> <The ServerDebug service initialized successfully.>
              ####<Sep 28, 2007 11:15:48 AM EDT> <Info> <Store> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992548165> <BEA-280050> <Persistent store "WLS_DIAGNOSTICS" opened: directory="/odi/java/weblogic/921/bea.sol/user_projects/domains/mydomain/servers/myserver/data/store/diagnostics" writePolicy="Disabled" blockSize=512 directIO=false driver="NIO">
              ####<Sep 28, 2007 11:15:48 AM EDT> <Info> <Server> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992548563> <BEA-002622> <The protocol "t3" is now configured.>
              ####<Sep 28, 2007 11:15:48 AM EDT> <Info> <Server> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992548583> <BEA-002622> <The protocol "t3s" is now configured.>
              ####<Sep 28, 2007 11:15:48 AM EDT> <Info> <Server> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992548584> <BEA-002622> <The protocol "http" is now configured.>
              ####<Sep 28, 2007 11:15:48 AM EDT> <Info> <Server> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992548587> <BEA-002622> <The protocol "https" is now configured.>
              ####<Sep 28, 2007 11:15:48 AM EDT> <Info> <Server> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992548590> <BEA-002622> <The protocol "iiop" is now configured.>
              ####<Sep 28, 2007 11:15:48 AM EDT> <Info> <Server> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992548593> <BEA-002622> <The protocol "iiops" is now configured.>
              ####<Sep 28, 2007 11:15:48 AM EDT> <Info> <Server> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992548596> <BEA-002622> <The protocol "ldap" is now configured.>
              ####<Sep 28, 2007 11:15:48 AM EDT> <Info> <Server> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992548600> <BEA-002622> <The protocol "ldaps" is now configured.>
              ####<Sep 28, 2007 11:15:48 AM EDT> <Info> <Server> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992548605> <BEA-002622> <The protocol "admin" is now configured.>
              ####<Sep 28, 2007 11:15:48 AM EDT> <Info> <Server> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992548606> <BEA-002624> <The administration protocol is "t3s" and is now configured.>
              ####<Sep 28, 2007 11:15:49 AM EDT> <Info> <RJVM> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992549179> <BEA-000570> <Network Configuration for Channel "myserver"
              Listen Address          :7021
              Public Address          N/A
              Http Enabled          true
              Tunneling Enabled     false
              Outbound Enabled     false
              Admin Traffic Enabled     true>
              ####<Sep 28, 2007 11:15:49 AM EDT> <Debug> <RJVM> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992549196> <BEA-000571> <Network Configuration Detail for Channel "myserver"
              Channel Weight          50
              Accept Backlog          50
              Login Timeout          5000ms
              Max Message Size     10000000
              Message Timeout     60s
              Idle Timeout          65s
              Tunneling Timeout     40s
              Tunneling Ping          45s>
              ####<Sep 28, 2007 11:15:49 AM EDT> <Info> <Server> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992549294> <BEA-002609> <Channel Service initialized.>
              ####<Sep 28, 2007 11:15:49 AM EDT> <Error> <Socket> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992549337> <BEA-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that a native performance library is in: '/odi/java/sun-jdk/15-04/java/jre/lib/sparc/server:/odi/java/sun-jdk/15-04/java/jre/lib/sparc:/odi/java/sun-jdk/15-04/java/jre/../lib/sparc:/view/os.7.0.ghillyer.sol2c5.picsym/os/osji/lib:/view/os.7.0.ghillyer.sol2c5.picsym/os/top/lib:/usr/openwin/bin:/scratch/ghillyer/sunfreeware/lib:/usr/lib'
              > >
              ####<Sep 28, 2007 11:15:49 AM EDT> <Info> <Socket> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992549357> <BEA-000447> <Native IO Disabled. Using Java IO.>
              ####<Sep 28, 2007 11:15:49 AM EDT> <Info> <IIOP> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992549817> <BEA-002014> <IIOP subsystem enabled.>
              ####<Sep 28, 2007 11:15:53 AM EDT> <Info> <Security> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992553761> <BEA-090516> <The RoleMapper provider has preexisting LDAP data.>
              ####<Sep 28, 2007 11:15:54 AM EDT> <Info> <Security> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992554520> <BEA-090516> <The CredentialMapper provider has preexisting LDAP data.>
              ####<Sep 28, 2007 11:15:54 AM EDT> <Info> <Security> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992554697> <BEA-090516> <The Authorizer provider has preexisting LDAP data.>
              ####<Sep 28, 2007 11:15:55 AM EDT> <Info> <Security> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992555041> <BEA-090516> <The Authenticator provider has preexisting LDAP data.>
              ####<Sep 28, 2007 11:15:55 AM EDT> <Info> <Security> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992555666> <BEA-090093> <No pre-WLS 8.1 Keystore providers are configured for server myserver for security realm myrealm.>
              ####<Sep 28, 2007 11:15:55 AM EDT> <Notice> <Security> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992555667> <BEA-090082> <Security initializing using security realm myrealm.>
              ####<Sep 28, 2007 11:15:57 AM EDT> <Info> <Server> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992557013> <BEA-002622> <The protocol "[t3s, https, http, iiop, t3, ldap, ldaps, iiops, admin]" is now configured.>
              ####<Sep 28, 2007 11:15:57 AM EDT> <Info> <XML> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992557092> <BEA-130036> <Initializing XMLRegistry.>
              ####<Sep 28, 2007 11:15:57 AM EDT> <Info> <messaging.interception> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992557127> <BEA-400000> <Initializing message interception service>
              ####<Sep 28, 2007 11:15:58 AM EDT> <Info> <Store> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992558724> <BEA-280050> <Persistent store "_WLS_myserver" opened: directory="/odi/java/weblogic/921/bea.sol/user_projects/domains/mydomain/servers/myserver/data/store/default" writePolicy="Direct-Write" blockSize=512 directIO=false driver="NIO">
              ####<Sep 28, 2007 11:15:59 AM EDT> <Debug> <JTARecovery> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992559102> <000000> <ResourceDescriptor.setPurgeResourceFromCheckpointIntervalSecs:86400>
              ####<Sep 28, 2007 11:15:59 AM EDT> <Debug> <JTARecovery> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992559167> <000000> <ServerCoordinatorDescriptor.setPurgeFromCheckpointIntervalSecs:86400>
              ####<Sep 28, 2007 11:15:59 AM EDT> <Info> <JDBC> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992559588> <BEA-001135> <Initializing the JDBC service.>
              ####<Sep 28, 2007 11:15:59 AM EDT> <Info> <JDBC> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992559650> <BEA-001137> <Initialization complete.>
              ####<Sep 28, 2007 11:15:59 AM EDT> <Info> <JDBC> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992559651> <BEA-001138> <Resuming the JDBC service.>
              ####<Sep 28, 2007 11:15:59 AM EDT> <Info> <JDBC> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992559651> <BEA-001140> <Resume complete.>
              ####<Sep 28, 2007 11:15:59 AM EDT> <Info> <Connector> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992559704> <BEA-190000> <Initializing J2EE Connector Service>
              ####<Sep 28, 2007 11:15:59 AM EDT> <Info> <Connector> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992559741> <BEA-190001> <J2EE Connector Service initialized successfully>
              ####<Sep 28, 2007 11:16:00 AM EDT> <Info> <JMS> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992560293> <BEA-040305> <JMS service is initialized and in standby mode.>
              ####<Sep 28, 2007 11:16:00 AM EDT> <Info> <JMS> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992560479> <BEA-040090> <Deployed 8 default connection factories.>
              ####<Sep 28, 2007 11:16:00 AM EDT> <Info> <JMS> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992560697> <BEA-040407> <Default connection factory "DefaultXAConnectionFactory1" with its JNDI name "weblogic.jms.XAConnectionFactory1" is started.>
              ####<Sep 28, 2007 11:16:00 AM EDT> <Info> <JMS> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992560698> <BEA-040407> <Default connection factory "DefaultXAConnectionFactory" with its JNDI name "weblogic.jms.XAConnectionFactory" is started.>
              ####<Sep 28, 2007 11:16:00 AM EDT> <Info> <JMS> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992560699> <BEA-040407> <Default connection factory "QueueConnectionFactory" with its JNDI name "javax.jms.QueueConnectionFactory" is started.>
              ####<Sep 28, 2007 11:16:00 AM EDT> <Info> <JMS> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992560699> <BEA-040407> <Default connection factory "DefaultXAConnectionFactory2" with its JNDI name "weblogic.jms.XAConnectionFactory2" is started.>
              ####<Sep 28, 2007 11:16:00 AM EDT> <Info> <JMS> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992560700> <BEA-040407> <Default connection factory "MessageDrivenBeanConnectionFactory" with its JNDI name "weblogic.jms.MessageDrivenBeanConnectionFactory" is started.>
              ####<Sep 28, 2007 11:16:00 AM EDT> <Info> <JMS> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992560700> <BEA-040407> <Default connection factory "DefaultXAConnectionFactory0" with its JNDI name "weblogic.jms.XAConnectionFactory0" is started.>
              ####<Sep 28, 2007 11:16:00 AM EDT> <Info> <JMS> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992560700> <BEA-040407> <Default connection factory "DefaultConnectionFactory" with its JNDI name "weblogic.jms.ConnectionFactory" is started.>
              ####<Sep 28, 2007 11:16:00 AM EDT> <Info> <JMS> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992560701> <BEA-040407> <Default connection factory "TopicConnectionFactory" with its JNDI name "javax.jms.TopicConnectionFactory" is started.>
              ####<Sep 28, 2007 11:16:00 AM EDT> <Info> <JMS> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992560701> <BEA-040306> <JMS service is active now.>
              ####<Sep 28, 2007 11:16:00 AM EDT> <Info> <SAFService> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992560883> <BEA-281003> <SAF Service has been initialized.>
              ####<Sep 28, 2007 11:16:00 AM EDT> <Info> <SAFService> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992560917> <BEA-281002> <SAF Service has been started.>
              ####<Sep 28, 2007 11:16:00 AM EDT> <Info> <HTTP> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992560992> <BEA-101128> <Initializing HTTP services.>
              ####<Sep 28, 2007 11:16:01 AM EDT> <Info> <HTTP> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992561092> <BEA-101135> <myserver is the default Web server.>
              ####<Sep 28, 2007 11:16:01 AM EDT> <Info> <HTTP> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992561093> <BEA-101052> <[HttpServer (defaultWebserver) name: myserver] Initialized>
              ####<Sep 28, 2007 11:16:01 AM EDT> <Info> <HTTP> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992561103> <BEA-101129> <Initializing the Web application container.>
              ####<Sep 28, 2007 11:16:02 AM EDT> <Info> <WebService> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992562145> <BEA-220031> <The server does not support reliable SOAP messaging.>
              ####<Sep 28, 2007 11:16:02 AM EDT> <Info> <WebService> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992562161> <BEA-220027> <Web Service reliable agents are started on the server.>
              ####<Sep 28, 2007 11:16:02 AM EDT> <Info> <JMX> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992562263> <BEA-149512> <JMX Connector Server started at service:jmx:iiop://172.16.11.174:7021/jndi/weblogic.management.mbeanservers.runtime .>
              ####<Sep 28, 2007 11:16:02 AM EDT> <Info> <JMX> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992562293> <BEA-149512> <JMX Connector Server started at service:jmx:iiop://172.16.11.174:7021/jndi/weblogic.management.mbeanservers.edit .>
              ####<Sep 28, 2007 11:16:07 AM EDT> <Info> <Management> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992567015> <BEA-141187> <Java system properties are defined as follows:
              bea.home = /odi/java/weblogic/921/bea.sol
              com.odi.jmtl.allowedServers = uxossol1 localhost
              com.odi.jmtl.ejb.codegen.verbose = false
              com.odi.jmtl.jta.debug = true
              com.odi.jmtl.proxy.trace = false
              com.odi.jmtl.relaxedConsistencyMode = true
              com.odi.jmtl.vtm.log = false
              com.odi.standalone.commandClass = com.odi.examples.ejb.shopping.WebLogicCommand
              com.odi.trapUnregisteredType = true
              file.encoding = ISO8859-1
              file.encoding.pkg = sun.io
              file.separator = /
              java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
              java.awt.printerjob = sun.print.PSPrinterJob
              java.class.path = /odi/java/weblogic/921/bea.sol/weblogic92/server/lib/weblogic.jar:/os/dserve/java/standalone:/os/osji/lib/osji.jar:/os/osji/lib/tools.jar:/os/dserve/java:/odi/java/sun-jdk/15-04/java/lib/tools.jar:/os/dserve/java/examples/etc/tools/CCK.jar:/os/dserve/java/examples/etc/tools/Regex.jar:/os/dserve/java/examples/etc/tools/bcel.jar:/os/dserve/java/examples/shared/build/classes
              java.class.version = 49.0
              java.endorsed.dirs = /odi/java/sun-jdk/15-04/java/jre/lib/endorsed
              java.ext.dirs = /odi/java/sun-jdk/15-04/java/jre/lib/ext
              java.home = /odi/java/sun-jdk/15-04/java/jre
              java.io.tmpdir = /var/tmp/
              java.library.path = /odi/java/sun-jdk/15-04/java/jre/lib/sparc/server:/odi/java/sun-jdk/15-04/java/jre/lib/sparc:/odi/java/sun-jdk/15-04/java/jre/../lib/sparc:/view/os.7.0.ghillyer.sol2c5.picsym/os/osji/lib:/view/os.7.0.ghillyer.sol2c5.picsym/os/top/lib:/usr/openwin/bin:/scratch/ghillyer/sunfreeware/lib:/usr/lib
              java.naming.factory.initial = weblogic.jndi.WLInitialContextFactory
              java.naming.factory.url.pkgs = weblogic.jndi.factories:weblogic.corba.j2ee.naming.url:weblogic.jndi.factories:weblogic.corba.j2ee.naming.url
              java.protocol.handler.pkgs = weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net
              java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition
              java.runtime.version = 1.5.0_04-b05
              java.security.policy = /odi/java/weblogic/921/bea.sol/weblogic92/server/lib/security.policy
              java.specification.name = Java Platform API Specification
              java.specification.vendor = Sun Microsystems Inc.
              java.specification.version = 1.5
              java.vendor = Sun Microsystems Inc.
              java.vendor.url = http://java.sun.com/
              java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
              java.version = 1.5.0_04
              java.vm.info = mixed mode
              java.vm.name = Java HotSpot(TM) Server VM
              java.vm.specification.name = Java Virtual Machine Specification
              java.vm.specification.vendor = Sun Microsystems Inc.
              java.vm.specification.version = 1.0
              java.vm.vendor = Sun Microsystems Inc.
              java.vm.version = 1.5.0_04-b05
              javax.rmi.CORBA.PortableRemoteObjectClass = weblogic.iiop.PortableRemoteObjectDelegateImpl
              javax.rmi.CORBA.UtilClass = weblogic.iiop.UtilDelegateImpl
              javax.xml.rpc.ServiceFactory = weblogic.webservice.core.rpc.ServiceFactoryImpl
              javax.xml.soap.MessageFactory = weblogic.webservice.core.soap.MessageFactoryImpl
              org.omg.CORBA.ORBClass = weblogic.corba.orb.ORB
              org.omg.CORBA.ORBSingletonClass = weblogic.corba.orb.ORB
              org.xml.sax.driver = weblogic.apache.xerces.parsers.SAXParser
              org.xml.sax.parser = weblogic.xml.jaxp.RegistryParser
              os.arch = sparc
              os.name = SunOS
              os.version = 5.8
              path.separator = :
              rootPath = /os/dserve/java/examples
              sun.arch.data.model = 32
              sun.boot.class.path = /odi/java/sun-jdk/15-04/java/jre/lib/rt.jar:/odi/java/sun-jdk/15-04/java/jre/lib/i18n.jar:/odi/java/sun-jdk/15-04/java/jre/lib/sunrsasign.jar:/odi/java/sun-jdk/15-04/java/jre/lib/jsse.jar:/odi/java/sun-jdk/15-04/java/jre/lib/jce.jar:/odi/java/sun-jdk/15-04/java/jre/lib/charsets.jar:/odi/java/sun-jdk/15-04/java/jre/classes
              sun.boot.library.path = /odi/java/sun-jdk/15-04/java/jre/lib/sparc
              sun.cpu.endian = big
              sun.cpu.isalist = sparcv9+vis2 sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
              sun.io.unicode.encoding = UnicodeBig
              sun.jnu.encoding = ISO8859-1
              sun.management.compiler = HotSpot Server Compiler
              sun.os.patch.level = unknown
              user.country = US
              user.dir = /odi/java/weblogic/921/bea.sol/user_projects/domains/mydomain
              user.home = /users/devp/ghillyer
              user.language = en
              user.name = ghillyer
              user.timezone = US/Eastern
              vde.home = /odi/java/weblogic/921/bea.sol/user_projects/domains/mydomain/servers/myserver/data/ldap
              weblogic.Name = myserver
              weblogic.classloader.preprocessor = weblogic.diagnostics.instrumentation.DiagnosticClassPreProcessor
              weblogic.debug.DebugJTARecovery = true
              weblogic.log.stdoutSeverity = Debug
              weblogic.security.SSL.trustedCAKeyStore = /odi/java/weblogic/921/bea.sol/weblogic92/server/lib/cacerts
              > >
              ####<Sep 28, 2007 11:16:07 AM EDT> <Notice> <WebLogicServer> <uxossol1> <myserver> <main> <<WLS Kernel>> <> <> <1190992567055> <BEA-000365> <Server state changed to STANDBY>
              ####<Sep 28, 2007 11:16:07 AM EDT> <Notice> <WebLogicServer> <uxossol1> <myserver> <main> <<WLS Kernel>> <> <> <1190992567057> <BEA-000365> <Server state changed to STARTING>
              ####<Sep 28, 2007 11:16:07 AM EDT> <Debug> <JTARecovery> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992567164> <000000> <BEA1-00050D88729F7F28EDB9: null: readExternal from log: Xid=BEA1-00050D88729F7F28EDB9(23054253),Status=Active,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=41594,seconds left=30,XAServerResourceInfo[com.odi.jmtl.XAResourceAdapter]=(ServerResourceInfo[com.odi.jmtl.XAResourceAdapter]=(state=new,assigned=none),xar=null,re-Registered = false),XAServerResourceInfo[com.odi.examples.ejb.shopping.XAResourceTestXAResource]=(ServerResourceInfo[com.odi.examples.ejb.shopping.XAResourceTestXAResource]=(state=new,assigned=none),xar=null,re-Registered = false),SCInfo[mydomain+myserver]=(state=active))>
              ####<Sep 28, 2007 11:16:07 AM EDT> <Debug> <JTARecovery> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992567174> <000000> < onRecovery() callback: ResourceCheckpoint={com.odi.jmtl.XAResourceAdapter, THE TEST XARESOURCE, com.odi.examples.ejb.shopping.shopper.ShopperSession$XAResourceTestXAResource, com.odi.examples.ejb.shopping.XAResourceTestXAResource}>
              ####<Sep 28, 2007 11:16:07 AM EDT> <Debug> <JTARecovery> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992567175> <000000> <setLastAccessTimeMillis:1190992567175>
              ####<Sep 28, 2007 11:16:07 AM EDT> <Debug> <JTARecovery> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992567176> <000000> <setLastAccessTimeMillis:1190950973234>
              ####<Sep 28, 2007 11:16:07 AM EDT> <Debug> <JTARecovery> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992567176> <000000> <setLastAccessTimeMillis:1190992567176>
              ####<Sep 28, 2007 11:16:07 AM EDT> <Debug> <JTARecovery> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992567176> <000000> <setLastAccessTimeMillis:1190929826988>
              ####<Sep 28, 2007 11:16:07 AM EDT> <Debug> <JTARecovery> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992567177> <000000> <setLastAccessTimeMillis:1190992567177>
              ####<Sep 28, 2007 11:16:07 AM EDT> <Debug> <JTARecovery> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992567177> <000000> <setLastAccessTimeMillis:1190866351726>
              ####<Sep 28, 2007 11:16:07 AM EDT> <Debug> <JTARecovery> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992567177> <000000> <setLastAccessTimeMillis:1190992567177>
              ####<Sep 28, 2007 11:16:07 AM EDT> <Debug> <JTARecovery> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992567178> <000000> <setLastAccessTimeMillis:1190950973235>
              ####<Sep 28, 2007 11:16:07 AM EDT> <Debug> <JTARecovery> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992567180> <000000> <BEA1-00050D88729F7F28EDB9: null: onRecovery: Xid=BEA1-00050D88729F7F28EDB9(23054253),Status=Committing,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=41594,seconds left=60,XAServerResourceInfo[com.odi.jmtl.XAResourceAdapter]=(ServerResourceInfo[com.odi.jmtl.XAResourceAdapter]=(state=new,assigned=none),xar=null,re-Registered = false),XAServerResourceInfo[com.odi.examples.ejb.shopping.XAResourceTestXAResource]=(ServerResourceInfo[com.odi.examples.ejb.shopping.XAResourceTestXAResource]=(state=new,assigned=none),xar=null,re-Registered = false),SCInfo[mydomain+myserver]=(state=active),local properties=({weblogic.transaction.recoveredTransaction=true}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=myserver+172.16.11.174:7021+mydomai!
              n+t3+, XAResources={},NonXAResources={})],CoordinatorURL=myserver+172.16.11.174:7021+mydomain+t3+)>
              ####<Sep 28, 2007 11:16:07 AM EDT> <Debug> <JTARecovery> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992567180> <000000> <recover: Schedule execute request for myserver+172.16.11.174:7021+mydomain+t3+com.odi.jmtl.XAResourceAdapter>
              ####<Sep 28, 2007 11:16:07 AM EDT> <Debug> <JTARecovery> <uxossol1> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1190992567184> <000000> <recover: Schedule execute request for myserver+172.16.11.174:7021+mydomain+t3+com.odi.examples.ejb.shopping.XARes

  • Unexpected exception while enlisting XAConnection

    Hi. I am getting the following error when executing getHibernateTemplate().findByNamedParam(...):
              org.springframework.jdbc.UncategorizedSQLException : Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Unexpected exception while enlisting XAConnection java.sql.SQLException: Transaction rolled back: Transaction timed out after 33 seconds
              BEA1-000114394FEB
              at weblogic.jdbc.jta.DataSource.enlist(DataSource.jav a:1420)
              at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlis t(DataSource.java:1332)
              at weblogic.jdbc.jta.DataSource.getConnection(DataSou rce.java:440)
              at weblogic.jdbc.jta.DataSource.connect(DataSource.ja va:396)
              at weblogic.jdbc.common.internal.RmiDataSource.getCon nection(RmiDataSource.java:359)
              at org.springframework.orm.hibernate3.LocalDataSource ConnectionProvider.getConnection(LocalDataSourceCo nnectionProvider.java:81)
              at org.hibernate.jdbc.ConnectionManager.openConnectio n(ConnectionManager.java:423)
              at org.hibernate.jdbc.ConnectionManager.getConnection (ConnectionManager.java:144)
              at org.hibernate.jdbc.AbstractBatcher.prepareQuerySta tement(AbstractBatcher.java:139)
              at org.hibernate.loader.Loader.prepareQueryStatement( Loader.java:1547)
              at org.hibernate.loader.Loader.doQuery(Loader.java:67 3)
              at org.hibernate.loader.Loader.doQueryAndInitializeNo nLazyCollections(Loader.java:236)
              at org.hibernate.loader.Loader.doList(Loader.java:222 0)
              at org.hibernate.loader.Loader.listIgnoreQueryCache(L oader.java:2104)
              at org.hibernate.loader.Loader.list(Loader.java:2099)
              at org.hibernate.loader.hql.QueryLoader.list(QueryLoa der.java:378)
              at org.hibernate.hql.ast.QueryTranslatorImpl.list(Que ryTranslatorImpl.java:338)
              at org.hibernate.engine.query.HQLQueryPlan.performLis t(HQLQueryPlan.java:172)
              at org.hibernate.impl.SessionImpl.list(SessionImpl.ja va:1121)
              at org.hibernate.impl.QueryImpl.list(QueryImpl.java:7 9)
              at org.springframework.orm.hibernate3.HibernateTempla te$30.doInHibernate(HibernateTemplate.java:875)
              at org.springframework.orm.hibernate3.HibernateTempla te.execute(HibernateTemplate.java:372)
              at org.springframework.orm.hibernate3.HibernateTempla te.findByNamedParam(HibernateTemplate.java:866)
              at uk.xxx.xxx.xxx.Impl.getRereference(Impl.java:208)

    It means what it says, that whatever this user invoke is
              doing, it took longer than the transaction timeout limit
              before getting to this point, so the transaction was marked
              for rollback already, and the application code is being
              denied their request for a DBMS connection.
              Joe

  • New transaction cannot enlist in the specified transaction coordinator

    Hi,
    I'm having a problem with the Oracle provider for OLE DB. I have a Win2k server running SQLServer 2000 attempting to communicate with another Win2k server running Oracle 9i Spatial. The SQLServer box is using the Oracle provider for OLE DB and Oracle client off the 8.1.7 CD, purely because the Microsoft documentation said that was the latest supported. The Oracle server is running Oracle MTS 9.2 over Oracle Enterprise Server 9.2.0.1. I can connect from the SQLServer box to the Oracle box and successfully query the relevant data. The error occurs when I attempt to save a view through SQLServer Enterprise Manager. The error is as above. I have checked MSDTC and RPC on both boxes and Oracle MTS on the Oracle box. I have checked the MSDTC registry entries on the SQLServer box as well. Any clues?

    We had a different but related problem about transaction enlistment but not with Spatial. After a few days we found that one of the oracle dlls was compiled with debug and needed the MS C runtime debug dll. there error message was not helpful. Our current workaround is to install the debug C rt dll but we hope it may be fixed soon. Another related bug is #2615847 which has been fixed in the very latest oledb release - we're going to try it out this/next week.
    Philip

Maybe you are looking for

  • Media encoder CC x86

    Bonjour, je recherche une version d'adobe media encoder CC mais en 32 bit, j'ai bien la version 64 bit mais il n'y a pas moyen de la lancer comme d'ailleurs les version 64bit de indesign/illustrator/lightroom... y a que photoshop qui fonctionne en 64

  • Error while receiving by HTTP (error code: 400, error text: ICM_HTTP_CONNECTION_FAILED

    Hi experts, I have a big issue in production server, the Queues are stuking in smq2 " command to tRFC/qRFC: execute LUW again" if i am reprocess or press F6 it is going manually.   <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> - <!--  Call

  • First back up with TM....kernal panic

    last night, i installed a laCie 500GB USB2 Ext. HD to use with time machine. i reformated the drive and went to bed. this morning i woke to my fans running to beat the band and the command lines of a kernal panic. i restarted and then restarted time

  • Some videos on YouTube are not working

    Vevo or any other official music videos are not playing in Firefox. After loading for 10 seconds, I am getting "An Error occurred" error. I don't have this problem with other videos. This problem occurred yesterday, although I didn't do any system ch

  • Depth buffering; getting the Z position of a point on a 3D triangle

    Greetings. I'm creating a 3D library (if that's what you call them) on my own, and this is all about: Defining the triangles with three Vector3D instances. Transforming them with the transform.matrix3D property of a Sprite instance. Calculating and a