DBsequence error on commit.

Hi all,
I have been running a page for the past 3 days it was working just fine.
This morning i did a syncronise with database and then all of a sudden when i hit commit
it bugs out.
I want to understand how this syncronizaton could affect my project.
On the key i use a DBsequence element so when the page loads it contains a negative
value in it so the trigger can catch it on the database. BUT when i hit commit the negative
number disapears and it gives an error.
any hints please
Carl

Carl,
what about posting the error message ?
Frank

Similar Messages

  • [Execute SQL Task] Error: Executing the query failed with error: "The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION."

    I have an package with source , data flow and destination to execute on begin and commit.
    in the below i have just used for questioning purpose with diagram removing my Data Flow task explaining my problem
    on execution, i get error as
    [Execute SQL Task] Error: Executing the query "COMMIT TRAN DimCompanyCode" failed with the following error: "The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.". Possible failure reasons: Problems with the query, "ResultSet"
    property not set correctly, parameters not set correctly, or connection not established correctly.
    as mentioned , i have checked the ResultSet, parameters , connection establish.. all are fine.
    Kindly advice on what has to be done.
    ShanmugaRaj

    To avoid this error, the RetainSameConnection property should set to 'True' for the Connection Manager - Application_DB.
    Narsimha

  • Error while commit is performing

    Hi
    I am using jdev11.1.1.5.0
    I am getting following error while commit is performing...
    java.sql.SQLException: ORA-01086: savepoint 'BO_SP' never established
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
         at oracle.jbo.server.OracleSQLBuilderImpl.rollbackToSavepoint(OracleSQLBuilderImpl.java:1582)
         at oracle.jbo.server.DBTransactionImpl.rollbackToSavepoint(DBTransactionImpl.java:3133)
         at oracle.jbo.server.DBTransactionImpl.restoreTmpPostState(DBTransactionImpl.java:1865)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3109)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2093)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2374)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1608)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1416)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2149)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at com.jagran.in.stmjobassignview.MBean.StmJobAssignMBean.confirmStm(StmJobAssignMBean.java:263)
         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(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: ORA-01086: savepoint 'BO_SP' never established
    java.sql.SQLException: ORA-01086: savepoint 'BO_SP' never established
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
         at oracle.jbo.server.OracleSQLBuilderImpl.rollbackToSavepoint(OracleSQLBuilderImpl.java:1582)
         at oracle.jbo.server.DBTransactionImpl.rollbackToSavepoint(DBTransactionImpl.java:3133)
         at oracle.jbo.server.DBTransactionImpl.restoreTmpPostState(DBTransactionImpl.java:1865)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3109)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2093)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2374)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1608)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1416)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2149)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at com.jagran.in.stmjobassignview.MBean.StmJobAssignMBean.confirmStm(StmJobAssignMBean.java:263)
         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(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:313)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    There is any help regarding this.

    ORA-01086: savepoint 'BO_SP' never establishedpoints to a missing or invalid ps_txn table where such save points are normally stored. Check your configuration (DB which you connect to) if you find the ps_txn table in there and that the user you use has the right to write into this table.
    If you don't see the table then you have to create it (scripts for this are delivered together with jdev). Or ask the db admin to grants create table rights to your user.
    Timo

  • Error on commit: Another user has changed the row with primary key : Rec_10

    i am using jdev 11g R2
    i implemented a master form and two detail tables on a jspx page
    added createInsert, commit and rollback buttons
    actions from these buttons all are executed from a bean
    for entity attributes: refresh after insert and update are marked as checked
    i am using login page for authorizing the user by getting the user information from user table
    and then using the userid i am applying the setVisible property on some components at bean code
    when i am inserting a new row there is no problem, here i am generating the new id like 'Rec_10', using a database sequence
    but when i am trying to update a current record, it is showing the error --> Error on commit: JBO-25014: Another user has changed the row with primary key oracle.jbo.Key[Rec_22 ]
    on clicking the commit button and also it is not updating the record on database
    Thanx in Advance
    kumar
    Edited by: user10922309 on Nov 18, 2009 3:25 AM
    Edited by: user10922309 on Nov 18, 2009 4:28 AM

    Hi John
    thnq for your quick responce.
    here are the attribute details:
    Attribute Name: RecID, Type: String, Value Type: Expression, Value: 'Rec_' + (new oracle.jbo.server.SequenceImpl("Rec_SEQ_AN", object.getDBTransaction())).getSequenceNumber()
    Updatable: While New and Primary Key, Queryable, Persistent, Mandatory, Refresh After: Update, Refresh After: Update and Insert are markded as checked
    error details:
    oracle.jbo.RowInconsistentException: JBO-25014: Another user has changed the row with primary key oracle.jbo.Key[APP_22 ].
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:1062)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:548)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:7762)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:5554)
         at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:6057)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6229)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3127)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2935)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1991)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2233)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1580)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1404)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1289)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2120)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:693)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:217)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:201)
    --> at Index.saveApplicationAll(Index.java:6246)
         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:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:673)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         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:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    --> on click commit button Index.saveApplicationAll method will invoked.
    Thats it.
    Kumar
    Edited by: user10922309 on Nov 18, 2009 4:32 AM

  • Could we get a deadlock error on COMMIT (END TRANSACTION) in BDB-SQL

    According to the DB_TXN->commit documentation at:
    http://download.oracle.com/docs/cd/E17076_02/html/api_reference/C/txncommit.html
    "After DB_TXN->commit() has been called, regardless of its return, the DB_TXN handle may not be accessed again.
    If DB_TXN->commit() encounters an error, the transaction and all child transactions of the transaction are aborted."
    Since BDB-SQL uses the BDB engine, should the code handle such errors in BDB-SQL?
    Another point to keep in mind is that, post BDB-SQL version 5.1 upon receiving a potential deadlock error all the previous operations(child transactions) in the same transaction are still valid and can be committed.
    It would be great if someone can throw some light on this.
    Edited by: user10942853 on Jul 28, 2011 9:31 AM

    user10942853 wrote:
    LaurenFoutz wrote:
    I do not think commit can experience a deadlock error since it does not obtain any new locks, and it could not have been in a blocked state if you are able to call commit. Either way, after calling commit on a transaction in SQL the transaction is done, even if an error is returned. At that point if an error is returned the transaction (and all the work its children have done) is either aborted under the covers, or the database has been corrupted, and all future calls to it will return a corruption error that will require restarting the database to restore it (and the restoration will roll back any work done by the transaction since it did not complete cleanly).
    Hope that answers your question.
    Lauren FoutzLauren, thanks for the reply. From your reply, though there is little possibility that we can get an error on commit looks like we should be prepared to handle such errors in BDB-SQL. We have had instances where we experienced an error on commit while using native BDB (without SQL API) and wanted to confirm the same.You are correct. Error when committing are rare in both the SQL and native API, but they can happen and you should deal with them when they do.
    Lauren Foutz

  • I downloaded the new I-tunes but i get always error 7 and i have to reinstall i-tunes. But the error always commes back! What now? How do I go back?

    I donwloaded the new I-Tunes update but i get always error 7 and i have to reinstall I-tunes. But the error always commes back! What now? How do I go back?

    In the course of your troubleshooting to date, have you worked through the following document?
    Apple software on Windows: May see performance issues and blank iTunes Store

  • ADF DBSequence Error

    Hi Friends!
    I´m learning ADF with JDeveloper 11g release 1 and i have some problem with the DBSequence!
    I have done a simple sample to test de ADF operations!
    I used Fusion MiddleWare template to my application and i have used ADF Business Components From Tables based on a simple table with ID number PK and Description Varchar2 columns, to create a model and a view based on this simple table!
    My table has a trigger that generate the value of the sequence!
    I changed the type of ID attribute to DBSequence!
    Then i created a simple jspx page based on a datasource from that simple view with the navigator and Commit and create buttons!
    When i create a new record in my ID field the system puts a default value -2 and when i put a value to description and commit the operation i got a error: "Cannot convert String to DBSequence"!
    If i open the source of the Entity Object i can see a atribute of the xml tag DefaultValue="@0" and if i delete this attribute from tag the system works well!
    The problem is everywhere i change the type of the attribute to DBSequence this XML tag is add automaticly and i need to open the source to clean this field to my system works with dbsequence!
    Is it a bug, or i´m diding some mistake in my sample?
    Thkz for now!

    I had the same problem. I writed in the page .jsff the text:
    <af:convertNumber groupingUsed="false" pattern="#{bindings.Peid.format}"/>
    That is the first part of the file:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <af:panelFormLayout id="pfl1">
    <af:inputText value="#{bindings.Peid.inputValue}" label="Codigo:"
    required="#{bindings.Peid.hints.mandatory}"
    columns="#{bindings.Peid.hints.displayWidth}"
    maximumLength="#{bindings.Peid.hints.precision}"
    shortDesc="#{bindings.Peid.hints.tooltip}" id="it6">
    <f:validator binding="#{bindings.Peid.validator}"/>
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.Peid.format}"/>
    </af:inputText>
    Edited by: fmoncada on 15-oct-2009 18:59

  • JBO-26080 error during commit

    Hi,
    I am getting a JBO-26080 error attempting to commit a view using the Business component browser.
    The error is:
    (oracle.jbo.DMLException) JBO-26080: Error while selecting entity for Bank
    The view, entity and stack trace are below.
    Any insight appreciated.
    Dave
    <?xml version="1.0" encoding='windows-1252'?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <ViewObject
         xmlns="http://xmlns.oracle.com/bc4j"
         Name="BankbranchBankBlkView"     
         SelectList="Bank.FOREIGN_NAME,Bank.NAME,Bank.BANK_ID"
         FromList="BANK Bank"
         BindingStyle="OracleName"
         CustomQuery="false"
    PageIterMode="Full"
    UseGlueCode="false">
    <DesignTime>
    <Attr Name="_version" Value="11.1.1.45.24"/>
    <Attr Name="_codeGenFlag2" Value="Access|VarAccess"/>
    </DesignTime>
         <EntityUsage
              Name="Bank"
              Entity="com.mni.mednext.model.Bank" >
              <DesignTime>
                   <Attr Name="_EntireObjectTable" Value="false" />
                   <Attr Name="_queryClause" Value="false" />
              </DesignTime>
         </EntityUsage>
         <ViewAttribute
              Name="ForeignName"
              IsNotNull="true"
              AliasName="FOREIGN_NAME"
              EntityAttrName="ForeignName"
              EntityUsage="Bank">
         </ViewAttribute>
         <ViewAttribute
              Name="Name"
              IsNotNull="true"
              AliasName="NAME"
              EntityAttrName="Name"
              EntityUsage="Bank">
         </ViewAttribute>
         <ViewAttribute
              Name="BankId"
              IsNotNull="true"
              AliasName="BANK_ID"
              EntityAttrName="BankId"
              EntityUsage="Bank">
         </ViewAttribute>
    </ViewObject>
    <?xml version="1.0" encoding='windows-1252'?>
    <!DOCTYPE Entity SYSTEM "jbo_03_01.dtd">
    <!---->
    <Entity
         xmlns="http://xmlns.oracle/com/bc4j"
         Name="Bank"
         DBObjectType="table"
         DBObjectName="BANK"
         AliasName="Bank"
         BindingStyle="OracleName"
         UseGlueCode="false"
    xmlns:jboxml="http://xmlns.oracle.com/bc4j">
    <Attribute
    Name="BankId"
    IsNotNull="true"
    Precision="6"
    Scale="0"
    ColumnName="BANK_ID"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="BANK"
    PrimaryKey="true">
    <jboxml:DesignTime>
    <jboxml:Attr
    Name="_DisplaySize"
    Value="6"/>
    </jboxml:DesignTime>
    </Attribute>
    <Attribute
    Name="Name"
    IsNotNull="true"
    Precision="50"
    Scale="0"
    ColumnName="NAME"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="BANK">
    <jboxml:DesignTime>
    <jboxml:Attr
    Name="_DisplaySize"
    Value="50"/>
    </jboxml:DesignTime>
    </Attribute>
    <Attribute
    Name="BankIdentificationCode"
    Precision="20"
    Scale="0"
    ColumnName="BANK_IDENTIFICATION_CODE"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="BANK">
    <jboxml:DesignTime>
    <jboxml:Attr
    Name="_DisplaySize"
    Value="20"/>
    </jboxml:DesignTime>
    </Attribute>
    <Attribute
    Name="ForeignName"
    IsNotNull="true"
    Precision="50"
    Scale="0"
    ColumnName="FOREIGN_NAME"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="BANK">
    <jboxml:DesignTime>
    <jboxml:Attr
    Name="_DisplaySize"
    Value="50"/>
    </jboxml:DesignTime>
    </Attribute>     
         <Key
              Name="NameNn" >
    <jboxml:DesignTime>
    <jboxml:Attr
    Name="_DBObjectName"
    Value="Name_NN"/>
    <jboxml:Attr
    Name="_isCheck"
    Value="true"/>
    <jboxml:Attr
    Name="_checkCondition"
    Value='"NAME" IS NOT NULL'/>
    </jboxml:DesignTime>
    <jboxml:AttrArray
    Name="Attributes">
    <jboxml:Item
    Value="com.mni.mednext.model.Bank.Name"/>
    </jboxml:AttrArray>
    </Key>
    <Key
    Name="BankPk"
    PrimaryKey="true">
    <jboxml:DesignTime>
    <jboxml:Attr
    Name="_DBObjectName"
    Value="BANK_PK"/>
    </jboxml:DesignTime>
    </Key>
    <Key
    Name="ForeignNameNn">
    <jboxml:DesignTime>
    <jboxml:Attr
    Name="_DBObjectName"
    Value="ForeignName_NN"/>
    <jboxml:Attr
    Name="_isCheck"
    Value="true"/>
    <jboxml:Attr
    Name="_checkCondition"
    Value='"FOREIGNNAME" IS NOT NULL'/>
    </jboxml:DesignTime>
    <jboxml:AttrArray
    Name="Attributes">
    <jboxml:Item
    Value="com.mni.mednext.model.Bank.ForeignName"/>
    </jboxml:AttrArray>
    </Key>
    <jboxml:DesignTime>
    <jboxml:AttrArray
    Name="_publishEvents"/>
    <jboxml:Attr
    Name="_version"
    Value="11.1.1.46.84"/>
    <jboxml:Attr
    Name="_codeGenFlag2"
    Value="Access"/>
    </jboxml:DesignTime>
    </Entity>
    oracle.jbo.DMLException: JBO-26080: Error while selecting entity for Bank
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:1116)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:542)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:6804)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:4723)
         at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:5207)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:5361)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3129)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2937)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2061)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2263)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1530)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1380)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1237)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2019)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:678)
         at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:372)
         at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:93)
         at oracle.jbo.uicli.controls.JUNavigationBar.actionPerformed(JUNavigationBar.java:324)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
         at java.awt.Component.processMouseEvent(Component.java:5501)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
         at java.awt.Component.processEvent(Component.java:5266)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3968)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    ## Detail 0 ##
    java.sql.SQLException: ORA-00936: missing expression
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:77)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:111)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:472)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:422)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1015)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:204)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:857)
         at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:941)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1280)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3538)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3590)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1341)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelectForAltKey(OracleSQLBuilderImpl.java:869)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntitySelect(BaseSQLBuilderImpl.java:542)
         at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:6804)
         at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:4723)
         at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:5207)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:5361)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3129)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2937)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2061)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2263)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1530)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1380)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1237)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2019)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:678)
         at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:372)
         at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:93)
         at oracle.jbo.uicli.controls.JUNavigationBar.actionPerformed(JUNavigationBar.java:324)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
         at java.awt.Component.processMouseEvent(Component.java:5501)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
         at java.awt.Component.processEvent(Component.java:5266)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3968)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    I have added relaxAutoCommit = true in Glassfish, that works perfectly. Glassfish Admin Console > JDBC Connection Pools (Select own pool) > Additional properties and add relaxAutoCommit = true.
    http://docs.oracle.com/cd/E19798-01/821-1752/gbhbr/index.html

  • Trigger alert due to error in comm channel

    Hi All.
    I have configured alerts for errors in integration engine...
    if i find an error in the sender comm file channel.. how can i configure mail alerts ??
    pls suggest
    Regards,
    Teja

    You can pick alert rule for the sender business component/service combination if only one communication channel is involved for that interface.
    check also this thread
    Re: Alert Configuration for file channel
    Re: ALERT MAIL FOR FILE ADAPTER COMMUNICATION CHANNEL ERRORS

  • Error sender comm.channel

    R/3 sends the idoc to the file folder in UNIX, created file adapter to pick the file was given the file path correctly but in communication channel throws out the following error.
    ( i have to do any configuration )
    3/15/07 2:33:46 PM Retry interval started. Length: 60.0 seconds
    Error 3/15/07 2:33:46 PM Configured source directory '/usr/server/61/editest/comm/fromsap/2007/03_2007' does not exist
    3/15/07 2:33:46 PM Processing started
    Error 3/15/07 2:33:00 PM Retry interval started. Length: 60.0 seconds
    the directory was there, did i missed any please some one help me.
    thanks
    nivas
    Message was edited by:
            nivas nerusu

    Hi,
    the path to your folder must be correct
    is it a shared folder?
    if not use it with drive letter like: c:/something/usr/server/61/editest/comm/fromsap/2007/03_2007
    Regards,
    michal

  • Error: cannot commit (when inserting the row)

    hai,
    I create the trigger like below.
    create or replace trigger proce
    after insert on samp3
    declare
    ass date;
    begin
    select d into ass from samp3;
    updatecourse(ass);
    end;
    when I try to insert the row then the error is come;
    ERROR at line 1:
    ORA-20001: An error was encountered - -4092 -ERROR- ORA-04092: cannot COMMIT in a trigger
    ORA-06512: at "AUROLIVE.UPDATECOURSE", line 22
    ORA-06512: at "AUROLIVE.PROCE", line 5
    ORA-04088: error during execution of trigger 'AUROLIVE.PROCE'
    can any one help me?
    Regards,
    Ramya.S

    If u want to put commit on trigger use pragma
    autonomous_transaction.what it does,it leave the main
    transaction and commit the second transaction.Which can lead to logic problems and corruption of your business data if not used extremely carefully.
    If you start transaction 1 and during that write some other data as transaction 2 using autonomous transactions and then subsequently find that there is an error or some reason not to commit transaction 1 then you cannot automatically roll back transaction 2 and would have to take care of it manually.
    I see too many occurences of developers using autonomous transaction all over the place just because they want to get the data written to the database and then they're wondering why there is so much clutter in their data and the database integrity is poor from a business/logical point of view. The first thing any good design includes is a knowledge of the business transactions and when data should be committed and what the implications of using autonomous transactions are.

  • OutOfMemory Error in commit

    Greetings (Kodo3.4.1, JDK1.4, Oracle9i, Weblogic8.1)
    I have a case where an OutOfMemory Error occurs during
    PersistenceManager.currentTransaction().commit(). The problem is that,
    although commit() throws this Error, the database transaction appears to
    have already been committed.
    Do you have any advice regarding what I should do in this case? I am
    thinking that if OutOfMemory error occurs during commit, then it's possible
    that the Kodo caches may be out of sync with the database itself, therefore
    I should exit the JVM. The state of the records in the database should be
    ok. What do you reckon?
    Unfortunately there is no stack trace available, probably due to the Java
    shortcoming as detailed in
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4753347
    Cheers and thanks
    .droo.

    Thanks Henning - My thinking was that under most circumstances only the
    thread which received the OOM Error would need to die, assuming threads do
    not share any objects. This means that it would be ok to recover from an
    OOM which happens anywhere, EXCEPT: inside commit() after database has been
    updated but possibly while Kodo is updating it's internally shared objects -
    I don't know for sure as I don't have the source code and I don't know what
    it's doing when it dies. But... You may be right, even the threading
    system itself or the container may have cactus shared objects after an OOM.
    I will try to get hold of CR282897.
    Also thanks Denis, I am concerned with shared DataCache/QueryCaches but also
    was wanting to find out from Kodo what else I should be concerned about, as
    I don't know what commit is trying to do when it dies.
    In any case I have decided that if this OOM happens, I will disable the
    current application. Anyone who calls a SessionBean will be to go away
    because the server is experiencing difficulties, and it will try to notify
    the administrators. Hopefully I don't need to kill the VM because other
    applications may also be running in the same app server instance.
    Cheers and thanks
    .droo.
    On 21/9/06 7:49 AM, in article [email protected], "Henning
    Andersen" <Henning Andersen> wrote:
    Drew,
    Out Of Memory Errors normally cannot be recovered from. If the VM is near an
    out of memory error situation, the exception can be thrown in any thread, not
    just your kodo-comitting-thread. This exception can happen almost anywhere and
    nobody codes to handle it properly (for instance, most of java.util does not
    handle this properly, eg. TreeMap.put will leave treeset inconsistent if it
    cannot allocate an Entry). This means that if an out of memory error occurs
    you really should restart the vm.
    Only solution is to ensure that you do not get out of memory errors.
    I saw a similar problem (but not the same) on kodo 3.4.1, which had to do with
    creating many new objects and doing flushes in between, which would cause an
    internal list to grow in the DataCacheStoreManager. The fix for this is in
    CR282897, which I would recommend trying to get a hold of through support.On 20/9/06 8:51 PM, in article [email protected], "Denis
    Sukhoroslov" <[email protected]> wrote:
    Drew,
    if you concerned on cache sync with DB, you can easly clear it in case of
    OOM error:
    KodoPersistenceManager pm = ...// get PM
    DataCache dCache =
    pm.getConfiguration().getDataCacheManager().getDataCache();
    if (dCache != null) {
    dCache.clear();
    Denis.

  • Error on commit operation

    HI all,
    Getting error on table commit operations. 11.6
    PK1 PK2 PK3 ----composite primary key attributes in table
    10 10 1
    10 12 1
    10 10 2
    23 12 1
    23 12 2
    Based on the first and second attributes , pk3 will genrating dynamically and stetting to table attribute .
    If the previous two columns(pk1 and pk2) values are same then the (pk3) will increment by one , plase refer table for info
    Addition of all records will happen in popup-dialog window , upon insertion of new records on table, when user tries to commit the table getting all PK3 values are loosing bcoz iterator executing dynamically
    Please let me know if any ways to achieve above request
    Upon commit ,: eror "Too many object tht matches primary Key [12,10,1]'
    thanks

    I would suggest to use a technical value as key (use a sequence) your current key as alternate key.define a unique constraint in the db which guarantees that the alternate key is unique. Then you can do you calculations without getting the pk violation as three pk it's just a number generated from a sequence.
    This way you can handle your use case a lot easier.
    Timo

  • Retrieving DbSequence Value Before Commit

    Hello,
    I'm creating a user registration page which is a flow of 3 pages (Each Page contains an ADF input form which corresponds to a DB table).
    I am using DbSequence for generating the primary keys for three tables. I need to get the Dbsequence value after the first submit was done, in the second page as it is the foreign key to the second table. I'm getting a negative number , if I dont use commit in the first page.
    I want to store the values of the three forms in the temporary tables , and commit only if the third form is successfully submitted.
    Is it possible to do that?
    Thanks.

    I'm using UIX,ADF and Struts. This topic is being followed in
    Insert Foreign Key From Already Available DBSequence Binding

  • Error with commit work

    Hi everybody.
    I have a standar aplication with this instruction. If I execute the program directly, it raise an exception. But if I active the debug, stop in the line of this instruction, and press F6 to execute the "commit work", and then press F8, it work correctly. If I activate the debug at the star of program, and pres F8 directly, it raise the exception too.
    Summary:
    Break point at line "commit work".
    Run the aplication
    The execution stop at the break point
    Press F8
    ERROR (exception)
    Break point in other previous point of the program
    Run the aplication
    The execution stop at the break point
    Press F8
    ERROR (exception)
    Break point at line "commit work"
    Run the aplication
    The execution stop at the break point
    Press F6 (it jump to the next line)
    Press F8
    FINISH FINE
    The exception is this (is in a BSP):
    An exception has occurred Exception Class CX_BOL_EXCEPTION - Access Previously Deleted Entity
    Method: CL_CRM_BOL_CORE=>REREAD_ENTITY
    Source Text Row: 118
    And this is the code that raise the exception:
      if IV_ENTITY->MY_MANAGER_ENTRY is not bound or IV_ENTITY->CONTAINER_PROXY is not bound.
      entity does not longer exist
        raise exception type CX_BOL_EXCEPTION
          exporting
            TEXTID = CX_BOL_EXCEPTION=>ENTITY_ALREADY_FREED.
      endif.
    But the commit is previos than this...
    Thanks, experts

    hi
    chk this statement
    if sy-subrc <> 0.
    message s208(00) with 'Error'. --> where will the status bar msg. occur in bground
    leave list-processing.
    endif.
    maybe the subrc might be false, and triggering this condition, which i believe will not work in background
    if helpful, reward
    Sathish. R

Maybe you are looking for

  • I'm getting an error message when trying to download a PDF file.

    Its says that 'FoxitReaderOCX.ocx failed to load'? What do I need to do. I've reloaded both Adobe Reader and FoxitReader. I can tell from the status bar that FF is trying to transfer information, and the screen goes black as if waiting for info to co

  • Do i need to pay before I start using skype

    Hello all, have been on Skype years ago, can you answer a couple of questions please? Is it free to use Skype video/call without a subscription to a family member on skype etc?? If not, how long does the credit last??  If I just want to use skype for

  • Transparent Tables for KONV

    I've seen this question before, but haven't seen a satisfactory answer.  Which transparent tables are used for KONV?  I need to check the data from outside of SAP and look into the transparent tables from a SQL Server.  I have gone into  tcode SE11 f

  • Reply to and attach file Automator script

    Please help. I've been working on this for hours. Automator has an action to reply to an email in outlook. But I want to use mail. I tried writing an applescript the created a reply message -- but when I run the action "add attachement to front messa

  • Sleep button stuck

    If something is wrong, mechanically with your iphone, such as my sleep button on top will only work if you press it as hard as you possibly can, can your phone get replaced? Or am I going to have to buy another one?