JBO-26041 Error Failed to post data to database

This is the error I am getting. This works for one database schema fine and the other I get this error.
oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "BEGIN INSERT INTO PTS_COMMUNICATIONS(PTS_ID,CATEGORY_CD,LOGIN_ID,MEDIA_TYPE,COMM_IN_OUT,SUBMIT_DT,CBER_RECEIVED_ISSUED_DT,NOTES,COMMUNICATION_STATUS) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9) RETURNING COMM_ID INTO :10; END;".
     at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:498)
     at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5413)
     at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4235)
     at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2937)
     at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2748)
     at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1922)
     at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2115)
     at gov.fda.cber.pts.model.services.CberPtsServiceImpl.insertCommunication(CberPtsServiceImpl.java:2604)
     at gov.fda.cber.pts.controller.strutsactions.CreateCommunicationPageAction.onSaveCommunication(CreateCommunicationPageAction.java:191)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java)
     at oracle.adf.controller.lifecycle.PageLifecycle.handleEvent(PageLifecycle.java:544)
     at oracle.adf.controller.struts.actions.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:252)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleEvent(StrutsUixLifecycle.java:237)
     at oracle.adf.controller.lifecycle.PageLifecycle.processComponentEvents(PageLifecycle.java:477)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processComponentEvents(StrutsUixLifecycle.java:163)
     at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:236)
     at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:430)
     at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:126)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
     at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
     at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.sql.SQLException: ORA-04098: trigger '$PANDEYS.PTS_COMMUNICATIONS_BIUR' is invalid and failed re-validation
ORA-06512: at line 1
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
     at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
     at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:180)
     at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:790)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1101)
     at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2901)
     at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2973)
     at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:4145)
     at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:356)
     at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5413)
     at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4235)
     at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2937)
     at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2748)
     at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1922)
     at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2115)
     at gov.fda.cber.pts.model.services.CberPtsServiceImpl.insertCommunication(CberPtsServiceImpl.java:2604)
     at gov.fda.cber.pts.controller.strutsactions.CreateCommunicationPageAction.onSaveCommunication(CreateCommunicationPageAction.java:191)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java)
     at oracle.adf.controller.lifecycle.PageLifecycle.handleEvent(PageLifecycle.java:544)
     at oracle.adf.controller.struts.actions.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:252)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleEvent(StrutsUixLifecycle.java:237)
     at oracle.adf.controller.lifecycle.PageLifecycle.processComponentEvents(PageLifecycle.java:477)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processComponentEvents(StrutsUixLifecycle.java:163)
     at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:236)
     at oracle.adf.controller.struts.actions.DataAction.processComponentEvents(DataAction.java:430)
     at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:126)
     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)
     at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)
     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)
     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
     at java.lang.Thread.run(Thread.java:534)
any clues?

Seems like you have a database trigger on the table that is in invalid mode - talk with your DBA to find out why.
(Or open it in JDeveloper and make sure it compiles).

Similar Messages

  • JBO-26041: Failed to post data to database during "Insert": SQL Statement "

    Dear All,
    I am trying to insert the data into custom table,getting the following error. Please help me to resolve the issues.
    I have created one custom table in APPS schema having the primary key and History Columns.
    Created the EO based on the custom table and generate the create method.
    Created the VO based on the EO and generated the VOImpl, RowImpl Java Files.
    I am using the PER_PEOPLE_S sequence to populate the value into Primary key column.
    Calling the below code into create method of EO object to populate the value into Primarykey column.
    setPersPersonid(getOADBTransaction().getSequenceValue("PER_PEOPLE_S"));
    oracle.apps.fnd.framework.OAException: oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "INSERT INTO XXUTS_PERSON_T(PERS_PERSONID,PERS_FIRSTNAME,PERS_LASTNAME,CREATION_DATE,CREATED_BY,LAST_UPDATED_BY,LAST_UPDATE_DATE,LAST_UPDATE_LOGIN) VALUES (?,?,?,?,?,?,?,?)".
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at xxuts.oracle.apps.csc.person.webui.XXCreatePersonCO.processFormRequest(XXCreatePersonCO.java:67)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:72)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.sql.SQLException: ORA-00911: invalid character
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3074)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:427)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5740)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4539)
         at oracle.apps.fnd.framework.server.OAEntityImpl.postChanges(Unknown Source)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2996)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2807)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1971)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2173)
         at oracle.apps.fnd.framework.server.OADBTransactionImpl.commit(Unknown Source)
         at xxuts.oracle.apps.csc.person.server.XXPersonMainAMImpl.savePersonToDatabase(XXPersonMainAMImpl.java:39)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at xxuts.oracle.apps.csc.person.webui.XXCreatePersonCO.processFormRequest(XXCreatePersonCO.java:67)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:72)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    java.sql.SQLException: ORA-00911: invalid character
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3074)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:427)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5740)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4539)
         at oracle.apps.fnd.framework.server.OAEntityImpl.postChanges(Unknown Source)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2996)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2807)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1971)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2173)
         at oracle.apps.fnd.framework.server.OADBTransactionImpl.commit(Unknown Source)
         at xxuts.oracle.apps.csc.person.server.XXPersonMainAMImpl.savePersonToDatabase(XXPersonMainAMImpl.java:39)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at xxuts.oracle.apps.csc.person.webui.XXCreatePersonCO.processFormRequest(XXCreatePersonCO.java:67)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:72)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Thanksm
    Sai Sankilisetty

    Dear Kumar,
    I have checked the datatypes of the table and datatypes of the Pageitems, both the datatypes are same.
    I have created the region using the wizard based on the VO.
    My custom table having only 3 columns and History Columns.Out of 3 columns PersPersonid is Primary key column and I am assigning the sequence value to the column in create method of EO as below
    public void create(AttributeList attributeList) {
    super.create(attributeList);
    setPersPersonid(getOADBTransaction().getSequenceValue("PER_PEOPLE_S"));
    //Here PER_PEOPLE_S is the Sequence
    Thanks,
    Sai

  • Urgent JBO-26041: Failed to post data to database during (in insert Clob)

    HI ,
    we have a code to get the clob and then write it to the database
    HttpSession session = UIServices.getHttpSession(context);
    byte] payloadByteArray = (byte[)session.getAttribute("FILE_BYTES_fileName");
    String payloadStr = null;
    try {
    //get the string
    payloadStr = new String(payloadByteArray, "UTF-8");
    // System.out.println("---payloadstr --->>>>"+payloadStr) ;
    ClobDomain cd =new ClobDomain(payloadStr);
    XhubRoutingRulesAMImpl am = (XhubRoutingRulesAMImpl)Jbo.getApplicationModule(context);
    SnwRoutingRulesVOImpl SnwRoutingRulesVO= (SnwRoutingRulesVOImpl) am.findObject("SnwRoutingRulesVO");
    Jbo.applyViewCriteriaOneRow(SnwRoutingRulesVO,"RoutingRuleId",routingRuleId);
    SnwRoutingRulesVO.executeQuery();
    SnwRoutingRulesVORowImpl row=null;
    while (SnwRoutingRulesVO.hasNext())
    row =(SnwRoutingRulesVORowImpl) SnwRoutingRulesVO.next();
    row.setPreXslt(cd);
    row.setOverridexslt("Y");
    row.setPostXslt(null);
    //commiting the data
    Jbo.commit(am);
    session.removeAttribute("FILE_BYTES_fileName");
    catch(Exception e){
    e.printStackTrace();
    session.removeAttribute("FILE_BYTES_fileName");
    THE exception are :
    oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Update": SQL Statement "null".
    at oracle.jbo.server.EntityImpl.doDMLWithLOBs(EntityImpl.java:8139)
    at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:7994)
    at oracle.apps.snw.schema.server.WhoEntityImpl.doDML(WhoEntityImpl.java:200)
    at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6319)
    at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3168)
    at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2976)
    at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2014)
    at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2273)
    at oracle.apps.snw.uicommon.Jbo.commit(Jbo.java:148)
    at oracle.apps.snw.tpadmin.webui.TPRouteRulesEvent.fileUpload(TPRouteRulesEvent.java:241)
    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 oracle.cabo.servlet.event.MethodEventHandler.handleEvent(Unknown Source)
    at oracle.cabo.data.jbo.servlet.event.ChainingEventHandler.handleEventImpl(Unknown Source)
    at oracle.cabo.data.jbo.servlet.event.FindRootAppModuleEventHandler.handleEventImpl(Unknown Source)
    at oracle.cabo.data.jbo.servlet.event.BaseEventHandler.handleEvent(Unknown Source)
    at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
    at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
    at oracle.cabo.data.jbo.xml.parse.JboParserExtensionImpl$SynchronizingEventHandler.handleEvent(Unknown Source)
    at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
    at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
    at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
    at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
    at oracle.cabo.servlet.BajaServlet.doGet(Unknown Source)
    at oracle.cabo.servlet.UIXServlet.doPost(Unknown Source)
    at oracle.cabo.servlet.BajaServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    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.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
    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:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
    at oracle.jbo.domain.ClobDomain.writeCharsToLob(ClobDomain.java:1322)
    at oracle.jbo.domain.ClobDomain.saveToDatabase(ClobDomain.java:464)
    at oracle.jbo.server.EntityImpl.doDMLWithLOBs(EntityImpl.java:8114)
    ... 49 more
    This same code is running fine sometime and we didnt get any issue but sometime it is throwing the error .Its very strange

    EDIT: Nevermind you're using ClobDomain. I was thinking of standard jdbc CLOB's.
    Edited by: Jan Nawara on May 5, 2010 10:35 AM

  • Failed to post data to database during "Update": SQL Statement

    Hi,
    I'm getting this error while trying to update a VO via BCBrowser or UI.
    Failed to post data to database during "Update": SQL Statement
    This is a simple & straight forward default VO created on Entity Object (Database Table)
    On the same table & with same DB credentials, I could successfully update the record.
    Any Guess, on what went Wrong??
    Thanks in Advance for any help.
    p.s Jdev 11.1.1.6
    Log:
    oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Update": SQL Statement "BEGIN UPDATE CAR CarEO SET SEL_ITEM=:1 WHERE TXN_NO=:2 AND LOGID=:3 AND SEQNO=:4 RETURNING DELIVERY_MODE, CERTIFICATION_REQ, SOFT_COPY_IND, SELITEM INTO :5, :6, :7, :8; END;".
      at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:583)
      at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8575)
      at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6816)
      at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)
      at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3093)
      at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2097)
      at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2378)
      at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1615)
      at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1417)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
      at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
      at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
      at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:111)
      at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
      at java.awt.Component.processMouseEvent(Component.java:6289)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      at java.awt.Component.processEvent(Component.java:6054)
      at java.awt.Container.processEvent(Container.java:2041)
      at java.awt.Component.dispatchEventImpl(Component.java:4652)
      at java.awt.Container.dispatchEventImpl(Container.java:2099)
      at java.awt.Component.dispatchEvent(Component.java:4482)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      at java.awt.Container.dispatchEventImpl(Container.java:2085)
      at java.awt.Window.dispatchEventImpl(Window.java:2478)
      at java.awt.Component.dispatchEvent(Component.java:4482)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
      at java.awt.EventQueue.access$000(EventQueue.java:85)
      at java.awt.EventQueue$1.run(EventQueue.java:603)
      at java.awt.EventQueue$1.run(EventQueue.java:601)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      at java.awt.EventQueue$2.run(EventQueue.java:617)
      at java.awt.EventQueue$2.run(EventQueue.java:615)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.sql.SQLException: Invalid column type
      at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterInternal(OracleCallableStatement.java:150)
      at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:399)
      at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:581)
      at oracle.jdbc.driver.OracleCallableStatementWrapper.registerOutParameter(OracleCallableStatementWrapper.java:1765)
      at oracle.jbo.server.OracleSQLBuilderImpl.bindUpdateStatement(OracleSQLBuilderImpl.java:2243)
      at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:10524)
      at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:412)
      ... 52 more

    The issue is resolved now.
    new Columns added to the Database table, after creating Entity Object. These latest changes were not picked up in Entity Object.
    I found this difference after comparison of entity object with DB Table.
    And when I added those new columns to EO & VO, I'm not getting this error anymore.
    Thanks to all who tried to help

  • Error:Failed to retrieve data from database [Vendor Code:3001]

    Hello FOlks am trying to run a crystal report but when i try to run it somehow returns this error i.e [Error:Failed to retrieve data from database [Vendor Code:3001], I have no clue wats happening with this.Can anybody please throw some light on this.Am providing the sql behind this report for reference.
    SELECT "CLIENT"."CLIENT_NAME",
            "RECOVERY"."AMOUNT",
            "RECOVERY"."RECOVERY_TRANSACTION_INTERNAL",
            "RECOVERY"."ALLOCATION_CHECK_AMOUNT",
            "RECOVERY"."RECOVERY_DATE"
       FROM "HRI1_OWNER"."CLIENT""CLIENT",
            "HRI1_OWNER"."EVENT_CASE""EVENT_CASE",
            "HRI1_OWNER"."SETTLEMENT""SETTLEMENT",
            "HRI1_OWNER"."RECOVERY""RECOVERY"
      WHERE "CLIENT"."CLIENT_ID" = "EVENT_CASE"."CLIENT_ID"
        AND "EVENT_CASE"."EVENT_CASE_ID" = "SETTLEMENT"."EVENT_CASE_ID"
        AND "SETTLEMENT"."SETTLEMENT_ID" = "RECOVERY"."SETTLEMENT_ID"
        AND "CLIENT"."CLIENT_CODE" <> 'CLIENT  1'
        AND "CLIENT"."MAJOR_CLIENT_ID" in
            (Select major_client_id
               from major_client
              where major_client_code in ('LA', 'PFG'))
      ORDER BY "CLIENT"."CLIENT_NAME"Edited by: user11961230 on Nov 12, 2009 6:57 AM

    @oradba:Hi Thanks for getting bak. Well i have ran the query using PL/SQL Developer tool and yes its mapping to ORA-03001:unimplemented feature. i dont know what the problem is.
    @centinul: well i dont have any views in there.but still cudnt figure out why its throwing tht error
    Thanks
    Edited by: user11961230 on Nov 12, 2009 7:12 AM

  • JBO-26041: Failed to post data to database during "Update":

    Hi,
    When Iam trying to update data to database Using View object this error comes .Please help me....
    Thanks....

    No info mean no help....
    There must be an underlying error or at least a full stack trace.
    What did you try to do?
    Which JDev version and which technology you are using?
    Timo

  • JBO-26041 error when creating a selection set

    11.5.10.2 with AZ.H Delta 2
    Trying to create a selection set for "Discrete Mfg. and Distribution Setups" using a filter on Inventory org and I get this error
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement " INSERT INTO AZ_SELECTION_SET_ENTITIES_B(REF_ENTITY_OCCURANCE_CODE,UPDATABLE_FLAG,ALLOW_SET_TARGETVAL_FLAG,ALLOW_FILTER_FLAG,CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATE_DATE,LAST_UPDATE_LOGIN,CHANGE_UPDATABLE_FLAG,ENTITY_CODE,FILTERING_PARAMETERS,ENTITY_OCCURANCE_CODE,USER_ID,SELECTION_SET_CODE,SEQ_NUM,SELECTION_FLAG,FILTER_SET_FLAG) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18)".; ................
    <snip>
    ## Detail 0 ## java.sql.SQLException: Data size bigger than max size for this type: 4220 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134 ............
    <snip>
    If I do not select a filter, the selection set gets created successfully. Seems to me that the issue is related to data. Is there a limitation on the length of a certian field in the selection set ?
    Any help is appreciated - we are also creating an SR
    Thanks
    Srini

    Roopesh,
    Thanks for your support. Understood your point - I logged into the target instance and then tried to create a selection set using the Source instance and got the same error (and it can be reproduced at will on both source and target instances). The set will save successfully if I do not enter any criteria.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement " INSERT INTO AZ_SELECTION_SET_ENTITIES_B(REF_ENTITY_OCCURANCE_CODE,UPDATABLE_FLAG,ALLOW_SET_TARGETVAL_FLAG,ALLOW_FILTER_FLAG,CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATE_DATE,LAST_UPDATE_LOGIN,CHANGE_UPDATABLE_FLAG,ENTITY_CODE,FILTERING_PARAMETERS,ENTITY_OCCURANCE_CODE,USER_ID,SELECTION_SET_CODE,SEQ_NUM,SELECTION_FLAG,FILTER_SET_FLAG) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18)".; at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891) at
    <snip>
    ## Detail 0 ## java.sql.SQLException: Data size bigger than max size for this type: 4282 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179) at oracle.jdbc.ttc7.TTCItem.setArrayData(TTCItem.java:155
    <snip>
    Thanks
    Srini

  • Jdeveloper 11.1.1.6 fail to post data with uploaded orddoc file

    I migrated our application in 11.1.1.6 from 11.1.1.4
    everything works fine except from posting data of entity with OrdDocDomain attribute.
    Anyone have the same issue?
    the log is
    JBO-26041: Failed to post data to database during "Update": SQL Statement "UPDATE DOCUMENT Document SET FILENAME=:1,LOBCONTENT=:2,UPDATED_BY=:3,UPDATED_ON=:4,OPTLOCK_VERSION=:5 WHERE ID=:6".
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    Caused by: oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Update": SQL Statement "UPDATE DOCUMENT Document SET FILENAME=:1,LOBCONTENT=:2,UPDATED_BY=:3,UPDATED_ON=:4,OPTLOCK_VERSION=:5 WHERE ID=:6".
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:583)
         at oracle.jbo.server.EntityImpl.doDMLWithLOBs(EntityImpl.java:8647)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8579)
         at com.intralot.igp.model.base.EntityImpl.doDML(EntityImpl.java:96)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6816)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3093)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2097)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2378)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1615)
         at oracle.adf.model.dcframe.LocalTransactionHandler.commit(LocalTransactionHandler.java:139)
         at oracle.adf.model.dcframe.DataControlFrameImpl.commit(DataControlFrameImpl.java:1226)
         at com.intralot.igp.view.utils.ADFUtils.dcCommit(ADFUtils.java:466)
         at com.intralot.igp.taskflows.view.backing.documents.Documents.editDocumentListener(Documents.java:67)
         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)
         ... 72 more
    Caused by: java.sql.SQLException: Undefined type
         at oracle.jpub.runtime.Util._convertToOracle(Util.java:277)
         at oracle.jpub.runtime.Util.convertToOracle(Util.java:167)
         at oracle.jpub.runtime.MutableStruct.getDatumAttribute(MutableStruct.java:323)
         at oracle.jpub.runtime.MutableStruct.getDatumAttributes(MutableStruct.java:347)
         at oracle.jpub.runtime.MutableStruct.toDatum(MutableStruct.java:118)
         at oracle.ord.im.OrdSource.toDatum(OrdSource.java:93)
         at oracle.jpub.runtime.Util._convertToOracle(Util.java:183)
         at oracle.jpub.runtime.Util.convertToOracle(Util.java:167)
         at oracle.jpub.runtime.MutableStruct.getDatumAttribute(MutableStruct.java:323)
         at oracle.jpub.runtime.MutableStruct.getDatumAttributes(MutableStruct.java:347)
         at oracle.jpub.runtime.MutableStruct.toDatum(MutableStruct.java:118)
         at oracle.ord.im.OrdDocBase.toDatum(OrdDocBase.java:96)
         at oracle.jdbc.driver.OraclePreparedStatement.setORADataInternal(OraclePreparedStatement.java:10450)
    Anyone have the same issue?
    Thanks

    We are getting the same issue when migrated to latest WLS version 10.3.6.0(ADF runtime 11.1.1.6) from WLS 10.3.3.0.
    The Exception we are getting while trying to post an ORD type object:
    java.sql.SQLException: Undefined type
    at oracle.jpub.runtime.Util._convertToOracle(Util.java:277)
    at oracle.jpub.runtime.Util.convertToOracle(Util.java:167)
    at oracle.jpub.runtime.MutableStruct.getDatumAttribute(MutableStruct.java:323)
    at oracle.jpub.runtime.MutableStruct.getDatumAttributes(MutableStruct.java:347)
    at oracle.jpub.runtime.MutableStruct.toDatum(MutableStruct.java:118)
    at oracle.ord.im.OrdSource.toDatum(OrdSource.java:93)
    at oracle.jpub.runtime.Util._convertToOracle(Util.java:183)
    at oracle.jpub.runtime.Util.convertToOracle(Util.java:167)
    at oracle.jpub.runtime.MutableStruct.getDatumAttribute(MutableStruct.java:323)
    at oracle.jpub.runtime.MutableStruct.getDatumAttributes(MutableStruct.java:347)
    at oracle.jpub.runtime.MutableStruct.toDatum(MutableStruct.java:118)
    at oracle.ord.im.OrdImageBase.toDatum(OrdImageBase.java:99)
    at oracle.jdbc.driver.OraclePreparedStatement.setORADataInternal(OraclePreparedStatement.java:10450)
    at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11651)
    at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11631)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:253)
    at weblogic.jdbc.wrapper.PreparedStatement.setObject(PreparedStatement.java:357)
    at oracle.jbo.server.OracleSQLBuilderImpl.bindInsertStatement(OracleSQLBuilderImpl.java:2035)
    at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:10516)
    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:412)
    at oracle.jbo.server.EntityImpl.doDMLWithLOBs(EntityImpl.java:8647)
    at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8579)
    at oracle.apps.grc.cms.model.eo.MediarepositoryimagesImpl.doDML(MediarepositoryimagesImpl.java:52)
    Can anyone please help on this. Is there any work around available?

  • Report error "Failed to retrieve data from the database."

    Post Author: tknorst
    CA Forum: .NET
    I have an application using CR XI R2, and on certain users computers when they try to run a report they get the following error:
    Failed to retrieve data from the database.Details: &#91;Database Vendor Code: 229&#93;Failed to retrieve data from the database.Error in File C:\DOCUME1\turkj\LOCALS1\Temp\WhseEmpJobAndActivityByUserAndDate {22DA2F53-4391-4307-9F2A-0E3C3EBE2198A}.rpt
    The report uses SQLOLEDB (ADO) and integrated authentication - it runs fine on the development machine.
    I found very little info on this error on the web (google) - so I hope someone here has an idea.

    You need to make sure that those systems can get conneted to the database that is supposed to return data. To check that create a udl in clients machine.
    Also do not change the schema of he report.

  • Catch a JBO-26041 error on insert, but continue processing

    re-post:
    Does anyone know if this is possible?
    I'm creating new rows in a ViewObject within a loop. It's possible that the record that I'm trying to create already exists, so I want to catch a JBO-26041 error and basically ignore it (don't insert/create new row) and continue processing/creating rows within the loop. Committing at the end of the loop.
    Is this possible?
    Thanks!
    -Teri Kemple
    I've tried the following:
    for (int i = 1; i < objectIdList.length; i++) {
    try {
    row = vo.createRow();
    row.setAttribute("ScreenObjectId", objectIdList);
    row.setAttribute("AccessId", accessId);
    am.getTransaction().postChanges();
    } catch (JboException je) {
    if ("26041".equals(je.getErrorCode)))) {
    // ignore error, don't insert
    ????? what can I do here?
    } /// for loop
    if (am.getTransaction().isDirty()) {
    am.getTransaction().commit();

    Teri:
    This looks like a duplicate thread. Please refer to
    Catch a JBO-26041 error on insert, but continue processing
    Thanks.
    Sung

  • Error: Failed to restore data position

    We are running a report in the Crystal Reports Java runtime engine and receive the following:
    "Error
    Failed to restore data position, target: section = SectionCode;, printRecordNumber = 339, pageN = 2, result: section = SectionCode:, printRecordNumber = 399, pageN = 2"
    The report includes header with formulas and logos, 3 sub reports, and a cross tab.
    In case the cross tab has a small number of records and is printed in one page, there is no error. Once the cross tab has more records and requires another page to print, the error message is displayed.
    The report data contains tables and an SQL command, all from one database.
    This happens only on the runtime engine. When we run the report through Crystal Reports designer - no errors even if the cross tab requires 2 or more pages to print.
    System:
    Development: Crystal Reports designer 2008 SP3, ODBC, mySQL
    Runtime: Java runtime engine (latest release from SAP's web site), JDBC, mySQL
    Thanks,
    Ori

    Ori,
    If the report runs in the CR design interface there isn't a CR issue. You should have better luck getting an answer to your question is you post it in the [Java - SAP Crystal Reports|SAP Crystal Reports, version for Eclipse; forum.
    Also, take a look at this thread in regards to mixing commands and linked tables... [Multiple "command" connections to the database. Linking + Performance|Re: Multiple "command" connections to the database.  Linking + Performance].
    HTH,
    Jason

  • Palm Desktop software - Fails to open with msg "Error: Failed to open Address Book database"

    In July 2009 I dropped my trusty Visor on a tile floor and it stopped working.  So, in the meantime I have been using only the Palm Desktop software. 
    Just yesterday, when I attempted to launch the Palm Desktop software, it failed with the message “Error: Failed to open Address Book database”.  I think this error was caused by a very ungraceful shut-down of my Win XP system yesterday. 
    I really do need to use the Palm Desktop software for my address list, calendar, and memo.  The problem is that the error with the Address Book database seems to be preventing the Palm Desktop software from initializing.
    I am using Palm Desktop 4.0.1 on Windows XP SP3.  I do NOT  have an export file of the Palm address book or other databases.  However, I do have five levels of backup history on my external Maxgor backup drive. 
    Specifically, on my current c drive I have files in the directory:
    C:\Program Files\Handspring\WR\address
                address.bak                  5/16/2009   (from last sync before I broke Visor)
                address.dat                   5/24/2011
                Personal.ABA                11/6/2008
                Unfiled.ABA                   3/28/2008
    On my most recent backup of my system, there are the following files:
                            address.bak                 5/16/2009   (from last sync before I broke Visor)    
                            address.dat                  5/12/2011
                            Personal.ABA              11/6/2008
                            Unfiled.ABA                  3/28/2008
    I have not listed the four older backup versions.
    I haven’t tried any corrective measures yet (I don’t want to make matters worse) and am hoping that someone can guide me along the right path.
    Is it possible for me to just rename the “current” address.dat file to something like address.SAV and then copy the Address.dat file file with date of 5/12/2011 into the current directory.  Will the software then just use the older version of the data, or must I do something else.
    I am grateful for any assistance.  Thank you very much.
    Post relates to: Visor Deluxe
    Post relates to: Visor Deluxe

    Thanks for the speedy response.  However, I read the article for which you provided the link, and I hve also read many other articles that I found via search, but I don't think these will help me.  All of these articles seem to assume that (1) you have a handheld to which you can sync and thereby rebuild the database on the PC, or (2) you have a backup that you created via the Palm Desktop export function.  Unfortunately, I have neither and so I don't think any of these solutions will work for me.
    I did read with great interest an article that stated that recent versions of Palm Desktop have a built-in function that will repair a corrupted Datebook database.  Will this also fix a corrupted Address Book database which is my problem?  
    So, I downloaded and attempted to install the latest version of Palm Desktop.  I was careful to read the instructions that stated NOT to uninstall my current version of Palm Desktop, but to just install the latest version on top of my current Palm Desktop.  However, when I attempted to do the installation, the installer software said it could not install on top of my current software and that I should first uninstall my current software.
    I have some questions now:
    (1) If I uninstall my current version of Palm Desktop, will this destroy my Address Book, Datebook, and Memo databases ( I don't care about the ToDo database)?  If so, what can I do to preserve those databases?
    (2) Is there really a function built in the recent versions of Palm Desktop that will fix a corrupted database?  Is this an "automatic" function that will detect and fix a broken database or is this something I will have to invoke?
    Thanks for your help.
    Gdad

  • Help! Error: Failed to open Address Book Database on Palm Desktop

    In advance, thank you, thank you, thank you to the person who saves me from this error! I have no idea what I've done to deserve this!?! So, thank you for helping!!!
    Here's the problem:
    When I double click on the Palm Desktop icon on my desktop, I get: Error: Failed to open Address Book Database on Palm Desktop
    And then, I get: This program has performed an illegal operation and will be shut down. If the problem persists, contact the program vendor.
    When I click on the details button, it says: PALM caused an invalid page fault in
    module MFC42.DLL at 0177:5f404045.
    Registers:
    EAX=0082fad8 CS=0177 EIP=5f404045 EFLGS=00010202
    EBX=00000000 SS=017f ESP=0082fa94 EBP=00855d0c
    ECX=5f4d1c58 DS=017f ESI=0082fad8 FS=572f
    EDX=00017b84 ES=017f EDI=00000008 GS=0000
    Bytes at CS:EIP:
    8b 07 3b c8 74 34 83 79 f4 00 7d 0f 83 c1 f4 3b
    Stack dump:
    00000000 008558c0 004b5d3d 00000008 01befe17 0082fad8 008559cc 008558c0 00855d0c 00000000 00000010 5f4d1c58 00000000 00000000 00000000 00000000
    Again, thanks for your help in advance!
    Post relates to: Palm Vx

    I've seen a lot of people post a message that's basically like the problem I'm having. I'm sending this to everyone who had the same general type of question in hopes that my fix might cure your problem also.
    My Palm Desktop (4.1.4) would open correctly the first time after installing, but after doing a hotsync it would crash every other time it was opened (using a Tungsten E). I'm running Windows XP Professional, and it would give an error saying "Windows XP has encountered an error and needs to close", or something like that.
    I did the usual. Removed the program and reinstalled, which didn't work. I also went through the tedious process of uninstalling the software, then removing every registry entry by hand that referenced the Palm or Pocketmirror, which also didn't work.
    I searched through the support files on palmone.com and found something that gave me an idea. It talked about removing a corrupted file to fix problems with the datebook. I hadn't been getting any errors pointing to a specific problem, but on a hunch I deleted the entire address folder out of the Palm directory. That did the trick!
    A corrupted address book in the Palm Desktop software was keeping it from running. The problem was how to fix the corruption, which I eventually found on a menu option in the Palm Desktop software.
    Below is the fix that worked for me. Caution! Only do this if you have all of the current info in your Palm, because it will erase what's on your Palm Desktop.
    1. Go to your Palm folder on your pc (default install location is c:\palm) and open the folder for your user.
    2. Delete the address, datebook, expense, memopad, note pad and todo folders.
    3. Open the Palm Desktop program.
    4. Do a hotsync.
    5. Important! Don't click on anything else in the Palm Desktop after doing the hotsync. If you change to one of the areas that has corrupted data, it will immediately crash.
    6. Right after doing the hotsync, click Tools on the top menu in the Palm Desktop, then Options. Click on the Tools tab and then click Check Now to fix the corrupted data.
    7. Click OK.
    That should hopefully get you running again. Let me know if that worked for you.

  • Need Help on Troubleshooting IR Error: Failed to acquire access to database

    Hi there,
    I have been struggling with the following error "Failed to acquire access to database" and ODBC driver error "Data source name not found and no default driver specified" when opening an IR document for a few weeks.
    The IR document uses an oce file called ABC.oce and DAS has been configured accordingly.
    ODBC System Data Source called ABC created on server running IR DAS as follows:
    - Driver: Oracle in OraClient11g_home1
    - TNS entry: ABC
    - Connection tested successfully;
    IR DAS entry ABC created as follows:
    - Connectivity Type: ODBC
    - Database Type: Oracle
    - Hostname: ABC
    oce file called ABC.ore created as follows:
    Interactive Reporting Database Connection
    Connection Software: ODBC
    Database: ORA8
    Host: ABC
    Username and password have been entered in the oce file as well.
    What possibly have I missed?
    Any help will be highly appreciated.

    Are you using the Hyperion ODBC drivers which comes with the Hyperion installation?

  • Failed to retrieve data from database?

    I am a new user
    When I try to Preview a document I am prompted to enter in database information.
    I have tried a few times to connect to my server and
    continuously keep getting the same error page
    No matter what I enter in the two fields, this is what pops up.
    "Failed to retrieve data from database"
    " Details: ADO Error Code:0x
    Source: Microsoft OLE DB Provider SQL server
    Description: Invalid object name: ScratchWO.dbo.tblsyslistviewprint'.
    SQL State:42502
    Code:208"
    When the OLE DB(ADO) page opens and asks for a server and a database, what is needed to stop the error from happening
    If anyone has any information that would be great !

    SQL State:42502 means an user authorization error.  Check the user and it's access to the target database.

Maybe you are looking for

  • Saved own colors in swatch palette in start up page

    How can I save my favorite (most used) colors in my swatch palette and use them over and over again? (Means I want to see them at every start up. In earlier versions I could find the "start up page", where I could save them, where it is in CS3?) Than

  • Parse XML from string.

    I have writen simple fuction which have one parameter of String type. In this parameter i am sending an XML string. Is there anyone who knows how to parse this XML-String ? Thanks.

  • Wait Time Duration

    I need to set an infinite wait time at the end of a timeline so the video stops and waits on the last video frame cleanly. The user then pushes the ENTER or PLAY to advance seamlessly to the next timeline. Currently I need a secondary program (DVD Re

  • Why is control center not transparent on my iPhone 4?

    For some reason Control Center on my iPhone 4 is gray rather than transparent. Notification center is more black than transparent as well.

  • After re-inistalling windows 7 ultimate the validation process fails and reports error code 0xC004E003

    Hi I have just reinstalled Win 7 Ultimate and the validation has failed due to error code 0xC004E003.  all of the windows updates have been complete. when I run slui 4 and I do not get an option to activate by phone and I have tried running the Comma