Adpreclone.pl errors out

Hi
Could anyone help me to find solution for java eror while running adpreclone in dbrier where as my adpreclone on appstier runs fine
Error -
Exception in thread "main" java.lang.NoclassDefFoundError: oracle/apps/ad/clone/util/cloneProcessor
at oracle.apps.ad.clone.stageDBTier.executeProcess
(stageDBTier.java:661)
at oracle.app.clon.StageDBTier.main (stageDBTier.java:600)
please if possible send reply to [email protected]

The adpreclone.pl command should be run with the SOURCE database running.
I suggest you start the database, then try the command again. If there is still a problem then log a service request.
got the answer for metalink

Similar Messages

  • Adpreclone.pl dbTier errors out

    Hi All,
    We are planning to migrate our instance to new server . Before copying all top's(APPL,COMM,ORA,DATA,DB) to new server , I have run perl adpreclone.pl in appsTier and it went successfully . But while running in dbTier and it is erroring out as shown below.
         $ perl adpreclone.pl dbTier
         Global symbol "$resultclone" requires explicit package name at adpreclone.pl line 525.
         Global symbol "$resultclone" requires explicit package name at adpreclone.pl line 527.
         syntax error at adpreclone.pl line 527, near "$resultclone !"
         syntax error at adpreclone.pl line 531, near "}"
         Execution of adpreclone.pl aborted due to compilation errors.
    I could see 11i.ATG_PF.H.RUP7 is not applied in our source instance. But business is NOT ready to upgrade it to recent release. They just want us to migrate existing instance to new server.
    Please let me know if I can just apply the below patch for this issue.
           ADPRECLONE.PL DBTIER FAILS WITH SYNTAX ERROR -  5235401
    Instance Details:
    Apps :  11.5.10.2
    DB : 10.2.0.3.0 - 64bit
    OS : IBM/AIX RISC
    Regards,
    MD

    Hi Asif,
    When I try to apply the patch, session is getting closed once it asks system password . Any idea on this ?
         AutoPatch needs the password for your 'SYSTEM' ORACLE schema
         in order to determine your installation configuration.
         Enter the password for your 'SYSTEM' ORACLE schema: Connection to **.***.*.* closed.
    Regards,
    MD

  • Perl adpreclone.pl dbTier errors out with RC-50013

    Hi all,
    Am performing a clone of an 11.5.10.2 system running on Redhat linux 3.0.
    When i run perl adcfgclone.pl dbTier,it errors out with the following error whenever it gets to 16%.
    AutoConfig is exiting with status 1476
    RC-50013: Fatal: Failed to instantiate driver /home/oracle/teadb/9.2.0/appsutil/driver/instconf.drv
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    StackTrace:
    java.lang.Exception: RC-50013: Fatal: Failed to instantiate driver /home/oracle/teadb/9.2.0/appsutil/driver/instconf.drv
    at oracle.apps.ad.clone.ApplyDBTechStack.checkInstallDrvErr(ApplyDBTechStack.java:717)
    at oracle.apps.ad.clone.ApplyDBTechStack.runInstallConfigDriver(ApplyDBTechStack.java:622)
    at oracle.apps.ad.clone.ApplyDBTechStack.<init>(ApplyDBTechStack.java:389)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:149)
    at java.lang.reflect.Constructor.newInstance(Native Method)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Thread.java:479)
    Could anyone be having a clue of how to go about this issue?
    I read the solution on metalink and the solution i was given is to go to Note 307954.1 which tells me to "Modify the target's instconf.drv and remove the offending lines"
    Now,the problem is that the offending lines are too too many....Is there any other way round this problem?????
    Thank you in advance.

    Take a look on :
    Note:463477.1 - "Adcfgclone Failed To Run On DB Tier With java.lang.Exception: RC-50013: Fatal: Failed to instantiate driver"
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=463477.1
    Aviad

  • Payables Open Interface Import getting errors out

    Hello All,
    I am trying to run "Payables Open Interface Import" program to upload the invoice but the program is getting error out, in the log file at the end i am getting the below error:
    (Insert ap inv dists 1a) Inside the insert function
    (Insert ap inv dists 1) Insert into ap_invoice_distributions
    (Insert ap inv dists 1) Insert into ap_invoice_distributions
    ORA-00001: unique constraint (AP.AP_INVOICE_DISTRIBUTIONS_U1) violated
    Insert_ap_inv_dists<-Create_lines<-Import_invoices<- Before report trigger
    (Create Lines 22) Insert into ap_invoice_distributions
    create_non_item_lines<-Import_invoices<- Before report trigger
    Any one faced this kind of issue?
    any suggestions to resolve this.
    Thanks & Regards
    Aboothahir

    Pl post details of OS, database and EBS versions.
    Pl see these MOS Docs
    Payables Open Interface Error ORA-00001: unique constraint (AP.AP_INVOICE_DISTRIBUTIONS_U1) violated          (Doc ID 357784.1)
    APXIIMPT Payables Open Interface Import Fails ORA-00001          (Doc ID 353052.1)
    Unique Constraint Violated Importing Invoices With Multi Line Distribution Set          (Doc ID 386323.1)
    HTH
    Srini

  • Runtime constant (Filename) errors out in BPM

    Hi,
    I have a BPMCollectTime scenario to collect the Source files. The filename (Message Mapping/Transformation) from the files is captured in TRANSFORM STEP(before sending them out from BPM). The file is sent to SEND step one at a time.
    Question : Filename of the source file is captured through user defined function.
    Following is the code.
    ================
    String  v_result_time;          //test Variable
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key =  DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    if (key == null) { v_result_time= "Create Key Failed";}
    else
    {v_result_time= "Create Key worked";
    String valueOld = conf.get(key);
    v_result_time = valueOld;
    return v_result_time;
    The Mapping gives a runtime error in the BPM. This is a sporadic error. 
    I have selected the Adapter specific attribute(File name).
    The BPM errors out sometimes? I am not sure if I am missing any setting. If I delete the work item and run the same scenario it works.
    Question 1 : What is the cause of the above error?
    Question 2 : Does BPM support Adapter specific attribute such as filename?
    Kindly Advice.
    Thanks,
    Gowri

    Hi Everyone,
    Thanks for all the help.
    DTN will not change the response filename to source filename. This option cannot be used. The correlation id is defined as response file name. Response filename is fixed for invoice file.
    Here is the example.
    For invoice file name HDTN20070430163110.TXT, response file received is nav1_2b5.rsp file. For HDTN20070430163314.TXT , response file is nav1_2b5.rsp
    So my correlation id is dummy fixed value. I have known the fact that it is not possible to use context object filename.
    Bhavesh -  I have defined transform step for accessing filename using dynamic configuration. Following is the code used in mapping.
    ================
    String v_result_time; //test Variable
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    if (key == null) { v_result_time= "Create Key Failed";}
    else
    {v_result_time= "Create Key worked";
    String valueOld = conf.get(key);
    v_result_time = valueOld;
    return v_result_time;
    ====================================
    BPM errors out sometime with following error
    Component mapping has returned error.
    com/sap/xi/tf/_MM_DTNData_2_DTNFilename_java.lang.NullpointerException.
    Error: Exception CX_MERGE_SPLIT occurred (program: CL_MERGE_SPLIT_SERVICE========CP, include: CL_
    If I delete this workitem and repeat the same scenario, it works. I have still not understood, why the scenario works sometime.
    Kindly Advice.
    Thanks,
    Gowri

  • Comma delimited in Sql query decode function errors out

    Hi All,
    DB: 11.2.0.3.0
    I am using the below query to generate the comma delimited output in a spool file but it errors out with the message below:
    SQL> set lines 100 pages 50
    SQL> col "USER_CONCURRENT_QUEUE_NAME" format a40;
    SQL> set head off
    SQL> spool /home/xyz/cmrequests.csv
    SQL> SELECT
    2 a.USER_CONCURRENT_QUEUE_NAME || ','
    3 || a.MAX_PROCESSES || ','
    4 || sum(decode(b.PHASE_CODE,'P',decode(b.STATUS_CODE,'Q',1,0),0)) Pending_Standby ||','
    5 ||sum(decode(b.PHASE_CODE,'P',decode(b.STATUS_CODE,'I',1,0),0)) Pending_Normal ||','
    6 ||sum(decode(b.PHASE_CODE,'R',decode(b.STATUS_CODE,'R',1,0),0)) Running_Normal
    7 from FND_CONCURRENT_QUEUES_VL a, FND_CONCURRENT_WORKER_REQUESTS b
    where a.concurrent_queue_id = b.concurrent_queue_id AND b.Requested_Start_Date <= SYSDATE
    8 9 GROUP BY a.USER_CONCURRENT_QUEUE_NAME,a.MAX_PROCESSES;
    || sum(decode(b.PHASE_CODE,'P',decode(b.STATUS_CODE,'Q',1,0),0)) Pending_Standby ||','
    ERROR at line 4:
    ORA-00923: FROM keyword not found where expected
    SQL> spool off;
    SQL>
    Expected output in the spool /home/xyz/cmrequests.csv
    Standard Manager,10,0,1,0
    Thanks for your time!
    Regards,

    Get to work immediately on marking your previous questions ANSWERED if they have been!
    >
    I am using the below query to generate the comma delimited output in a spool file but it errors out with the message below:
    SQL> set lines 100 pages 50
    SQL> col "USER_CONCURRENT_QUEUE_NAME" format a40;
    SQL> set head off
    SQL> spool /home/xyz/cmrequests.csv
    SQL> SELECT
    2 a.USER_CONCURRENT_QUEUE_NAME || ','
    3 || a.MAX_PROCESSES || ','
    4 || sum(decode(b.PHASE_CODE,'P',decode(b.STATUS_CODE,'Q',1,0),0)) Pending_Standby ||','
    5 ||sum(decode(b.PHASE_CODE,'P',decode(b.STATUS_CODE,'I',1,0),0)) Pending_Normal ||','
    6 ||sum(decode(b.PHASE_CODE,'R',decode(b.STATUS_CODE,'R',1,0),0)) Running_Normal
    7 from FND_CONCURRENT_QUEUES_VL a, FND_CONCURRENT_WORKER_REQUESTS b
    where a.concurrent_queue_id = b.concurrent_queue_id AND b.Requested_Start_Date <= SYSDATE
    8 9 GROUP BY a.USER_CONCURRENT_QUEUE_NAME,a.MAX_PROCESSES;
    || sum(decode(b.PHASE_CODE,'P',decode(b.STATUS_CODE,'Q',1,0),0)) Pending_Standby ||','
    >
    Well if you want to spool query results to a file the first thing you need to do is write a query that actually works.
    Why do you think a query like this is valid?
    SELECT 'this, is, my, giant, string, of, columns, with, commas, in, between, each, word'
    GROUP BY this, is, my, giant, stringYou only have one column in the result set but you are trying to group by three columns and none of them are even in the result set.
    What's up with that?
    You can only group by columns that are actually IN the result set.

  • Unable to Capture more than 5 mins, error out of mem msg when rendering

    Somebody help me. I have been using my powermac fcp and a mini dv cam for 4yrs no problems. Now when i am trying to capture clips over 5 mins (1 gig) fcp freezes. So Im capturing through Imovie (which is working fine). Dragging clips into fcp to edit. Now when it comes to rendering anything over 5 mins Im getting an error out of memory msg.
    Can anyone help me?

    You don't say what version of FCP you are using but my guess is you've upgraded QT7 and are running FCP4.5
    If that's the case, do a search here for the solution(s). They're ugly.
    good luck,
    x

  • In R12 standard Auto Invoice Import program is erroring out

    Hi All,
    The standard Auto Invoice Import concurrent porgram is erroring out when i run for the source as 'SUM_DIF', in the log messages its showing the following error:
    UPDATE RA_INTERFACE_LINES L1
    SET REQUEST_ID = :b1,
    LAST_UPDATE_DATE = sysdate,
    LAST_UPDATED_BY = :b2,
    LAST_UPDATE_LOGIN = :b3,
    CUSTOMER_TRX_ID = NULL,
    INTERFACE_LINE_ID = NVL(INTERFACE_LINE_ID,
    RA_CUSTOMER_TRX_LINES_S.NEXTVAL),
    SET_OF_BOOKS_ID = NVL(SET_OF_BOOKS_ID, :b4),
    LINK_TO_LINE_ID =
    SELECT INTERFACE_LINE_ID
    FROM RA_INTERFACE_LINES L2
    WHERE L2.REQUEST_ID = :b5
    AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
    AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
    AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
    AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
    AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
    WHERE NVL(INTERFACE_STATUS, '~') != 'P'
    AND (REQUEST_ID IS NULL OR REQUEST_ID IN (:b6)
    AND EXISTS
    SELECT 'x'
    FROM RA_INTERFACE_LINES L2
    WHERE L2.REQUEST_ID = :b7
    AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
    AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
    AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
    AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
    AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
    len = 1289
    Current system time is 18-SEP-2008 21:35:19
    APP-AR-11526: ORA-01427: single-row subquery returns more than one row
    UPDATE RA_INTERFACE_LINES L1
    SET REQUEST_ID = :b1,
    LAST_UPDATE_DATE = !
    APP-AR-11526: 5069629/ar/src/autoinv/raamil.lpc 1342
    UPDATE RA_INTERFACE_LINES L1
    SET REQUEST_ID = :b1,
    LAST_UPDATE_DATE = sysdate,
    LAST_UPDATED_BY = :b2,
    LAST_UPDATE_LOGIN = :b3,
    CUSTOMER_TRX_ID = NULL,
    INTERFACE_LINE_ID = NVL(INTERFACE_LINE_ID,
    RA_CUSTOMER_TRX_LINES_S.NEXTVAL),
    SET_OF_BOOKS_ID = NVL(SET_OF_BOOKS_ID, :b4),
    LINK_TO_LINE_ID =
    SELECT INTERFACE_LINE_ID
    FROM RA_INTERFACE_LINES L2
    WHERE L2.REQUEST_ID = :b5
    AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
    AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
    AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
    AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
    AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
    WHERE NVL(INTERFACE_STATUS, '~') != 'P'
    AND (REQUEST_ID IS NULL OR REQUEST_ID IN (:b6)
    AND EXISTS
    SELECT 'x'
    FROM RA_INTERFACE_LINES L2
    WHERE L2.REQUEST_ID = :b7
    AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
    AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
    AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
    AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
    AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
    Error calling raamil()
    Error calling raapft()
    Thanks,
    Ramakrishna.
    Edited by: user605279 on Sep 18, 2008 11:59 PM

    Ramakrishna
    Looks like this is for the tax line (based on the fact that it is trying to update the link_to_line_id). The issue seems to be from the duplicate interface_line_attributes for the two different lines.This leads to this query returning more than one row for the tax line when it is trying to update.
    For two different lines, make one of your interface_line_attributes (in this query I see 1, 13, 14, 15) unique.
    Thanks
    Nagamohan

  • Time Machine won't back up. Starts of REALLY SLOW, and the errors out.

    I've been having a hard time getting time machine to back up. To start off I'll give you my specs and what I have done.
    iMac
    OS 10.6.6
    2.4 GHz Intel Core 2 Duo
    4 GB 667 DDR@ SDRAM
    320 GB HD
    All software updates are current. I am trying to back up to an external Western Digital 1 GB drive connected by USB2. I have formatted the external drive, and set a single partition on that drive from the Disc Utility. I have run disk repair on both the external and local hard drive. I have run disk repair permission on the local drive. I have restarted, after every time. I have done everything listed above multiple times, and have done them all in kinda different orders each time.
    My thought is that the issue may not be with the hard drives, but maybe a file its trying to back up. When it starts out for the first time, it tells me that it needs to back up over 100 GB of data. It gets about halfway done, and then errors out. When I try to start it again, it tells me that it needs to backup around 50 GB of data. And this time, its REALLY slow. Like bytes slow, not Mega bytes, or even kilobytes. Bytes. 36 bites backed up, 120 bytes backed up. 2 Kilobytes backed up. SLOW SLOW SLOW.
    Then it picks up, and usually gets up to 120 MB, and then gives me this error message "The Backup was not performed because an error occurred while copying files to the backup disk. - The problem may be temporary. Try again later to back up. If the problem persists, use Disk Utility to repair your backup disk."
    Its a pretty generic message, and gives me no help in trying to figure out what the problem is. I've been trying again for almost 3 days now, and nothing is working. Is there an error log file that I can go find that would help me a little more?

    woody24 wrote:
    "The Backup was not performed because an error occurred while copying files to the backup disk. - The problem may be temporary. Try again later to back up. If the problem persists, use Disk Utility to repair your backup disk."
    See #C3 in [Time Machine - Troubleshooting|http://web.me.com/pondini/Time_Machine/Troubleshooting.html] (or use the link in *User Tips* at the top of this forum).
    Its a pretty generic message, and gives me no help in trying to figure out what the problem is. I've been trying again for almost 3 days now, and nothing is working. Is there an error log file that I can go find that would help me a little more?
    Tell Apple about the inadequacy of that message: http://www.apple.com/feedback/timemachine.html

  • XML Publisher report errors out when RDF report has no data

    Hi everyone,
    I created a template and attached it to an RDF. When i run the oracle report with the attached template, if the report has 'not data exists' the report is erroring out. is it the normal functionality of XML publiher??. Because i remember at my earlier client i have run some reports for which if 'no data exists' still the program would complete normal but the output would be blank.
    The xml output is creating the tags for the elements.
    any help appeciated.
    Thanks
    sam

    Hi Sam,
    Yes this will happen depending on what the template is repeating on etc. You can handle this quite easily using sub-templates.
    Firstly create your normal template as a sub-template (so surrounded by the <?template:TEMPLATE_NAME?> tags)
    Then create a second template that contains the text "NO DATA FOUND" as another sub-template.
    Create a third template (this will be your main template called by the report), which imports the two sub-templates, then using a choose statement, count the number of occurences of you main repeating group in your XML. If the count = 0 then call the "NO_DATA_FOUND" sub-template, otherwise call the normal sub-template.
    I hope this helps, if you need an example I can send you one, just let me know your email address.
    Regards,
    Cj

  • Supplier Site Contacts Open Interface Import Program is erroring out.

    Hi,
    We are on 12.0.4 on solaris 10.
    Tomorrow is go-live in one of our client, When we doing data migration. Uploaded the data into Interface table. From there we are running this standard program to push th edata into standard table.
    Its erroring out saying:
    ================
    Enter Password:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-300: unable to extend temp segment by 128 in tablespace TEMP2
    ==> SELECT INT.org_id C_Rejected_Org_Id,
    ===============
    I have added 2 GB of Tempfile to the tablespace even though it is erroring in the same. And it is taking too much time to give error.
    We are tried with only one record also it is taking 1 hr to give the error.
    Please help me out in resolving the same.
    Many thanks in Advance..
    Supplier Site Contacts Open Interface Import

    I believe you hit Bug# 6624764, so you may need to apply (Patch 6624764 - SUPPLIER REPORT ERROS WITH ENTER PASSWORD: REP-0069: INTERNAL ERROR REP-57054).
    Please log a SR to confirm this with Oracle Support.
    Note: 565898.1 - Oracle Financials Software Updates, Release Update Pack 5
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=565898.1

  • Supplier Sites Interface errors out -- URGENT!! please help.

    Hi All,
    The log file has the following message when executing the supplier sites interface import program that errored out:
    REP-1419: 'beforereport': PL/SQL program aborted.
    I have searched Metalink where they said the Batch Size should be 1000 by default. I did the same but still did not work.
    I have made sure that teh vendor_id, vendor_site_code, org_id combination is unique.
    I am not sure why I am getting this record. I have to process around 300000 records. When I ran the import progam the first time, it errored out after processing 171000 records. Then when I ran the program again for new records(that were not imported) it errored out after processing 42000 records. I dod not know how to resolve this issue.
    Please help!!
    Swati

    Please check if the following notes are applicable to the issue:
    Note: 369443.1 - Supplier Sites Open Interface Import Errs With Rep-1419 Rep-1419
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=369443.1
    Note: 369913.1 - Supplier Open Interface Import (APXSUIMP) Errors: Rep-1419
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=369913.1

  • Auto Reconciliation Errored out in Cash Management for Open Interface

    1. When Running the Auto Reconciliation, it errored out:
    ORACLE error 1400 in FDPSTP
    Cause: FDPSTP failed due to ORA-01400: cannot insert NULL into
    ("CE"."CE_STATEMENT_RECONCILS_ALL"."REFERENCE_ID")
    ORA-06512: at "APPS.CE_AUTO_BANK_REC", line 404
    ORA-06512: at line 1
    2. When running manual reconciliation, it errored out:
    AVAILABLE_EVENT.update_row procedure raised unhandled exception
    ORA-01400: cannot insert NULL
    FRM-40735: ON-UPDATE trigger r

    You should really raise a TAR (SR) with Oracle support about this. Definitely not a forum question.

  • XML Report Publisher program is erroring out

    Hi All,
    I've customized the AR Customer Statements.
    I've created a data definition as "ARXSGP" and uploded the sample_output.xml of Statement Generation Program to it. Also I've created a Data template as "ARXSGPO" and attached the data definition "ARXSGP" to it and uploaded the customized rtf file "XXHCC_CLE_F_ARCUSBALSL.rtf" and set the default output type to PDF.
    As I donot wish to call the XML Report Publisher program manually every time when I Print the Statements through Print Documents-->Statements.
    So I've done the below customization in ARXSGP.rdf file ie; Print Statements Report which is an Oracle Report.
    I've added the below code in After Report trigger.
    =======================================
    FUNCTION AfterReport
    RETURN BOOLEAN
    IS
    BEGIN
    Below code added for Customer Statement Case Study
    DECLARE
    l_req_id NUMBER := 0;
    L_XML_LAYOUT BOOLEAN := TRUE;
    BEGIN
    L_XML_LAYOUT := FND_REQUEST.ADD_LAYOUT (TEMPLATE_APPL_NAME => 'AR', TEMPLATE_CODE => 'ARXSGP', TEMPLATE_LANGUAGE => 'en', TEMPLATE_TERRITORY => 'US', OUTPUT_FORMAT => 'PDF');
    IF L_XML_LAYOUT THEN
    srw.message(20001, 'Template is picked ');
    srw.message(20002,'Concurrent request Id : '||:p_conc_request_id);
    l_req_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
    'XDOREPPB',
    NULL,
    NULL,
    FALSE,
    :p_conc_request_id,
    222, -- Receivables
    'ARXSGPO', -- Statement Generate
    'en-US', -- English
    'N',
    'RTF',
    'PDF');
    IF l_req_id > 0 THEN
    COMMIT;
    ELSE
    srw.message(20004, 'Failed to submit request');
    END IF;
    ELSE -- Not L_XML_LAYOUT
    srw.message(20005, 'Template is not picked ');
    END IF;
    END;
    --------------------Code Ends----------------------------
    SRW.USER_EXIT('FND SRWEXIT');
    RETURN (TRUE);
    END;
    ==============================================
    After Printing the Statements through Print Documents-->Statements
    Statement Generation Program is being called and later XML Report Publisher program is also being invoked.
    But the XML Report Publisher Program is erroring out with below error.
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOREPPB module: XML Report Publisher
    Current system time is 03-SEP-2012 17:42:18
    Oracle XML Publisher 5.6.3
    java.lang.NumberFormatException: For input string: "ARXSGPO"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:447)
         at java.lang.Integer.parseInt(Integer.java:497)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:215)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    0
    ------------- 1) PUBLISH -------------
    Disabling requested Output Post Processing. Nothing to process. The output of the request is zero byte.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 03-SEP-2012 17:42:22
    Please help out with a solution.
    Thanks,
    Tech D

    for r12 add one row for parameter "Dummy for Data Security" from desc of XDOREPPB
    follow works for me
    SQL> set serveroutput on
    SQL>
    SQL> declare
      2    v_request_id   number;
      3  begin
      4 
      5   begin fnd_global.apps_initialize(0, 20419, 0); end;
      6   v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
      7                                              'XDOREPPB',
      8                                              NULL,
      9                                              NULL,
    10                                              FALSE,
    11                                              'N', -- Dummy for Data Security
    12                                              9888637, -- Request
    13                                              0, -- Template Application
    14                                              'XXAND10_1', -- Template
    15                                              'en-US', -- Template Locale
    16                                              'N', -- Debug Flag
    17                                              'RTF', -- Template Type
    18                                              'RTF' -- Output Format
    19                                              );
    20 
    21    dbms_output.put_line(v_request_id);
    22    if v_request_id > 0 then
    23      dbms_output.put_line('successfully submitted.');
    24      commit;
    25    else
    26      dbms_output.put_line('not submitted.');
    27      rollback;
    28    end if;
    29 
    30  end;
    31  /
    9888651
    successfully submitted.
    PL/SQL procedure successfully completed
    SQL> 'Y' for "Dummy for Data Security" also works for me
    SQL> declare
      2    v_request_id   number;
      3  begin
      4 
      5   begin fnd_global.apps_initialize(0, 20419, 0); end;
      6   v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
      7                                              'XDOREPPB',
      8                                              NULL,
      9                                              NULL,
    10                                              FALSE,
    11                                              'Y', -- Dummy for Data Security
    12                                              9888637, -- Request
    13                                              0, -- Template Application
    14                                              'XXAND10_1', -- Template
    15                                              'en-US', -- Template Locale
    16                                              'N', -- Debug Flag
    17                                              'RTF', -- Template Type
    18                                              'RTF' -- Output Format
    19                                              );
    20 
    21    dbms_output.put_line(v_request_id);
    22    if v_request_id > 0 then
    23      dbms_output.put_line('successfully submitted.');
    24      commit;
    25    else
    26      dbms_output.put_line('not submitted.');
    27      rollback;
    28    end if;
    29 
    30  end;
    31  /
    9888652
    successfully submitted.
    PL/SQL procedure successfully completed
    SQL>

  • Need to find the root cause of the XML Publisher report erroring out.

    Hello All,
    After I ran for a Particular Invoice, to have output in XML Publisher Report for Invoice Priting. It got errored out with the below details which i got from the OPP Log file.
    From the below information, how do I get exact root cause. Please do the needful.
    =======================================================================
    [8/6/09 11:16:32 AM] [774712:RT14922832] Executing post-processing actions for request 14922832.
    [8/6/09 11:16:32 AM] [774712:RT14922832] Starting XML Publisher post-processing action.
    [8/6/09 11:16:32 AM] [774712:RT14922832]
    Template code: XXBIORAXINV_PHY
    Template app: BIO_AR
    Language: en
    Territory: 00
    Output type: PDF
    [8/6/09 11:16:33 AM] [UNEXPECTED] [774712:RT14922832] 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:324)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:517)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
         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:229)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    Caused by: oracle.xdo.parser.v2.XMLParseException: Unexpected EOF.
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:324)
         at oracle.xdo.parser.v2.XMLReader.popXMLReader(XMLReader.java:526)
         at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1287)
         at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
         ... 17 more
    [8/6/09 11:16:33 AM] [774712:RT14922832] Completed post-processing actions for request 14922832.
    =======================================================================
    Please do the needful. Suggest the steps to get rid of this critical - issue.
    Thanks,
    Abdul

    Please check if Output Post Processor concurrent manager is down/ inactive.
    Restart the manager/ get it restarted and test the issue.
    System Admin >> Concurrent >> Manager >> Administer

Maybe you are looking for

  • Problem regarding Purchase Order with Free of Cost Material

    Dear Xperts, I am facing problems while doing Goods Receipt of a Purchase Order having all the materials we are going to receive Free of Cost from the Vendor. This case is happening with Doemstic and as well as Importer Vendors also. Problems to be s

  • Safari closes everytime I open it

    I have a powerbook g4 aluminum running Mac OSX 10.4.11 everytime I try and open safari it closes and asks if i want to reopen if I try it still closes. This problem happened with my safari 3 so I updated to 4 and it does the same thing. Can anyone pl

  • My 15"MBPr goes dead when I plug in a TV over HDMI

    I have a 2014 15"MBPr. It is the version with the 750M. All firmware and software is up to date, all the cabling has been verified to be working. I use this laptop at a desk my lot. Until recently, my setup was a 24inch AOC display connected through

  • HT1364 How do you convert iTunes movie files so that you can watch them on Windows Media Player?

    Hello. For school, I am supposed to make a video mash-up from a movie. I bought the movie I needed, but now I can't open it in Windows Movie Maker to edit it.

  • Cannot uninstall Adobe reader

    Several months ago I upgraded my Windows 98 Ed2 operating system to XP (Now have V3).  The Adobe Reader version 4.0 was brought over from the old system to the new and I cannot now uninstall this old version.  The problem is that a new version will n