ORA-04062 occurs when executing a form that contains a call to a DB package

We have an application that is written in Forms 6i. We just recently deployed
this to a test server. When trying to run forms that have calls to database
packages that have a PL/SQL table as a parameter, we are getting an ORA-04062
error. This does not occur on our development server. I did some research on
Metalink and found lots of information about this error. One of which was NOTE
73506.1. I thought this was our problem. I added the initialization parameter
REMOTE_DEPENDENCIES_MODE = SIGNATURE to the init.ora file for the test server.
This did not seem to help. I am at a loss as to what to do next. We actually
have 3 servers that we are working with right now. Here is a summary of some
tests that we did.
Compiled Form against Database on Server 1. The form worked on Server 1 and
Server 2. It did not work on Server 3.
Compiled Form against Database on Server 2. The form worked on Server 1 and
Server 2. It did not work on Server 3.
Compiled Form against Database on Server 3. The form worked on Server 3. It did
not work on Server 1 or Server 2.
We had changed the init.ora file on Servers 2 & 3 to have the
remote_dependencies_mode = signature. So I expected the form to work on those
two servers (2 & 3) and not on server 1.
We never had this problem when we were Forms 4.5, but we didn't have the PL/SQL
table functionality then either.
It appears to work on any schema on the Server that the form was compiled
against regardless of the timestamp for the package on that schema.
Has anyone else had this problem? Any help would be greatly appreciated. Thanks.

After many long and frustrating days, I have finally figured out what the problem is.
In the package that was failing, it was creating a pl/sql table that had 3 columns. Two of those columns were using a %TYPE as the declaration. The problem one was compounds.name%TYPE.
It turned out that the server that was having the problem had this column's definition being VARCHAR2(50) on all of its schemas. The form was being compiled against a database that had this column set to VARCHAR2(30). The 30 length is the correct definition. We aren't sure how all the schema's on that server got messed up, but that is the problem. Once we dropped the table and recreated it with the correct definitons, the form that called the package worked as it should.
I am a little confused as to why the %TYPE didn't work at runtime. I thougth that the purpose of using a %TYPE was so that if the column defintion changed after the code was compiled, that it would use whatever the definiton is at runtime. Is this not true?
null

Similar Messages

  • ORA-20000 error when executing background jobs in BI System

    Hello Experts,
    We newly installed NW2004s System. Few BI related background jobs are showing Error no: 4 or Error no: 3 in SM50. Also few BI related background jobs are giving error "ORA-20000 occurred when executing SQL statement (parse error offset=0)". Please let me know what does Error 4 or 3 mean in SM50 and how to resolve Ora-20000 error?
    Thanks

    This may be to do with insufficient authorization for the user (for creating statistics for example). Check OSS note 963760.

  • ORA-04062 error when running forms with different users

    ORA-04062 error when running forms with different users
    I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
    I wrote a stored procedure to get the data from other user's tables.
    When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
    I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
    My Forms version is 6i with Patch 15.
    Database version is 9.
    Here is my stored procedure:
    TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
    TYPE Open_Curs IS REF CURSOR;
    PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
    Curs Open_Curs;
    i NUMBER;
    BEGIN
    OPEN Curs FOR
    'SELECT Seq_No FROM '|| User_Name ||'.scenario';
    i := 1;
    LOOP
    FETCH Curs INTO Scen_Table(i);
    EXIT WHEN Curs%NOTFOUND;
    i := i + 1;
    END LOOP;
    END Get_Senarios;
    I would be happy to solve this problem. It's really important.
    Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)

    I think it should be a better solution to create a package,
    and put your own TYPES and procedure into it.
    CREATE OR REPLACE PACKAGE PKG_XXX IS
    TYPE TYP_TAB_CHAR IS TABLE OF .... ;
    PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
    END ;
    Then in your Form :
    Declare
    var PKG_XXX.TYP_TAB_CHAR ;
    Begin
    PKG_XXX.P_XX( 'user_name', var ) ;
    End ;

  • SQL error 3113 occurred when executing EXEC SQL.

    Hi,
    We are facing one typical problem, One background is failing regularly with
    below dump. as we now got all notes giving information, if database  restarted
    taking backup, these type of failures occur, but our database is only down for backup once in a week, but it is failing with frequenly.
    in this two servers are located in different place, in this job tries to connect
    another server to get material statistics.
    It is giving some error message in sm21 with
    SQL error 3113 occurred when executing EXEC SQL.
    work procees in reconnect mode.
    all notes saying these types of dump occur when database restared, but this dump
    even though database is up.
    below is short dump, please can anyone help me from this problem.
    ABAP runtime errors    DBIF_DSQL2_SQL_ERROR
          Occurred on    08.01.2007 at 00:30:28
    >> Short dump has not been completely stored. It is too big.
    SQL error 3113 occurred when executing EXEC SQL.
    What happened?
    The error occurred in the current database connection "AZ1".
    What can you do?
    Note the actions and input that caused the error.
    Inform your SAP system administrator.
    You can print out this message by choosing "Print". Transaction ST22
    allows you to display and manage termination messages, including keeping
    them beyond their normal deletion date.
    Error analysis
    How to correct the error
    Database error text........: "ORA-03113: end-of-file on communication channel#"
    Triggering SQL statement...: "select mara.groes, mara.brgew, mara.ntgew,
    mara.gewei, mara.volum, mara.voleh, mara.mstae, mara.mstde, mara.prdha,
    marc.matnr, marc.werks, marc.mmsta, marc.mmstd from sapr3.mara, sapr3.m
    where sapr3.mara.mandt = sapr3.marc.mandt and sapr3.mara.matnr =
    Internal call code.........: "[DBDS/NEW DSQL]"
    Please check the entries in the system log (Transaction SM21).
    If the error occurred in a non-modified SAP program, you may be
    able to find a solution in the SAP note system.
    If you have access to the note system yourself, use the following
    search criteria:
    "DBIF_DSQL2_SQL_ERROR"
    "ZM2431216 " or "ZM2431216 "
    "EXTRACT_GENERAL_DATA"
    If you cannot solve the problem yourself, please send the
    following documents to SAP:
    1. A hard copy print describing the problem.
      To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
      To obtain this, call the system log with Transaction SM21
      and select the "Print" function to print out the relevant
      part.
    3. If the programs are your own programs or modified SAP programs,
      supply the source code.
      To do this, you can either use the "PRINT" command in th
      print the programs using the report RSINCL00.
    4. Details regarding the conditions under which the error o
      or which actions and input led to the error.
    System environment
    SAP Release.............. "46C"
    Application server....... "essceu3"
    Network address.......... "172.19.119.198"
    Operating system......... "AIX"
    Release.................. "5.3"
    Hardware type............ "00C7ADBD4C00"
    Database server.......... "ukblx176"
    Database type............ "ORACLE"
    Database name............ "EU3"
    Database owner........... "SAPR3"
    Character set............ "es_ES.ISO8859-1"
    SAP kernel............... "46D"
    Created on............... "Jul 9 2006 20:26:33"
    Created in............... "AIX 1 5 00447C4A4C00"
    Database version......... "OCI_920__OCI_7_API "
    Patch level.............. "2257"
    Patch text............... " "
    Supported environment....
    Database................. "ORACLE 8.0.5.., ORACLE 8.0.6.., ORACLE
    8.1.6.., ORACLE 8.1.7.., ORACLE 9.2.0.., ORACLE 10.2.0.."
    SAP database version..... "46D"
    Operating system......... "AIX 1 4, AIX 2 4, AIX 3 4, AIX 1 5, AIX 2 5, AIX 3
    5, , System build information:,                                      , LCHN :
    841480"
    User, transaction...
    Client.............. 600
    User................ "MPZMMES"
    Language key........ "S"
    Transaction......... " "
    Program............. "ZM2431216 "
    Screen.............. "SAPMSSY0 1000"
    Screen line......... 6
    Information on where termination occurred
    The termination occurred in the ABAP/4 program "ZM2431216 " in
    "EXTRACT_GENERAL_DATA".
    The main program was "ZM2431216 ".
    The termination occurred in line 980
    of the source code of program "ZM2431216 " (when callin
    The program "ZM2431216 " was started as a background jo
    Source code extract
    009500              mara.ntgew,
    009510              mara.gewei,
    009520              mara.volum,
    009530              mara.voleh,
    009540              mara.mstae,
    009550              mara.mstde,
    009560              mara.prdha,
    009570              marc.matnr,
    009580              marc.werks,
    009590              marc.mmsta,
    009600              marc.mmstd
    009610        into :w_ops-groes,
    009620              :w_ops-brgew,
    009630              :w_ops-ntgew,
    009640              :w_ops-gewei,
    009650              :w_ops-volum,
    009660              :w_ops-voleh,
    009670              :w_ops-mstae,
    009680              :w_ops-mstde,
    009690              :w_ops-prdha,
    009700              :w_ops-matnr,
    009710              :w_ops-werks,
    009720              :w_ops-mmsta,
    009730              :w_ops-mmstd
    009740        from sapr3.mara, sapr3.marc
    009750        where sapr3.mara.mandt = sapr3.marc.mandt
    009760          and sapr3.mara.matnr = sapr3.marc.matnr
    009770          and sapr3.mara.mandt = :p_mandt
    009780          and sapr3.mara.matnr = :w_ebs-matnr
    009790          and sapr3.marc.werks = :p_owerks
        >    ENDEXEC.
    009810  endform.                    " extract_general_data
    009820  *&
    009830  *&      Form  append_i_ops
    009840  *&
    009850  *      Appends W_OPS to I_OPS
    009860  *
    009870  form append_i_ops.
    009880    append w_ops to i_ops.
    009890  endform.                    " append_i_ops
    009900  *&
    009910  *&      Form  extract_material_description
    009920  *&
    009930  *      Extracts a Material Description from the remote database an
    009940  *      modifies the current record in I_OPS.
    009950  *
    009960  *        >P_SPRAS  Language Key
    009970  *
    009980  form extract_material_description using    p_spras.
    009990    EXEC sql performing set_langauge.
    Contents of system fields
    SY field contents..................... SY field contents............
    SY-SUBRC 0                            SY-INDEX 0
    SY-TABIX 1                            SY-DBCNT 1
    SY-FDPOS 18                            SY-LSIND 0
    SY-PAGNO 0                            SY-LINNO 1
    SY-COLNO 1
    Chosen variables
    Name.......................... Contents.1........2........3....+..
    W_EBS-PRAT4
                                  2
                                  0
    W_OPS-GROES
                                  22222222222222222222222222222222
                                  00000000000000000000000000000000
    W_OPS-BRGEW                    #######
                                  0000000
                                  000000C
    W_OPS-NTGEW                    #######
                                  0000000
                                  000000C
    regards,
    krishnaiah.

    Hi,
    This is usually a SERVER SIDE DATABASE PROBLEM or SQLNET LISTENER (server side) PROBLEM.  The client side should initially be ignored and instead the server should be investigated. In rare cases, this can be caused by client
    side memory or other resource problem, or a DLL version mismatch, but this is
    unlikely.
    Enlist the assistance of your DBA.  Then reproduce the ORA-3113 error on your
    client application.  Ask your DBA to look at the database side Alert.log and
    trace files and look for ANY activity.  Any activity that coincides with your
    ORA-3113 will be a clue.
    REgards
    Vinod

  • An error occurred when executing a REMOTE FUNCTION CALL.

    Dear all,
    We have two syetms called DXD and GRD , we have a remote enabled function module in the DXD system , when i am trying to call this Function module from
    GRD system it is going for the short dump, and giving the follwing error,
    <b>Error analysis
        An error occurred when executing a REMOTE FUNCTION CALL.
        It was logged under the name "RFC_NO_AUTHORITY"
        on the called page.</b>
    But i do have the access for the DXD system also, i am really struggling to solve this problem, if any lights are there to help me , i will be thank full for then,
    some body suggested for me that we need to maintain the Trusted system tables in the target system.
    Thanks & regards
    Satya.

    first u( user id ) have to get the Authorizations to use RFC ?
    object will be  like S_RFC or some thing like this.
    when u get this kind of error just call /NSU53 then u will come to know which Authorization Object is missing from ur User Profile.
    Regards
    Prabhu

  • After upgrading from acrobat 9.5 to XI pro my users have complained on slow typing when filling in form that were created in version 9.5?

    After upgrading from acrobat 9.5 to XI pro my users have complained on slow typing when filling in form that were created in version 9.5?
    The issue is they type but there is 2 second delay when it appears in the field.
    Windows 7 64bit

    I see, I misread your reference to Reader 11 to mean you were using Acrobat 11, but it looks like it worked out anyway.
    The base-14 fonts are special in PDF because they are guaranteed to be available even if they are not embedded. If you select a non-base-14 font for use with a form field, the entire font usually gets embedded, since each glyph it contains has to be available for use with the field. This can take up a lot of space if you do this a lot, and the space isn't reduced if you change back to a base-14 font later because the internal reference to it is not removed. This is caused by the bug I mentioned.
    In your case, however, the entire font doesn't get embedded because fonts like it (e.g., large asian fonts with a lot of glyphs, Arial Unicode) would take up too much space if fully embedded. If it did, a 100KB PDF could bloat to 20MB with that one change. Instead, users are expected to have such fonts installed on their system, which is why you were prompted to install the font pack. This despite the fact that the font was not actually used by anything in your document, it was simply the orphaned reference to it that triggered this. This should get fixed in Acrobat eventually so this type of thing doesn't happen again.

  • Transformer exception occurred when executing XSLT

    Hi Friends,
    Currently I am working on standard contents(XI) on IS-Retail.
    I want to change standard XSLT mapping.
    I done few changes but on testing of Interface mapping I got this error "Transformer exception occurred when executing XSLT"
    1.
    </xsl:template>
         <!-- Comment start  for Tender ( Financial Movement )-->
         <!--     <xsl:template name="POSLog">
            <ns0:POSLog xmlns:ns0="http://sap.com/xi/StoreConnectivity">
                <xsl:call-template name="POSLogTransaction"/>
            </ns0:POSLog>          
              </xsl:template> -->
         <xsl:template name="POSLog">
              <ns0:Z_POSLog xmlns:ns0="http://sap.com/xi/StoreConnectivity">
                   <xsl:call-template name="POSLogTransaction"/>
              </ns0:Z_POSLog>
              </xsl:template>
              <!-- Comment end for Tender ( Financial Movement )-->
    2.
                   <!-- Changes start for Tender ( Financial Movement )  -->
                        <xsl:for-each select="GMTLogTransactionLine[TransactionType='B2']">
                             <xsl:call-template name="CaptureTenderID"/>
                        </xsl:for-each>
                   <!-- Changes end for Tender ( Financial Movement ) -->
    3.
         <!-- Customization for handling Tender ( Financial Transaction  ) Begin Here-->
         <xsl:template name="CaptureTenderID">
              <xsl:if test="following-sibling::GMTLogTransactionLine[1][TransactionType='B2']">
                   <Tender>
                        <TenderID>
                             <xsl:value-of select="following-sibling::GMTLogTransactionLine[TransactionType='B2'][1]/TenderID"/>
                        </TenderID>
                   </Tender>
              </xsl:if>
         </xsl:template>
         <!-- Customization for handling Tender ( Financial Transaction  ) End Here-->

    Hello flok,
    just have a look into this thread may be you can find the solution
    XSLT Mapping, Transformer configuration exception occurred when loading
    http://xml.apache.org/xalan-j/apidocs/javax/xml/transform/TransformerException.html
    Regards,
    Ravi.

  • When I execute my code that contains SetCtrlVal, I get the following error:

    When I execute my code that contains SetCtrlVal, I get the following error:
    “Invalid argument type found double expected int.”   The variable in question is declared double, and from reading the help info, the variable should adapt to the declared type.
    Solved!
    Go to Solution.

    A typical reason for this error is using a wrong panel handle in SetCtrlVal: check that the handle passed to the function effectively is the one returned from LoadPanel or NewPanel function.
    Another common issue it trying to address a control on a tab page using the handle of the panel that holds the tab control: you must consider that each tab page has its own panel handle as it were a separate panel; you can retrieve the handle associated with tab pages with GetPanelhandleFromTabPage () command.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • I have created a form that contains fields with default text for a user to update/personalize.  Is there a way to style the text so I can quickly identify changes to default text in a field?

    I have created a form that contains fields with default text for a user to update/personalize.  Is there a way to style the text so I can quickly identify changes to default text in a field?

    George - Thanks you so much!  Actually, i'd love for the text color to be red font color.  Could you send me the script for that? And I assume I just copy and paste the script into the field properties (see screenshot)?
    thanks again!
    Seth

  • Edge Animate is freeze. when open the html that contain the -webkit-animation.

    Edge Animate is freeze. when open the html that contain the -webkit-animation.
    This is Win8 64bit(iMac bootcamp).
    process.
    1.open the HTML like bellow.
    <!doctype html>
    <html>
    <head>
      <meta charset="utf-8">
      <title>anim test</title>
      <style>
        #box{
          width: 300px; height: 300px;border: solid 1px black;
          -webkit-animation: anim 2s infinite;
        @-webkit-keyframes anim {
          0% { -webkit-transform: rotateY(0deg); }
          100% { -webkit-transform: rotateY(360deg); }
      </style>
    </head>
    <body>
      <div id="box">
          box
      </div>
    </body>
    </html>
        sample is here:http://ciruelo.jp/js/edge/anim.html
    2.Edge Animate is freeze. can show animation on the stage, but can't select any menu.
       It's necessary to kill the process of Animate.
    Thanks.
    Ume.

    Thx, robberman.
    This is a simple "crash report".
    so, now, I'm not in trouble for this problem.
    only reported a case to freeze.
    If I wanto to use "-webkit-animation" prop on my Edge Animate, I will create a class & add Class by jQuery stuff  .
    Best regards.
    Ume.

  • How Can I create a SAP form that contains activeX report viewer?

    I'm trying to create a SAP form that contains a ActiveX control to view a Crystal Report. Can anyone Help?
    Thanks,
    Ezequiel.

    Thanks Ludek, I use this a sub to create a report document and report viewer in sap bussines one form.
    Running this code shows the sap business one form with the report viewer but then closes SAP Business One Application.
    which may be the problem?.
    Private Sub CreateFormWithActiveX()
        Dim CP As SAPbouiCOM.FormCreationParams
        Dim fTree As SAPbouiCOM.Form
        Dim AcXTree As SAPbouiCOM.ActiveX
        Dim oItem As SAPbouiCOM.Item
        Dim CRapp As CRAXDDRT.Application
        Dim CRRep As CRAXDDRT.Report
        'Dim CRepDoc as
        ' Set the form creation parameters
        CP = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
        CP.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Sizable
        CP.FormType = "ACXTree"
        CP.UniqueID = "ACTree1"
        fTree = SBO_Application.Forms.AddEx(CP)
        fTree.Left = 10
        fTree.Top = 10
        fTree.Width = 800
        fTree.Height = 600
        fTree.Title = "Crystal Report Viewer - Argentis"
        fTree.AutoManaged = True
        ' Add the TreeView Control to the form
        oItem = fTree.Items.Add("Tree", SAPbouiCOM.BoFormItemTypes.it_ACTIVE_X)
        oItem.Left = 1
        oItem.Top = 1
        oItem.Width = 800
        oItem.Height = 600
        ' Create the new activeX control
        AcXTree = oItem.Specific
        CRapp = New CRAXDDRT.Application
        CRRep = CRapp.OpenReport("C:\Projects\Crystal Report ActiveX Viewer\Crystal\Indumetaria\Reportes\ARInvoiceMatrix_portrait.rpt", 1)
        'CRRep.RecordSelectionFormula = "{OINV.DocEntry} = {?doc_num}"
        For i As Integer = 1 To CRRep.Database.Tables.Count
          Dim ConnectionInfo As CRAXDDRT.ConnectionProperties
          ConnectionInfo = CRRep.Database.Tables(i).ConnectionProperties
          ConnectionInfo.Delete("Integrated Security")
          ConnectionInfo.Delete("Provider")
          ConnectionInfo.Delete("Data Source")
          ConnectionInfo.Delete("Initial Catalog")
          ConnectionInfo.Delete("User ID")
          ConnectionInfo.Delete("Password")
          ConnectionInfo.Add("Provider", "SQLOLEDB")
          ConnectionInfo.Add("Data Source", "Ezequiel")
          ConnectionInfo.Add("Initial Catalog", "SITKA")
          ConnectionInfo.Add("Integrated Security", 0)
          ConnectionInfo.Add("User ID", "sa")
          ConnectionInfo.Add("Password", "sa2005")
        Next
        AcXTree.ClassID = "CrystalReports102.ActiveXReportViewer.1"
        'oTreeView = AcXTree.Object
        oViewer = AcXTree.Object
        oViewer.EnableToolbar = True
        oViewer.EnableStopButton = True
        oViewer.EnableSelectExpertButton = True
        oViewer.EnableSearchControl = True
        oViewer.EnableRefreshButton = True
        oViewer.EnableProgressControl = True
        oViewer.EnablePrintButton = True
        oViewer.EnablePopupMenu = True
        oViewer.EnableGroupTree = False
        oViewer.DisplayGroupTree = True
        oViewer.ReportSource = CRRep
        oViewer.ViewReport()
        fTree.Freeze(True)
        ' Make the form visible
        fTree.Visible = True
      End Sub
    Regards.

  • UCCX8 Is There a Sesion Variable that contains the Call Control Group ID

    Hello,
         Is there a session variable that contains the Call Control Group ID of the trigger that called the script?
    -Lauren

    Hi Lauren,
    sorry, after two hours of analysing call hierarchies and running debugs, I gave up. I can't see any way of getting that value programmatically, in other words, I don't see any public field or method that would yield the desired value.
    However, if you want to use this only for debugging purposes, then getting the contact using the Get Trigger Info step, assigning it to a variable named contact (of type Contact) then calling the following method on it:
    contact.getTask().getTrigger() (which automatically calls the toString() method) would return a String similar to this - and it contains the ID of the Call Control Group apparently:
    "ContactApplicationTrigger[time=1356102368509,locale=en_US,cfg=JTAPITriggerConfig[schema=ApplicationTriggerConfig,time=2011-09-14 18:28:25.0,recordId=414,desc=Cisco JTAPI Trigger,name=82152,type=Cisco JTAPI Trigger,appName=TRAPPA,enabled=true,sessions=5000,idleTimeout=5000,locale=en_US,parms={},taskGroups=[],controlClass=class com.cisco.call.CallControlChannel,controlGroupId=1,contactGroups=[GroupInfo[class=com.cisco.dialog.DialogChannel,id=0]],dn=82152,redirectCSS=redirecting.party,cmDeviceName=TRAPPA_82152,cmDeviceInvalid=false,cmDescription=TransRouting IVRA,cmDevicePoolUUID={978D6B59-356E-FC92-81A9-3AAE9F843120},cmDevicePoolName=DP_Main_C,cmCallingSearchSpaceUUID={87083019-FEBF-9B48-742B-7658396D1D5C},cmCallingSearchSpaceName=CSS_mobily_normal_HelpDesk_IS,cmLocationUUID={29C5C1C4-8871-4D1E-8394-0B9181E8C54D},cmLocationName=Hub_None,cmPartitionUUID={10003B1B-F235-16A7-927D-01EB3DCCB57C},cmPartitionName=P_operatori,cmVoiceMailProfileUUID=,cmVoiceMailProfileName=None,cmCallPickUpGroupUUID=,cmCallPickUpGroupName=,cmDisplay=,cmExternalPhNumMask=,cmFwdBusyVM=false,cmFwdBusyDest=,cmFwdBusyCSSUUID=,cmFwdBusyCSSName=None,cmAlertingNameAscii=,cmPresenceGroupUUID=ad243d17-98b4-4118-8feb-5ff2e1b781ac,cmPresenceGroupName=Standard Presence group],contact=JTAPICallContact[id=16548,implId=3206772/2,state=STATE_ANSWERED_IDX,inbound=true,App name=TRAPPA,task=38000443987,session=17000062888,seq num=0,cn=82152,dn=82152,cgn=0725099603,ani=0725099603,dnis=null,clid=null,atype=REDIRECT,lrd=78866,ocn=78866,route=RP[num=82152],OrigProtocolCallRef=000000000030EE740228F81300000000,DestProtocolCallRef=null,TP=81122]]"
    Looks like the cfg field cannot be accessed, but the automatic toString() method is kind enough to dump all this information.
    Hope this helps.
    G.

  • ORA-04052: Error occurs when execute the block

    I'm trying to run one block and his query definition uses an active public database link. When I ran the script to block I get the following message:
    ERROR in line 1:
    ORA-04052: error occurred when looking up remote object
    SQ_DSV.temp_tipo_contr@SQ_DSV tc
    ORA-00604: error occurred at recursive SQL level 1
    But when I execute his definition query all is ok, the query works fine.
    I mean, I'm using the following sentence to block:
    declare
    Cursor Tipo_Contr is
    Select tc.rec_id, tc.tipo_contr from SQ_DSV.temp_tipo_contr@SQ_DSV tc;
    begin
    For Reg_Tipo_Contr in Tipo_Contr Loop
    Begin
    Update recursos Set tpcontr_id = Reg_Tipo_Contr.tipo_contr
    where rec_id = Reg_Tipo_Contr.rec_id;
    exception when others then
    dbms_output.put_line(Reg_Tipo_Contr.rec_id || ' Not find');
    end;
    end loop;
    -- Commit;
    end;
    I checked for the GLOBAL_NAMES parameter and it is set to FALSE. Please help me, How can I fix this problem ?
    I'm using Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production running over Win XP for run block.
    Thanks you, Paulo.

    ORA-04052 error occurred when looking up remote object stringstringstringstringstring
    Cause: An error has occurred when trying to look up a remote object.
    Action: Fix the error. Make sure the remote database system has run KGLR.SQL to create necessary views used for querying/looking up objects stored in the database.
    Regards
    Marcio Paiva

  • Invalid Cursor Error when executing a form

    I am getting the following error
    "Error Executing Cursor
    ORA-01001: invalid cursor"
    when I try to "Submit" information in a form based on the procedure below. What's the problem?! The procedure compiles fine.
    create or replace procedure MARKETING_FORM_2_7
    (ToAdd in Varchar2,
    FromAdd in Varchar2,
    Subject in Varchar2,
    SenderName in Varchar2,
    Branch in Varchar2,
    Phone in Varchar2,
    Address in Varchar2,
    Suggestion in Varchar2,
    SalesPromo in Varchar2,
    TradeshowPrep in Varchar2,
    SalesMaterials in Varchar2,
    DirectMail in Varchar2,
    CounterDays in Varchar2,
    BranchCustData in Varchar2,
    Other in Varchar2,
    ProjectName in Varchar2,
    Purpose in Varchar2,
    Audience in Varchar2,
    WhoPay in Varchar2,
    Deadline in Varchar2,
    Progress in Varchar2,
    EmployeeUpdate in Varchar2,
    WESCOWin in Varchar2,
    DescribeWin in Varchar2,
    PotentialValue in Varchar2,
    PartBranches in Varchar2,
    SignifPeople in Varchar2,
    SpecialFactors in Varchar2)
    is
    mailhost Varchar2(15) :='CLAPTON';
    mail_conn utl_smtp.connection;
    crlf varchar2(2):=chr( 13 )||chr( 10 );
    mesg varchar2(5000);
    begin
    mail_conn := utl_smtp.open_connection(mailhost,25);
    mesg:= 'From: <'||FromAdd||'>' ||crlf ||
    'To: '||ToAdd || crlf ||
    'Subject: '||Subject || crlf ||
    '' ||crlf||
    'Name: '||SenderName || crlf ||
    'Branch: '||Branch || crlf ||
    'Phone: '||Phone || crlf ||
    'Address: '||Address || crlf ||
    'Comment or Suggestion: ' || Suggestion || crlf ||
    'Sales Promotion Assistance: '|| SalesPromo || crlf ||
    'Tradeshow Assistance: '|| TradeshowPrep || crlf ||
    'Sales Materials or Presentations Assistance: '|| SalesMaterials || crlf ||
    'Direct Mail Assistance: '|| DirectMail || crlf ||
    'Counter Days Assistance: '|| CounterDays || crlf ||
    'Customer Database Assistance: '|| BranchCustData || crlf ||
    'Other: '|| Other || crlf ||
    'Project Name: '|| ProjectName|| crlf ||
    'Purpose: '|| Purpose || crlf ||
    'Indended Audience: '|| Audience || crlf ||
    'Who Will Pay?: ' || WhoPay || crlf ||
    'Deadline: '|| Deadline || crlf ||
    'Progress Made: ' || Progress || crlf ||
    'Mailing List Update: ' || EmployeeUpdate || crlf ||
    'WESCO Win: '|| WESCOWin || crlf ||
    'Win Description: ' || DescribeWin || crlf ||
    'Contract Value/Potential Sales: '|| PotentialValue || crlf ||
    'Participating Branches: '|| PartBranches || crlf ||
    'Significant Contributors: '|| SignifPeople || crlf ||
    'Special Factors: '|| SpecialFactors;
    utl_smtp.helo(mail_conn, mailhost);
    utl_smtp.mail(mail_conn, FromAdd);
    utl_smtp.rcpt(mail_conn, ToAdd);
    utl_smtp.data(mail_conn, mesg);
    utl_smtp.quit(mail_conn);
    end;

    Try executing the procedure independently (say from sqlplus) to see whether the procedure works fine.
    Alternatively, try commenting out the calls to the utl_smtp packages to see whether the procedure works.

  • ORA-29902 Error when executing context query

    We sometimes get the following error when executing a search based on keywords entered by a user:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Error generating context stmt ORA-29902: error in executing ODCIIndexStart() routine ORA-20000: interMedia Text error: DRG-50901: text query <HR></BLOCKQUOTE>
    A demonstration of the error can be seen by going to the main
    http://technet.oracle.com technet page and then performing a site search. Type in any of the following search phrases:
    Oracle and not Microsoft
    not Microsoft
    and database
    In my brief experimentation, the presence of any of
    not, and, or
    at the beginning of the keywords, or next to each other 'and not' within the keywords set causes the above oracle error.
    OK, I could train the users not to do this, but with the potential for every net user on the planet using my site, it might take me some time to speak to all of them.
    So how do I stop Intermedia from throwing up the error? I have written a quick parser to try to strip out offending entries, but that is not, imho, a good solution, as I do not know all the rules that will break it.
    tia

    You need to write a text query parser. Check the Query Translator code samples from http://technet.oracle.com/sample_code/products/text/content.html

Maybe you are looking for

  • Not right colour when printing picture

    a black and white picture is printed with a blue/green colour/haze, anybody any clue on how to solve? cartridges are oke. have them checked on the printer and in the store where i bought them. problem can exist since i installed hp software for the p

  • Java.lang.ClassCastException in WebLogic 10.3.3 after recompile

    While editing some code a developer noticed this error after a recompile in Weblogic 10.3.3. And the underlying object is a DimensionLabel. And we tried this in Weblogic 9.2 and it works fine with no exception. The developer simply recompiled the cla

  • How to view the records in datagrid using Combo Box Selection

    hi friends, i having one combo box,that combo box having 10 students name in list format. If i click any one of the students name it will only show the Particular student record in datagrid with respective fields(student name,rollnumber,percentage);

  • Print resolution problem - grainy

    I can't get my photos to print sharply on my printer. I have a HP Photosmart P1100 hooked up to my imac. Things print out put the photos look grainy like they are printing on a low resolution/quality setting. I tried looking through the print setting

  • Adding characteristic to report makes data disappear(BEx)

    Can anyone help me out regarding why records are disappearing from query(BEx) when any attribute of XYZ_SALES is added.