java.rmi.RemoteException: EJB Exception: ; nested exception is: com.solarmetric.kodo.runtime.FatalDataStoreException: com.solarmetric.ko do.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)] [PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)] Invalid argument value, message from server: "Duplicate entry '0' for key 1" [c ode=1062;state=S1009] NestedThrowables: com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)] [PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)] Invalid argument value, message from server: "Duplicate entry '0' for key 1" com.solarmetric.kodo.runtime.FatalDataStoreException: com.solarmetric.kodo.impl. jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)] [PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)] Invalid argument value, message from server: "Duplicate entry '0' for key 1" [c ode=1062;state=S1009] NestedThrowables: com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)] [PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)] Invalid argument value, message from server: "Duplicate entry '0' for key 1"

Oracle Community | 3004 | 1 decade ago
  1. 0

    Bug in using javax.jdo.option.ConnectionFactoryName

    Oracle Community | 1 decade ago | 3004
    java.rmi.RemoteException: EJB Exception: ; nested exception is: com.solarmetric.kodo.runtime.FatalDataStoreException: com.solarmetric.ko do.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)] [PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)] Invalid argument value, message from server: "Duplicate entry '0' for key 1" [c ode=1062;state=S1009] NestedThrowables: com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)] [PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)] Invalid argument value, message from server: "Duplicate entry '0' for key 1" com.solarmetric.kodo.runtime.FatalDataStoreException: com.solarmetric.kodo.impl. jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)] [PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)] Invalid argument value, message from server: "Duplicate entry '0' for key 1" [c ode=1062;state=S1009] NestedThrowables: com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)] [PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)] Invalid argument value, message from server: "Duplicate entry '0' for key 1"
  2. 0

    @ElementCollection support

    openxava | 5 years ago | milh_cbt
    java.rmi.RemoteException: Fail executing SELECT 0, 0, 0, 0, 0 from String
  3. 0

    Howto generate correct SQL for Connector/J?

    Oracle Community | 1 decade ago | 843833
    java.rmi.RemoteException: createRace: nested exception is: java.sql.SQLException: Syntax error or access violation, message from server: "You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"RaceBeanTable" WHERE "raceId" = '1'' at line 1"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    XA RESOURCE NOT RESPONDING IN PROD

    Oracle Community | 1 decade ago | 3004
    java.rmi.RemoteException: Message was not sent because transaction is not active. transaction=(IdHash=3308339,Name = [EJB AccountBeanImpl.approveAccount()],Xid=10531:c0 04c7fd25fa6b58,Status=Rolled back. [Reason = weblogic.transaction.internal.TimedOutException:> >> Transaction timed out after 99seconds tx => >transaction=(IdHash=3308339,Name = [EJB> >>>>AccountBeanImpl.approveAccount(),Xid=10531:c004c7fd25fa6b58,Status=Active, n umRepliesOwedMe=1,numRepliesOwedOthers=1,second s since begin=99,seconds left=60,activeThread=Thread[ExecuteThread: '11' for queue: 'default',5,Thread Group for Queue: 'default'],ServerResourceInfo[weblogic.jdbc.jts. > Connection]=(state=suspended,assigned=none),SCInfo[Cluster1]=(state=active) , properties=({weblogic.transaction.name=[EJB AccountBeanImpl.approveAccount()], weblogic.jdbc =t3://10.215.7.169:7003}))],numRepliesOwedMe=0,numRepliesOwedOthers=0,secon d s since begin=3213,seconds left=22,activeThread=Thread[ExecuteThread: '11' for queue: 'defau lt',5,Thread Group for Queue: 'default'],ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=rolledba c k,assigned=Cluster1),SCInfo[Cluster1]=(state=rolledback),prope rties=({weblogic.transaction.name=[EJB AccountBeanImpl.approveAccount()], weblogic.jdbc=t3://10.215.7.169:7003}))
  6. 0

    XA resource not responding in production !

    Oracle Community | 1 decade ago | 3004
    java.rmi.RemoteException: Message was not sent because transaction is not active. transaction=(IdHash=3308339,Name = [EJB AccountBeanImpl.approveAccount()],Xid=10531:c0 04c7fd25fa6b58,Status=Rolled back. [Reason = weblogic.transaction.internal.TimedOutException: Transaction timed out after 99seconds tx = transaction=(IdHash=3308339,Name = [EJB AccountBeanImpl.approveAccount()],Xid=10531:c004c7fd25fa6b58,Status=Active,numRepliesOwedMe=1,numRepliesOwedOthers=1,second s since begin=99,seconds left=60,activeThread=Thread[ExecuteThread: '11' for queue: 'default',5,Thread Group for Queue: 'default'],ServerResourceInfo[weblogic.jdbc.jts. Connection]=(state=suspended,assigned=none),SCInfo[Cluster1]=(state=active),properties=({weblogic.transaction.name=[EJB AccountBeanImpl.approveAccount()], weblogic.jdbc =t3://10.215.7.169:7003}))],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=3213,seconds left=22,activeThread=Thread[ExecuteThread: '11' for queue: 'defau lt',5,Thread Group for Queue: 'default'],ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=rolledback,assigned=Cluster1),SCInfo[Cluster1]=(state=rolledback),prope rties=({weblogic.transaction.name=[EJB AccountBeanImpl.approveAccount()], weblogic.jdbc=t3://10.215.7.169:7003}))

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.rmi.RemoteException

      EJB Exception: ; nested exception is: com.solarmetric.kodo.runtime.FatalDataStoreException: com.solarmetric.ko do.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)] [PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)] Invalid argument value, message from server: "Duplicate entry '0' for key 1" [c ode=1062;state=S1009] NestedThrowables: com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)] [PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)] Invalid argument value, message from server: "Duplicate entry '0' for key 1" com.solarmetric.kodo.runtime.FatalDataStoreException: com.solarmetric.kodo.impl. jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)] [PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)] Invalid argument value, message from server: "Duplicate entry '0' for key 1" [c ode=1062;state=S1009] NestedThrowables: com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper: [SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)] [PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)] Invalid argument value, message from server: "Duplicate entry '0' for key 1"

      at com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal()
    2. com.solarmetric.kodo
      PersistenceManagerImpl.makePersistent
      1. com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwFatal(SQLExceptions.java:58)
      2. com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.handle(SQLExceptions.java:43)
      3. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:511)
      4. com.solarmetric.kodo.runtime.datacache.DataCacheStoreManager.newDataStoreId(DataCacheStoreManager.java:438)
      5. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1272)
      6. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1213)
      6 frames
    3. com.dc.ibp
      ManagerBean_s82bx9_EOImpl.execute
      1. com.dc.ibp.tran.Tran1102.addItem(Tran1102.java:51)
      2. com.dc.ibp.tran.Tran1102.execute(Tran1102.java:87)
      3. com.dc.ibp.tran.TranDispatch.execute(TranDispatch.java:60)
      4. com.dc.ibp.bean.ManagerBean.execute(ManagerBean.java:32)
      5. com.dc.ibp.bean.ManagerBean_s82bx9_EOImpl.execute(ManagerBean_s82bx9_EOImpl.java:46)
      5 frames
    4. jsp_servlet._common
      __helloejb._jspService
      1. jsp_servlet._common.__helloejb._jspService(__helloejb.java:122)
      1 frame
    5. weblogic.servlet.jsp
      JspBase.service
      1. weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
      1 frame
    6. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
      3. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5363)
      4 frames
    7. weblogic.security.service
      SecurityServiceManager.runAs
      1. weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
      1 frame
    8. Atmosphere weblogic
      ServletRequestImpl.execute
      1. weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
      2. weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2466)
      2 frames
    9. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
      2 frames