Insertion error after migration

Hey,
I'm getting this error when trying to insert a record in our application we just created. Anyone knows how to locate and fix this error ?
ON-INSERT trigger raised unhandled exception ORA-20000
Thanks

Hey Sayeed,
Here is my code for my save button that I click when I whant to insert a new record
PROCEDURE save_button
IS
lv_button number;
BEGIN
if NAME_IN('PARAMETER.PA_LAST_CHOSEN_ALERT_BUTTON') is NULL
then
lv_button := ui_navigate_general.raise_alert('CAUTION', 'SAVE', '2');
-- If user has chosen 'Yes' button
if lv_button = ALERT_BUTTON1
then
COMMIT_FORM;
end if;
else
ui_navigate_general.check_for_save_alert;
lv_button := to_number(NAME_IN('PARAMETER.PA_LAST_CHOSEN_ALERT_BUTTON'));
end if;
-- If record is not saved, then clear the block and execute the query
-- If not done this way, unsaved record on the screen can confuse the user.
if lv_button = ALERT_BUTTON2
then
-- Make sure that form is on base table block and not on hierarchy block
ui_navigate_general.stay_in_base_table_block;
clear_block(NO_VALIDATE);
execute_query;
end if;
-- enable delete button. Added on 3/19/99
SET_ITEM_PROPERTY(gv_delete_button, ENABLED, PROPERTY_TRUE);
-- disable save button
SET_ITEM_PROPERTY(gv_save_button, ENABLED, PROPERTY_FALSE);
END save_button;

Similar Messages

  • Configuration Frozen Error after migrating to Weblogic 11g console extensio

    We are using the console extension property of weblogic.
    The jar used to deploy the same works fine with weblogic9 but gives the below error after migrating to Weblogic 10.3
    The project also uses struts-Tiles configuartion. Is there any specific configuration to do after migration with respect to console extension?????
    com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: javax.servlet.ServletException: java.lang.IllegalStateException: Configuration is frozen
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:697)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:266)
    at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.render(StrutsStubImpl.java:107)
    at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:292)
    at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:428)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:727)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:146)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
    at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47)
    at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
    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 weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
    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:2268)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.servlet.ServletException: java.lang.IllegalStateException: Configuration is frozen
    at org.apache.beehive.netui.util.internal.ServletUtils.throwServletException(ServletUtils.java:165)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:582)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
    at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
    at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
    at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:256)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:133)
    at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
    at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1230)
    at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686)
    ... 63 more
    Caused by: java.lang.IllegalStateException: Configuration is frozen
    at org.apache.struts.config.ForwardConfig.setPath(ForwardConfig.java:191)
    at com.bea.console.internal.ConsolePageFlowRequestProcessor.processForwardConfig(ConsolePageFlowRequestProcessor.java:145)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
    at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
    ... 72 more

    After more investigations I have more details:
    1. the error does not occur if the base table does not have rowSelection=”single”
    2. the error does not occur if the base table has rowSelection=”single” but the popup is raised with showPopupBehavior
    3. the error only occurs when the base table has rowSelection=”single” and we call the popup as inline popup (taskFlow with jsf page)
    I could not reproduce the error on a newly created application in Jdevelope 11.1.2.1, it only happens to migrated applications.
    We can not give up to rowSelection=”single” because of master-detail structures.
    Thank you,
    Monica

  • Dump error after migration.

    Dear Members,
         The driver program for the smartfrom which I have created is throwing a dump error after migration to another server, please suggest me a solution.
    Thanks,
    Subhendu Gouda

    Hello Subhendu,
    Just pass the FM name of your smartfom using a variable like "w_fmodule".
    * Variable declarations
    DATA:
    w_form_name TYPE tdsfname VALUE 'ZSUBHENDU_TEST',
    w_fmodule TYPE rs38l_fnam,
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = w_form_name
    IMPORTING
    fm_name = w_fmodule
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    CALL FUNCTION w_fmodule
    EXPORTING
    control_parameters = w_cparam
    output_options = w_outoptions
    IMPORTING
    job_output_info = t_otf_from_fm
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Hope this solves your issue.
    Cheers,
    Suvendu

  • Session expired error after migration 11.1.1.1

    We are taking a lots of session expired error after migrating our projects from 11.1.1.1. to the 11.1.1.0
    How can we control session parameters in Jdev 11.1.1.1 and Web logic 10.1.3.1 ?
    Thanks.

    Hi,
    its still the same setting in the web.xml file. However, I think the expiry you mean is the one raised by the client framework. As far as I remember there is no way to configure itslength. I'll take a not to see what the plans are in this regards. Can you confirm that its not the serve expiry but the message you get from ADF Faces RC?
    Frank

  • The value returned from the load function is not of type numeric  errors after migration to Coldfusion 11

    I am currently testing our website with CF11. It is currently working with CF8 however after migrating it to a new server running CF11 I have encountered the following error.
    The value returned from the load function is not of type numeric.
    The error occurred in
    D:/Applications/CFusion/CustomTags/nec/com/objects/address.cfc: line 263
    Called from D:/Applications/CFusion/CustomTags/nec/com/objects/contact.cfc: line 331
    Called from D:/Applications/CFusion/CustomTags/nec/com/objects/user.cfc: line 510
    Called from D:/Applications/CFusion/CustomTags/nec/com/objects/user.cfc: line 1675
    Called from D:/website/NECPhase2/action.validate.cfm: line 54
    261 : <cfif isNumeric(get.idCountry)>
    262 : <cfset rc = this.objCountry.setID(get.idCountry)>
    263 : <cfset rc = this.objCountry.load()>
    264 : </cfif>
    265 : <cfset this.sPostcode = get.sPostcode>
    Have there been any changes between CF8 and CF11 that could  cause this error?
    Does anyone have ideas?

    This is the code in file object file country.cfc (nec.com.objects.country):
    <cfcomponent displayname="Country object" hint="This is a Country object, it allows you to access and set values in the Country.">
    <!---
    // Construct this object
    --->
    <cfset this.objFunctions = CreateObject( 'component', 'nec.com.system.functions' )>
    <cfscript>
      this.idCountryID = 0;
      this.sCountryName = "";
      this.sISOCode = "";
      this.sDHLCode = "";
      this.iErrorID = "";
    </cfscript>
    <!---
    // The following functions are the setters and getters. offering us a better way to get
    // at the contents of the object
    --->
    <!---
    // Getters
    --->
    <cffunction name="getID" displayname="Get ID" returntype="numeric" output="false" hint="This returns the ID of the current item.">
      <cfreturn this.idCountryID>
    </cffunction>
    <cffunction name="getsCountryName" displayname="Get sCountryName" returntype="string" output="false" hint="This gets the sCountryName value of this item.">
      <cfreturn this.sCountryName>
    </cffunction>
    <cffunction name="getsISOCode" displayname="Get sISOCode" returntype="string" output="false" hint="This gets the sISOCode value of this item.">
      <cfreturn this.sISOCode>
    </cffunction>
    <cffunction name="getsDHLCode" displayname="Get sDHLCode" returntype="string" output="false" hint="This gets the sDHLCode value of this item.">
      <cfreturn this.sDHLCode>
    </cffunction>
    <cffunction name="iError" displayname="Get iError" returntype="numeric" output="false" hint="This returns the iError of the current item.">
      <cfreturn this.iError>
    </cffunction>
    <!---
    // Setters
    --->
    <cffunction name="setID" displayname="Set ID" returntype="boolean" output="false" hint="This sets the ID value of this item.">
      <cfargument name="idCountryID" required="true" type="numeric" displayname="ID" hint="The ID to use.">
      <cfset this.idCountryID = arguments.idCountryID>
      <cfreturn true>
    </cffunction>
    <cffunction name="setsCountryName" displayname="Set sCountryName" returntype="boolean" output="false" hint="This sets the sCountryName value of this item.">
      <cfargument name="sCountryName" required="true" type="string" displayname="sCountryName" hint="The sCountryName to use.">
      <cfset this.sCountryName = arguments.sCountryName>
      <cfreturn true>
    </cffunction>
    <cffunction name="setsISOCode" displayname="Set sISOCode" returntype="boolean" output="false" hint="This sets the sISOCode value of this item.">
      <cfargument name="sISOCode" required="true" type="string" displayname="sISOCode" hint="The sISOCode to use.">
      <cfset this.sISOCode = arguments.sISOCode>
      <cfreturn true>
    </cffunction>
    <cffunction name="setsDHLCode" displayname="Set sDHLCode" returntype="boolean" output="false" hint="This sets the sDHLCode value of this item.">
      <cfargument name="sDHLCode" required="true" type="string" displayname="sDHLCode" hint="The sDHLCode to use.">
      <cfset this.sDHLCode = arguments.sDHLCode>
      <cfreturn true>
    </cffunction>
    <!---
    // Clear, to empty out the contents of this object
    --->
    <cffunction name="clear" displayname="Clear items Details" returntype="boolean" output="false" hint="Clears out all of the items details.">
      <cfscript>
       this.sCountryName = "";
       this.sISOCode = "";
       this.sDHLCode = "";
       this.iErrorID = "";
      </cfscript>
      <cfreturn true>
    </cffunction>
    <!---
    // The following functions deal with the load, save and deleting of objects
    --->
    <!---
    // Load
    --->
    <cffunction name="load" displayname="Load items details" returntype="numeric" output="false" hint="This loads in all the information about an item.">
      <cfset rc = this.clear()>
      <!---
      // First of all we need to get the name of the data source we are going to be using
      --->
      <cfscript>
      objDS = CreateObject("component","nec.com.system.settings");
      sDatasource = objDS.getDatasource();
    </cfscript>
      <!---
      // Check to see if it exists
      --->
      <cftry>
       <cfquery name="checkID" datasource="#sDatasource#">
        SELECT idCountryID
        FROM tblCountry
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("load: checkID: '#this.idCountryID#' #cfcatch.detail#");
        </cfscript>
        <cfset this.iErrorID = iErrorID>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfif not checkID.recordCount>
       <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         if(isDefined("session.afr")){
          whichOne = "#session.afr.getsAFRNumber()#";
         } else {
          whichOne = "";
         iErrorID = objError.addError("A Country with that id doesn't exists.[#this.idCountryID#][#whichOne#]");
        </cfscript>
       <cfset this.iErrorID = iErrorID>
       <cfreturn iErrorID>
      </cfif>
      <!---
      // If we got past all then then load in the details
      --->
      <cftry>
       <cfquery name="get" datasource="#sDatasource#">
        SELECT idCountryID, RTRIM(sCountryName) as sCountryName, RTRIM(sISOCode) as sISOCode, RTRIM(sDHLCode) as sDHLCode
        FROM tblCountry
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("load: get: #cfcatch.detail#");
        </cfscript>
        <cfset this.iErrorID = iErrorID>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfset this.idCountryID = get.idCountryID>
      <cfset this.sCountryName = get.sCountryName>
      <cfset this.sISOCode = get.sISOCode>
      <cfset this.sDHLCode = get.sDHLCode>
      <cfset this.iErrorID = "">
      <cfreturn true>
    </cffunction>
    <!---
    // Save
    --->
    <cffunction name="save" displayname="Save items Details" returntype="numeric" output="false" hint="Saves (to some source) the current details for the ID of the item.">
      <!---
      // First of all we need to get the name of the data source we are going to be using
      --->
      <cfscript>
      objDS = CreateObject("component","nec.com.system.settings");
      sDatasource = objDS.getDatasource();
    </cfscript>
      <!---
      // Now check to see if ithat ID exists
      --->
      <cftry>
       <cfquery name="checkID" datasource="#sDatasource#">
        SELECT idCountryID
        FROM tblCountry
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("save: checkID: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <!---
      // If it doesn't exist, then add the record, otherwise update the record
      --->
      <cfif not checkID.recordCount>
       <cfreturn this.add()>
      <cfelse>
       <cfreturn this.update()>
      </cfif>
    </cffunction>
    <!---
    // Add
    --->
    <cffunction name="add" displayname="Add Country" returntype="numeric" output="false" hint="This adds a Country.">
      <!---
      // Check to see if that a different item isn't already using the same unique details
      --->
      <cftry>
       <cfquery name="checkUnique" datasource="#sDatasource#">
        SELECT idCountryID
        FROM tblCountry
        WHERE sCountryName = '#this.objFunctions.scrubText(this.sCountryName)#'
        OR sISOCOde = '#this.objFunctions.scrubText(this.sISOcode)#'
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("add: checkUnique: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfif checkUnique.recordCount>
       <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("A Country with that name or ISO code already exists. idCountryID=#checkUnique.idCountryID#");
        </cfscript>
       <cfreturn iErrorID>
      </cfif>
      <cftry>
       <cfquery name="add" datasource="#sDatasource#">
        SET nocount on
        INSERT INTO tblCountry(sCountryName, sISOCode, sDHLCode)
        VALUES('#this.objFunctions.scrubText(this.sCountryName)#','#this.objFunctions.scrubText(t his.sISOCode)#','#this.objFunctions.scrubText(this.sDHLCode)#')
        SELECT @@identity as autoID
        SET nocount off  
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("add: add: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfreturn add.autoID>
    </cffunction>
    <!---
    // Update
    --->
    <cffunction name="update" displayname="Update Country" returntype="numeric" output="false" hint="This updates a Country record.">
      <!---
      // Check to see if that a different item isn't already using the same unique details
      --->
      <cftry>
       <cfquery name="checkUnique" datasource="#sDatasource#">
        SELECT idCountryID
        FROM tblCountry
        WHERE (sCountryName = '#this.objFunctions.scrubText(this.sCountryName)#'
        OR sISOCOde = '#this.objFunctions.scrubText(this.sISOcode)#')
        AND idCountryID <> #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("update: checkUnique: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfif checkUnique.recordCount>
       <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("Another Country with that name already exists. idCountryID=#checkUnique.idCountryID#");
        </cfscript>
       <cfreturn iErrorID>
      </cfif>
      <!---
      // Attempt to update the record to the datasource
      // if this fails for any reason then we submit an error message
      // to the error component and return the ID of the error
      --->
      <cftry>
       <cfquery name="update" datasource="#sDatasource#">
        UPDATE tblCountry
        SET sCountryName = '#this.objFunctions.scrubText(this.sCountryName)#',
        sISOCode = '#this.objFunctions.scrubText(this.sISOCode)#',
        sDHLCode = '#this.objFunctions.scrubText(this.sDHLCode)#'
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("update: update: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfreturn this.idCountryID> 
    </cffunction>
    <!---
    // Delete
    --->
    <cffunction name="delete" displayname="Delete Country" returntype="numeric" output="false" hint="This deletes a Country record.">
      <!---
      // First of all we need to get the name of the data source we are going to be using
      --->
      <cfscript>
      objDS = CreateObject("component","nec.com.system.settings");
      sDatasource = objDS.getDatasource();
    </cfscript>
      <!---
      // Now check to see if ithat ID exists
      --->
      <cftry>
       <cfquery name="checkID" datasource="#sDatasource#">
        SELECT idCountryID
        FROM tblCountry
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("delete: checkID: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfif not checkID.recordCount>
       <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("A Country with that id doesn't exists, delete failed.");
        </cfscript>
       <cfreturn iErrorID>
      </cfif>
      <!---
      // Now check to see if there are any dependancies, if so we can't delete the item
      --->
      <cftry>
       <cfquery name="checkDependancies" datasource="#sDatasource#">
        SELECT idCountry
        FROM tblAddress
        WHERE idCountry = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("delete: checkDependancies: idCountry: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfif checkDependancies.recordCount>
       <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("That Country is being used by an address, delete failed.");
        </cfscript>
       <cfreturn iErrorID>
      </cfif>
      <!---
      // Now attempt to remove the record.
      // if this fails for any reason then we submit an error message
      // to the error component and return the ID of the error
      --->
      <cftry>
       <cfquery name="delete" datasource="#sDatasource#">
        DELETE FROM tblCountry
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("delete: delete: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfreturn this.idCountryID>
    </cffunction>
    </cfcomponent>

  • Buffer to small ORA-22835 error after migration from 9i to 10g

    Hello Oracle-Experts,
    I had to calculate hash-values for a corresponding clob-field which worked with oracle 9i (9.0.2.1)
    After migration to oracle 10g (10.2.0.1.0) I get an ORA-22835 error (Buffer too small for CLOB to CHAR conversion.
    Here is the output for the 10g version:     
         SQL*Plus: Release 10.2.0.1.0 - Production on Mi Jun 13 16:19:28 2007
         Copyright (c) 1982, 2005, Oracle. All rights reserved.
         Verbunden mit:
         Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
         With the Partitioning, OLAP and Data Mining options
         SQL> CREATE TABLE test_conv (value CLOB);
         Tabelle wurde erstellt. (Table created.)
         SQL> DECLARE vLong LONG:= LPAD('M',4400,'M');
         2 BEGIN
         3 INSERT INTO test_conv(value) VALUES (vLong);
         4 END;
         5 /
         PL/SQL-Prozedur erfolgreich abgeschlossen. (PL/SQL procedure successfully completed.)
         SQL> SELECT dbms_utility.get_hash_value(value,1,power(2,30)) from test_conv;
         SELECT dbms_utility.get_hash_value(value,1,power(2,30)) from test_conv
         FEHLER in Zeile 1:
         ORA-22835: Puffer zu klein für Konvertierung von CLOB zu CHAR oder BLOB zu RAW
         (tatsächlich: 4400, maximal: 4000)
         (Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 4400, maximum: 4000))
    This is the result with     9i
         Verbunden mit:
         Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
         With the Partitioning, OLAP and Oracle Data Mining options
         JServer Release 9.2.0.1.0 - Production
         SQL> CREATE TABLE test_conv (value CLOB);
         Tabelle wurde angelegt.     (Table created.)
         SQL> DECLARE vLong LONG:= LPAD('M',4400,'M');
         2 BEGIN
         3 INSERT INTO test_conv(value) VALUES (vLong);
         4 END;
         5 /
         PL/SQL-Prozedur wurde erfolgreich abgeschlossen. (PL/SQL procedure successfully completed.)
         SQL> SELECT dbms_utility.get_hash_value(value,1,power(2,30)) from test_conv;
         DBMS_UTILITY.GET_HASH_VALUE(VALUE,1,POWER(2,30))
         478332438
    Any help is appreciated.
    Best Regards
    Matthias

    You have hit a bug, 3984527 - CLOB LARGER THAN 4000 INSERTED INTO VARCHAR2(4000) COLUMN IS.
    You may want to check this metalink note: Note:388512.1 for further explanation and workarouds.
    From the error message manual, Verbatim:
    ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: string, maximum: string)
    Cause: An attempt was made to convert CLOB to CHAR or BLOB to RAW, where the LOB size was bigger than the buffer limit for CHAR and RAW types. Note that widths are reported in characters if character length semantics are in effect for the column, otherwise widths are reported in bytes.
    Action: Do one of the following:
    1. Make the LOB smaller before performing the conversion, for example, by using SUBSTR on CLOB
    2. Use DBMS_LOB.SUBSTR to convert CLOB to CHAR or BLOB to RAW.
    ~ Madrid.

  • Match Merge error after migrated to OWB 10.1.0.4

    My old mappings which were running fine are giving match merge errors after uograded from 10.1.0.2 to 10.1.0.4.
    getting following error while deploying into new repository (10.1.0.4).
    any suggestions please....
    ORA-06550: line 856, column 17:
    PLS-00103: Encountered the symbol "=" when expecting one of the following:
    ( - + case mod new not null others <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev sum variance
    execute forall merge time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> pipe
    The symbol "null was inserted before "=" to continue.
    Thanks
    Arvinda

    I did some more analysis. The error does not occur with new repositories, that are created with the Repos-Wizard after Software was upgraded to 10.2.0.2.
    However, it does occur with all repositories that were migrated from 10.2.0.1 to 10.2.0.2, using the upgrade script as described in the patch set's installation notes.
    The problem persists, even when the profiling user (i.e. schema) is removed, and a new one is initialised by the Design Client.

  • Inbound 820 Error after migrating 11.1.1.6 to 11.1.1.7

    Hi All,
    I am getting an error HIPAA in Inbound 820, which used to work fine with 11.1.1.6. We recently upgraded to 11.1.1.7 for TA1 acknowledgement and seeing the following errors in the Logs. Outbound direction is working fine, but not able to see messages in Business Message, Wire message tab but was able to see messages only on Application Message Tab
    Error Code: 904
    Call: INSERT INTO B2B_WIRE_MESSAGE (ID, JOB_ID, LABEL, ATTRIBUTE1, MESSAGE_DIGEST, ATTRIBUTE3, MESSAGE_ID, ATTRIBUTE5, MODIFIED, CREATED, MSG_SIZE, LAST_RESUBMITTED_USER_NAME, LAST_RESUBMITTED_TIME_STAMP, MESSAGE_STATUS, LAST_VIEWED_USER_NAME, CHANNEL_NAME, PASSWORD, DIGEST_ALGORITHM, PORT, ENCRYPTION_ALGORITHM, PROTOCOL_COLLABORATION_ID, ENCRYPTION_PROTOCOL, PROTOCOL_MESSAGE_ID, ERROR_DESCRIPTION, PROTOCOL_TRANSPORT_BINDING, ERROR_TEXT, REFER_TO_PROTOCOL_MESSAGE_ID, EXCHANGE_ATTEMPT_COUNT, RESUBMIT_COUNT, EXCHANGE_RETRY_INTERVAL, SIGNING_ALGORITHM, HOST_NAME, SIGNING_CERTIFICATE, ACKNOWLEDGEMENT_MODE, SIGNING_PROTOCOL, ATTRIBUTE4, STATE, LAST_VIEWED_TIME_STAMP, TO_ADDRESS, DIRECTION, TRANSPORT_CERTIFICATES, ERROR_CODE, TRANSPORT_CERTIFICATES_CLOB, ERROR_TEXT_CLOB, TRANSPORT_CORRELATION_ID, FROM_ADDRESS, TRANSPORT_HEADERS, ATTRIBUTE2, TRANSPORT_PROTOCOL, DELIVERED_ENDPOINT, TRANSPORT_PROTOCOL_VERSION, ERROR_DESCRIPTION_CLOB, TRANS_SECURITY_PROTOCOL, TRANS_SECURITY_PROT_VERSION, ENCRYPTION_CERTIFICATE, URL, CPST_INST_CREATED_TIME, USER_NAME, EXCHANGE_REMAINING_RETRY, VERSION, PACKED_MESSAGE, PAYLOAD_STORAGE, RESUBMIT_REF_TO) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
        bind => [0AE9028813F3A14AB880000045F7D236, null, null, null, null, null, 0AE9028813F3A14AB880000045F7D236, null, 2013-06-12 13:30:00.583, 2013-06-12 13:30:00.583, 745, null, null, null, null, null, null, null, null, null, null, null, null, null, filename=Plan_820_5010.dat
    filesize=745
    ChannelName=PlanFinder_ListeningChannel
    file_ext=dat
    filename_format=%FROM_PARTY%_%TO_PARTY%_%DOCTYPE_NAME%_%DOCTYPE_REVISION%.dat
    timestamp=2013-06-12T10:46:30.000-08:00
    MSG_RECEIVED_TIME=Wed Jun 12 13:30:00 PDT 2013
    , null, null, null, null, null, null, null, null, ASYNC, null, null, PROCESSING, null, null, INBOUND, null, null, null, null, null, null, MSG_RECEIVED_TIME=Wed Jun 12 13:30:00 PDT 2013
    , null, File, null, 1.0, null, null, null, null, file://localhost//u01/app/soa/Error, 2013-06-12 13:30:00.59, null, null, null, 0AE9028813F3A14AB880000045F7D237, null, null]
    Query: InsertObjectQuery(oracle.tip.b2b.model.instance.WireMessage@240430d5)
        at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:296)
        at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:725)
        at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:791)
        at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:525)
        at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:468)
        at oracle.toplink.internal.sessions.AbstractSession.executeCall(AbstractSession.java:800)
        at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)
        at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:179)
        at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.insertObject(DatasourceCallQueryMechanism.java:314)
        at oracle.toplink.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:153)
        at oracle.toplink.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:168)
        at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:454)
        at oracle.toplink.queryframework.InsertObjectQuery.executeCommit(InsertObjectQuery.java:67)
        at oracle.toplink.queryframework.InsertObjectQuery.executeCommitWithChangeSet(InsertObjectQuery.java:77)
        at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:279)
        at oracle.toplink.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:47)
        at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:679)
        at oracle.toplink.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:602)
        at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:103)
        at oracle.toplink.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:75)
        at oracle.toplink.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2807)
        at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1079)
        at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1063)
        at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1022)
        at oracle.toplink.internal.sessions.CommitManager.commitNewObjectsForClassWithChangeSet(CommitManager.java:244)
        at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsForClassWithChangeSet(CommitManager.java:219)
        at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:175)
        at oracle.toplink.internal.sessions.AbstractSession.writeAllObjectsWithChangeSet(AbstractSession.java:3459)
        at oracle.toplink.internal.sessions.UnitOfWorkImpl.commitToDatabase(UnitOfWorkImpl.java:1331)
        at oracle.toplink.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1427)
        at oracle.toplink.internal.sessions.UnitOfWorkImpl.issueSQLbeforeCompletion(UnitOfWorkImpl.java:3071)
        at oracle.toplink.internal.sessions.UnitOfWorkImpl.issueSQLbeforeCompletion(UnitOfWorkImpl.java:3051)
        at oracle.toplink.transaction.AbstractSynchronizationListener.beforeCompletion(AbstractSynchronizationListener.java:146)
        at oracle.toplink.transaction.JTASynchronizationListener.beforeCompletion(JTASynchronizationListener.java:57)
        at weblogic.transaction.internal.ServerSCInfo.doBeforeCompletion(ServerSCInfo.java:1244)
        at weblogic.transaction.internal.ServerSCInfo.callBeforeCompletions(ServerSCInfo.java:1219)
        at weblogic.transaction.internal.ServerSCInfo.startPrePrepareAndChain(ServerSCInfo.java:121)
        at weblogic.transaction.internal.ServerTransactionImpl.localPrePrepareAndChain(ServerTransactionImpl.java:1355)
        at weblogic.transaction.internal.ServerTransactionImpl.globalPrePrepare(ServerTransactionImpl.java:2172)
        at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:300)
        ... 14 more
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00904: "TRANSPORT_CERTIFICATES_CLOB": invalid identifier
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
        at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
        at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
        at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
        at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
        at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
        at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
        at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
        at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
        at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)
        at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)
        at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:716)
        ... 52 more
    [2013-06-12T13:30:00.604-07:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>] [ecid: a0701707ce1f4efb:3fe5a774:13f350db6dc:-8000-00000000000203e3,0] [APP: soa-infra] InterfaceListener:onMessageLocal There was an exception in commit or rollback of the  current transaction. Returning transport error to the transport layer
    [2013-06-12T13:31:16.785-07:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>] [ecid: 0000Jwp3S1TDScX5Hvh8if1Hht3I000001,0] [APP: soa-infra] Error -:  B2B-50025:  Repository error[[
        at oracle.tip.b2b.msgproc.ToplinkHelper.getAcquiredAndLockedSequenceManagers(ToplinkHelper.java:3945)
        at oracle.tip.b2b.utility.SequenceManagerUtility.manageSequenceManager(SequenceManagerUtility.java:673)
        at oracle.tip.b2b.transport.SequenceManagerWorker.processSequenceManagerAcquireEvent(SequenceManagerWorker.java:53)
        at oracle.tip.b2b.transport.SequenceManagerWorker.run(SequenceManagerWorker.java:35)
        at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
        at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
        at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Error -:  B2B-50025:  Repository error
        at oracle.tip.b2b.msgproc.ToplinkHelper.getAcquiredAndLockedSequenceManagers(ToplinkHelper.java:3945)
        at oracle.tip.b2b.utility.SequenceManagerUtility.manageSequenceManager(SequenceManagerUtility.java:673)
        at oracle.tip.b2b.transport.SequenceManagerWorker.processSequenceManagerAcquireEvent(SequenceManagerWorker.java:53)
        at oracle.tip.b2b.transport.SequenceManagerWorker.run(SequenceManagerWorker.java:35)
        at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
        at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
        at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Please share your thoughts.
    Thanks In Advance!

    Thanks for your Reply Anuj...After updating the sachems B2B transactions where working fine, but I see lot MDS and a particular table related  Error's regularly. Please find the diagnostic log messages below.
    MDS Error LOG:
    Message    Error -:  B2B-50025:  Repository error
    Supplemental Detail    at oracle.tip.b2b.system.TransactionManager.end(TransactionManager.java:245)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:642)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Error -:  B2B-50025:  Repository error
    at oracle.tip.b2b.system.TransactionManager.end(TransactionManager.java:245)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:642)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    B2B Batch Table Insert Error:
    Message    weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion: sync=oracle.toplink.transaction.JTASynchronizationListener@3ccfbc5
    Supplemental Detail    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (SOAINFRA.B2B_BE_CON1) violated
    Error Code: 1
    Call: INSERT INTO B2B_BATCH_EVENT (ID, DOC_TYPE, SCHEDULE_TYPE, DOC_TYPE_REV, ATTRIBUTE1, ENABLE, ATTRIBUTE3, END_DATE, ATTRIBUTE5, EXPIRE_TIME, BATCH_TIME_STAMP, CRITERIA2, INTERVAL, CRITERIA4, MSG_COUNT, CHANNEL_NAME, REPEAT_EVERY, ATTRIBUTE4, REPEAT_ON_DAY, CRITERIA1, REPEAT_TYPE, CRITERIA5, SCHEDULE, BATCH_NAME, START_DATE, ATTRIBUTE2, STATE, CRITERIA3, TO_TP_NAME) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    bind => [1020::834:5010, 834, null, 5010, null, 1, null, null, null, null, null, null, null, null, null, null, 0, null, null, null, 23 39 12 21 6 ? 2013 , null, null, 1020::834:5010, null, null, 1, null, ]
    Query: InsertObjectQuery(oracle.tip.b2b.model.instance.BatchEvent@6c994f70)
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1884)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:376)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:267)
    at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:307)
    at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:301)
    at oracle.tip.b2b.system.TransactionManager.end(TransactionManager.java:214)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:642)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.6.0) (Build 111018)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (SOAINFRA.B2B_BE_CON1) violated
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (SOAINFRA.B2B_BE_CON1) violated
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)
    at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:716)
    ... 47 more
    weblogic.transaction.RollbackException: Unexpected exception in beforeCompletion: sync=oracle.toplink.transaction.JTASynchronizationListener@3ccfbc5
    Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (SOAINFRA.B2B_BE_CON1) violated
    Thanks!!!

  • Open role permission error after migration EP6 to EP7

    Hi all,
    After migration from ep6(WAS 620) to EP7, there are some roles which can't edit permission by content administration.
    The error message appears when open edit role permission.
    ========================= Error Start Line=========================================
    ERROR: updateParentData - aclHandle is null for objectID - null
    Exception ID:05:29_23/06/08_0006_9615650
    EXCEPTION
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/com.sap.pct/admin.templates/iviews/editors/com.sap.portal.aclEditor
    Component class : com.sap.portal.admin.acleditor.ACLEditor
    User : Administrator
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: java.lang.NullPointerException
    at com.sap.portal.admin.editor.pane.OutPane.calculatePEObjectId(OutPane.java:210)
    at com.sap.portal.admin.editor.pane.OutPane.createEditorLayout(OutPane.java:256)
    at com.sap.portal.admin.editor.pane.OutPane.setupComponent(OutPane.java:150)
    at com.sap.portal.admin.editor.pane.EditorPaneWrapper.mySetupComponent(EditorPaneWrapper.java:143)
    at com.sapportals.admin.wizardframework.components.FlowContainer.setupComponent(FlowContainer.java:129)
    at com.sapportals.admin.wizardframework.core.TrivialPaneFactory.getComponent(TrivialPaneFactory.java:35)
    at com.sapportals.admin.wizardframework.core.WizardInstance.doWizard(WizardInstance.java:229)
    at com.sap.portal.admin.editor.Editor.doWizard(Editor.java:605)
    at com.sap.portal.admin.editor.Editor.run(Editor.java:150)
    at com.sap.portal.admin.editor.AbstractEditorComponent.doContent(AbstractEditorComponent.java:59)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    ========================= Error End Line=========================================
    Does anyone have idea about this problem ?

    close

  • 'Incorrect Login Name' error after migrating application in planning

    Hi,
    We are doing a migration to Planning 9.2.1 from a pre-system 9 version (3.5), using sql server 2000 as repository
    System 9 is installed in a fresh new server, and we are copying the applications/repositories from the old server.
    The admin user is the same in old installation and in new one.
    At the moment, all products are installed in the same server
    We have already sucessfully migrated the essbase applications, including substitution variables and users
    We had a problem creating a new application in planning, reading these forums we added External Authentication to Shared Services, and created application succesfully.
    We created the UDL for old database in SQL server and new essbase. Test connection was succesfull
    Created DSN based on UDL, test connection was succesfull
    We inserted application to migrate into PLN database, table HSX_DATASOURCES
    Saved SID for admin user (5001)
    Opened Desktop Planning, and opened the aplication.
    We got the 'upgrade application' message, and we upgraded it. No errors reported.
    We replaced the SID with the previously saved one. Actually, they are the same SID
    Now, when we try to open the migrated application in Desktop Planning, we get a 'Failled to Open application: M_09 Incorrect login name'
    We have already verified that the admin user id dbowner of the database in sql server 2000
    The event log only says the following
    Error*16*HypAdmin*4/15/2009 11:54:12 AM*CHspSession.cpp*Line 119*Incorrect login name*
    Any help will be appreciated!
    P.S. please excuse my writing skills, I am not a native english speaker.
    Edited by: hectorsosar on 15/04/2009 10:44 AM

    Please nevermind my previous post. I didn't read carefully enough, that the SID to save and copy was from the newly created applciation, not from old app. Now everything worls ok.
    Thanks, and regards,
    Hector

  • Error after migrating new copy control routine

    Hi,
    I have created a new copy control routine in dev environment. It works fine there. When we migrated the transport to all QA environments getting dumps that the form is missing. I checked the routine and form in VOFM and it does exists. Am I missing a step here or need to do something after migration?
    -Minhaj.

    go to se38 enter program name RV80HGEN - execute.
    You need to generate newly created routines
    You have to do this in each client where you transport this.
    Edited by: Sampath Kumar on Nov 5, 2009 10:36 AM

  • SBS 2008 - SBS Console and AD errors after migration to new hardware

    Hi there,
    I'm trying to work out how to fix some of the errors and random behaviour I'm experiencing with the SBS 2008 console and AD related matters since I had to quickly migrate SBS 2008 to new hardware using Windows Server Backup after a failure of the old server.
    In my haste to get our email and ftp services back up and running (which use Smartermail and Filezilla respectively instead of Exchange etc) I overlooked the fact that the new server had 3 NICs installed and not one and so restored SBS 2008 and loaded up new
    drivers for those and other hardware that had changed (such as the graphics card and mobo. I have since removed the two additional NICs by disabling them on the mobo).
    Whilst I got the server up and running again with email and ftp services, even though I currently don't use any AD related stuff directly I have since noted that if I try to say view a list of users that I had previously created via the SBS console, more often
    than not it will show no users, and then randomly it will (but when you do see them you can't edit or delete them. I'm aware that I have probably broken a number of golden rules in doing this 'migration' but having a metaphorical gun to my head meant that
    I rushed things out of desperation. 
    Common errors that I experience generally will say things like 'Current security connect is not associated with an Active Directory domain or forest' if I try to list users, or DC not found for domain "xyz.local' etc. I have been searching the net and
    trying out some things to fix this but I'm like a dog chasing its tail as I'm not so clued up on server related issues as I am with workstation problems, so if anyone could at least point me in the right direction I would be very grateful. If you require any
    info from me (eg diag logs etc) I will be happy to provide them!
    Regards,
    Dave

    Hi Dave,
    Based on current situation, please run SBS BPA and fix all that it can find, then monitor the result. For more details, please refer to the following KB.
    Windows SBS Best Practices Analyzer (BPA)
    Meanwhile, please refer to the following article and repair SBS console.
    Repair the Windows SBS 2008 Console
    By the way, I noticed that you had got some error messages (such as: “DC not found for domain” and so on). Would you please let me know complete error messages? In addition, when you migrate SBS 2008 to the new hardware, had you done any preparation for
    that Source Server? For more details, please refer to the following article.
    Migrate Windows Small Business Server 2008 to New Hardware
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Assertion failure error after migration to 11g (11.1.1.5)

    Hi All,
    I am facing an issue here after we migrated from 10g to 11g (11.1.1.5). Few reports shows following error.
    Error Codes: OAMP2OPY:ACIOA5LN
    Assertion failure: isXsiTypeSqlExpression(rExpr) at line 67 of /scratch/aime1/adestore/views/aime1_dadvfa0112/bifndn/analytics_web/main/project/webreport/exprformulautils.cpp
    Any workaround/fix for this error?
    Regards,
    Rajesh

    Hi Rajesh,
    We had the exact same issue occur in 11.1.1.5 as well. Our problem was due to the fact that our report was referencing a saved filter, and in that saved filter, we had a line that was a SQL based filter just like Haris mentions in this thread. We could not get a saved filter with an SQL filter line to work (even creating it from scratch), so I believe this is an 11.1.1.5 bug.
    We got around the problem by applying the contents of the saved filter, instead of the filter reference itself. Once we did that, the SQL filter line worked just fine.
    Please let me know if this works for you.
    Thanks,
    Jeremy
    Here's the first thread I posted this to:
    Re: Drill not working after miagrating (from 10g to 11.1.1.5 )

  • Error after migration to Crystal Reports 12 for existing reports

    Hi,
    We had reports written using Crystal Reports Version 8.5. These reports were not modified for a long time. Recently, we had migrated to Crystal Reports 12 (2008). Some of the these existing reports were modified using the Crystal Reports 2008 designer. After installing our application (we ship Merge Module of Crystal Reports 12 i.e. 2008 which gets installed in GAC)
    1)  If we create new reports in 2008 designer and try to view these reports, it works as expected without any issue(s).
    2 ) However, if these modified reports are tried to be viewed, there is an error which states "Database Logon Failed".
    Details:
    CrystalDecisions.CrystalReports.Engine.LogOnException     {"Database logon failed."}
    ErrorID     CrystalDecisions.CrystalReports.Engine.EngineExceptionErrorID.LogOnFailed
    InnerException     {"Database logon failed."}
    Message      "Database logon failed."
    Source     "CrystalDecisions.ReportAppServer.DataSetConversion"
    Stack Trace        at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
    TargetSite     {Boolean ThrowDotNetException(System.Exception)}
    Also, it is worth to note that if we try to view these modified reports from any environment which has both Crystal Reports 10 and Crystal Reports 12 in GAC, then these reports work as expected.
    P.S.  We have mechanism in application's code to reset the database connections when any report is being viewed using ReportDocument class' method.
    From the above scenario I believe issue is specific to migration to Crystal Reports 12 (2008).  Any help /workaround to solve this problem will be highly appreciated.

    Make sure you have the latest SP for CR 2008  installed;
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    Ensure you are deploying SP 2 runtime;
    MSM
    https://smpdl.sap-ag.de/~sapidp/012002523100009159092009E/cr2008sp2_mm.zip
    MSI
    https://smpdl.sap-ag.de/~sapidp/012002523100009159002009E/cr2008sp2_redistinstall.zip
    If that does not help;
    1) Do these reports work in the designer?
    2) What database are you using and what is the connection type?
    3) Compare the dlls loading on the systems where this app works (environment which has both Crystal Reports 10 and Crystal Reports 12 in GAC) and a system that is giving you the error. Use the [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] utility.
    4) Open the reports in the designer and look at the properties in the Database menu -> Set Datasource Location. Check to see if there are any differences between the two reports.
    5) If there is a subreport in the report that causes the issue, remove it and see if the report works without the subreport.
    Ludek

  • IMessage error after migrating from old hard drive

    After I used migration assistant to transfer my user account from my old hard drive to my new one, every time I try to use iMessage, I get this error
    Does anyone know how I can fix this?

    Hi,
    With that messages there is no other option than doing what it says.
    At the beginning of Mountain Lion it was Free, but now people are reporting that Apple are charging for the phone call.
    9:50 pm      Tuesday; February 18, 2014
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

Maybe you are looking for

  • Ibook to desktop syncing best practices

    trying to keep my ibook in sync with my g5 desktop. Client projects in addition to the entourage data files, etc.. I've come across numerous scenarios and recommendations. Anyone with any best practice suggestions, ie: software, syncing scenarios, au

  • Missing icons i Launchpad - apps don't work

    Hello, Yesterday i discovered that i am missing alot of my icons in Launchpad: When i open any of the apps that doesn't have an icon, it launches, but i can't do anything. It won't open any documents in PDF-viewer and iBooks instantly stops working.

  • Personalization of variables in WEB

    Hi I activated personalization of bex in the spro. It works fine in the query analyzer. But this doenst work in my portal queries. I have gone thru this link but couldnt find out the exact place to create it. http://help.sap.com/saphelp_nw04/helpdata

  • Just changed Domain Name, so what do I need to do now?

    hi all, I am rather new here with servers, and i had one mac mini server setup and working using a domain name, and now that's changing (where the static IP address will not). So I am wondering if there is a tutorial on what to fix inside of the serv

  • A question about List

    Can anyone please explain what the square symbol after an added file name in a List object is.