Javax.transaction.RollbackException occurs on delete

Hello,
I am using a container managed transaction to add, modify and delete data. On adding, the transaction commits successfully. However, on delete the transaction throws a javax.transaction.RollbackException.
The following is the start of the log file entry:
EJB5018: An exception was thrown during an ejb invocation on [DirBean]
javax.ejb.EJBException: Transaction aborted; nested exception is: javax.transaction.RollbackException: Transaction marked for rollback.
javax.transaction.RollbackException: Transaction marked for rollback.I have checked on the database table foreign key they seem in order.
What might be the cause of the rollbackException since hibernate does not display the content of the nested exception?

The value in transaction-manager.xml was initially 30 not 30000.
I tried setting syncMaxWaitTime=600 and transaction-manager.xml to 600000. Same result.
I tried setting syncMaxWaitTime=600 and transaction-manager.xml to 600.
Also the same result. Transaction timeout is still occurring.
SOA suite was stopped and restarted each time.
I'm going to test on 10.1.2 to see if something possible got broken in 10.1.3.

Similar Messages

  • Javax.transaction.RollbackException

    Please take few moments to look at this code. I can't see what I am doing wrong. Can you? it is about the RollbackException. the create method inserts a record in de database, but I am not sure if the container rolls it back, or may be the primary key class is not well implemented.
    Your help is very appreciated. I am stack here since 3 days ;(
    The create method in the Movie_LoanBean
    public Movie_LoanKey ejbCreate (int Member,int Movie,int copy_number,java.sql.Date DayDate_Loaned)
    throws CreateException {
    if (Member == 0 || Movie == 0 || copy_number == 0 || DayDate_Loaned == null ) {
    throw new CreateException(
    "Rerquired fields are not filled.");
    try {
    insertMovie_Loan(Member , Movie , copy_number , DayDate_Loaned );
    this.Member = Member;
    this.Movie = Movie;
    this.copy_number = copy_number;
    this.DayDate_Loaned = DayDate_Loaned;
    return new Movie_LoanKey(Member, Movie, copy_number, DayDate_Loaned);
    } catch (Exception e) {
    throw new CreateException (e.toString());
    private void insertMovie_Loan(int Member,int Movie,int copy_number,java.sql.Date DayDate_Loaned)
    throws SQLException {
    makeConnection();
    System.out.println("in insertMovie_Loan");
    String insertStatement = "INSERT INTO Movie_Loan2 VALUES(?, ?, ?, ?)";
    PreparedStatement prepStmt = con.prepareStatement(insertStatement);
    prepStmt.setInt(1, Member);
    prepStmt.setInt(2, Movie);
    prepStmt.setInt(3, copy_number);
    prepStmt.setDate(4, (java.sql.Date) DayDate_Loaned);
    prepStmt.executeUpdate();
    prepStmt.close();
    System.out.println("leaving insertMovie_Loan");
    releaseConnection();
    The primary key class
    public class Movie_LoanKey implements java.io.Serializable {
    public int Member;
    public int Movie;
    public int copy_number;
    public java.sql.Date DayDate_Loaned;
    public Movie_LoanKey() {}
    public Movie_LoanKey(int Member, int Movie, int copy_number, java.sql.Date DayDate_Loaned) {
    this.Member = Member;
    this.Movie = Movie;
    this.copy_number = copy_number;
    this.DayDate_Loaned = DayDate_Loaned;
    public int getMember() {
    return Member;
    public int getMovie() {
    return Movie;
    public int getcopy_number() {
    return copy_number;
    public java.sql.Date getDayDate_Loaned() {
    return DayDate_Loaned;
    public boolean equals (Object obj) {
    if ( obj == null || !( obj instanceof Movie_LoanKey ))
    return false;
    else if ( (((Movie_LoanKey) obj).Member == Member) && (((Movie_LoanKey) obj).Movie == Movie) && (((Movie_LoanKey) obj).copy_number == copy_number) && (((Movie_LoanKey) obj).DayDate_Loaned == DayDate_Loaned) )
    return true;
    else
    return false;
    public String toString() {
    return String.valueOf(Member) + String.valueOf(Movie) + String.valueOf(copy_number) + DayDate_Loaned.toString() ;
    public int hashCode() {
    String tmp0 = String.valueOf(Member) ;
    String tmp1 = String.valueOf(Movie) ;
    String tmp2 = String.valueOf(copy_number) ;
    String tmp3 = DayDate_Loaned.toString();
    return tmp0.concat(tmp1).concat(tmp2).concat(tmp3).hashCode();
    The client
    import java.util.*;
    import java.math.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    public class LoanClient {
    public static void main(String[] args) {
    try {
    Context initial = new InitialContext();
    Object objref = initial.lookup("java:comp/env/ejb/SimpleLoan");
    Movie_LoanHome home = (Movie_LoanHome) PortableRemoteObject.narrow(objref,
    Movie_LoanHome.class);
    java.sql.Date d1 = java.sql.Date.valueOf("04-01-05");
    Movie_Loan duke = home.create(1,3,4,d1);
    System.exit(0);
    } catch (Exception ex) {
    System.err.println("Caught an exception.");
    ex.printStackTrace();
    When I run this code I get the following error:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.RemoteException: Transaction aborted; nested exception is: java
    x.transaction.RollbackException; nested exception is:
    javax.transaction.RollbackException
    at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.ja
    va:170)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    at MovieLoanHome_Stub.create(Unknown Source)
    at LoanClient.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:28
    5)
    at com.sun.enterprise.appclient.Main.<init>(Main.java:420)
    at com.sun.enterprise.appclient.Main.main(Main.java:92)
    Caused by: java.rmi.RemoteException: Transaction aborted; nested exception is: j
    avax.transaction.RollbackException; nested exception is:
    javax.transaction.RollbackException
    at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.ja
    va:213)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:79
    7)
    at com.sun.ejb.containers.EJBHomeInvocationHandler.invoke(EJBHomeInvocat
    ionHandler.java:194)

    It means that your code somewhere throws a system exception.
    Have you tried to debug you'r bean ? Run EJB server under an IDE with debugging capabilities (JBuilder, IDEA).
    This would speed up your development.
    Why do you use a BMP beans ? In this case CMP would work without any problems.

  • Javax.transaction.RollbackException: Timed out

    Hi All,
    Using SOA suite 10.1.3.1, I've written an async bpel process that calls a synchronous web service that can sometimes require several minutes to complete. If the process takes longer than about 45 seconds, an exception is logged - javax.transaction.RollbackException: Timed out.
    In the process manager console I have set syncMaxWaitTime to 600 (it was initially 45).
    I tried to find the <transaction-config timeout=...> value in server.xml. It is not there. If I add the value, it is removed when I stop and start the SOA suite. There is a value in server.xml:
    <transaction-manager-config path="transaction-manager.xml" />
    In transaction-manager.xml there is an attribute "transaction-timeout" on the transaction-manager element. It was initially set to 30. I changed it to 600 and restarted the SOA suite but the javax.transaction.RollbackException still occurs after about 45 seconds.
    Are there other parameters that need to be set to stop this timeout?
    Wayne Stielau
    Open Text Corporation

    The value in transaction-manager.xml was initially 30 not 30000.
    I tried setting syncMaxWaitTime=600 and transaction-manager.xml to 600000. Same result.
    I tried setting syncMaxWaitTime=600 and transaction-manager.xml to 600.
    Also the same result. Transaction timeout is still occurring.
    SOA suite was stopped and restarted each time.
    I'm going to test on 10.1.2 to see if something possible got broken in 10.1.3.

  • Javax.transaction.RollbackException: Transaction marked for rollback

    Hello all,
    This is my first topic/question in the forums. I am relatively novice with J2EE programming so please pardon my ignorance. I have spend several hours thying to figure out the following issue.
    So here is the scenario. I have a JSF ManagedBean called SymbolProcessBean. Here is part of its declaration
    @PersistenceContext(name = "persistence/LogicalName", unitName = "MantisPU")
    public class SymbolProcessBean {
    @Resource
    private UserTransaction utx;
    }The Bean is callef by a h:command from a jsp page
    <h:commandLink action="#{symbolProcessBean.processSymbol}" value="Process"/>In part of the process the Bean read data from a webpage and persists them in a MySQL database. Here is the loop:
            try {
                // Create a URL for the desired page
                String urlStr = "http://ichart.finance.yahoo.com/table.csv?s=" + this.selectedSymbol.getTicker();
                if (firstNewDay != null)
                    urlStr += "&a=" + firstNewDay.get(Calendar.MONTH) +
                              "&b=" + firstNewDay.get(Calendar.DATE) +
                              "&c=" + firstNewDay.get(Calendar.YEAR);
                URL url = new URL(urlStr);
                // Read all the text returned by the server
                BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
                String str;
                outText = in.readLine() + "<br />";    // Discard first line
                Context ctx = (Context) new InitialContext().lookup("java:comp/env");
                utx.begin();
                em = (EntityManager) ctx.lookup("persistence/LogicalName");
                SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
                while ((str = in.readLine()) != null) {
                    // Use togenizer to parse comma separated fields
                    StringTokenizer strtok = new StringTokenizer(str, ",");
                    // Read the data from the line
                    Date recordDate = formatter.parse(strtok.nextToken());
                    Float open = Float.valueOf(strtok.nextToken());
                    Float high = Float.valueOf(strtok.nextToken());
                    Float low = Float.valueOf(strtok.nextToken());
                    Float close = Float.valueOf(strtok.nextToken());
                    Integer volume = Integer.valueOf(strtok.nextToken());
                    Float adj_close = Float.valueOf(strtok.nextToken());
                    // Set the PriceRecord data members
                    PriceRecord pr = new PriceRecord();
                    pr.setSymbol(this.selectedSymbol);
                    pr.setRecordDate(recordDate);
                    pr.setOpen(open);
                    pr.setHigh(high);
                    pr.setLow(low);
                    pr.setClose(close);
                    pr.setVolume(volume);
                    pr.setAdjClose(adj_close);
                    // Create Record
                    em.persist(pr);
                    this.selectedSymbol.getPriceRecordCollection().add(pr);
                    // Add record string to output text
                    outText += str + "<br />";
                in.close();
                this.selectedSymbol = em.merge(this.selectedSymbol);
                utx.commit();
            } catch (Exception e) {
                utx.rollback();
                throw e;
            }All this works fine on the first invocation of the command link and the Bean reads the data from yahoo for a Stock symbol and persists into the database. When the command link is clicked again for a different stock then the utx.commit(); throws a "javax.transaction.RollbackException: Transaction marked for rollback" exception. NOTE that when I redeploy the application and run it again it will work. But it works only the first time. The second time it will throw the exception.
    I am not sure why this happens. I looked in the create() methods of the autogenerated JPA Controllers (PriceRecordJpaController) and they allways commit the transaction. Why would it fail in my case? Is there a way to "refresh" the transaction?
    Thank you in advance.
    Edited by: kkyriako on Nov 11, 2009 10:37 PM

    Thank you for your responses. I had no idea that when a runtime exception is thrown the transaction will be marked for rollback. The getCause of the exception is null however I got the following stack trace from the GlashFish log:
    WARNING:
    Local Exception Stack:
    Exception [EclipseLink-7197] (Eclipse Persistence Services - 1.0.1 (Build 20080905)): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Null primary key encountered in unit of work clone [ejb.entities.PriceRecord[idPriceRecord=null]].
            at org.eclipse.persistence.exceptions.ValidationException.nullPrimaryKeyInUnitOfWorkClone(ValidationException.java:1305)
            at org.eclipse.persistence.descriptors.changetracking.DeferredChangeDetectionPolicy.calculateChanges(DeferredChangeDetectionPolicy.java:84)
            at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.calculateChanges(UnitOfWorkImpl.java:557)
            at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1320)
            at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.issueSQLbeforeCompletion(UnitOfWorkImpl.java:2848)
            at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.issueSQLbeforeCompletion(RepeatableWriteUnitOfWork.java:223)
            at org.eclipse.persistence.transaction.AbstractSynchronizationListener.beforeCompletion(AbstractSynchronizationListener.java:157)
            at org.eclipse.persistence.transaction.JTASynchronizationListener.beforeCompletion(JTASynchronizationListener.java:68)
            at com.sun.enterprise.transaction.JavaEETransactionImpl.commit(JavaEETransactionImpl.java:411)
            at com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.commit(JavaEETransactionManagerSimplified.java:843)
            at com.sun.enterprise.transaction.UserTransactionImpl.commit(UserTransactionImpl.java:198)
            at ejb.logic.SymbolProcessBean.accessURLData(SymbolProcessBean.java:165)
            at ejb.logic.SymbolProcessBean.processSymbol(SymbolProcessBean.java:182)
            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:597)
            at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
            at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
            at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
            at javax.faces.component.UICommand.broadcast(UICommand.java:387)
            at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
            at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
            at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
            at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
            at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
            at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
            at org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:462)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
            at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
            at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
            at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
            at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
            at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
            at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
            at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
            at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
            at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
            at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
            at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
            at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
            at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
            at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
            at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)SymbolProcessBean.java:165 is the utx.commit(). The idPriceRecord is the primary key of the table. It is an autoincrement field. I do not modify it before the em.persist(pr); statement so it goes as null. However the first time when I execute the commit everything is persisted in the database. When I run a second time for a different symbol then I get the exception until I redeploy the wed site. Maybe the persistence layer does not update the idPriceRecord with the value generated by MySQL. Nuy why does that does not cause a problem the first time?

  • How to skip  javax.transaction.RollbackException  Transaction has been mark

    I am debugging my testcase for which I inspect objects which consumes time and when I go to next line which calls a localdelegate I get times out exception Is there any way I can inform oc4j to ignore timeout.

    Hi ,
    It looks like intial context factory is missing in the weblogic-ejb-jar.xml, try to add the following line and see.
    <initial-context-factory>weblogic.jndi.WLInitialContextFactory</initial-context-factory>
    Rule out any typos, Make sure you have specified the exact names in destination-jndi-name,connection-factory-jndi-name in the weblogic-ejb*.xml file.
    Thanks

  • Transaction RollbackException when running OIM's scheduler

    Dear all,
    When we run the custom scheduler ,we run into the following exception:
    Exception when DeleteUser Thor.API.Exceptions.tcAPIException: An exception occurred during transaction completion: ; nested exception is:
    javax.transaction.RollbackException: Timed out
    at Thor.API.Operations.tcReconciliationOperationsClient.provideDeletionDetectionData(Unknown Source)
    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:585)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at Thor.API.Security.LoginHandler.oracleLoginSession.runAs(Unknown Source)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy14.provideDeletionDetectionData(Unknown Source)
    at com.ncgc.oim.connector.UserReconciliation.DeleteUser(UserReconciliation.java:440)
    at com.ncgc.oim.connector.UserReconciliation.execute(UserReconciliation.java:220)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
    at Thor.API.Security.LoginHandler.oracleLoginSession.runAs(Unknown Source)
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:477)
    Besides, there are about 20000 users in the target system. Thanks in advance!

    Please check out the SAP note below
    Note 1099234 - AA 669 in reporting w/ reporting date in future fiscal year
    its seems like a program error...implement the note.

  • Javax.transaction.TransactionRolledbackException

              Hi
              I am getting a weblogic.ejb.extensions.LockTimedOutException when a call an entity bean for the second time. The first time I call the account entity bean from a session bean it returns all the accounts without any problems. However the next time I call the same bean from the same session I get a time out error. It seems to get as far as the last record and the locks. It also seems to use the same context for the last record as it did on the first read. See bold ctx. I have tried changing the isolation level of the beans and increasing the time out limit. I've attached the output below. Has anyone any suggestion.
              Thanks
              Claire
              1st Read from Session Bean
              After creating Data Packets601212 ::69000512
              before find by account
              after find by accountEJBObject: '-915484003', home: 'eon.common.Account', ctx: '-916794723', pk: 'com.bankframe.common.ejb.account.interfaces.AccountPK@64476f25'
              accountDp{Account Balance=13010.7, Uncleared Funds=600.0, DATA PACKET NAME=ACCOUNT, OWNER=eontec Ltd, REQUEST_ID=00000, Currency=IEP, Debit Or Credit Balance=Credit, Account Number=69000512, Account T
              ype=Chequing, Account Name=Current Account - No. 1, Sort Code=601212}
              After creating Data Packets601212 ::77264300
              before find by account
              after find by accountEJBObject: '1776210589', home: 'eon.common.Account', ctx: '1775948445', pk: 'com.bankframe.common.ejb.account.interfaces.AccountPK@661c2d9f'
              accountDp{Account Balance=2100.0, Uncleared Funds=0.0, DATA PACKET NAME=ACCOUNT, OWNER=eontec Ltd, REQUEST_ID=00000, Currency=GBP, Debit Or Credit Balance=Credit, Account Number=77264300, Account Type
              =Deposit, Account Name=Term Deposit - Sterling, Sort Code=601212}
              2nd Reand from Session Bean
              After creating Data Packets601212 ::69000512
              before find by account
              after find by accountEJBObject: '704303773', home: 'eon.common.Account', ctx: '700895901', pk: 'com.bankframe.common.ejb.account.interfaces.AccountPK@64476f25'
              accountDp{Account Balance=13010.7, Uncleared Funds=600.0, DATA PACKET NAME=ACCOUNT, OWNER=eontec Ltd, REQUEST_ID=00000, Currency=IEP, Debit Or Credit Balance=Credit, Account Number=69000512, Account T
              ype=Chequing, Account Name=Current Account - No. 1, Sort Code=601212}
              After creating Data Packets601212 ::77264300
              before find by account
              after find by accountEJBObject: '1776210589', home: 'eon.common.Account', ctx: '1775948445', pk: 'com.bankframe.common.ejb.account.interfaces.AccountPK@661c2d9f'
              Thu Nov 23 09:45:57 GMT 2000:<I> <TX> Transaction (TxC (650302109, xid = 974971491652_10, timeout = 300, txState = Marked Rollback, root = null) rolled back after 300 sec.
              FinderException weblogic.ejb.extensions.LockTimedOutException: Lock for primaryKey:com.bankframe.common.ejb.account.interfaces.AccountPK@661c2d9f timed out after 300000 ms.
              finished creating dp
              CustomerOverviewBean::processDataPacket()::Sending Result to the Client Excep
              {DATA PACKET NAME=CUSTOMER OVERVIEW EXCEPTION, OWNER=eontec Ltd, REQUEST_ID=00000, Reason=javax.transaction.TransactionRolledbackException: Transaction: '974971491652_10' has been rolled back}
              Thu Nov 23 09:46:00 GMT 2000:<I> <EJB JAR deployment ./classes/castaway-jars/customeroverview.jar> Exception during commit of transaction: '974971491652_10'
              javax.transaction.RollbackException: Transaction TxC (650302109, xid = 974971491652_10, timeout = 0, txState = Rolledback, root = null has been rolled back.Reason: Transaction (TxC (650302109, xid = 9
              74971491652_10, timeout = 300, txState = Marked Rollback, root = null) rolled back after 300 sec.
              at weblogic.jts.internal.CoordinatorImpl.throwRollbackException(CoordinatorImpl.java:727)
              at weblogic.jts.internal.CoordinatorImpl.commit(CoordinatorImpl.java:352)
              at weblogic.jts.internal.TxContext.commit(TxContext.java:246)
              at weblogic.ejb.internal.StatelessEJBObject.postInvokeOurTx(StatelessEJBObject.java:88)
              at weblogic.ejb.internal.BaseEJBObject.postInvoke(BaseEJBObject.java, Compiled Code)
              at com.bankframe.bs.customer.ejb.customeroverview.server.CustomerOverviewBeanEOImpl.processDataPacket(CustomerOverviewBeanEOImpl.java:107)
              at com.bankframe.bs.customer.ejb.customeroverview.server.CustomerOverviewBeanEOImpl_ServiceStub.processDataPacket(CustomerOverviewBeanEOImpl_ServiceStub.java, Compiled Code)
              at com.bankframe.ei.servlet.BankframeServlet.getResponseDataPackets(BankframeServlet.java:173)
              at com.bankframe.ei.servlet.BankframeServlet.doGet(BankframeServlet.java:74)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java, Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java, Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled Code)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              Thu Nov 23 09:46:00 GMT 2000:<I> <ServletContext-General> BankframeServlet: Thu Nov 23 09:46:00 GMT 2000::BankframeServlet::Error in method getResponseDataPackets, the data packet was: {Customer Numbe
              r=996324364, DATA PACKET NAME=LIST CUSTOMER ACCOUNTS, OWNER=EON Technologies Ltd, Last Logged Date=20/02/2000, REQUEST_ID=80031}
              Thu Nov 23 09:46:00 GMT 2000:<I> <ServletContext-General> BankframeServlet: Thu Nov 23 09:46:00 GMT 2000::BankframeServlet::Unexpected exception in com.bankframe.bs.customer.ejb.customeroverview.serve
              r.CustomerOverviewBean.processDataPacket():
              javax.transaction.RollbackException: Transaction TxC (650302109, xid = 974971491652_10, timeout = 0, txState = Rolledback, root = null has been rolled back.Reason: Transaction (TxC (650302109, xid = 9
              74971491652_10, timeout = 300, txState = Marked Rollback, root = null) rolled back after 300 sec.
              at weblogic.jts.internal.CoordinatorImpl.throwRollbackException(CoordinatorImpl.java:727)
              at weblogic.jts.internal.CoordinatorImpl.commit(CoordinatorImpl.java:352)
              at weblogic.jts.internal.TxContext.commit(TxContext.java:246)
              at weblogic.ejb.internal.StatelessEJBObject.postInvokeOurTx(StatelessEJBObject.java:88)
              at weblogic.ejb.internal.BaseEJBObject.postInvoke(BaseEJBObject.java, Compiled Code)
              at com.bankframe.bs.customer.ejb.customeroverview.server.CustomerOverviewBeanEOImpl.processDataPacket(CustomerOverviewBeanEOImpl.java:107)
              at com.bankframe.bs.customer.ejb.customeroverview.server.CustomerOverviewBeanEOImpl_ServiceStub.processDataPacket(CustomerOverviewBeanEOImpl_ServiceStub.java, Compiled Code)
              at com.bankframe.ei.servlet.BankframeServlet.getResponseDataPackets(BankframeServlet.java:173)
              at com.bankframe.ei.servlet.BankframeServlet.doGet(BankframeServlet.java:74)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java, Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java, Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled Code)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              ; nested exception is:
              javax.transaction.RollbackException: Transaction TxC (650302109, xid = 974971491652_10, timeout = 0, txState = Rolledback, root = null has been rolled back.Reason: Transaction (TxC (650302109,
              xid = 974971491652_10, timeout = 300, txState = Marked Rollback, root = null) rolled back after 300 sec.
              

    What versions of the WebLogic you are using at windows and unix machines ? What are transaction attributes of the EJB methods you are invoking ?

  • MS SQL Server problem with MDB's: javax.transaction.xa.XAException

              I am programming agents in j2ee and using MDB to implement the asynchronicity of
              the agents.
              Those MDB's get messages (MapMessage) from a controller (an SFSB) that contain
              the agent's ID and the action that the agent has to perform. The MDB creates a
              SFSB, and calls the appropriate action from this session bean. Those actions require
              to read and write from my MS SQL Server 2000 XA database. But when running my
              program, I often get this error, which doesn't seem to affect the action, because
              when I check my database data, everything is updated correctly. So the program
              still completes, but the errors slow down the execution (the program hangs for
              about 3 seconds, each time the error occurs).
              Does anybody has an explanation or solution for this?
              Thank you...
              This is the error output:
              onMessage()
              Reading MapMessage: 1
              <26-apr-2004 14.34 u. CEST> <Error> <EJB> <BEA-010026> <Exception occurred during
              commit of transaction Xid=BEA1-005F88135FFBA636FFF7(15619088),Status=Rolled back.
              [Reason=javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0) returns -4],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=4,seconds
              left=30,XAServerResourceInfo[JMS_JMS Server2_NotDurable]=(ServerResourceInfo[JMS_JMS
              Server2_NotDurable]=(state=rolledback,assigned=lucille3_ms),xar=JMS_JMS Server2_NotDurable),XAServerResourceInfo[MSSQL
              Connection Pool]=(ServerResourceInfo[MSSQL Connection Pool]=(state=rolledback,assigned=lucille3_ms),xar=MSSQL
              Connection Pool),SCInfo[cluster+lucille3_ms]=(state=rolledback),local properties=({}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=lucille3_ms+127.0.0.1:8001+cluster+t3+,
              XAResources={},NonXAResources={})],CoordinatorURL=lucille3_ms+127.0.0.1:8001+cluster+t3+):
              javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0)returns -4
              at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown
              Source)
              at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.prepare(Unknown Source)
              at weblogic.jdbcx.base.BaseXAResource.prepare(Unknown Source)
              at weblogic.jdbc.jta.DataSource.prepare(DataSource.java:821)
              at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:1161)
              at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:395)
              at weblogic.transaction.internal.ServerSCInfo$1.execute(ServerSCInfo.java:253)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              --------------- nested within: ------------------
              weblogic.transaction.RollbackException: Could not prepare resource 'MSSQL Connection
              Pool
              [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare (0) returns -4 - with nested
              exception:
              [javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0) returns -4]
              at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1644)
              at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:300)
              at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:221)
              at weblogic.ejb20.internal.MDListener.execute(MDListener.java:412)
              at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
              at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
              at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
              at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170).>
              

              I am programming agents in j2ee and using MDB to implement the asynchronicity of
              the agents.
              Those MDB's get messages (MapMessage) from a controller (an SFSB) that contain
              the agent's ID and the action that the agent has to perform. The MDB creates a
              SFSB, and calls the appropriate action from this session bean. Those actions require
              to read and write from my MS SQL Server 2000 XA database. But when running my
              program, I often get this error, which doesn't seem to affect the action, because
              when I check my database data, everything is updated correctly. So the program
              still completes, but the errors slow down the execution (the program hangs for
              about 3 seconds, each time the error occurs).
              Does anybody has an explanation or solution for this?
              Thank you...
              This is the error output:
              onMessage()
              Reading MapMessage: 1
              <26-apr-2004 14.34 u. CEST> <Error> <EJB> <BEA-010026> <Exception occurred during
              commit of transaction Xid=BEA1-005F88135FFBA636FFF7(15619088),Status=Rolled back.
              [Reason=javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0) returns -4],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=4,seconds
              left=30,XAServerResourceInfo[JMS_JMS Server2_NotDurable]=(ServerResourceInfo[JMS_JMS
              Server2_NotDurable]=(state=rolledback,assigned=lucille3_ms),xar=JMS_JMS Server2_NotDurable),XAServerResourceInfo[MSSQL
              Connection Pool]=(ServerResourceInfo[MSSQL Connection Pool]=(state=rolledback,assigned=lucille3_ms),xar=MSSQL
              Connection Pool),SCInfo[cluster+lucille3_ms]=(state=rolledback),local properties=({}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=lucille3_ms+127.0.0.1:8001+cluster+t3+,
              XAResources={},NonXAResources={})],CoordinatorURL=lucille3_ms+127.0.0.1:8001+cluster+t3+):
              javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0)returns -4
              at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.executeXaRpc(Unknown
              Source)
              at weblogic.jdbcx.sqlserver.SQLServerImplXAResource.prepare(Unknown Source)
              at weblogic.jdbcx.base.BaseXAResource.prepare(Unknown Source)
              at weblogic.jdbc.jta.DataSource.prepare(DataSource.java:821)
              at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:1161)
              at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:395)
              at weblogic.transaction.internal.ServerSCInfo$1.execute(ServerSCInfo.java:253)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              --------------- nested within: ------------------
              weblogic.transaction.RollbackException: Could not prepare resource 'MSSQL Connection
              Pool
              [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare (0) returns -4 - with nested
              exception:
              [javax.transaction.xa.XAException: [BEA][SQLServer JDBC Driver][SQLServer]xa_prepare
              (0) returns -4]
              at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1644)
              at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:300)
              at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:221)
              at weblogic.ejb20.internal.MDListener.execute(MDListener.java:412)
              at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
              at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
              at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
              at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170).>
              

  • Javax.transaction.SystemException: Timed out while in 'Logging' state!!!!

    Hello, we have an OracleWeblogic 10.3.2 running on a Solaris OS.
    In this AppServer we have a FullStack J2EE Application executing distributed transactions that involve 3 manageable resources:
    TxDatasource (EJB),
    NonTxDatasource with enableTwoPhaseCommit and
    JMS
    Some of the transactions are timing out while in 'Logging' state and I just cant figure out what the root cause is. As a defensive action I lowered the JTA Timeout seconds because I noticed the 'Logging' phase was taking too long and then timing out. Idea here was not to have too many threads hanging in Logging state and therefore use the JTA Timeout to overcome this problem and minimize impact.
    Below, I'm posting a few exceptions thrown in applicaiton log. Any help is very appreciated.
    ####<Aug 12, 2011 11:40:11 AM EDT> <Error> <EJB> <brzfxap1> <FefxServer> <[ACTIVE] ExecuteThread: '175' for queue: 'weblogic.kernel.Default (self-tuning)'> <JG47515> <> <> <1313163611120> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB com.citicorp.fx.credit.CreditServiceBean.askCreditQuery(com.citicorp.fx.credit.data.CreditQueryRequestData)],Xid=BEA1-7DB913B4CB2B36D47CB7(1248714554),Status=Rolled back. [Reason=javax.transaction.SystemException: Timed out while in 'Logging' state],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=82,seconds left=60,XAServerResourceInfo[TWOraDS_fefx]=(ServerResourceInfo[TWOraDS_fefx]=(state=rolledback,assigned=FefxServer),xar=TWOraDS,re-Registered = false),XAServerResourceInfo[WLStore_fefx_FefxFileStore]=(ServerResourceInfo[WLStore_fefx_FefxFileStore]=(state=rolledback,assigned=FefxServer),xar=WLStore_fefx_FefxFileStore1032009487,re-Registered = false),SCInfo[fefx+FefxServer]=(state=rolledback),properties=({weblogic.transaction.name=[EJB com.citicorp.fx.credit.CreditServiceBean.askCreditQuery(com.citicorp.fx.credit.data.CreditQueryRequestData)]}),local properties=({weblogic.jdbc.jta.TWOraDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+, XAResources={WLStore_fefx_FefxFileStore, TWOraDS_fefx, WLStore_fefx__WLS_FefxServer, weblogic.jdbc.wrapper.JTSXAResourceImpl, WSATGatewayRM_FefxServer_fefx},NonXAResources={})],CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+): weblogic.transaction.RollbackException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1848)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:339)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
    at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:621)
    at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60)
    at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441)
    at com.citicorp.fx.credit.CreditService_6w08fk_EOImpl.askCreditQuery(CreditService_6w08fk_EOImpl.java:75)
    at com.citicorp.fx.client.creditquery.QueryProcessor.handleEvent(QueryProcessor.java:77)
    at org.jac.creation.ProcessorAction.handleEvent(ProcessorAction.java:64)
    at org.jac.runtime.AbstractAction.handleSecuredEvent(AbstractAction.java:73)
    at org.jac.runtime.StateImpl.handleEvent(StateImpl.java:66)
    at org.jac.runtime.ControllerImpl.handleEvent(ControllerImpl.java:123)
    at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:55)
    at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:78)
    at org.jac.creation.JacImpl.handleEvent(JacImpl.java:53)
    at org.jac.runtime.JACExecutor.handleEvent(JACExecutor.java:111)
    at org.jac.runtime.JACExecutor.handleEventBySessionID(JACExecutor.java:103)
    at org.jac.http.ControllerFilter.doFilter(ControllerFilter.java:63)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.citicorp.fx.util.compression.CompressionFilter.doFilter(CompressionFilter.java:189)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.citicorp.security.web.WebLogicSiteminderAuthenticationFilter.doFilter(WebLogicSiteminderAuthenticationFilter.java:65)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.transaction.SystemException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1797)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1609)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1885)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1519)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    ... 2 more
    .>
    ####<Aug 12, 2011 11:40:11 AM EDT> <Error> <EJB> <brzfxap1> <FefxServer> <[ACTIVE] ExecuteThread: '154' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1313163611119> <BEA-010026> <Exception occurred during commit of transaction Xid=BEA1-7DBB13B4CB2B36D47CB7(977835896),Status=Rolled back. [Reason=javax.transaction.SystemException: Timed out while in 'Logging' state],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=60,seconds left=60,XAServerResourceInfo[WLStore_fefx_FefxFileStore]=(ServerResourceInfo[WLStore_fefx_FefxFileStore]=(state=rolledback,assigned=FefxServer),xar=WLStore_fefx_FefxFileStore1032009487,re-Registered = false),XAServerResourceInfo[TWOraDS_fefx]=(ServerResourceInfo[TWOraDS_fefx]=(state=rolledback,assigned=FefxServer),xar=TWOraDS,re-Registered = false),SCInfo[fefx+FefxServer]=(state=rolledback),local properties=({weblogic.jdbc.jta.TWOraDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+, XAResources={WLStore_fefx_FefxFileStore, TWOraDS_fefx, WLStore_fefx__WLS_FefxServer, weblogic.jdbc.wrapper.JTSXAResourceImpl, WSATGatewayRM_FefxServer_fefx},NonXAResources={})],CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+): weblogic.transaction.RollbackException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1848)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:339)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:500)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.transaction.SystemException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1797)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1609)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1885)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1519)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    ... 3 more
    .>
    This is the stack trace of the thread that hangs while waiting for the lock to write in the transaction file:
    "[ACTIVE] ExecuteThread: '64' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x000000010dea3000 nid=0x1e2 in Object.wait() [0xfffffffda03ff000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at weblogic.transaction.internal.ServerTransactionImpl.log(ServerTransactionImpl.java:2005)
         - locked <0xfffffffe64964b30> (a weblogic.transaction.internal.ServerTransactionImpl)
         at weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTransactionImpl.java:2320)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:273)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:621)
         at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441)
         at com.citicorp.fx.credit.CreditService_6w08fk_EOImpl.askCreditQuery(CreditService_6w08fk_EOImpl.java:75)
         at com.citicorp.fx.client.creditquery.QueryProcessor.handleEvent(QueryProcessor.java:77)
         at org.jac.creation.ProcessorAction.handleEvent(ProcessorAction.java:64)
         at org.jac.runtime.AbstractAction.handleSecuredEvent(AbstractAction.java:73)
         at org.jac.runtime.StateImpl.handleEvent(StateImpl.java:66)
         at org.jac.runtime.ControllerImpl.handleEvent(ControllerImpl.java:123)
         at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:55)
         - locked <0xfffffffe0860e618> (a org.jac.session.SessionImpl)
         at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:78)
         - locked <0xfffffffe0860e618> (a org.jac.session.SessionImpl)
         at org.jac.creation.JacImpl.handleEvent(JacImpl.java:53)
         at org.jac.runtime.JACExecutor.handleEvent(JACExecutor.java:111)
         at org.jac.runtime.JACExecutor.handleEventBySessionID(JACExecutor.java:103)
         at org.jac.http.ControllerFilter.doFilter(ControllerFilter.java:63)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.citicorp.fx.util.compression.CompressionFilter.doFilter(CompressionFilter.java:189)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.citicorp.security.web.WebLogicSiteminderAuthenticationFilter.doFilter(WebLogicSiteminderAuthenticationFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: user8727499 on Aug 12, 2011 11:57 AM

    Hello, we have an OracleWeblogic 10.3.2 running on a Solaris OS.
    In this AppServer we have a FullStack J2EE Application executing distributed transactions that involve 3 manageable resources:
    TxDatasource (EJB),
    NonTxDatasource with enableTwoPhaseCommit and
    JMS
    Some of the transactions are timing out while in 'Logging' state and I just cant figure out what the root cause is. As a defensive action I lowered the JTA Timeout seconds because I noticed the 'Logging' phase was taking too long and then timing out. Idea here was not to have too many threads hanging in Logging state and therefore use the JTA Timeout to overcome this problem and minimize impact.
    Below, I'm posting a few exceptions thrown in applicaiton log. Any help is very appreciated.
    ####<Aug 12, 2011 11:40:11 AM EDT> <Error> <EJB> <brzfxap1> <FefxServer> <[ACTIVE] ExecuteThread: '175' for queue: 'weblogic.kernel.Default (self-tuning)'> <JG47515> <> <> <1313163611120> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB com.citicorp.fx.credit.CreditServiceBean.askCreditQuery(com.citicorp.fx.credit.data.CreditQueryRequestData)],Xid=BEA1-7DB913B4CB2B36D47CB7(1248714554),Status=Rolled back. [Reason=javax.transaction.SystemException: Timed out while in 'Logging' state],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=82,seconds left=60,XAServerResourceInfo[TWOraDS_fefx]=(ServerResourceInfo[TWOraDS_fefx]=(state=rolledback,assigned=FefxServer),xar=TWOraDS,re-Registered = false),XAServerResourceInfo[WLStore_fefx_FefxFileStore]=(ServerResourceInfo[WLStore_fefx_FefxFileStore]=(state=rolledback,assigned=FefxServer),xar=WLStore_fefx_FefxFileStore1032009487,re-Registered = false),SCInfo[fefx+FefxServer]=(state=rolledback),properties=({weblogic.transaction.name=[EJB com.citicorp.fx.credit.CreditServiceBean.askCreditQuery(com.citicorp.fx.credit.data.CreditQueryRequestData)]}),local properties=({weblogic.jdbc.jta.TWOraDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+, XAResources={WLStore_fefx_FefxFileStore, TWOraDS_fefx, WLStore_fefx__WLS_FefxServer, weblogic.jdbc.wrapper.JTSXAResourceImpl, WSATGatewayRM_FefxServer_fefx},NonXAResources={})],CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+): weblogic.transaction.RollbackException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1848)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:339)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
    at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:621)
    at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60)
    at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441)
    at com.citicorp.fx.credit.CreditService_6w08fk_EOImpl.askCreditQuery(CreditService_6w08fk_EOImpl.java:75)
    at com.citicorp.fx.client.creditquery.QueryProcessor.handleEvent(QueryProcessor.java:77)
    at org.jac.creation.ProcessorAction.handleEvent(ProcessorAction.java:64)
    at org.jac.runtime.AbstractAction.handleSecuredEvent(AbstractAction.java:73)
    at org.jac.runtime.StateImpl.handleEvent(StateImpl.java:66)
    at org.jac.runtime.ControllerImpl.handleEvent(ControllerImpl.java:123)
    at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:55)
    at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:78)
    at org.jac.creation.JacImpl.handleEvent(JacImpl.java:53)
    at org.jac.runtime.JACExecutor.handleEvent(JACExecutor.java:111)
    at org.jac.runtime.JACExecutor.handleEventBySessionID(JACExecutor.java:103)
    at org.jac.http.ControllerFilter.doFilter(ControllerFilter.java:63)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.citicorp.fx.util.compression.CompressionFilter.doFilter(CompressionFilter.java:189)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.citicorp.security.web.WebLogicSiteminderAuthenticationFilter.doFilter(WebLogicSiteminderAuthenticationFilter.java:65)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.transaction.SystemException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1797)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1609)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1885)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1519)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    ... 2 more
    .>
    ####<Aug 12, 2011 11:40:11 AM EDT> <Error> <EJB> <brzfxap1> <FefxServer> <[ACTIVE] ExecuteThread: '154' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1313163611119> <BEA-010026> <Exception occurred during commit of transaction Xid=BEA1-7DBB13B4CB2B36D47CB7(977835896),Status=Rolled back. [Reason=javax.transaction.SystemException: Timed out while in 'Logging' state],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=60,seconds left=60,XAServerResourceInfo[WLStore_fefx_FefxFileStore]=(ServerResourceInfo[WLStore_fefx_FefxFileStore]=(state=rolledback,assigned=FefxServer),xar=WLStore_fefx_FefxFileStore1032009487,re-Registered = false),XAServerResourceInfo[TWOraDS_fefx]=(ServerResourceInfo[TWOraDS_fefx]=(state=rolledback,assigned=FefxServer),xar=TWOraDS,re-Registered = false),SCInfo[fefx+FefxServer]=(state=rolledback),local properties=({weblogic.jdbc.jta.TWOraDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+, XAResources={WLStore_fefx_FefxFileStore, TWOraDS_fefx, WLStore_fefx__WLS_FefxServer, weblogic.jdbc.wrapper.JTSXAResourceImpl, WSATGatewayRM_FefxServer_fefx},NonXAResources={})],CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+): weblogic.transaction.RollbackException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1848)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:339)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:500)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.transaction.SystemException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1797)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1609)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1885)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1519)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    ... 3 more
    .>
    This is the stack trace of the thread that hangs while waiting for the lock to write in the transaction file:
    "[ACTIVE] ExecuteThread: '64' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x000000010dea3000 nid=0x1e2 in Object.wait() [0xfffffffda03ff000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at weblogic.transaction.internal.ServerTransactionImpl.log(ServerTransactionImpl.java:2005)
         - locked <0xfffffffe64964b30> (a weblogic.transaction.internal.ServerTransactionImpl)
         at weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTransactionImpl.java:2320)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:273)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:621)
         at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441)
         at com.citicorp.fx.credit.CreditService_6w08fk_EOImpl.askCreditQuery(CreditService_6w08fk_EOImpl.java:75)
         at com.citicorp.fx.client.creditquery.QueryProcessor.handleEvent(QueryProcessor.java:77)
         at org.jac.creation.ProcessorAction.handleEvent(ProcessorAction.java:64)
         at org.jac.runtime.AbstractAction.handleSecuredEvent(AbstractAction.java:73)
         at org.jac.runtime.StateImpl.handleEvent(StateImpl.java:66)
         at org.jac.runtime.ControllerImpl.handleEvent(ControllerImpl.java:123)
         at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:55)
         - locked <0xfffffffe0860e618> (a org.jac.session.SessionImpl)
         at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:78)
         - locked <0xfffffffe0860e618> (a org.jac.session.SessionImpl)
         at org.jac.creation.JacImpl.handleEvent(JacImpl.java:53)
         at org.jac.runtime.JACExecutor.handleEvent(JACExecutor.java:111)
         at org.jac.runtime.JACExecutor.handleEventBySessionID(JACExecutor.java:103)
         at org.jac.http.ControllerFilter.doFilter(ControllerFilter.java:63)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.citicorp.fx.util.compression.CompressionFilter.doFilter(CompressionFilter.java:189)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.citicorp.security.web.WebLogicSiteminderAuthenticationFilter.doFilter(WebLogicSiteminderAuthenticationFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: user8727499 on Aug 12, 2011 11:57 AM

  • Exceptions  - javax.transaction.HeuristicMixedException In Logs

    Using Oracle BPM 10.3 MP2 Enterprise Edition
    Version: 10.3.2
    Build: #100874.
    This exception is coming up in weblogic console logs.
    ####<Apr 29, 2011 8:14:52 AM CDT> <Error> <JTA> <fada1wap29> <BPM-CNM29> <BPM Directory Polling> <<anonymous>> <BEA1-1E6FEB3B248E3819C483> <> <1304082892584> <BEA-110412> <Xid=BEA1-1E6FEB3B248E3819C483(215626675),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=120,activeThread=Thread[BPM Directory Polling,5,Pooled Threads],XAServerResourceInfo[aqualogicCNM-JDBCDataSource]=(ServerResourceInfo[aqualogicCNM-JDBCDataSource]=(state=committed,assigned=BPM-CNM29),xar=aqualogicCNM-JDBCDataSource,re-Registered = false),SCInfo[bpmXprod+BPM-CNM29]=(state=committed),properties=({}),local properties=({weblogic.jdbc.jta.aqualogicCNM-JDBCDataSource=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=BPM-CNM29+10.128.245.238:7001+bpmXprod+t3+, XAResources={WLStore_bpmXprod__WLS_BPM-CNM29, aqualogicCNM-JDBCDataSource, weblogic.jdbc.wrapper.JTSXAResourceImpl, engineCNM-JDBCDataSource},NonXAResources={})],CoordinatorURL=BPM-CNM29+10.128.245.238:7001+bpmXprod+t3+) completed heuristically: (aqualogicCNM-JDBCDataSource, HeuristicHazard, ()) >
    ####<Apr 29, 2011 8:14:52 AM CDT> <Info> <EJB> <fada1wap29> <BPM-CNM29> <BPM Directory Polling> <<anonymous>> <> <> <1304082892588> <BEA-010227> <EJB Exception occurred during invocation from home or business: fuego.ejbengine.ejb.engine_startup_enginecnm_mjkqiy_LocalHomeImpl@11241739 threw exception: fuego.server.exception.EngineRuntimeException: Server runtime exception. An error has occurred during the commit. Details : [Caused by 1 exceptions:
    javax.transaction.HeuristicMixedException: (aqualogicCNM-JDBCDataSource, HeuristicHazard, ())
        at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:302)
        at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:230)
        at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:283)
        at weblogic.ejb.container.internal.usertransactioncheck.BaseUserTransactionProxy.commit(BaseUserTransactionProxy.java:28)
        at fuego.connector.impl.J2EETransactionCoordinator.commit(J2EETransactionCoordinator.java:55)
        at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:413)
        at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
        at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
        at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
        at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
        at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
        at fuego.server.execution.DefaultEngineExecution.executeAutomaticWork(DefaultEngineExecution.java:62)
        at fuego.server.execution.EngineExecution.executeAutomaticWork(EngineExecution.java:42)
        at fuego.ejbengine.ejb.EngineStartupBean.executeItem(EngineStartupBean.java:189)
        at fuego.ejbengine.ejb.EngineStartupBean.updateFromDirectory(EngineStartupBean.java:169)
        at fuego.ejbengine.ejb.engine_startup_enginecnm_mjkqiy_ELOImpl.updateFromDirectory(engine_startup_enginecnm_mjkqiy_ELOImpl.java:365)
        at fuego.ejbengine.servlet.DirectoryPollingServlet$DirectoryPollingTask.runImpl(DirectoryPollingServlet.java:43)
        at fuego.ejbengine.servlet.AbstractSchedulerServlet$ScheduledTask.run(AbstractSchedulerServlet.java:199)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
    And also
    weblogic.transaction.RollbackException: Could not prepare resource 'aqualogicCNM-JDBCDataSource
    [BEA][Oracle JDBC Driver]Oracle XA Error Occurred. Native Error: 24756
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1818)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:336)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:230)
    at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:283)
    at weblogic.ejb.container.internal.usertransactioncheck.BaseUserTransactionProxy.commit(BaseUserTransactionProxy.java:28)
    at fuego.connector.impl.J2EETransactionCoordinator.commit(J2EETransactionCoordinator.java:55)
    at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:413)
    at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
    at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
    at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
    at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
    at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
    at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:79)
    at fuego.server.execution.DefaultEngineExecution.executeWithoutComponentImmediate(DefaultEngineExecution.java:185)
    at fuego.server.execution.EngineExecution.executeWithoutComponentImmediate(EngineExecution.java:86)
    at fuego.server.AbstractSecureEngineImpl.getBookmarks(AbstractSecureEngineImpl.java:75)
    at fuego.ejbengine.EJBSecureEngineAdapter.getBookmarks(EJBSecureEngineAdapter.java:98)
    at fuego.ejbengine.engine_enginecnm_ljzdng_EOImpl.getBookmarks(engine_enginecnm_ljzdng_EOImpl.java:1176)
    at fuego.ejbengine.engine_enginecnm_ljzdng_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA Error Occurred. Native Error: 24756
    at weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
    at weblogic.jdbcx.oracle.OracleImplXAResource.prepare(Unknown Source)
    at weblogic.jdbcx.base.BaseXAResource.prepare(Unknown Source)
    at weblogic.jdbc.jta.DataSource.prepare(DataSource.java:867)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:1277)
    at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:500)
    at weblogic.transaction.internal.ServerSCInfo.startPrepare(ServerSCInfo.java:380)
    at weblogic.transaction.internal.ServerTransactionImpl.localPrepare(ServerTransactionImpl.java:2581)
    at weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTransactionImpl.java:2228)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:270)
    ... 25 more
    <Apr 29, 2011 8:28:11 AM CDT> <Warning> <JTA> <BEA-110486> <Transaction BEA1-4C1D5A1A76393819C483 cannot complete commit processing because resource [weblogic.jdbc.wrapper.JTSXAResourceImpl] is unavailable. The transaction will be abandoned after 78,152 seconds unless all resources acknowledge the commit decision.>
    Any one faced similar issue

    Hi Tim,
    I remember that one from writing a 2pc tx manager ... I don't know when it
    happens in WL but it usually occurs in a tx manager when a series of
    resources are being committed successfully and then one fails (although it
    was already prepared for commit) so the manager has to figure out
    "heuristically" what to do with the remaining prepared resources -- should
    it commit or roll back -- and then it has to report that some were both
    (i.e. "mixed").
    Are you using 2pc ... multiple resources ... etc.?
    Peace,
    Cameron Purdy
    Tangosol Inc.
    << Tangosol Server: How Weblogic applications are customized >>
    << Download now from http://www.tangosol.com/download.jsp >>
    "Tim Ozor" <[email protected]> wrote in message
    news:3c079160$[email protected]..
    We are seeing the following exception very sporadically with WL6.1. I am
    curious as to whether anybody could provide any useful information that
    would aid in our debug.
    Thanks.
    Tim Ozor ([email protected])
    javax.transaction.HeuristicMixedException
    at
    weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTra
    nsactionImpl.java:237)
    at
    weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
    Impl.java:190)
    at
    weblogic.transaction.internal.CoordinatorImpl.commit(CoordinatorImpl.java:68
    at
    weblogic.transaction.internal.CoordinatorImpl_WLSkel.invoke(UnknownSource)
    at
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:296)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:265)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:2
    2)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    End server side stack trace

  • WLS 10.3.2 :: JMS javax.transaction.xa.XAException ArrayIndexOutOfBoundsExc

    Hi All,
    We have migrated from WLS 9.2 to WLS 10.3.2.
    We have messaging bridge which is configured to send messages from a weblogic cluster having 3 managed servers to IBM MQ V 7 queue.
    However the messaging bridge is failing with the exception with a huge trace as mentioned below:
    ####<Jun 2, 2010 11:35:51 AM EDT> <Debug> <MessagingBridgeRuntimeVerbose> <snjcprdcriba02> <citmqgatewayserver2> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-0002269D8ED345D237A5> <> <1275492951488> <BEA-000000> <Exception:
    weblogic.jms.common.JMSException: weblogic.messaging.kernel.KernelException: Error enlisting GXA transaction
    at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
    at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncTran(DispatcherAdapter.java:53)
    at weblogic.jms.client.JMSProducer.toFEProducer(JMSProducer.java:1272)
    at weblogic.jms.bridge.internal.MessagingBridge.processMessages(MessagingBridge.java:1457)
    at weblogic.jms.bridge.internal.MessagingBridge.beginForwarding(MessagingBridge.java:1002)
    at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1079)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.jms.common.JMSException: weblogic.messaging.kernel.KernelException: Error enlisting GXA transaction
    at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:1070)
    at weblogic.messaging.dispatcher.DispatcherServerRef.invoke(DispatcherServerRef.java:276)
    at weblogic.messaging.dispatcher.DispatcherServerRef.handleRequest(DispatcherServerRef.java:141)
    at weblogic.messaging.dispatcher.DispatcherServerRef.access$000(DispatcherServerRef.java:34)
    at weblogic.messaging.dispatcher.DispatcherServerRef$2.run(DispatcherServerRef.java:111)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.jms.common.JMSException: weblogic.messaging.kernel.KernelException: Error enlisting GXA transaction
    at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
    at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
    at weblogic.jms.frontend.FEProducer.sendRetryDestination(FEProducer.java:1045)
    Caused By: weblogic.jms.common.JMSException: weblogic.messaging.kernel.KernelException: Error enlisting GXA transaction
    at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
    at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
    at weblogic.messaging.dispatcher.DispatcherServerRef.access$000(DispatcherServerRef.java:34)
    at weblogic.messaging.dispatcher.DispatcherServerRef$2.run(DispatcherServerRef.java:111)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.jms.common.JMSException: weblogic.messaging.kernel.KernelException: Error enlisting GXA transaction
    at weblogic.jms.backend.BEDestinationImpl.sendIssueMessage(BEDestinationImpl.java:1923)
    at weblogic.jms.backend.BEDestinationImpl.send(BEDestinationImpl.java:2111)
    at weblogic.jms.backend.BEDestinationImpl.wrappedSend(BEDestinationImpl.java:2054)
    at weblogic.messaging.dispatcher.DispatcherServerRef$2.run(DispatcherServerRef.java:111)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.messaging.kernel.KernelException: Error enlisting GXA transaction
    at weblogic.messaging.kernel.internal.KernelImpl.getGXATransaction(KernelImpl.java:538)
    at weblogic.messaging.kernel.internal.QueueImpl.send(QueueImpl.java:316)
    at weblogic.jms.backend.BEDestinationImpl.sendIssueMessage(BEDestinationImpl.java:1876)
    at weblogic.messaging.dispatcher.DispatcherServerRef$2.run(DispatcherServerRef.java:111)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.store.gxa.GXAException: Transaction already rolled back, or the transaction manager has timed out this resource.
    at weblogic.store.gxa.internal.GXAResourceImpl.enlist(GXAResourceImpl.java:523)
    at weblogic.messaging.kernel.internal.KernelImpl.getGXATransaction(KernelImpl.java:536)
    at weblogic.messaging.kernel.internal.QueueImpl.send(QueueImpl.java:316)
    at weblogic.jms.backend.BEDestinationImpl.sendIssueMessage(BEDestinationImpl.java:1876)
    at weblogic.jms.backend.BEDestinationImpl.send(BEDestinationImpl.java:2111)
    at weblogic.jms.backend.BEDestinationImpl.wrappedSend(BEDestinationImpl.java:2054)
    at weblogic.jms.backend.BEDestinationImpl.invoke(BEDestinationImpl.java:1542)
    at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:961)
    at weblogic.messaging.dispatcher.DispatcherImpl.dispatchAsyncInternal(DispatcherImpl.java:139)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: weblogic.transaction.RollbackException: Tx marked rollback due to unexpected internal exception
    start() failed on resource 'eis/jms/WLSConnectionFactoryJNDIXA': XAER_RMERR : A resource manager error has occured in the transaction branch
    javax.transaction.xa.XAException: Unexpected Exception for XAResource 'eis/jms/WLSConnectionFactoryJNDIXA':0java.lang.ArrayIndexOutOfBoundsException: 0
    at weblogic.connector.outbound.ConnectionPool.findXATxConnectionHandler(ConnectionPool.java:2079)
    at weblogic.connector.transaction.outbound.RecoveryOnlyXAWrapper.useXAResourceFromPool(RecoveryOnlyXAWrapper.java:404)
    at weblogic.connector.transaction.outbound.RecoveryOnlyXAWrapper.validate(RecoveryOnlyXAWrapper.java:384)
    at weblogic.connector.transaction.outbound.XAWrapper.start(XAWrapper.java:472)
    at weblogic.connector.transaction.outbound.RecoveryOnlyXAWrapper.start(RecoveryOnlyXAWrapper.java:32)
    at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1201)
    at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1134)
    at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:275)
    at weblogic.transaction.internal.XAServerResourceInfo.enlistIfStatic(XAServerResourceInfo.java:174)
    at weblogic.transaction.internal.ServerTransactionImpl.enlistStaticallyEnlistedResources(ServerTransactionImpl.java:1574)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.dispatchRequest(ServerTransactionManagerImpl.java:571)
    at weblogic.messaging.dispatcher.DispatcherServerRef.handleRequest(DispatcherServerRef.java:132)
    at weblogic.messaging.dispatcher.DispatcherServerRef.access$000(DispatcherServerRef.java:34)
    at weblogic.messaging.dispatcher.DispatcherServerRef$2.run(DispatcherServerRef.java:111)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at weblogic.connector.outbound.ConnectionPool.findXATxConnectionHandler(ConnectionPool.java:2079)
    at weblogic.connector.transaction.outbound.RecoveryOnlyXAWrapper.useXAResourceFromPool(RecoveryOnlyXAWrapper.java:404)
    at weblogic.connector.transaction.outbound.RecoveryOnlyXAWrapper.validate(RecoveryOnlyXAWrapper.java:384)
    at weblogic.connector.transaction.outbound.XAWrapper.start(XAWrapper.java:472)
    at weblogic.connector.transaction.outbound.RecoveryOnlyXAWrapper.start(RecoveryOnlyXAWrapper.java:32)
    at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1201)
    Any pointers to address this issue would be helpful.
    Thanks in advance.

    The key exception seems to be an "ArrayIndexOutOfBounds" exception in the adapter code:
    Caused By: weblogic.transaction.RollbackException: Tx marked rollback due to unexpected internal exception start() failed on resource 'eis/jms/WLSConnectionFactoryJNDIXA': XAER_RMERR : A resource manager error has occured in the transaction branch
    javax.transaction.xa.XAException: Unexpected Exception for XAResource 'eis/jms/WLSConnectionFactoryJNDIXA':0java.lang.ArrayIndexOutOfBoundsException: 0
    at weblogic.connector.outbound.ConnectionPool.findXATxConnectionHandler(ConnectionPool.java:2079)An array-index-out-of-bounds exception is normally not expected or handled, and could be a sign of a Bug in the WebLogic. My only other guess is that the upgraded domain is somehow referencing an adapter from the original domain -- a configuration that's not supported.
    To see if you can get a working bridge, perhaps try creating an XA capable bridge from scratch. The console should guide you through most of the steps, and you can reference your old configuration for the MQ specific URL, JNDI context factory, connection factory, and dest values...
    Hope this helps,
    Tom

  • 'Error occurred when deleting master data (RSDMD118)'

    Helo Gurus,
    When I tried to delete master data prior to the reload, its giving an error message 'Error occurred when deleting master data'. RSDMD 118.
    We are currently working in BW 3.1. We checked for SAP notes for the same. But not Able to find any. So please help me to sort it out the problem as early as possible.

    Hi Mathew,
    Are you sure that those master data are not used in any infoproviders? As far as I know you cannot delete master data if that is used in infocubes or DSOs.
    You can also try transaction SLG1 with:
       Object = RSDMD
       Subobject = MD_DEL
    and click on "Execute", this might give you the reason why data cannot be deleted.
    Regards,
    Csaba

  • Javax.transaction.SystemException: Exceeded maximum allowed transactions on

    Hi,
    I receive the following error when restarting weblogic server instance. Same error occurs when re-deploying the package.
    I had previously deployed this package OK. Nothing has changed for the jar file it is complaining about.
    I have restarted all java processes and even had the unix server restarted, however the same error comes up. I have no idea what to do.
    Currently I have no application deployed as it fails every time. Nobody I know has seen this error or knows how to recover.
    Please help!
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application NBAPP_1_10_2B on nbste_cluster.: weblogic.management.DeploymentException:
    <b>Exception:weblogic.management.ApplicationException: activate failed for mca-ejbs.jar
    Module: mca-ejbs.jar Error: Exception activating module: EJBModule(mca-ejbs.jar,status=PREPARED)
    Unable to deploy EJB: eontec.bankframe.TransactionMetaData from mca-ejbs.jar:
    [EJB:011007]Unable to create EJB Persistence Manager.
    javax.transaction.SystemException: Exceeded maximum allowed transactions on server 'nbste_app1b_1'</b>
    at weblogic.transaction.internal.ServerTransactionManagerImpl.createTransaction(ServerTransactionManagerImpl.java:1395)
    at weblogic.transaction.internal.TransactionManagerImpl.internalBegin(TransactionManagerImpl.java:248)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.internalBegin(ServerTransactionManagerImpl.java:303)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.begin(ServerTransactionManagerImpl.java:259)
    at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:248)
    at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:210)
    at weblogic.ejb20.manager.DBManager.setup(DBManager.java:162)
    at weblogic.ejb20.manager.ROManager.setup(ROManager.java:109)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1057)
    at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1362)
    at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:631)
    at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3274)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2173)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2146)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2434)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2352)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2136)
    at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:676)
    at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application NBAPP_1_10_2B on nbste_cluster.: weblogic.management.DeploymentException:
    Exception:weblogic.management.ApplicationException: activate failed for mca-ejbs.jar
    Module: mca-ejbs.jar Error: Exception activating module: EJBModule(mca-ejbs.jar,status=PREPARED)
    Unable to deploy EJB: eontec.bankframe.TransactionMetaData from mca-ejbs.jar:
    [EJB:011007]Unable to create EJB Persistence Manager.
    javax.transaction.SystemException: Exceeded maximum allowed transactions on server 'nbste_app1b_2'
    at weblogic.transaction.internal.ServerTransactionManagerImpl.createTransaction(ServerTransactionManagerImpl.java:1395)
    at weblogic.transaction.internal.TransactionManagerImpl.internalBegin(TransactionManagerImpl.java:248)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.internalBegin(ServerTransactionManagerImpl.java:303)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.begin(ServerTransactionManagerImpl.java:259)
    at weblogic.ejb20.manager.BaseEntityManager.setupPM(BaseEntityManager.java:248)
    at weblogic.ejb20.manager.BaseEntityManager.setup(BaseEntityManager.java:210)
    at weblogic.ejb20.manager.DBManager.setup(DBManager.java:162)
    at weblogic.ejb20.manager.ROManager.setup(ROManager.java:109)
    at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1057)
    at weblogic.ejb20.deployer.EJBDeployer.activate(EJBDeployer.java:1362)
    at weblogic.ejb20.deployer.EJBModule.activate(EJBModule.java:631)
    at weblogic.j2ee.J2EEApplicationContainer.activateModule(J2EEApplicationContainer.java:3274)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2173)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2146)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2434)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2352)
    at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2136)
    at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:676)
    at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)<pre></pre><pre></pre>

    Hi All,
    I am facing similar problem whne I try to deploy my Web part of the Application. I have JAR'ed the EJB's and that seems to get deployed properly only the web part is not getting loaded.
    The following is the error message:
    Exception:weblogic.management.ApplicationException: prepare failed for myWebApp
    Module: annaweb Error: Could not load myWebApp: java.lang.NullPointerException
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2467)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2379)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    --------------- nested within: ------------------
    weblogic.management.ManagementException: - with nested exception:
    [weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for myWebApp
    Module: annaweb Error: Could not load myWebApp: java.lang.NullPointerException
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2396)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Have anyone faced similar problems, please let me know about the solution or suggestions.
    Thanks in Advance.
    - Jayashree
    Edited by jayashree_kumar at 01/17/2007 10:09 AM

  • Weblogic.transaction.RollbackException - Could not prepare resource

    Hi All,
    My WLI application transfers data from CrossAccess to Oracle. Once the record is inserted in the Oracle database. A record in another oracle database is updated.
    I am using a session bean to perform this task. With in SessionBean I am using UserTransaction. Once all the data is transfered from CrossAccess to Oracle database, I am commiting the user transaction.
    While commiting the user transaction I am getting the following Exception. The exception occurs very rarely. Once the server is bounced everything works fine.
    The Application server is Weblogic Integeration8.1 SP4 and database is Oralce 9.
    oracle.jdbc.xa.OracleXAException
         at oracle.jdbc.xa.client.OracleXAResource.prepare(Ljavax.transaction.xa.Xid; )I(OracleXAResource.java:558)
         at weblogic.jdbc.wrapper.VendorXAResource.prepare(Ljavax.transaction.xa.Xid; )I(VendorXAResource.java:70)
         at weblogic.jdbc.jta.DataSource.prepare(Ljavax.transaction.xa.Xid; )I(DataSource.java:890)
         at weblogic.transaction.internal.XAServerResourceInfo.prepare(Lweblogic.transaction.internal.ServerTransactionImpl;Ljavax.transaction.xa.Xid; )I(XAServerResourceInfo.java:1234)
         at weblogic.transaction.internal.XAServerResourceInfo.prepare(Lweblogic.transaction.internal.ServerTransactionImpl; )I(XAServerResourceInfo.java:441)
         at weblogic.transaction.internal.ServerSCInfo$1.execute(Lweblogic.kernel.ExecuteThread; )V(ServerSCInfo.java:253)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest; )V(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
         at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread; )V(Unknown Source)
    --------------- nested within: ------------------
    weblogic.transaction.RollbackException: Could not prepare resource 'weblogic.jdbc.jta.DataSource - with nested exception:
    [oracle.jdbc.xa.OracleXAException]
         at weblogic.transaction.internal.TransactionImpl.throwRollbackException()V(TransactionImpl.java:1683)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit()V(ServerTransactionImpl.java:325)
         at weblogic.transaction.internal.ServerTransactionImpl.commit()V(ServerTransactionImpl.java:246)
         at weblogic.transaction.internal.TransactionManagerImpl.commit()V(TransactionManagerImpl.java:303)
         at com.xyz.inventory.dcreceipts.ejb.DCReceiptsGOLDBean.perform(Lcom.xyz.integration.framework.TypedMap; )V(DCReceiptsGOLDBean.java:1072)
         at com.xyz.inventory.dcreceipts.ejb.DCReceiptsGOLDBean_zf5z70_EOImpl.perform(Lcom.xyz.integration.framework.TypedMap; )V(DCReceiptsGOLDBean_zf5z70_EOImpl.java:46)
         at com.xyz.inventory.dcreceipts.process.DCReceiptsProcess.perform()V(DCReceiptsProcess.jpd:442)
         at com.xyz.inventory.dcreceipts.process.DCReceiptsProcess_wf$ImplPerform6.invoke(Lcom.bea.wli.bpm.runtime.ProcessState; )V(DCReceiptsProcess_wf.java:68)
         at com.bea.wli.bpm.runtime.Perform.execute(Lcom.bea.wli.bpm.runtime.ProcessState; )Lcom.bea.wli.bpm.runtime.Activity;(Perform.java:32)
         at com.bea.wli.bpm.runtime.Receive.messageDelivery(Lcom.bea.wli.bpm.runtime.ProcessState;[Ljava.lang.Object; )Ljava.lang.Object;(Receive.java:91)
         at com.bea.wli.bpm.runtime.Receive.messageDeliveryAction(Lcom.bea.wli.bpm.runtime.ProcessState;[Ljava.lang.Object; )Ljava.lang.Object;(Receive.java:71)
         at com.bea.wli.bpm.runtime.ProcessState.processMessage(I[Ljava.lang.Object;Z)Ljava.lang.Object;(ProcessState.java:166)
         at com.xyz.inventory.dcreceipts.process.DCReceiptsProcess_wf$_ProcessState.processMessage(I[Ljava.lang.Object;Z)Ljava.lang.Object;(DCReceiptsProcess_wf.java:204)
         at com.xyz.inventory.dcreceipts.process.DCReceiptsProcess_wf.subscription(Ljava.lang.String; )V(DCReceiptsProcess_wf.java:184)
         at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object; )Ljava.lang.Object;(Unknown Source)
         at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object; )Ljava.lang.Object;(Unknown Source)
         at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object; )Ljava.lang.Object;(Unknown Source)
         at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
         at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(Ljava.lang.Object;[Ljava.lang.Object; )Ljava.lang.Object;(DispMethod.java:371)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Ljava.lang.Object;Ljava.lang.String;Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object; )Ljava.lang.Object;(Invocable.java:423)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object; )Ljava.lang.Object;(Invocable.java:396)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(Invocable.java:248)
         at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(BaseContainerBean.java:224)
         at com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(SLSBContainerBean.java:103)
         at com.bea.wlwgen.DCReceiptsProcessSLSBContImpl.subscription(Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(DCReceiptsProcessSLSBContImpl.java:25)
         at com.bea.wlwgen.StatelessContainer_nj08aw_ELOImpl.subscription(Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(StatelessContainer_nj08aw_ELOImpl.java:99)
         at com.bea.wlwgen.DCReceiptsProcessSLSBContAdpt.invokeOnBean(Ljava.lang.Object;Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(DCReceiptsProcessSLSBContAdpt.java:53)
         at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.request.Response;(BaseDispatcherBean.java:153)
         at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.run()Ljava.lang.Object;(BaseDispatcherBean.java:85)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedExceptionAction; )Ljava.lang.Object;(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedExceptionAction; )Ljava.lang.Object;(SecurityManager.java:147)
         at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.request.Response;(BaseDispatcherBean.java:50)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Satish Chandra wrote:
    Hi All,
    My WLI application transfers data from CrossAccess to Oracle. Once the record is inserted in the Oracle database. A record in another oracle database is updated.
    I am using a session bean to perform this task. With in SessionBean I am using UserTransaction. Once all the data is transfered from CrossAccess to Oracle database, I am commiting the user transaction.
    While commiting the user transaction I am getting the following Exception. The exception occurs very rarely. Once the server is bounced everything works fine.
    The Application server is Weblogic Integeration8.1 SP4 and database is Oralce 9.
    oracle.jdbc.xa.OracleXAException
         at oracle.jdbc.xa.client.OracleXAResource.prepare(Ljavax.transaction.xa.Xid; )I(OracleXAResource.java:558)Hi. This would involve a few steps to debug. I recommend you open
    an official support case to get orchestrated official support.
    Joe
         at weblogic.jdbc.wrapper.VendorXAResource.prepare(Ljavax.transaction.xa.Xid; )I(VendorXAResource.java:70)
         at weblogic.jdbc.jta.DataSource.prepare(Ljavax.transaction.xa.Xid; )I(DataSource.java:890)
         at weblogic.transaction.internal.XAServerResourceInfo.prepare(Lweblogic.transaction.internal.ServerTransactionImpl;Ljavax.transaction.xa.Xid; )I(XAServerResourceInfo.java:1234)
         at weblogic.transaction.internal.XAServerResourceInfo.prepare(Lweblogic.transaction.internal.ServerTransactionImpl; )I(XAServerResourceInfo.java:441)
         at weblogic.transaction.internal.ServerSCInfo$1.execute(Lweblogic.kernel.ExecuteThread; )V(ServerSCInfo.java:253)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest; )V(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
         at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread; )V(Unknown Source)
    --------------- nested within: ------------------
    weblogic.transaction.RollbackException: Could not prepare resource 'weblogic.jdbc.jta.DataSource - with nested exception:
    [oracle.jdbc.xa.OracleXAException]
         at weblogic.transaction.internal.TransactionImpl.throwRollbackException()V(TransactionImpl.java:1683)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit()V(ServerTransactionImpl.java:325)
         at weblogic.transaction.internal.ServerTransactionImpl.commit()V(ServerTransactionImpl.java:246)
         at weblogic.transaction.internal.TransactionManagerImpl.commit()V(TransactionManagerImpl.java:303)
         at com.xyz.inventory.dcreceipts.ejb.DCReceiptsGOLDBean.perform(Lcom.xyz.integration.framework.TypedMap; )V(DCReceiptsGOLDBean.java:1072)
         at com.xyz.inventory.dcreceipts.ejb.DCReceiptsGOLDBean_zf5z70_EOImpl.perform(Lcom.xyz.integration.framework.TypedMap; )V(DCReceiptsGOLDBean_zf5z70_EOImpl.java:46)
         at com.xyz.inventory.dcreceipts.process.DCReceiptsProcess.perform()V(DCReceiptsProcess.jpd:442)
         at com.xyz.inventory.dcreceipts.process.DCReceiptsProcess_wf$ImplPerform6.invoke(Lcom.bea.wli.bpm.runtime.ProcessState; )V(DCReceiptsProcess_wf.java:68)
         at com.bea.wli.bpm.runtime.Perform.execute(Lcom.bea.wli.bpm.runtime.ProcessState; )Lcom.bea.wli.bpm.runtime.Activity;(Perform.java:32)
         at com.bea.wli.bpm.runtime.Receive.messageDelivery(Lcom.bea.wli.bpm.runtime.ProcessState;[Ljava.lang.Object; )Ljava.lang.Object;(Receive.java:91)
         at com.bea.wli.bpm.runtime.Receive.messageDeliveryAction(Lcom.bea.wli.bpm.runtime.ProcessState;[Ljava.lang.Object; )Ljava.lang.Object;(Receive.java:71)
         at com.bea.wli.bpm.runtime.ProcessState.processMessage(I[Ljava.lang.Object;Z)Ljava.lang.Object;(ProcessState.java:166)
         at com.xyz.inventory.dcreceipts.process.DCReceiptsProcess_wf$_ProcessState.processMessage(I[Ljava.lang.Object;Z)Ljava.lang.Object;(DCReceiptsProcess_wf.java:204)
         at com.xyz.inventory.dcreceipts.process.DCReceiptsProcess_wf.subscription(Ljava.lang.String; )V(DCReceiptsProcess_wf.java:184)
         at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object; )Ljava.lang.Object;(Unknown Source)
         at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object; )Ljava.lang.Object;(Unknown Source)
         at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object; )Ljava.lang.Object;(Unknown Source)
         at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
         at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(Ljava.lang.Object;[Ljava.lang.Object; )Ljava.lang.Object;(DispMethod.java:371)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Ljava.lang.Object;Ljava.lang.String;Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object; )Ljava.lang.Object;(Invocable.java:423)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runtime.core.dispatcher.DispMethod;[Ljava.lang.Object; )Ljava.lang.Object;(Invocable.java:396)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(Invocable.java:248)
         at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(BaseContainerBean.java:224)
         at com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(SLSBContainerBean.java:103)
         at com.bea.wlwgen.DCReceiptsProcessSLSBContImpl.subscription(Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(DCReceiptsProcessSLSBContImpl.java:25)
         at com.bea.wlwgen.StatelessContainer_nj08aw_ELOImpl.subscription(Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(StatelessContainer_nj08aw_ELOImpl.java:99)
         at com.bea.wlwgen.DCReceiptsProcessSLSBContAdpt.invokeOnBean(Ljava.lang.Object;Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.dispatcher.InvokeResult;(DCReceiptsProcessSLSBContAdpt.java:53)
         at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.request.Response;(BaseDispatcherBean.java:153)
         at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.run()Ljava.lang.Object;(BaseDispatcherBean.java:85)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedExceptionAction; )Ljava.lang.Object;(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedExceptionAction; )Ljava.lang.Object;(SecurityManager.java:147)
         at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(Lcom.bea.wlw.runtime.core.request.Request; )Lcom.bea.wlw.runtime.core.request.Response;(BaseDispatcherBean.java:50)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Weblogic.transaction.RollbackException:

    Hi All,
    We are using a JMS bridge in our senario.The Flow is as follows. Message is been posted in a queue(JMS Queue)
    and the host Queue recevies thye message from there it is configured with a bridge where it is targeted to different weblogic server's Queue and whlie transfering the messege from one Queue to the romote queue we are getting error.
    The connection between the Queue through bridge is established but after some time we are getting the above error
    FYI
    ####<Dec 3, 2008 1:31:48 PM GMT> <Debug> <MessagingBridge> <DSK-PNQ-900617> <RefCgServer> <ExecuteThread: '8' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-200006> <Messaging bridge debugging RUNTIME! Bridge MB.REF_TO_RG1 Successfully got connection to the source destination.>
    We are facing the following error:-
    javax.transaction.xa.XAException
    javax.transaction.xa.XAException
         at weblogic.jms.backend.BEXAResource.prepare(BEXAResource.java:903)
         at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:1234)
         at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerResourceInfo.java:441)
         at weblogic.transaction.internal.ServerSCInfo$1.execute(ServerSCInfo.java:253)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Bridge "MB.REF_TO_RG1" encountered some problems in one of its adapters or underlying systems. It stopped transferring messages and will try to reconnect to the adapters shortly. (The exception caught was weblogic.transaction.RollbackException: Could not prepare resource 'JMS_cgJMSStore - with nested exception:
    [javax.transaction.xa.XAException].)>
    Please help.
    Regards
    Rakesh

    Hi Rakesh,
    You may have better luck if you post to the "WebLogic Server - General" forum?
    WebLogic Server - General

Maybe you are looking for

  • Canon Scan to Folder (Server 2008 R2) suddenly doesnt work

    Canon Scan to Folder (Server 2008 R2) suddenly doesnt work We have a few Canon Multi Functionals who have been able to Scan to Folder to our Server 2008 R2 File Server. Since last Windows Updates(13 sep 2012) it doesnt work anymore... Nothing has cha

  • BAM server crash

    BAM server crash with the following error. Exception: oracle.bam.adc.common.exceptions.CacheException: BAM-01247: An invalid transaction type sequence exists in the transaction map. What does this mean? Thanks

  • Displaying chinese character through Forms

    Database 10.2.0.2.0 10g Application sever Jinitiator 1.3.1.22 Server is UNIX AIX version 5.3 Client is XP I've got a requirement to enable Chinese characters to be displayed through an Oracle form and most likely entered. The Characterset sets for th

  • 17inch Studio Display - What Cable to connect to Mac Pro?

    Hi Folks: I just got a Mac Pro with a 23" cinema display, and an ATI X-1900 card, but I also have a 17inch Studio Display that I was using with a G5. Which cable adapter do I need to connect the 17inch display to the Mac Pro as a second monitor?

  • Firmware Version 1.0.2 - Need Assistance

    Hi ALL, OK, I do believe a trip to the Apple Store is needed, please advise.. For the last couple of days, I have been getting the hang of using this great product and while doing so, have noticed it getting rather warm. Today after about 45 minutes