Exception: Can't call commit when autocommit=true

Hello,
I'm trying to use WebLogic 7.0 with MySQL 3.23.49 and MySQL Connector/J JDBC driver
2.0.14. Everything has been working just fine but now I keep getting exception:
java.rmi.RemoteException: EJB Exception:; nested exception is:
     javax.ejb.EJBException: EJB Exception: : javax.transaction.HeuristicMixedException:
(weblogic.jdbc.jts.Connection, HeuristicHazard, (javax.transaction.xa.XAException:
Can't call commit when autocommit=true))
     at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:258)
     at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:208)
     at weblogic.ejb20.internal.BaseEJBLocalHome.postHomeInvoke(BaseEJBLocalHome.java:314)
     at weblogic.ejb20.internal.EntityEJBLocalHome.findByPrimaryKey(EntityEJBLocalHome.java:289)
     at com.nokia.m2m.demo.housemanagement.ejb.HouseBean_15mjuo_LocalHomeImpl.findByPrimaryKey(HouseBean_15mjuo_LocalHomeImpl.java:137)
     at com.nokia.m2m.demo.housemanagement.ejb.HouseManagerBean.ejbCreate(HouseManagerBean.java:326)
     at com.nokia.m2m.demo.housemanagement.ejb.HouseManagerBean_wnwfw3_Impl.ejbCreate(HouseManagerBean_wnwfw3_Impl.java:117)
     at java.lang.reflect.Method.invoke(Native Method)
     at weblogic.ejb20.manager.StatefulSessionManager.create(StatefulSessionManager.java:747)
     at weblogic.ejb20.manager.StatefulSessionManager.remoteCreate(StatefulSessionManager.java:799)
     at weblogic.ejb20.internal.StatefulEJBHome.create(StatefulEJBHome.java:159)
     at com.nokia.m2m.demo.housemanagement.ejb.HouseManagerBean_wnwfw3_HomeImpl.create(HouseManagerBean_wnwfw3_HomeImpl.java:77)
     at com.nokia.m2m.demo.housemanagement.ejb.HouseManagerBean_wnwfw3_HomeImpl_WLSkel.invoke(Unknown
Source)
     at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
     at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
     at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
     at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
     at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
     at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
; nested exception is: javax.transaction.HeuristicMixedException: (weblogic.jdbc.jts.Connection,
HeuristicHazard, (javax.transaction.xa.XAException: Can't call commit when autocommit=true))
Is this because MySQL is non-transactional? Should I change to transactional tables
with MySQL, tweak driver somehow to be "autocommit=false" or what?
Any help is greatly appreciated.

MySQL comes in two flavors - MySQL and MySQL-MAX. The second
one supports TXs, the first one doesn't. That could be the case, too.
Slava
"Joseph Weinstein" <[email protected]> wrote in message
news:[email protected]...
Hi. It sounds like the DBMS doesn't handle standard transactions, and the
driver lies. We'll set autoCommit(false) to start an EJB transaction. It
sounds like the driver accepts the call and blithely ignores it. Later,
when we prepared to call commit, the driver lets us know that theconnection
is autoCommit(true) meaning there's nothing to commit.
"Jari Länsiö" wrote:
Hello,
I'm trying to use WebLogic 7.0 with MySQL 3.23.49 and MySQL Connector/J
JDBC driver
2.0.14. Everything has been working just fine but now I keep gettingexception:
>>
java.rmi.RemoteException: EJB Exception:; nested exception is:
javax.ejb.EJBException: EJB Exception: :javax.transaction.HeuristicMixedException:
(weblogic.jdbc.jts.Connection, HeuristicHazard,(javax.transaction.xa.XAException:
Can't call commit when autocommit=true))
atweblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTra
nsactionImpl.java:258)
atweblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
Impl.java:208)
atweblogic.ejb20.internal.BaseEJBLocalHome.postHomeInvoke(BaseEJBLocalHome.jav
a:314)
atweblogic.ejb20.internal.EntityEJBLocalHome.findByPrimaryKey(EntityEJBLocalHo
me.java:289)
atcom.nokia.m2m.demo.housemanagement.ejb.HouseBean_15mjuo_LocalHomeImpl.findBy
PrimaryKey(HouseBean_15mjuo_LocalHomeImpl.java:137)
atcom.nokia.m2m.demo.housemanagement.ejb.HouseManagerBean.ejbCreate(HouseManag
erBean.java:326)
atcom.nokia.m2m.demo.housemanagement.ejb.HouseManagerBean_wnwfw3_Impl.ejbCreat
e(HouseManagerBean_wnwfw3_Impl.java:117)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.ejb20.manager.StatefulSessionManager.create(StatefulSessionManager.
java:747)
atweblogic.ejb20.manager.StatefulSessionManager.remoteCreate(StatefulSessionMa
nager.java:799)
atweblogic.ejb20.internal.StatefulEJBHome.create(StatefulEJBHome.java:159)
atcom.nokia.m2m.demo.housemanagement.ejb.HouseManagerBean_wnwfw3_HomeImpl.crea
te(HouseManagerBean_wnwfw3_HomeImpl.java:77)
atcom.nokia.m2m.demo.housemanagement.ejb.HouseManagerBean_wnwfw3_HomeImpl_WLSk
el.invoke(Unknown
Source)
atweblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
atweblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:114)
atweblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
atweblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:785)
atweblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
atweblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:3
0)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
; nested exception is: javax.transaction.HeuristicMixedException:(weblogic.jdbc.jts.Connection,
HeuristicHazard, (javax.transaction.xa.XAException: Can't call commitwhen autocommit=true))
>>
Is this because MySQL is non-transactional? Should I change totransactional tables
with MySQL, tweak driver somehow to be "autocommit=false" or what?
Any help is greatly appreciated.

Similar Messages

  • MySQL Exception in WL 8.1 - Can't call commit when autocommit=true

    Thanks in advance. Any help would be appreciated as I'm new to Weblogic. I've created a database control and get the following error at run time that I can't seem to get around:
    An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.sql.SQLException:
    The server trace is as follows:
    ####<Jul 23, 2004 8:54:08 AM CDT> <Error> <WLW> <dts-client1> <cgServer> <ExecuteThread: '11' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <000000> <Exception processing ManageRouteTableJCS.ManageRouteTableTest
    java.sql.SQLException: Can't call commit when autocommit=true
         at com.mysql.jdbc.Connection.commit(Connection.java:1136)
         at weblogic.jdbc.wrapper.PoolConnection_com_mysql_jdbc_Connection.commit(Unknown Source)
         at com.bea.wlw.runtime.core.bean.BMPContainerBean.initTableAccess(BMPContainerBean.java:1650)
         at com.bea.wlw.runtime.core.dispatcher.DispComponentJar.confirmDeployment(DispComponentJar.java:157)
         at com.bea.wlw.runtime.core.dispatcher.DispResources.confirmDeployment(DispResources.java:754)
         at com.bea.wlw.runtime.core.dispatcher.DispCache.ensureDispUnit(DispCache.java:660)
         at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.getDispUnit(HttpServerHelper.java:501)
         at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executeGetRequest(HttpServerHelper.java:541)
         at com.bea.wlw.runtime.core.dispatcher.HttpServer.doGet(HttpServer.java:81)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6456)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Note that the above error only occurs with the database control. When I use the following straight Java code I can read records from the database just fine:
    <%@page import="javax.naming.*,javax.sql.*,java.sql.*"%>
    <%
    Context ctx = new InitialContext ( );
    DataSource dataSource = (DataSource) ctx.lookup ( "MySQLDataSource" );
    Connection connection = dataSource.getConnection ( );
    Statement statement = connection.createStatement ( );
    ResultSet result = statement.executeQuery ( "select * from myTable1" );
    while ( result.next ( ) ) {
    out.print ( result.getString ( "field1" ) );
    out.print ( "<br>" );
    connection.close ( );
    %>
    I have experimented with disabling autconnect at the datasource with no change to the behavior.
    Environmet specifics:
    - Weblogic 8.1/SP3 (had the issue with SP2)
    - MySQL standard 4.1 (had the issue with 4.0 and MaxDB)
    - mysql-connector-java-3.0.14-production
    I have read many articles on using using MySQL and Weblogic using I/O classes but not an article where a control was created in design view as I have done. Since I am able to read from the database with the executeQuery command I am led to believe that I have the database and driver set up correctly.
    Anyone run into this and have an idea of what I don't have configured properly?
    Thanks,
    David

    Thanks in advance. Any help would be appreciated as I'm new to Weblogic. I've created a database control and get the following error at run time that I can't seem to get around:
    An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.sql.SQLException:
    The server trace is as follows:
    ####<Jul 23, 2004 8:54:08 AM CDT> <Error> <WLW> <dts-client1> <cgServer> <ExecuteThread: '11' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <000000> <Exception processing ManageRouteTableJCS.ManageRouteTableTest
    java.sql.SQLException: Can't call commit when autocommit=true
         at com.mysql.jdbc.Connection.commit(Connection.java:1136)
         at weblogic.jdbc.wrapper.PoolConnection_com_mysql_jdbc_Connection.commit(Unknown Source)
         at com.bea.wlw.runtime.core.bean.BMPContainerBean.initTableAccess(BMPContainerBean.java:1650)
         at com.bea.wlw.runtime.core.dispatcher.DispComponentJar.confirmDeployment(DispComponentJar.java:157)
         at com.bea.wlw.runtime.core.dispatcher.DispResources.confirmDeployment(DispResources.java:754)
         at com.bea.wlw.runtime.core.dispatcher.DispCache.ensureDispUnit(DispCache.java:660)
         at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.getDispUnit(HttpServerHelper.java:501)
         at com.bea.wlw.runtime.core.dispatcher.HttpServerHelper.executeGetRequest(HttpServerHelper.java:541)
         at com.bea.wlw.runtime.core.dispatcher.HttpServer.doGet(HttpServer.java:81)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6456)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Note that the above error only occurs with the database control. When I use the following straight Java code I can read records from the database just fine:
    <%@page import="javax.naming.*,javax.sql.*,java.sql.*"%>
    <%
    Context ctx = new InitialContext ( );
    DataSource dataSource = (DataSource) ctx.lookup ( "MySQLDataSource" );
    Connection connection = dataSource.getConnection ( );
    Statement statement = connection.createStatement ( );
    ResultSet result = statement.executeQuery ( "select * from myTable1" );
    while ( result.next ( ) ) {
    out.print ( result.getString ( "field1" ) );
    out.print ( "<br>" );
    connection.close ( );
    %>
    I have experimented with disabling autconnect at the datasource with no change to the behavior.
    Environmet specifics:
    - Weblogic 8.1/SP3 (had the issue with SP2)
    - MySQL standard 4.1 (had the issue with 4.0 and MaxDB)
    - mysql-connector-java-3.0.14-production
    I have read many articles on using using MySQL and Weblogic using I/O classes but not an article where a control was created in design view as I have done. Since I am able to read from the database with the executeQuery command I am led to believe that I have the database and driver set up correctly.
    Anyone run into this and have an idea of what I don't have configured properly?
    Thanks,
    David

  • Can't parse WSDL when useProxy=true

    Hello everyone.
    I'm using Flex since 1.5 and now try to migrate Flex2.0.
    Most of our application need to access data via WebService,
    and we use <mx:WebService> tag to access them.
    In our Flex1.5 environment, we also use Proxy service of Flex
    (with specifying useProxy=true), and it works fine.
    But in Flex2.0, our mxml application can't parse the same
    WSDL when useProxy=true!
    On the other hand, our application can parse correctly when
    not using proxy service. (useProxy=false and set crossdomain.xml on
    the root of datasource Web server.)
    I'was so confusing that I captured HTTP traffic between
    client application and server( both FlexDataService and Data source
    Web Server), with ServiceCapture.
    When useProxy=true, at first, client application sent request
    to Flex Data Service to get not only calling the SOAP operations
    but also calling WSDL itself. After that, Flex Data Service
    returned the response message as WSDL data, and I found the WSDL
    data was broken.
    When useProxy=false, of cource, the WSDL was passed
    datasource Web Server correctly and application could parse it
    without problem.
    These parse error depends on the WebService.
    I wonder this is some bug of Flex Data Service or not.......

    Hello, everyone.
    After that, I tried to change the encoding of WSDL, which was
    broken when useProxy=true, from UTF-16 to UTF-8.
    And I could get correct WSDL data from Flex Data Service's
    proxy.....
    It seems when the encoding of WSDL is UTF-16, the parse is
    failed, but I'm not sure this problem is happened commonly and this
    is some of the bug of Flex Data Services.

  • Can call setFormat when the processor is started?

    Can I call setFormat when the processor is started?
    preProcessor.configure();
    preProcessor.setContentDescriptor(new FileTypeDescriptor(FileTypeDescriptor.RAW));
    TrackControl tc[] = preProcessor.getTrackControls();
    System.out.println(tc[0].setFormat(new VideoFormat(VideoFormat.JPEG, new Dimension(180, 120),Format.NOT_SPECIFIED, Format.byteArray, 30f)));
    I want to change the output format, frame size, frame rate when processor is started.The set Format always return the original format JPEG with size 360x240.
    Actually can I do so?

    Push the Sleep/On/Off button.
    Stedman

  • Can make calls but cannot receive them!

    Hello,
    I was successful in activating my iPhone. The process was completed eleven hours ago. I transferred my old cell phone number to my new iPone. Now I can make calls, but when someone calls me, my old cell phone rings. How can I fix that?
    Patrick

    Patrick:
    Same here. Everything works -- except incoming calls.
    The activation email I got Friday night said my old phone was set to be turned off "on or after" 9:52 pm Saturday (24 hours after my original activation). Phone started working overnight Friday night -- but as of Sunday 9:20 am EDT, incoming calls are STILL going to my old phone.
    This would appear to be a network issue involving ATT and the old carrier.

  • Caller ID when member of Skype Manager

    Is there a way I can add caller ID when I'm a member of Skype Manager? Or is there a way the administrator can do this? I can see that this is not an option in my account now.

    Hi,
    that is where I've been looking. I'm sorry if I'm blind... here is a screen shot:
    Can you please advise me?

  • HT2188 I can hear caller but they can not hear me except when using speaker phone

    I can hear caller but they can not hear me except when using speaker phone

    First of all,  make sure that your iPhone as the most recent iOS available. Check in "Settings>General>Software Update".
    One other problem could be your microphone. Does it work for anything else other than a call?
    Good-Luck!
    kpower28
    Please mark this as "solved my problem" or "helped me"!

  • How can I call my chart in Forms6i on When Button Press Trigger?

    Hi Friends,
    I have make a chart in Graphic Builder 6i and save on path C:\graph\test.ogd
    Now I want to run this Chart from Form6i on When Button Press trigger.
    I have call my report in forms using this command on When Button Press trigger.
    Run_Product(reports,'C:\Cheema\Qdir_store\reports\pmms\sec_backlog',asynchronous,runtime,filesystem,TO_CHAR(NULL));
    So tell me How can I call my chart in Forms6i?
    Please reply me on urgent.
    Thanks,
    Shahzad

    Just to recall after a long break of couple of years..... Pls check out if not wrong.
    First of all you need to embeed the chart object on your layout window and make it visible = FALSE. This is a design time work. In the button press event, show the chart object by setting the visible property = TRUE.
    Note, i could not paste u the sample code as i don't have forms installation on my PC. The above states is a logic you can apply.

  • WebDynpro Exception: The ADS call has failed. You can find information abo

    hi,
    I have created the From .
    when i try to run the application .i am getting the folllowing error .
    Is there any solution for that?
    WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server.
    Regards
    Vivekananthan.S

    It sounds like your system is not properly configured for the connection to the Adobe Document Services.  Have your system admins confirm the setup.  Look for the error.pdf document mentioned in the exception for more details on the actual cause of the error. This error message is generic and could be caused by several different conditions - almost all of which are related to incomplete or incorrect configuration of the ADS/ADS Connectivity.

  • [svn:osmf:] 17980: Fix FM-1092: Calling stop when loop is true breaks looping.

    Revision: 17980
    Revision: 17980
    Author:   [email protected]
    Date:     2010-09-30 17:42:23 -0700 (Thu, 30 Sep 2010)
    Log Message:
    Fix FM-1092: Calling stop when loop is true breaks looping.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-1092
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/media/MediaPlayer.as

    Hi Experts,
    After i tried a few times, i can successfully start prepare with upgrade asistant monitor - Administrator >> Start Prepare,
    Thanks

  • Can't create DeliveryBean when call bpel from jsp

    Can't create DeliveryBean when call bpel from jsp
    /*** code ********************************/
    Properties props = new java.util.Properties();
    java.net.URL url = ClassLoader.getSystemResource("context.properties");
    props.load(url.openStream());
    Locator locator = new Locator(domain, "bpel", props);
    IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    NormalizedMessage nm = new NormalizedMessage();
    String convId = GUIDGenerator.generateGUID();
    nm.setProperty(NormalizedMessage.CONVERSATION_ID, convId);
    nm.addPart("payload", xml);
    NormalizedMessage res = deliveryService.request(processID,operationName, nm);
    /*** code ********************************/
    This code works well in java , but when I use it in jsp on tomcat server,
    the following exception ocured:
    Can not create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: Name ejb is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:768) at org.apache.naming.NamingContext.lookup(NamingContext.java:151) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279) at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250) at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83) at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53) at workflow.bpel.BpelProcessHelper.invokeSyncBpel(BpelProcessHelper.java:54) at
    Will anyone to tell me where "ejb/collaxa/system/DeliveryBean" bean is?
    Which jar file is this class in ?
    Thanks

    did you try including bpel/lib/orabpel.jar & bpel/system/server/j2ee/ob_ejb_engine.jar in your tomcat classpath.

  • What does the message "Commit can be issued only when there are no requests awaiting responses" mean ?

    Can someone explain what this message is, and what the reason could be for
              the java.lang.IllegalStateException.
              When such an error is encountered, how can I find out what the
              "RepliesOwedMe" are. The complete exception is as follows
              Any quick hint is greately appriciated
              Thanks
              asankha
              <Sep 6, 2001 12:49:18 PM GMT+06:00> <Error> <EJB> <Exception during commit
              of transaction transactio
              n=(IdHash=8297169,Name = [EJB
              CActionBeanImpl.execute()],Xid=3:c56b8ee8f6114598,Status=Active,numRep
              liesOwedMe=2,numRepliesOwedOthers=0,seconds since begin=0,seconds
              left=29,ServerResourceInfo[weblogi
              c.jdbc.jts.Connection]=(state=suspended,assigned=none),SCInfo[myserver]=(sta
              te=active),properties=({
              weblogic.transaction.name=[EJB CActionBeanImpl.execute()],
              weblogic.jdbc=t3://10.2.1.133:7001, weblo
              gic.debug.DebugContext=weblogic.utils.DebugContext@662250})):
              java.lang.IllegalStateException: Commi
              t can be issued only when there are no requests awaiting responses.
              Currently there are 2 such reque
              sts. xid = 3:c56b8ee8f6114598, status = Active
              at
              weblogic.transaction.internal.TransactionImpl.throwIllegalStateException(Tra
              nsactionImpl.
              java:1272)
              at
              weblogic.transaction.internal.TransactionImpl.checkIfCommitPossible(Transact
              ionImpl.java:
              1206)
              at
              weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
              Impl.java:162
              at
              weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:201)
              at
              com.edocs.wb.web.action.CActionBeanEOImpl.execute(CActionBeanEOImpl.java:37)
              at CeaMarketMainServlet.doGet(CeaMarketMainServlet.java:185)
              at CeaMarketMainServlet.doPost(CeaMarketMainServlet.java:312)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :213)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:12
              65)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :1631)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              

              This means that the transaction initiator has not received replies for some of
              the transactional requests when the transaction commits, i.e. the checked transaction
              behavior is violated. WLS TM enforces checked transaction behavior to make sure
              that all work done in the transaction context will be completed before transaction
              is committed. If it cannot make such guarantee due to outstanding replies, it
              aborts the commit right away.
              Currently, there is no provisions for dumping the requests whose replies are still
              pending.
              I would suggest you report to BEA support: [email protected]
              Regards,
              Priscilla
              "Asankha C. Perera" <[email protected]> wrote:
              >Can someone explain what this message is, and what the reason could be
              >for
              >the java.lang.IllegalStateException.
              >
              >When such an error is encountered, how can I find out what the
              >"RepliesOwedMe" are. The complete exception is as follows
              >
              >Any quick hint is greately appriciated
              >Thanks
              >asankha
              >
              ><Sep 6, 2001 12:49:18 PM GMT+06:00> <Error> <EJB> <Exception during commit
              >of transaction transactio
              >n=(IdHash=8297169,Name = [EJB
              >CActionBeanImpl.execute()],Xid=3:c56b8ee8f6114598,Status=Active,numRep
              >liesOwedMe=2,numRepliesOwedOthers=0,seconds since begin=0,seconds
              >left=29,ServerResourceInfo[weblogi
              >c.jdbc.jts.Connection]=(state=suspended,assigned=none),SCInfo[myserver]=(sta
              >te=active),properties=({
              >weblogic.transaction.name=[EJB CActionBeanImpl.execute()],
              >weblogic.jdbc=t3://10.2.1.133:7001, weblo
              >gic.debug.DebugContext=weblogic.utils.DebugContext@662250})):
              >java.lang.IllegalStateException: Commi
              >t can be issued only when there are no requests awaiting responses.
              >Currently there are 2 such reque
              >sts. xid = 3:c56b8ee8f6114598, status = Active
              > at
              >weblogic.transaction.internal.TransactionImpl.throwIllegalStateException(Tra
              >nsactionImpl.
              >java:1272)
              > at
              >weblogic.transaction.internal.TransactionImpl.checkIfCommitPossible(Transact
              >ionImpl.java:
              >1206)
              > at
              >weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
              >Impl.java:162
              >)
              > at
              >weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:201)
              > at
              >com.edocs.wb.web.action.CActionBeanEOImpl.execute(CActionBeanEOImpl.java:37)
              > at CeaMarketMainServlet.doGet(CeaMarketMainServlet.java:185)
              > at CeaMarketMainServlet.doPost(CeaMarketMainServlet.java:312)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              >weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              >:213)
              > at
              >weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              >ntext.java:12
              >65)
              > at
              >weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              >:1631)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >>
              >
              >
              

  • We can not clear all recents(30 recents call).  When Tango show "No recents call". We touch other buttons and come back to Recents button again.  It still show 30 recents call.

    We can not clear all recents(30 recents call).  When Tango show "No recents call". We touch other buttons and come back to Recents button again.  It still show 30 recents call.

    No one here is going to do anything about it. Send feedback to Apple.
    http://www.apple.com/feedback/ipad.html
    Basic troubleshooting steps. 
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 

  • After call commit sql , data can not flush to disk

    I use berkey db which support sql . It's version is db-5.1.19.
    1, Open a database.
    2. Create a table.
    3. exec "begin;" sql
    4. exec sql which is insert record into table
    5. exec "commit;" sql
    6. copy database file (SourceDB_912_1.db and SourceDB_912_1.db-journal) to Local Disk of D, then use a tool of dbsql to open the database.
    7. use select sql to check data, there is no record in table.
    1
    sqlite3 * m_pDB;
    int nRet = sqlite3_open_v2(strDBName.c_str(), & m_pDB,SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE,NULL);
    2
    string strSQL="CREATE TABLE [TBLClientAccount] ( [ClientId] CHAR (36), [AccountId] CHAR (36) );";
    char * errors;
    nRet = sqlite3_exec(m_pDB, strSQL.c_str(), NULL, NULL, &errors);
    3
    nRet = sqlite3_exec(m_pDB, "begin;", NULL, NULL, &errors);
    4
    nRet = sqlite3_exec(m_pDB, "INSERT INTO TBLClientAccount (ClientId,AccountId) VALUES('dd','ddd'); ", NULL, NULL, &errors);
    5
    nRet = sqlite3_exec(m_pDB, "commit;", NULL, NULL, &errors);
    Edited by: 887973 on Sep 27, 2011 11:15 PM

    Hi,
    Here is a simple test case program I used based on your description:
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include "sqlite3.h"
    int error_handler(sqlite3*);
    int main()
         sqlite3 *m_pDB;
         const char *strDBName = "C:/SRs/OTN Core 2290838 - after call commit sql , data can not flush to disk/SourceDB_912_1.db";
         char * errors;
         sqlite3_open_v2(strDBName, &m_pDB, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, NULL);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "CREATE TABLE [TBLClientAccount] ( [ClientId] CHAR (36), [AccountId] CHAR (36) );", NULL, NULL, &errors);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "begin;", NULL, NULL, &errors);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "INSERT INTO TBLClientAccount (ClientId,AccountId) VALUES('dd','ddd'); ", NULL, NULL, &errors);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "commit;", NULL, NULL, &errors);
         error_handler(m_pDB);
         //sqlite3_close(m_pDB);
         //error_handler(m_pDB);
    int error_handler(sqlite3 *db)
         int err_code = sqlite3_errcode(db);
         switch(err_code) {
         case SQLITE_OK:
         case SQLITE_DONE:
         case SQLITE_ROW:
              break;
         default:
              fprintf(stderr, "ERROR: %s. ERRCODE: %d.\n", sqlite3_errmsg(db), err_code);
              exit(err_code);
         return err_code;
    }Than I copied the SourceDB_912_1.db database and the SourceDB_912_1.db-journal directory containing the environment files (region files, log files) to D:\, opened the database using the "dbsql" command line tool, and queried the table; the data is there:
    D:\bdbsql-dir>ls -al
    -rw-rw-rw-   1 acostach 0 32768 2011-10-12 12:51 SourceDB_912_1.db
    drw-rw-rw-   2 acostach 0     0 2011-10-12 12:51 SourceDB_912_1.db-journal
    D:\bdbsql-dir>C:\BerkeleyDB\db-5.1.19\build_windows\Win32\Debug\dbsql SourceDB_912_1.db
    Berkeley DB 11g Release 2, library version 11.2.5.1.19: (August 27, 2010)
    Enter ".help" for instructions
    Enter SQL statements terminated with a ";"
    dbsql> .tables
    TBLClientAccount
    dbsql> .schema TBLClientAccount
    CREATE TABLE [TBLClientAccount] ( [ClientId] CHAR (36), [AccountId] CHAR (36) );
    dbsql> select * from TBLClientAccount;
    dd|dddI do not see where the issue is. The data can be successfully retrieved, it is present in the database.
    Could you try putting in the sqlite3_close() call and see if you still get the error?
    Did you remove the __db.* files from the SourceDB_912_1.db-journal directory?
    Did you use PRAGMA synchronous, and if so, what is the value you set?
    If this is still an issue for you, please describe in more detail the exact steps needed to get this reproduced and provide a simple stand-alone test case program that reproduces it.
    Regards,
    Andrei

  • I am moving to the uk from oz and was wondering do i have to replace the whole power cable for my mac book 15inch pro....or can i just replace the actual plug in the wall part ..if i can what is this called as when i look on line it just comes up with the

    i am moving to the uk from oz and was wondering do i have to replace the whole power cable for my mac book 15inch pro....or can i just replace the actual plug in the wall part ..if i can what is this called as when i look on line it just comes up with the complete power unit...it seems odd that you have to buy the whole unit again...thanks.matthew

    All you need is a plug adaptor, if required. Apple sells an adapter kit:
    http://store.apple.com/us/product/MB974ZM/B?fnode=MTY1NDEwMQ&mco=MTA4NDE3MDQ

Maybe you are looking for