Post Processing Error - how to debug issue?

I copied a vanilla report and slightly modified it. the data definition is a vanilla oracle object that is un-changed.
i copied the data to my desktop and the report runs fine (from the Desktop). However the report fails to produce output when run from the application. I get the following in the log file
Beginning post-processing of request 15980025 on node RADON17 at 22-MAY-2008 09:07:49.
Post-processing of request 15980025 failed at 22-MAY-2008 09:07:49 with the error message:
One or more post-processing actions failed. Consult the OPP service log for details.
The OPP log does not provide any details.
[5/22/08 9:07:49 AM] [24053:RT15980025] Executing post-processing actions for request 15980025.
[5/22/08 9:07:49 AM] [24053:RT15980025] Starting XML Publisher post-processing action.
[5/22/08 9:07:49 AM] [24053:RT15980025]
Template code: XXEAMWOREPORT
Template app: XX
Language: en
Territory: US
Output type: RTF
[5/22/08 9:07:49 AM] [UNEXPECTED] [24053:RT15980025] java.lang.reflect.InvocationTargetException
     at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:624)
     at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:421)
     at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:233)
     at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
     at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
     at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
     at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
     at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1659)
     at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:969)
     at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5916)
     at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3452)
     at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3541)
     at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:244)
     at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
Caused by: java.lang.NullPointerException
     at oracle.xdo.parser.v2.PagedNodeList.readPage(PagedNodeList.java:324)
     at oracle.xdo.parser.v2.PagedNodeList.start(PagedNodeList.java:312)
     at oracle.xdo.parser.v2.XPathFunctionCall.evaluate(XPathFunctionCall.java:540)
     at oracle.xdo.parser.v2.PathExpr.evaluate(XSLNodeSetExpr.java:851)
     at oracle.xdo.parser.v2.XSLForEach.processAction(XSLForEach.java:113)
     at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
     at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
     at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
     at oracle.xdo.parser.v2.XSLForEachGroup.processLazy(XSLForEachGroup.java:622)
     at oracle.xdo.parser.v2.XSLForEachGroup.processAction(XSLForEachGroup.java:97)
     at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
     at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
     at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
     at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
     at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
     at oracle.xdo.parser.v2.XSLForEach.processAction(XSLForEach.java:147)
     at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
     at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
     at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
     at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
     at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
     at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
     at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
     at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
     at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
     at oracle.xdo.parser.v2.XSLTemplate.processAction(XSLTemplate.java:191)
     at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:512)
     at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
     at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
     at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
     at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
     ... 17 more
[5/22/08 9:07:49 AM] [24053:RT15980025] Completed post-processing actions for request 15980025.
Any other tools I can use to debug the error??? I'm stuck

1. Is it possible to get more debug information from the Crystal Engine to help determine which fields/formulae are causing the issue?
Unfortunately that is it as far as errors.
2. Does anyone have any initial ideas as to why this might be failing?
a) Apply the latest Service pack:
https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
b) In the CR designer, enable Verify on First Refresh and Verify Stored procedures on First Refresh
c) If the above does not help, as a test create a new win app. All you should need is just the one line of code, no db code. Let the report prompt for the db logon. If the win app works, it's probably a permission issue.
Ludek

Similar Messages

  • XML Publisher post-processing error 'java.io.FileNotFoundException'

    Hi,
    We are getting following XML Publisher post-processing error while running XML Publisher report.
    It was working earlier but suddenly its erroring out.
    [9/07/10 9:00:17 PM] [OPPServiceThread1] Post-processing request 559655.
    [9/07/10 9:00:18 PM] [39177:RT559655] Executing post-processing actions for request 559655.
    [9/07/10 9:00:18 PM] [39177:RT559655] Starting XML Publisher post-processing action.
    [9/07/10 9:00:18 PM] [39177:RT559655]
    Template code: XXHPOXPRRFLR
    Template app: XXH
    Language: en
    Territory: 00
    Output type: PDF
    [9/07/10 9:00:18 PM] [UNEXPECTED] [39177:RT559655] java.io.FileNotFoundException: /apps/oracle/DEV/inst/apps/DEV_hlt439erplap001/logs/appl/conc/out/o559655.out (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:274)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:173)
    [9/07/10 9:00:18 PM] [39177:RT559655] Completed post-processing actions for request 559655.
    Please help me out to resolve this issue.
    Thanks & Regards,
    Sagarika

    Hi,
    java.io.FileNotFoundException: /apps/oracle/DEV/inst/apps/DEV_hlt439erplap001/logs/appl/conc/out/o559655.out (No such file or directory)Most probably this file is not created (since no changes have been done recently, so definitely it is not a permission issue), and if there are any log files generate at the client side it should help in investigating the issue.
    Thanks,
    Hussein

  • Post-processing error Template code: ARXCMGJR

    Hi
    SR 6648071.994
    CAP GEMINI ERNST & YOUNG UK PLC
    ISSUE: Customer is testing for a major upgrade to 11.5.10.2, and receive an error when submitting ARXCMGJR module: On Account Credit Memo Gain and Loss Journal report in post processing of concurrent:
    [12/20/07 12:03:51 PM] [399437:RT7371897] Starting XML Publisher post-processing action.
    [12/20/07 12:03:51 PM] [399437:RT7371897]
    Template code: ARXCMGJR
    Template app: AR
    Language: en
    Territory: US
    Output type: PDF
    12/20/07 12:03:57 PM] [UNEXPECTED] [399437:RT7371897] java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:558)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:228)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
    at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
    at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: java.lang.ClassCastException: oracle.xdo.parser.v2.XSLNode
    at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:782)
    at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:564)
    ... 17 more
    [12/20/07 12:03:57 PM] [399437:RT7371897] Completed post-processing actions for request 7371897.
    [12/20/07 12:10:36 PM] [OPPServiceThread0] Post-processing request 7371902.
    [12/20/07 12:10:36 PM] [399437:RT7371902] Executing post-processing actions for request 7371902.
    [12/20/07 12:10:36 PM] [399437:RT7371902] Starting XML Publisher post-processing action.
    [12/20/07 12:10:36 PM] [399437:RT7371902]
    Template code: ARXCMGJR
    Template app: AR
    Language: en
    Territory: US
    Output type: PDF
    [12/20/07 12:10:37 PM] [UNEXPECTED] [399437:RT7371902] java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:558)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:228)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
    at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
    at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: java.lang.ClassCastException: oracle.xdo.parser.v2.XSLNode
    at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:782)
    at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:564)
    ... 17 more
    Any Help on cause of this error is appreciated.
    Thank you
    JM

    Hi Jean-Marc
    Please use the internal xmlp mailing list for such questions - this forum is for customers and partners.
    If you dop not know the ML drop me a mail.
    To be able to investiage further we need the template and the XML data for the report.
    Regards
    Tim

  • Internal error - how to debug and fix

    Hi Gurus
    I am trying to enter data for a business partner using transaction BP.  I am able to create the BP (person) however when I attempt to enter communication information, such as telephone number, I receive the following error message:
    Internal error - access to IT_ADR2_L
    Can anyone tell me how to debug this?  Please include individual steps, as I am not a developer.
    Any help greatly appreciated.
    Thanks
    Harrrry

    Dear Harry
    I think there are any permission issue better to talk basis team, because  i has work in my side.

  • Sql upgrade 2000 to 2005 post processing error

    Dear People,
    I have successfully upgraded sql from 2000 to 2005 and im doing the post processing steps for upgrade using the sql tool and im getting error at the step " creare sap stored procedure" .im pasting the error messages below.
    <b>dev_w0</b>
    RROR: schema user dcb has administrator fixed server role (user_name() is 'dbo').
    C         This is not allowed.  Please check the Server Roles of user dcb.
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1426]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10283]

    sapinst_dev.log<b></b>
    ERROR      2007-12-04 10:54:48.62 [iaxxgenimp.cpp:731]
               showDialog()
    FCO-00011  The step ExeProcs with step key |SAPMSSTOOLS|ind|ind|ind|ind|0|0|MssSysCopy|ind|ind|ind|ind|4|0|MssProcs|ind|ind|ind|ind|4|0|ExeProcs was executed with status ERROR .
    ERROR      2007-12-04 10:54:48.62
               lib=iamodmssql module=CIaNtMssDmo
    MDB-05053  Errors when executing sql command: [Microsoft][ODBC SQL Server Driver][SQL Server]SELECT permission denied on object 'MSSSOURCE', database 'DCB', schema 'dcb'.
    <p> SOLUTION: If this message is displayed as a warning, you can ignore it. If this is an error, contact SAP support.</p>
    regards
    raj

    hi siddesh,
    i also get the following errors in sql,this could be the main reason
    1.Msg 15157, Level 16, State 1, Line 1
    Setuser failed because of one of the following reasons: the database principal 'dcb' does not exist, its corresponding server principal does not have server access, this type of database principal cannot be impersonated, or you do not have permission.
    Msg 229, Level 14, State 5, Procedure sap_droproc, Line 56
    SELECT permission denied on object 'sysobjects', database 'mssqlsystemresource', schema 'sys'.
    Msg 229, Level 14, State 5, Procedure sap_droproc, Line 60
    SELECT permission denied on object 'sysobjects', database 'mssqlsystemresource', schema 'sys'.
    Msg 208, Level 16, State 0, Procedure sap_droproc, Line 65
    Invalid object name '#allnames
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      00
    sid        DCB
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    111
    intno      20050900
    make:      multithreaded, ASCII, optimized
    pid        3236
    Wed Dec 05 12:07:00 2007
    kernel runs with dp version 229(ext=109) (@(#) DPLIB-INT-VERSION-229)
    length of sys_adm_ext is 364 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 3236) [dpxxdisp.c   1239]
         shared lib "dw_xml.dll" version 111 successfully loaded
         shared lib "dw_xtc.dll" version 111 successfully loaded
         shared lib "dw_stl.dll" version 111 successfully loaded
         shared lib "dw_gui.dll" version 111 successfully loaded
         shared lib "dw_mdm.dll" version 111 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Wed Dec 05 12:07:04 2007
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5361]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >voyager_DCB_00                          <
    DpShMCreate: sizeof(wp_adm)          11808     (908)
    DpShMCreate: sizeof(tm_adm)          3605136     (17936)
    DpShMCreate: sizeof(wp_ca_adm)          18000     (60)
    DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
    DpShMCreate: sizeof(comm_adm)          528048     (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1296)
    DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 05CB0040, size: 4232896)
    DpShMCreate: allocated sys_adm at 05CB0040
    DpShMCreate: allocated wp_adm at 05CB1B30
    DpShMCreate: allocated tm_adm_list at 05CB4950
    DpShMCreate: allocated tm_adm at 05CB4980
    DpShMCreate: allocated wp_ca_adm at 06024C10
    DpShMCreate: allocated appc_ca_adm at 06029260
    DpShMCreate: allocated comm_adm at 0602A9D0
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 060AB880
    DpShMCreate: allocated gw_adm at 060AB8C0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 060AB8F0
    DpShMCreate: allocated wall_adm at 060AB8F8
    Wed Dec 05 12:07:05 2007
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 511 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG Q0K=> DpMsAttach, mscon ( voyager) [dpxxdisp.c   11753]
    DpStartStopMsg: send start message (myname is >voyager_DCB_00                          <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 40000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 111
    Release check o.K.
    Wed Dec 05 12:07:45 2007
    ERROR => W0 (pid 2840) died [dpxxdisp.c   14441]
    ERROR => W1 (pid 2844) died [dpxxdisp.c   14441]
    ERROR => W2 (pid 1904) died [dpxxdisp.c   14441]
    ERROR => W3 (pid 3308) died [dpxxdisp.c   14441]
    ERROR => W4 (pid 4056) died [dpxxdisp.c   14441]
    ERROR => W5 (pid 4088) died [dpxxdisp.c   14441]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => W6 (pid 1244) died [dpxxdisp.c   14441]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => W7 (pid 2888) died [dpxxdisp.c   14441]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => W8 (pid 2932) died [dpxxdisp.c   14441]
    ERROR => W9 (pid 2892) died [dpxxdisp.c   14441]
    ERROR => W10 (pid 3116) died [dpxxdisp.c   14441]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => W11 (pid 2096) died [dpxxdisp.c   14441]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => W12 (pid 2480) died [dpxxdisp.c   14441]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 12:07:55 2007
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long)               Wed Dec 05 12:07:55 2007
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program          Cl  User         Action                    Table
    0 DIA     2840 Ended         no      1   0        0                                                                         
    1 DIA     2844 Ended         no      1   0        0                                                                         
    2 DIA     1904 Ended         no      1   0        0                                                                         
    3 DIA     3308 Ended         no      1   0        0                                                                         
    4 DIA     4056 Ended         no      1   0        0                                                                         
    5 DIA     4088 Ended         no      1   0        0                                                                         
    6 UPD     1244 Ended         no      1   0        0                                                                         
    7 ENQ     2888 Ended         no      1   0        0                                                                         
    8 BTC     2932 Ended         no      1   0        0                                                                         
    9 BTC     2892 Ended         no      1   0        0                                                                         
    10 BTC     3116 Ended         no      1   0        0                                                                         
    11 SPO     2096 Ended         no      1   0        0                                                                         
    12 UP2     2480 Ended         no      1   0        0                                                                         
    Dispatcher Queue Statistics               Wed Dec 05 12:07:55 2007
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    2
    2000
    6
    6
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          12
    wake_evt_udp_now     0
    wake events           total     8,  udp     7 ( 87%),  shm     1 ( 12%)
    since last update     total     8,  udp     7 ( 87%),  shm     1 ( 12%)
    Dump of tm_adm structure:               Wed Dec 05 12:07:55 2007
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Wed Dec 05 12:07:55 2007
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000ms) ...
    NiISelect: timeout 5000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 12:08:00 2007
    NiISelect: TIMEOUT occured (5000ms)
    DpHalt: shutdown server >voyager_DCB_00                          < (normal)
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes
    Stop gateway
    killing process (1680) (SOFT_KILL)
    Stop icman
    killing process (2612) (SOFT_KILL)
    Terminate gui connections
    wait for end of work processes
    wait for end of gateway
    [DpProcDied] Process lives  (PID:1680  HANDLE:1608)
    waiting for termination of gateway ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 12:08:01 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:1680  HANDLE:1608)
    wait for end of icman
    [DpProcDied] Process lives  (PID:2612  HANDLE:1612)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 12:08:02 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2612  HANDLE:1612)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 12:08:03 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2612  HANDLE:1612)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 12:08:04 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2612  HANDLE:1612)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 12:08:05 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2612  HANDLE:1612)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 12:08:06 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2612  HANDLE:1612)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 12:08:07 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2612  HANDLE:1612)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 12:08:08 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2612  HANDLE:1612)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 12:08:09 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2612  HANDLE:1612)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 12:08:10 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2612  HANDLE:1612)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 12:08:11 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:2612  HANDLE:1612)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Wed Dec 05 12:08:12 2007
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:2612  HANDLE:1612)
    DpStartStopMsg: send stop message (myname is >voyager_DCB_00                          <)
    NiIMyHostName: hostname = 'voyager'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 189 bytes
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=562,pac=1,MESG_IO)
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name                    -, type 4, key -
    DpStartStopMsg: stop msg sent
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    NiIRead: read for hdl 2 timed out (0ms)
    DpHalt: no more messages from the message server
    DpHalt: send keepalive to synchronize with the message server
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=114,pac=1,MESG_IO)
    MsINiWrite: sent 114 bytes
    send msg (len 110+4) to name           MSG_SERVER, type 0, key -
    MsSndName: MS_NOOP ok
    Send 4 bytes to MSG_SERVER
    NiIRead: hdl 2 received data (rcd=114,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=114
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 114 bytes
    MSG received, len 110+4, flag 3, from MSG_SERVER          , typ 0, key -
    Received 4 bytes from MSG_SERVER                             
    Received opcode MS_NOOP from msg_server, reply MSOP_OK
    MsOpReceive: ok
    MsSendKeepalive : keepalive sent to message server
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    Wed Dec 05 12:08:13 2007
    NiIPeek: peek for hdl 2 timed out (r; 1000ms)
    NiIRead: read for hdl 2 timed out (1000ms)
    DpHalt: no more messages from the message server
    DpHalt: sync with message server o.k.
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   12099]
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiBufISelUpdate: new MODE -- (r-) for hdl 2 in set0
    SiSelNSet: set events of sock 1548 to: ---
    NiBufISelRemove: remove hdl 2 from set0
    SiSelNRemove: removed sock 1548 (pos=2)
    SiSelNRemove: removed sock 1548
    NiSelIRemove: removed hdl 2
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/13
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15)
    MBUF component DOWN
    NiICloseHandle: shutdown and close hdl 2 / sock 1548
    NiBufIClose: clear extension for hdl 2
    MsIDetach: detach MS-system
    cleanup EM
    EsCleanup ....
    EmCleanup() -> 0
    Es2Cleanup: Cleanup ES2
    ***LOG Q05=> DpHalt, DPStop ( 3236) [dpxxdisp.c   10371]
    Good Bye .....

  • Post processing errors in REM

    Hi Gurus,
    What is significance of post processing in REM?
    We have 4 options.
    1)     MF45 u2013 Post process Individual
    2)     MF46 u2013 Post process Collective
    3)     MF47 u2013 Post processing list
    4)     COGI u2013 Post processing individual Components
    I am able to use COGI and clear errors occurred in back flushing.
    But cannot under above first 3 transactions.
    System is taking to all materials where correction is needed for eg in MF47. When I select a material and change post processing record, taking me to screen of post processing list of component.
    Here I observe that bell , Batch determination and Stock determination are disabled. Where as these are enabled in COGI. What can be the reason behind? Any settings missing in REM?
    Pl. help me.
    Srini

    Hi Srini,
    To avoid this you can confirm the following things.
    1.Ensure that suffecicient stock is available in the backflushing locations of each materail.
    2.To prevent the generation of "post-processing list" you can block the BOM from getting backflushed if sufficient stock is not available in specified location for the BOM COMPONENTS. To do this change the "REM profile" to "002"in MRP4 view for the BOM MATERIAL.(if the profile is
    not available you can crate it through SPRO).
    3. To clear the existing Backlog use transcation MF47 and re-process(be ensure that required stocks is
    available for each bom component)
    Hope it will solve ur problem.
    Regards,
    R.Brahmankar

  • Annotation Processing Error - Run vs Debug

    Hello,
    I'm trying to run the Converter Example (Chapter 21 of the Sun's JavaEE 5 Tutorial) with a difference: I've deleted the Enterprise application ("Converter") and I'm using the packages alone: one for the EJB (Converter-ejb) and the second is the App Client (Converter-app-client). No modifications yet. Both use simple (non decorated) annotations @EJB (in the app-client) and @Stateless and @Remote (in the ejb).
    All deployed OK. If you run the Converter-app-client in the Netbeans (version 5.5 - "run main project" command - F6) the
    AppServer (SunJavaSystemAppServer 9.01) issues the folloing exceptions:
    "Class [ Lcom/sun/tutorial/javaee/ejb/ConverterRemote; ] not found. Error while loading [ class com.sun.tutorial.javaee.ejb.ConverterClient ]"
    "Error in annotation processing: java.lang.NoClassDefFoundError: Lcom/sun/tutorial/javaee/ejb/ConverterRemote;"
    The "Converter-app-client (run)" tab window shows the following exception:
    "java.lang.NullPointerException"
    If you run with "Debug Main Project (F5)", the server issues the same errors, but runs the program ok and you can see it's
    results in the "Converter-app-client (debug)" tab window.
    So:
    What's the difference? Why it runs with "debug" and not in "run"?
    After reading many articles, forum, etc it seems to me that It shouldn't issue any "Error in annotation processing".I've
    tried to use the annotation's (name="xxx") and (mappedName="xxx") with no success. Tried also using the files "sun-*.xml" as instructed in the Glassfish EJB FAQ's.
    Any help will be very appreciated.
    Thanks in advance,
    Marcos

    It seem that it's an Netbean 5.5 error.
    This example application (very similar) runs ok (outside Netbeans)
    https://glassfish.dev.java.net/javaee5/ejb/examples/Sless.html
    Comparing the apps, it seems that Netbeans is not packing the AppClient correctly, dropping the remote interfaces of the referred beans.

  • Vshost32.exe stop error and can not capture this error, how to debug

    問題簽章:
      問題事件名稱: BEX
      應用程式名稱: hello.exe
      應用程式版本: 1.0.0.0
      應用程式時間戳記: 52db5c9a
      錯誤模組名稱: maple.dll_unloaded
      錯誤模組版本: 0.0.0.0
      錯誤模組時間戳記: 4de6c98e
      例外狀況位移: 069beb71
      例外狀況代碼: c0000005
      例外資料: 00000008
      作業系統版本: 6.1.7601.2.1.0.256.48
      地區設定識別碼: 3076
      其他資訊 1: 0a9e
      其他資訊 2: 0a9e372d3b4ad19135b953a78882e789
      其他資訊 3: 0a9e
      其他資訊 4: 0a9e372d3b4ad19135b953a78882e789

    Below is the translation of the error.  It looks like you made a simple application called Hello that called a dll named Maple.  Maple is probably a form since the error is being created in an unload method. Is the error occuring when you close
    the form or is the error occuring while the form is executing?
    Was the dll added to your project as a reference or are you calling the dll as a library call using Marshal?  If you added the dll as a reference you should be able to debug the code like any other code provided you have the source project.  You
    should of added the dll to your project by browsing to the project where it was built taking the dll from the debug folder.  Doing this allows VS studio to get the source code.
    If the code wasn't added by reference then you need to create a log file inside the Maple.dll to output debug messages to a file or add message boxes that gives information to help solve the issue.  You also may want to add additional exception handler
    inside Maple.dll.
    Problem signature:
    Problem event name: BEX
    Application name: Hello.exe
    Application version: 1.0.0.0
    Application timestamp: 52db5c9a
    Faulting module name: Maple.dll_unloaded
    Faulting module version: 0.0.0.0
    Fault module timestamp: 4de6c98e
    Exception offset: 069beb71
    Exception code: c0000005
    Exception data: 00000008
    OS version: 6.1.7601.2.1.0.256.48
    Locale identifier: 3,076
    Additional information 1: 0a9e
    Additional information 2: 0a9e372d3b4ad19135b953a78882e789
    Additional information 3: 0a9e
    Additional information 4: 0a9e372d3b4ad19135b953a78882e789
    jdweng

  • Out-of-memory errors - how to debug/fix

    I've only recently noted that many of the tests we were running on our Windows XP oracle 10g server were failing from lack of memory. I have performed a lot of tests, added the /3GB parameter to boot.ini, tried many values for
    pga_aggregate_target , sga_target and sga_max_size , but I still get the error.
    Google searches and parameter tweaking has not helped. We use a great deal of Java stored procedures in this query.
    From our Java application's log:
    04-12-2008 02:53:52 ERROR (ProcessLauncher.java:31) >> session @9/146 calculatePLC(null,11801,12000) stopped: ORA-04030: out of process memory when trying to allocate 4032 bytes (ioc_make_sub2,UGAClass)
    04-12-2008 02:53:52 ERROR (ProcessLauncher.java:31) >>
    04-12-2008 02:57:31 ERROR (ProcessLauncher.java:31) >> session @7/143 calculatePLC(null,18002,18201) stopped: ORA-04030: out of process memory when trying to allocate 8288564 bytes (joxp heap,f:Reserved3)
    04-12-2008 02:57:31 ERROR (ProcessLauncher.java:31) >>
    04-12-2008 03:00:20 ERROR (ProcessLauncher.java:31) >> session @8/145 calculatePLC(null,21402,21601) stopped: ORA-04030: out of process memory when trying to allocate 8388404 bytes (joxp heap,f:Reserved3)
    04-12-2008 03:00:20 ERROR (ProcessLauncher.java:31) >>
    04-12-2008 03:27:09 ERROR (ProcessLauncher.java:99) session @9/146 calculatePLC(null,11801,12000) stopped: ORA-04030: out of process memory when trying to allocate 4032 bytes (ioc_make_sub2,UGAClass)
    session @7/143 calculatePLC(null,18002,18201) stopped: ORA-04030: out of process memory when trying to allocate 8288564 bytes (joxp heap,f:Reserved3)
    session @8/145 calculatePLC(null,21402,21601) stopped: ORA-04030: out of process memory when trying to allocate 8388404 bytes (joxp heap,f:Reserved3)
    from the bdump/alert_orcl.log
    Tue Nov 04 10:58:25 2008
    Errors in file c:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_1476.trc:
    ORA-04030: out of process memory when trying to allocate 38528564 bytes (joxp heap,f:OldSpace)
    Tue Nov 04 10:58:30 2008
    Thread 1 advanced to log sequence 241
    Current log# 3 seq# 241 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG
    Tue Nov 04 10:58:39 2008
    Errors in file c:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_2880.trc:
    ORA-04030: out of process memory when trying to allocate 32111412 bytes (joxp heap,f:OldSpace)
    Thu Dec 04 02:53:34 2008
    Errors in file c:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_1840.trc:
    ORA-04030: out of process memory when trying to allocate 18403380 bytes (joxp heap,f:OldSpace)
    Thread 1 cannot allocate new log, sequence 3974
    Checkpoint not complete
    Current log# 3 seq# 3973 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO03.LOG
    Thread 1 advanced to log sequence 3974
    Current log# 1 seq# 3974 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG
    Thu Dec 04 02:53:37 2008
    Errors in file c:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_1840.trc:
    ORA-04030: out of process memory when trying to allocate 753120 bytes (pga heap,kco buffer)
    ORA-04030: out of process memory when trying to allocate 18403380 bytes (joxp heap,f:OldSpace)
    Thu Dec 04 02:53:41 2008
    Process startup failed, error stack:
    Thu Dec 04 02:53:41 2008
    Errors in file c:\oracle\product\10.2.0\admin\orcl\bdump\orcl_psp0_2260.trc:
    ORA-27300: OS system dependent operation:spcdr:9261:4200 failed with status: 997
    ORA-27301: OS failure message: Overlapped I/O operation is in progress.
    ORA-27302: failure occurred at: skgpspawn
    Thu Dec 04 02:53:42 2008
    Thread 1 advanced to log sequence 3975
    Current log# 2 seq# 3975 mem# 0: C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG
    Thu Dec 04 02:53:42 2008
    Process J000 died, see its trace file
    Thu Dec 04 02:53:42 2008
    kkjcre1p: unable to spawn jobq slave process
    Thu Dec 04 05:03:46 2008
    Errors in file c:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_2648.trc:
    ORA-04030: out of process memory when trying to allocate 36518964 bytes (joxp heap,f:OldSpace)
    Thu Dec 04 05:04:23 2008
    Errors in file c:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_1612.trc:
    ORA-04030: out of process memory when trying to allocate 52046388 bytes (joxp heap,f:OldSpace)
    Latest pfile I've tried is:
    # Cache and I/O
    db_block_size=8192
    db_file_multiblock_read_count=16
    # Cursors and Library Cache
    open_cursors=300
    # Database Identification
    db_domain=""
    db_name=orcl
    # Diagnostics and Statistics
    background_dump_dest=C:\oracle\product\10.2.0/admin/orcl/bdump
    core_dump_dest=C:\oracle\product\10.2.0/admin/orcl/cdump
    user_dump_dest=C:\oracle\product\10.2.0/admin/orcl/udump
    # File Configuration
    control_files=("C:\oracle\product\10.2.0\oradata\orcl\control01.ctl", "C:\oracle\product\10.2.0\oradata\orcl\control02.ctl", "C:\oracle\product\10.2.0\oradata\orcl\control03.ctl")
    db_recovery_file_dest=C:\oracle\product\10.2.0/flash_recovery_area
    db_recovery_file_dest_size=2147483648
    # Job Queues
    job_queue_processes=10
    # Miscellaneous
    compatible=10.2.0.1.0
    # Processes and Sessions
    processes=250
    # SGA Memory
    sga_target=1677721600
    sga_max_size=1677721600
    # Security and Auditing
    audit_file_dest=C:\oracle\product\10.2.0/admin/orcl/adump
    remote_login_passwordfile=EXCLUSIVE
    # Shared Server
    dispatchers="(PROTOCOL=TCP) (SERVICE=orclXDB)"
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=629145600
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_tablespace=UNDOTBS1
    --Charles
    Edited by: user10601251 on Dec 6, 2008 11:51 PM

    Alas, I do not have metalink.
    I have asked my company if we have a CSI number that I can use to get a metalink account, but I have not gotten a reply.
    I have done substantial additional testing - setting JAVA_POOL_SIZE up to 660MB, using oracle.aurora.vm.OracleRuntime.setMaxMemorySize of 1GB and 640MB, and I have tried 'orastack' on oracle and tnslsnr of 512KB and 700KB.
    I still get the ORA-04030 joxp heap,f:OldSpace errors.
    The odd thing is that it used to work 'sometimes' - even with the default Oracle configuration,
    but since November 24th it has failed every single time. It is possible I suppose that the database has grown enough to break the application for queries of this size.
    I think it might be caused by the NCOMP testing I did. After I installed the companion CD and Visual Studio 2008 I think it has been failing on large queries consistantly. Is there a way to safely 'drop' the NCOMP classes without uninstalling everything?

  • Post processing problem

    Hi all,
    I am facing an issue where i have done booking through MFBF and some parts got stored for post processing, now the problem is that when i am doing document specific reversal, parts which got stored for postprocessing is not getting reversed while other parts got cleared. Kindly help
    Prashant.Pillai
    SAP PP Consultant

    Hi,
    There are 2 ways to solve the problem.
    1. Clear the backflush error using MF47 and reverse both the docs.
    2. Do the material document reversal and delete the post processing error in MF47 because the error there is MF47 is actually not posted and is under reserve for that Header material. This option is only good for testing but not in actual production scenario.
    Regards,
    Gaurav Mehra

  • Post Processing: Not Really Working

    Ok now that I've spent 2 hours trying to set up an automation that would save me time Im throwing up my hands...
    Im trying to add a sharpening Action (to happen after resizing) to my export routine in LR.
    (Which should be built in to LR)
    I have created an Action in Photoshop.
    Saved it as a Droplet.
    Put that in the Export Actions Folder in LR.
    I run the export to Jpeg in LR and when it gets to my droplet It asks me to spec my quality settings for the Jpeg it has to reopen and save to apply post processing.
    How do I get to add sharpening to jpegs produced by LR without having to do it manually?.
    This Post processing thing with Droplets is Mickey Mouse if you ask me...

    Droplets confuses lots of people, so I put a quick tutorial on my website: http://www.photoshopservices.co.uk/lightroom.htm
    Victoria

  • How to debug a runtime stack underflow error?

    I'm really struggling to resolve a stack underflow that I'm getting.  The traceback I get at runtime is:
    VerifyError: Error #1024: Stack underflow occurred.
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()
    This is particularly difficult to debug because when I run in debug mode it does not happen at all.  It only happens when compiled as a release.
    Does anyone have any tips on how to debug a Stack Underflow?  Are have a clean explanation of what that means for Flash?
    In case it helps, this error is occurring when I click a button whose handler makes an RPC call, which uses a URLLoader, an AsyncToken, and then invokes the set of AsyncResponder instances associated with the AsyncToken.  With some server-side logging as well as some logging hacked into the swf, I know that the UrlLoader is successfully doing and GET'ing a crossdomain.xml file, is correctly processing it (if I wreck it, I get a security error), and is also successfully completing the "load" request (the server sends the data)... the underflow seems to be happening in the Event.COMPLETE listening/handling process (as is, of course, implied by the traceback as well).
    mxmlc used = from flex_sdk_4.5.0.20967
    Example player (I've tried a few) = 10.2.153.1

    Peter Blazejewicz wrote:
    crossposted:
    http://stackoverflow.com/questions/6270837/how-to-debug-a-runtime-stac k-underflow-error
    Yes... I intended to say so here but didn't get to it yet.  View traffic was extremely low here and I thought I'd see how stackoverflow compared.  I tend to check there first for most languages usually, but thought I'd try here as well to see if I should break that habit.
    As per the SO post, my specific problem was resolved by switching my variable initialization routine from the "initialize" application event, to the onCompletion event.  Although I am obviously "happy" about this since this issue cost me a lot of time and hair, it does not really indicate how I would go about debugging such an internal error in the future, so the question is technically unanswered.
    As to the question from Flex harUI, I am compiling indirectly via the MXMLC in the SDK, through the Amethyst Visual Studio plugin (which I'm auditioning).  The only libraries involved are from the flex_sdk_4.5.0.20967 SDK.  The project is quite small (a test project), consisting only of 1 MXML file and 2x .AS files.

  • How to debug and find the exact constraint violation error

    {122712 14:22:36:ErrorCode -1 with ErrorMessage as ORA-00001: unique constraint (OPS$CMS.PK_TB_ML_EXER_UPLOAD) violated has occured for [SSO16063259009], [CMSCOST_USER] pk_xop_subsales.pr_process_exer }
    {PROCEDURE pr_process_exer(
    p_voucher_num           tb_xop_order_manager_t.voucher_num%TYPE,
    p_status_type           tb_xop_order_manager_t.status_type%type,
    p_dest                    tb_xop_order_manager_t.dest%type,
    p_reference_key            tb_xop_order_manager_t.reference_key%type,
    p_seq_num                tb_xop_order_manager_t.seq_num%type,
    p_return_code            tb_xop_order_manager_t.return_code%type,
    p_reason_desc           tb_xop_order_manager_t.reason_desc%type,
    p_activity_qty            tb_xop_order_manager_t.activity_qty%type,
    p_leaves_qty            tb_xop_order_manager_t.leaves_qty%type,
    p_exec_price            tb_xop_order_manager_t.exec_price%type,
    p_current_status        tb_xop_order_manager_t.current_status%type,
    p_err_cur          OUT  ref_cursor)
    IS
    CURSOR get_order_dtls(v_voucher_num tb_xop_order_manager_t.voucher_num%type)
    IS
    SELECT *
    FROM   tb_xop_order_manager_t
    WHERE  voucher_num = v_voucher_num;
    CURSOR get_mail_cd(v_opt_num OPTIONEE.opt_num%TYPE) IS
          SELECT mail_cd, sp_mail_cd
          FROM XOP_OPTIONEE
          WHERE opt_num = v_opt_num;
    cursor get_opt_dtls(v_opt_num OPTIONEE.opt_num%TYPE) IS
    select
    SUBSTR(trim(O.name_first) || ' ' || trim(O.name_mi) || ' ' ||
              trim(O.name_last), 1, 35) p_name,
            SUBSTR(O.address1, 1, 35) opt_addr1,
              SUBSTR(O.address2, 1, 35) opt_addr2,
              SUBSTR(O.address3, 1, 35) opt_addr3,
              SUBSTR(O.address4, 1, 35) opt_addr4,
              SUBSTR(O.address5, 1, 35) opt_addr5,
              SUBSTR(O.address6, 1, 35) opt_addr6,
            SUBSTR(trim(O.city) || ' ' || trim(O.state) || ' ' ||
            trim(O.zip) || ' ' || trim(O.country), 1, 35) city_state_zip_country,
            trim(O.city) city,
            trim(O.state) state,
            trim(O.zip) zip,
            trim(O.country) country
    from  optionee o
    where o.opt_num = v_opt_num;
    --CQ:PCTUP00210726- Added wire instructions audit for deleted wire info.
    CURSOR c_wire_instruction (
          in_wire_seq_no           TB_XOP_WIRE_INSTRUCTIONS.wire_seq_no%TYPE ) IS
          SELECT ml_brok_acct_num,
                 ssn,
                 plan_num,
                 instr_type,
                 aba_routing_num,
                 swift_routing_code,
                 bank_name,
                 bank_acct_num,
                 name_on_account,
                 bank_addr_1,
                 bank_addr_2,
                 bank_addr_3,
                 city,
                 state,
                 country,
                 zip,
                 bank_ident_num,
                 addtl_info
            FROM TB_XOP_WIRE_INSTRUCTIONS
           WHERE wire_seq_no = in_wire_seq_no
           UNION
           SELECT ml_brok_acct_num,
                 ssn,
                 plan_num,
                 instr_type,
                 aba_routing_num,
                 swift_routing_code,
                 bank_name,
                 bank_acct_num,
                 name_on_account,
                 bank_addr_1,
                 bank_addr_2,
                 bank_addr_3,
                 city,
                 state,
                 country,
                 zip,
                 bank_ident_num,
                 addtl_info
            FROM TB_XOP_WIRE_INSTRUCTIONS_AUDIT
           WHERE wire_seq_no = in_wire_seq_no;
    CURSOR c_order_qty IS
    SELECT order_qty
    FROM tb_xop_order_manager
    WHERE voucher_num = p_voucher_num;
    v_order_qty     tb_xop_order_manager.order_qty%TYPE;
    v_wire_instruction             c_wire_instruction%ROWTYPE;
    v_order_dtls      get_order_dtls%rowtype;
    v_opt_dtls        get_opt_dtls%rowtype;
    v_settle_dt       tb_ml_exer_upload.settle_dt%type;
    v_cusip_num       corp.cusip_num%type;
    v_err_cd          number(12):=0;
    v_err_msg         varchar2(4000);
    v_compy_nme       tb_fc_Compy.compy_nme%type;
    v_ml_sec_num      tb_fc_compy.ml_sec_num%type;
    v_mail_cd         xop_optionee.mail_cd%type;
    v_count1            PLS_INTEGER := 0;
    v_sum_activity_qty  tb_xop_order_manager_t.activity_qty%TYPE;
    v_transact_no       PLS_INTEGER;
    v_ivr_plan_num      tb_fc_compy.ivr_plan_num%TYPE;
    wait_for_more       EXCEPTION;
    exceeds_order_qty   EXCEPTION;
    --Added for CQ# PCTUP00481233
    v_sub_totfee number;
    v_sub_fixedfee1 number;
    v_sub_fixedfee2 number;
    v_sub_fixedfee3 number;
    v_sub_secfee number;
    v_sub_feenum number;
    --Added for CQ# PCTUP00481233
    v_fixedfee1 tb_xop_order_manager_t.fixed_fee1%TYPE; --SPIF# 43161- variable to hold fixed fee1
    BEGIN
        OPEN c_order_qty;
        FETCH c_order_qty INTO v_order_qty;
        CLOSE c_order_qty;
        dbms.output.put_line('completed1');
        IF v_order_qty <> p_activity_qty THEN
          dbms.output.put_line('completed2');
            IF p_status_type = 'EO' AND v_order_qty < p_activity_qty THEN
                RAISE exceeds_order_qty;
                  dbms.output.put_line('completed3');
            ELSIF p_status_type = 'EO' AND v_order_qty > p_activity_qty THEN
                -- Partial Execution
                INSERT INTO tb_xop_hold_multi_orders
                    ( voucher_num
                    , reference_key
                    , seq_num
                    , return_code
                    , reason_desc
                    , status_type
                    , activity_qty
                    , leaves_qty
                    , exec_price
                    , current_status
                    , waiting
                    ,activ_dt )
                VALUES
                    ( p_voucher_num
                    , p_reference_key
                    , p_seq_num
                    , p_return_code
                    , p_reason_desc
                    , p_status_type
                    , p_activity_qty
                    , p_leaves_qty
                    , p_exec_price
                    , p_current_status
                    , 'Y'
                    ,SYSTIMESTAMP );
                      dbms.output.put_line('completed4');
            ELSE
                IF p_status_type = 'BE' THEN
                    SELECT COUNT(1) INTO v_count1
                    FROM tb_xop_hold_multi_orders
                    WHERE voucher_num = p_voucher_num;
                      dbms.output.put_line('completed5');
                    IF v_count1 > 0 THEN
                        INSERT INTO tb_xop_hold_multi_orders
                            ( voucher_num
                            , reference_key
                            , seq_num
                            , return_code
                            , reason_desc
                            , status_type
                            , activity_qty
                            , leaves_qty
                            , exec_price
                            , current_status
                            , waiting
                            ,activ_dt)
                        VALUES
                            ( p_voucher_num
                            , p_reference_key
                            , p_seq_num
                            , p_return_code
                            , p_reason_desc
                            , p_status_type
                            , (-1) * p_activity_qty
                            , p_leaves_qty
                            , p_exec_price
                            , p_current_status
                            , 'Y'
                            ,SYSTIMESTAMP );
                        UPDATE tb_xop_hold_multi_orders
                        SET waiting = 'Y'
                        WHERE voucher_num = p_voucher_num;
                          dbms.output.put_line('completed6');
                    END IF;
                END IF;
            END IF;
              dbms.output.put_line('completed7');
            SELECT SUM(NVL(activity_qty,0)) INTO v_sum_activity_qty
            FROM tb_xop_hold_multi_orders
            WHERE waiting = 'Y'
            AND voucher_num = p_voucher_num;
            IF v_sum_activity_qty > 0 THEN
                IF v_sum_activity_qty <> v_order_qty THEN
                    RAISE wait_for_more;
                ELSE
                    -- final order in the partial execution; complete the process
                    UPDATE tb_xop_hold_multi_orders
                    SET waiting = 'N'
                        , process_dt = SYSDATE
                    WHERE voucher_num = p_voucher_num;
                END IF;
            END IF;
        END IF;
        UPDATE tb_xop_order_manager_t
        SET activ_dt = TO_CHAR( SYSDATE, 'YYYY-MM-DD HH24:MI:SS' ) || '.000'
            , dest = p_dest
            , reference_key = p_reference_key
            , seq_num = p_seq_num
            , return_code = p_return_code
            , reason_desc = p_reason_desc
            , status_type = p_status_type
            , activity_qty = v_order_qty --p_activity_qty
            , leaves_qty = 0 --p_leaves_qty
            , exec_price = p_exec_price
        WHERE voucher_num = p_voucher_num;
        dbms.output.put_line('completed8');
         * SPIF# 43161- Update of current status to PO moved at the end, same as how PROD works.
    IF (p_status_type = 'EO') THEN
      BEGIN
        select cusip_num
          into   v_cusip_num
          from   corp;
      EXCEPTION
          WHEN NO_DATA_FOUND THEN
              SELECT cusip_num
                INTO v_cusip_num
                FROM tb_xop_espp_compy
               WHERE compy_acronym = replace(replace(user,'CMS'),'_USER');
          WHEN OTHERS THEN
              NULL;
      END;
       select compy_nme,ml_sec_num, ivr_plan_num
       into   v_compy_nme,v_ml_sec_num, v_ivr_plan_num
       from   tb_fc_compy
       where compy_acronym = replace(replace(user,'CMS'),'_USER')
       UNION ALL
       select compy_nme, je_ml_security_number, ivr_plan_num
       from tb_xop_espp_compy
       where compy_acronym = replace(replace(user,'CMS'),'_USER');
    --   where  ivr_plan_num = replace(substr(p_voucher_num,1,7),'SSO','XOP');
      open get_order_dtls(p_voucher_num);
      FETCH get_order_dtls INTO v_order_dtls;
       v_settle_dt := fn_xop_bankopen_bizday(TRUNC(v_order_dtls.exer_date + 1));
       v_settle_dt := fn_xop_bankopen_bizday(TRUNC(v_settle_dt + 1));
       v_settle_dt := fn_xop_bankopen_bizday(TRUNC(v_settle_dt + 1));
       FOR c_mail_cd IN get_mail_cd(v_order_dtls.opt_num)
       LOOP
         v_mail_cd := c_mail_cd.mail_cd;
         -- Do we need to get sp_mail_cd and overlay with the sp_mail_cd in order_manager_t???
       END LOOP;
       OPEN get_opt_dtls(v_order_dtls.opt_num);
       FETCH get_opt_dtls INTO v_opt_dtls;
       CLOSE get_opt_dtls;
      v_fixedfee1 := nvl(v_order_dtls.fixed_fee1, 0);
       * SPIF# 43161- atleast one handling fee per day of transaction
      v_fixedfee1 := pk_xop_enh_exerupdate.chrg_tranxfixed_fee(v_fixedfee1,
                                                               v_order_dtls.symbol,
                                                               v_order_dtls.corp_acronym,
                                                               v_order_dtls.opt_num);
      --Insert into tb_ml_exer_upload
      --Added for CQ# PCTUP00481233
       Pk_Xop_Transactmodel.GET_FEE(v_order_dtls.GROUP_ID,v_order_dtls.SVC_ID,'SQ',v_order_dtls.opts_exer,
                                    round(v_order_dtls.exec_price, 4),v_sub_totfee,v_sub_fixedfee2,v_sub_fixedfee1,
                                    v_sub_fixedfee3,v_sub_secfee,v_sub_feenum,lpad(v_order_dtls.ssn,9,0));
       v_order_dtls.sec_fee:=v_sub_secfee;
       UPDATE tb_xop_order_manager_t
        SET sec_fee=v_sub_secfee
        WHERE voucher_num = p_voucher_num;
        dbms.output.put_line('completed8');
      --- End CQ # PCTUP00481233
      INSERT INTO tb_ml_exer_upload
                            (exer_num,exer_seq,
                             exer_dt, written_flag, backout_flag, output_line,
                             je_flag, opts_exer,
                             tot_tax,shrs_sold,comm_value,tot_fee,
                             mkt_prc,exer_type, soc_sec,
                             name_first, name_mi,
                             name_last,check_addr_1,check_addr_2,check_addr_3,
                             check_addr_4,check_addr_5,city,state,zip,country,
                             city_state_zip_country,
                             p_name,opt_addr1,opt_addr2,opt_addr3,opt_addr4,
                             opt_addr5,opt_addr6,
                             settle_dt,send_to_citibank_flag,
                             dom_chek_distr,foreign_currency_code,
                             distribution_method,wire_seq_no,
                             cusip_num, ml_retail_account,multi_curr_handling_fee,
                             ml_sec_num, corp_name,upd_optionee_addr,
                             outbound_flag, -- make it N
                             corp_symbol,taxwire_approve, -- make it not applicaplabe
                             exersource,
                             mail_cd, sp_mail_cd,
                             backup_withholding,
                             user_id,
                             acct_num_othr)
       VALUES(v_order_dtls.exer_num,0,v_order_dtls.exer_date,'N','N',NULL,
    -- PG 12/12/05 Changed to populate the je_flag based on dom_chek_distr         'D',
    -- PG 12/16/05 JE should not be generated for international checks.. So 'Y' always
              'Y', --je_flag
              v_order_dtls.opts_exer,0,--total tax will be 0.
              v_order_dtls.opts_exer, --shrs_sold,
              v_order_dtls.comm_value,
              --SPIF# 43161- replaced nvl(v_order_dtls.fixed_fee1, 0) with v_fixedfee1
              v_fixedfee1 + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), --v_order_dtls.fees_amt,
              round(v_order_dtls.exec_price, 4),v_order_dtls.exer_type,
              LPAD(v_order_dtls.ssn,9,'0'), --v_order_dtls.ssn, Modified by Suresh on 02/08/07 for SPIF # 37210
              v_order_dtls.name_first,v_order_dtls.name_mi,v_order_dtls.name_last,
              v_order_dtls.check_addr_1,v_order_dtls.check_addr_2,v_order_dtls.check_addr_3,
              v_order_dtls.check_addr_4,v_order_dtls.check_addr_5,nvl(v_order_dtls.city,v_opt_dtls.city),
              nvl(v_order_dtls.state,v_opt_dtls.state),nvl(v_order_dtls.zip,v_opt_dtls.zip),
              nvl(v_order_dtls.country,v_opt_dtls.country),
              SUBSTR(nvl(v_order_dtls.city||v_order_dtls.state||v_order_dtls.zip||v_order_dtls.country,
                  v_opt_dtls.city_state_zip_country),1,34), -- COLUMN LENGTH MAX IS 35
              v_opt_dtls.p_name,v_opt_dtls.opt_addr1,v_opt_dtls.opt_addr2,v_opt_dtls.opt_addr3,
              v_opt_dtls.opt_addr4,v_opt_dtls.opt_addr5,v_opt_dtls.opt_addr6,
              v_settle_dt,decode(v_order_dtls.distribution_method,'W','Y','D','Y','C','Y','D'),
              v_order_dtls.dom_chek_distr,v_order_dtls.foreign_currency_code,
              v_order_dtls.distribution_method,v_order_dtls.wire_seq_no,
              v_cusip_num,v_order_dtls.acct_num,v_order_dtls.multi_curr_handling_fee,
    --          nvl(fn_get_sec_num(replace(substr(p_voucher_num,1,7),'SSO','XOP'),v_order_dtls.symbol),v_ml_sec_num),
              nvl(fn_get_sec_num(v_ivr_plan_num, v_order_dtls.symbol),v_ml_sec_num),
              v_compy_nme,v_order_dtls.upd_optionee_addr,
              'N', --'N' is for outbound flag.
              v_order_dtls.symbol,'D', --'D' for taxwires disabled
              'S', -- 'S' for source being subsequent sale.
              v_mail_cd,  --need to get mail_Cd??
              v_order_dtls.sp_mail_cd,v_order_dtls.backup_withholding,
              user,v_order_dtls.acct_num_othr);
    IF (NVL(v_order_dtls.wire_seq_no,0) > 0) THEN
       OPEN c_wire_instruction(v_order_dtls.wire_seq_no);
       FETCH c_wire_instruction INTO v_wire_instruction;
       CLOSE c_wire_instruction;
      INSERT INTO TB_XOP_TRANSACT_WIRE_INSTR
                           (user_id, exer_num, wire_seq_no, ml_brok_acct_num, ssn,
                            plan_num, instr_type, aba_routing_num,
                            swift_routing_code, bank_name, bank_acct_num,
                            name_on_account, bank_addr_1, bank_addr_2, bank_addr_3,
                            city, state, country, zip, bank_ident_num, addtl_info )
                        VALUES
                           (USER,v_order_dtls.exer_num, v_order_dtls.wire_seq_no,
                            v_wire_instruction.ml_brok_acct_num, v_wire_instruction.ssn,
                            v_wire_instruction.plan_num, v_wire_instruction.instr_type, v_wire_instruction.aba_routing_num,
                            v_wire_instruction.swift_routing_code, v_wire_instruction.bank_name, v_wire_instruction.bank_acct_num,
                            v_wire_instruction.name_on_account, v_wire_instruction.bank_addr_1, v_wire_instruction.bank_addr_2,
                            v_wire_instruction.bank_addr_3, v_wire_instruction.city, v_wire_instruction.state, v_wire_instruction.country, v_wire_instruction.zip,
                             v_wire_instruction.bank_ident_num, v_wire_instruction.addtl_info);
            dbms.output.put_line('completed10');
    END IF;
    /* PG 01/05/06 Call the check conversion only for international checks and wires */
    IF v_order_dtls.dom_chek_distr = 'N' AND v_order_dtls.distribution_method IN ('W', 'D', 'C') THEN
        /* PG 12/20/05 To process subsequent sales with wire or foreign currency distribution */
         v_transact_no := 88;
         pk_xop_citibank_forex.pr_cashconversion_ins_request( v_order_dtls.acct_num
                                                              , LPAD(v_order_dtls.ssn,9,'0') --v_order_dtls.ssn, Modified by Suresh on 02/15/07 for SPIF # 37210
                                                              , v_order_dtls.distribution_method
                                                              , v_order_dtls.foreign_currency_code
                                                              , v_order_dtls.wire_seq_no
                                                              , ROUND((v_order_dtls.opts_exer * round(v_order_dtls.exec_price, 4)),2)
                                                                - ROUND(v_order_dtls.comm_value,2)
                                                                - ROUND(nvl(v_order_dtls.fixed_fee1,0) + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0),2)
                                                                - nvl(v_order_dtls.multi_curr_handling_fee,0)
                                                                - nvl(v_order_dtls.backup_withholding,0) -- net proceeds
                                                              , v_order_dtls.multi_curr_handling_fee --handling fee
                    --Modified by Bhaskar/Suresh on 03/02/2006    --, v_order_dtls.login_name
                                                              , CASE v_order_dtls.login_name WHEN 'CLIENT/' THEN v_order_dtls.login_name||'SSO' ELSE v_order_dtls.login_name||'/SSO' END
                                                              , v_transact_no -- transact_no as place holder for exer_type 88
                                                              , v_order_dtls.check_addr_1
                                                              , v_order_dtls.check_addr_2
                                                              , v_order_dtls.check_addr_3
                                                              , v_order_dtls.check_addr_4
                                                              , v_order_dtls.upd_optionee_addr
                                                              , v_order_dtls.city
                                                              , v_order_dtls.state
                                                              , v_order_dtls.zip
                                                              , v_order_dtls.country
                                                              , v_order_dtls.login_ipaddress
                                                              , v_order_dtls.fcnum
                                                              , v_order_dtls.opt_num
                                                              , v_settle_dt,
                                                              p_exer_num => v_order_dtls.exer_num
    END IF;
    COMMIT;
    close get_order_dtls;
    END IF;
      * SPIF# 43161- Update to current status into PO is moved to this part, same as PROD.
    UPDATE tb_xop_order_manager_t
    SET exec_dttime = decode(p_status_type,'EO',to_char(sysdate,'DD-MON-YYYY HH24:mi:ss'),null)
         , exer_date  = TRUNC(SYSDATE)
         , cancel_dttime = decode(p_status_type,'CX',to_char(sysdate,'DD-MON-YYYY HH24:mi:ss'),'UR',to_char(sysdate,'DD-MON-YYYY HH24:mi:ss'),null)
         , current_status = 'PO'
         , sum_status = decode(p_status_type,'EO','X','C')
         , sum_stat_dttime = SYSDATE
    WHERE voucher_num = p_voucher_num;
          v_err_cd := sqlcode;
          v_err_msg := sqlerrm;
          open p_err_cur for select v_err_cd err_code,v_err_msg err_msg from dual;
    EXCEPTION
            dbms.output.put_line('completed200');
    /* PG 02/10 handled 'partial fill order' exception */
      when wait_for_more then
          v_err_cd := 0;
          v_err_msg := 'ORA-0000: normal, successful completion';
          pr_xop_log_errors('Partially filled; Waiting for more - Activity qty:' || to_char(v_sum_activity_qty)|| ' pk_xop_subsales.pr_process_exer');
          open p_err_cur for select v_err_cd err_code,v_err_msg err_msg from dual;
      when exceeds_order_qty then
          v_err_cd := sqlcode;
          v_err_msg := sqlerrm;
          open p_err_cur for select v_err_cd err_code,v_err_msg err_msg from dual;
          pr_xop_log_errors('Activity quantity exceeded the Order_qty - Activity qty: ' || to_char(p_activity_qty) || ' pk_xop_subsales.pr_process_exer');
      when others then
          v_err_cd := sqlcode;
          v_err_msg := sqlerrm;
          open p_err_cur for select v_err_cd err_code,v_err_msg err_msg from dual;
          pr_xop_log_errors('ErrorCode '||SQLCODE||' with ErrorMessage as '||SQLERRM||' has occured for '||user||'pk_xop_subsales.pr_process_exer');
                dbms.output.put_line('completed125');
    END pr_process_exer;
    Hi friends, any1 help me out how to define the ref-cursor in declaration section, and how to find at what situation the constraint error occurred..

    956684 wrote:
    Hi,.
    Friends plz help me out ..how to debug and find the exact position of the constraint violation..thank you for the help..There isn't a way to trace it unless you have caught the exception raised.
    As a way to start the debug, you will have to monitor
    1. All DML's against the Table on which you have constraint. More specifically, the DML's that act on the column you have constraint on.
    2. Use Exception Handling, to log the Error and the data that causes the constraint to fail.
    3. Do not forget to monitor the Triggers, if they are used, that would write some data into the column you have constraint on.
    Or
    Another way to trace is:
    select *
      from user_source
    where lower(text) like '%your_table_name%';
    order by type, name, line;Look at the lines, exclude that are in Declaration or in SELECT statements and target the DML's.
    Looking at the un-formatted code you posted, this statement looks like a culprit.
    INSERT INTO tb_ml_exer_upload
    (exer_num,exer_seq,
    exer_dt, written_flag, backout_flag, output_line,
    je_flag, opts_exer,
    tot_tax,shrs_sold,comm_value,tot_fee,
    mkt_prc,exer_type, soc_sec,
    name_first, name_mi,
    name_last,check_addr_1,check_addr_2,check_addr_3,
    check_addr_4,check_addr_5,city,state,zip,country,
    city_state_zip_country,
    p_name,opt_addr1,opt_addr2,opt_addr3,opt_addr4,
    opt_addr5,opt_addr6,
    settle_dt,send_to_citibank_flag,
    dom_chek_distr,foreign_currency_code,
    distribution_method,wire_seq_no,
    cusip_num, ml_retail_account,multi_curr_handling_fee,
    ml_sec_num, corp_name,upd_optionee_addr,
    outbound_flag, -- make it N
    corp_symbol,taxwire_approve, -- make it not applicaplabe
    exersource,
    mail_cd, sp_mail_cd,
    backup_withholding,
    user_id,
    acct_num_othr)
    VALUES(v_order_dtls.exer_num,0,v_order_dtls.exer_date,'N','N',NULL,
    -- PG 12/12/05 Changed to populate the je_flag based on dom_chek_distr 'D',
    -- PG 12/16/05 JE should not be generated for international checks.. So 'Y' always
    'Y', --je_flag
    v_order_dtls.opts_exer,0,--total tax will be 0.
    v_order_dtls.opts_exer, --shrs_sold,
    v_order_dtls.comm_value,
    --SPIF# 43161- replaced nvl(v_order_dtls.fixed_fee1, 0) with v_fixedfee1
    v_fixedfee1 + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), --v_order_dtls.fees_amt,
    round(v_order_dtls.exec_price, 4),v_order_dtls.exer_type,
    LPAD(v_order_dtls.ssn,9,'0'), --v_order_dtls.ssn, Modified by Suresh on 02/08/07 for SPIF # 37210
    v_order_dtls.name_first,v_order_dtls.name_mi,v_order_dtls.name_last,
    v_order_dtls.check_addr_1,v_order_dtls.check_addr_2,v_order_dtls.check_addr_3,
    v_order_dtls.check_addr_4,v_order_dtls.check_addr_5,nvl(v_order_dtls.city,v_opt_dtls.city),
    nvl(v_order_dtls.state,v_opt_dtls.state),nvl(v_order_dtls.zip,v_opt_dtls.zip),
    nvl(v_order_dtls.country,v_opt_dtls.country),
    SUBSTR(nvl(v_order_dtls.city||v_order_dtls.state||v_order_dtls.zip||v_order_dtls.country,
    v_opt_dtls.city_state_zip_country),1,34), -- COLUMN LENGTH MAX IS 35
    v_opt_dtls.p_name,v_opt_dtls.opt_addr1,v_opt_dtls.opt_addr2,v_opt_dtls.opt_addr3,
    v_opt_dtls.opt_addr4,v_opt_dtls.opt_addr5,v_opt_dtls.opt_addr6,
    v_settle_dt,decode(v_order_dtls.distribution_method,'W','Y','D','Y','C','Y','D'),
    v_order_dtls.dom_chek_distr,v_order_dtls.foreign_currency_code,
    v_order_dtls.distribution_method,v_order_dtls.wire_seq_no,
    v_cusip_num,v_order_dtls.acct_num,v_order_dtls.multi_curr_handling_fee,
    -- nvl(fn_get_sec_num(replace(substr(p_voucher_num,1,7),'SSO','XOP'),v_order_dtls.symbol),v_ml_sec_num),
    nvl(fn_get_sec_num(v_ivr_plan_num, v_order_dtls.symbol),v_ml_sec_num),
    v_compy_nme,v_order_dtls.upd_optionee_addr,
    'N', --'N' is for outbound flag.
    v_order_dtls.symbol,'D', --'D' for taxwires disabled
    'S', -- 'S' for source being subsequent sale.
    v_mail_cd, --need to get mail_Cd??
    v_order_dtls.sp_mail_cd,v_order_dtls.backup_withholding,
    user,v_order_dtls.acct_num_othr);What is the Table structure of tb_ml_exer_upload and what columns do you have constraints on?
    Which column of the table tb_ml_exer_upload is your Primary Key (because constraint name mentions pk_tb_ml_exer_upload)?
    Edited by: Purvesh K on Jan 4, 2013 12:57 PM

  • How to debug this error? trying to load excel file to Database

    SSIS package "c:\users\asubedi\documents\visual studio 2012\Projects\Integration Services Project1\Integration Services Project1\PackageToLoadBuyerDedupe.dtsx" starting.
    Information: 0x4004300A at BuyerDedupe, SSIS.Pipeline: Validation phase is beginning.
    Error: 0xC0209303 at PackageToLoadBuyerDedupe, Connection manager "Excel Connection Manager": The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered. If the 64-bit driver is not installed, run the package in 32-bit mode. Error code: 0x00000000.
    An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered".
    Error: 0xC001002B at PackageToLoadBuyerDedupe, Connection manager "Excel Connection Manager": The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. For more information, see http://go.microsoft.com/fwlink/?LinkId=219816
    Error: 0xC020801C at BuyerDedupe, Excel Source [2]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0209303. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
    Error: 0xC0047017 at BuyerDedupe, SSIS.Pipeline: Excel Source failed validation and returned error code 0xC020801C.
    Error: 0xC004700C at BuyerDedupe, SSIS.Pipeline: One or more component failed validation.
    Error: 0xC0024107 at BuyerDedupe: There were errors during task validation.
    SSIS package "c:\users\asubedi\documents\visual studio 2012\Projects\Integration Services Project1\Integration Services Project1\PackageToLoadBuyerDedupe.dtsx" finished: Failure.
    how to debug this issue?

    Hi Arjunji,
    The issue occurs because you have only 32-bit Microsoft ACE 12.0 OLEDB drivers installed, however, the package runs in 64-bit runtime mode which requires 64-bit drivers.
    To avoid this issue, you need to either install the 64-bit
    Microsoft Access Database Engine 2010 Redistributable or run the package in 32-bit runtime mode. To run the package in 32-bit runtime mode, in SSDT, you can set the Run64BitRuntime property of the IS project to False; in a SQL Server Agent job, you can
    configure the SSIS Package Job step and check the “Use 32 bit run time” option.
    In addition, please note that the 32-bit install file of Microsoft Access Database Engine 2010 Redistributable and the 64-bit one cannot be installed side by side on a single server. However, if your current ACE 12.0 OLE DB drivers are installed by 32-bit
    Office suit, you can go ahead and install the 64-bit Microsoft Access Database Engine 2010 Redistributable.
    Regards,
    Mike Yin
    TechNet Community Support

  • How to Debug IDOC posting

    Hi,
       Could anyone please advise how to debug an IDOC posting. I am new to ABAP.
    regards,
    Munavar Basha A.K.

    Hi,
    1)Use tcode we19 , enter your idoc no and click on the inbound function module push button then check call in debugging mode to debug.
    or
    1. Go to BD87
    2. make a right click at the IDoc and choose restrict and process.
    3. delete the check at the bottom(Background Processing)
    4. Go ahead
    5. edit -> process -> Foreground at Error
    Thanks Hope this will be Helpful
    Thanks
    Kalyan

Maybe you are looking for

  • How to Identify duplicates in OBIEE Answers.

    Hi Friends, Please help me here. I am having a secnario in OBIEE Answers. How to identify duplicates using combination either first names with Last Name or with DOB in OBIEE.I dont have access to RPD currently. Also please let me know using RPD also

  • Software Protection Code

    What to do when you entered all the require info JDE System Values screen and when try to log in received a Code 4- Software protection code invalid (SPC or Maximum users). I enter on the web site to generate my key but keep getting the same error. T

  • "Start Idle Timer Stopped" How to boot Mac Mini?

    I was following Apple's procedure to setup Boot Camp - I had partitioned the drive on my Mac Mini, installed Mac OS X 10.4 and was setting about the upgrade it to Leopard, when it crashed with the prompt: localhost:/root# CSRHIDTransitionDriver::stop

  • Code sample of sendRedirect using Web Dynpro NetWeaver 6.4

    Hi ALL,   I’m building a Web Dynpro application under Netweaver Developer Studio 6.4 and I need to redirect to another URL while the client click on a button.    I know it should be something like request.getServletResponse(true).sendRedirect("myURL"

  • Command for replication status

    Sorry I have so many questions. This question regarding the status of replication. In 4.16, I can run a command to get the replication status that saying idle[in sync]. So I know replication is working fine. But 5.1, it seems does not have such words