Running ejbc concurrently

I have to generate a set of EJB jars for our project. There is no
ordering dependency, so I would like to try creating them in parallel.
I know that Weblogic ejbc uses a cache directory. I'm concerned that
concurrent instances of ejbc may not cooperate if they are using the
same cache dir. I know that there are parameters specify cache
directories for IIOP and RMI related functions, but I do not believe
that there is one for specifying the primary cache directory.
Does anybody have experience with running ejbc concurrently ?
Thanks,
John Broderick
System Analyst
Fedex Ground
[email protected]

Unfortunately, we do not have the option to remove queries. This report is "the" essential report for my client...and it covers lots of different areas. Politically no chance to reduce the scope of the report...and I've already jumped through hoops to combine queries where practical.
Might have to think about returning to my original design - which was to have Answers queries to pull the data, then source those instead of hitting the BI server directly. At least on a dashboard page, if I have all ten queries, all ten will update simultaneously.
Thanks for the info, appreciate the help,
Scott

Similar Messages

  • How to run a Concurrent Program from the back end?

    Hi,
    How to run a Concurrent Program from the back end?
    Is it Possible to see that Concuurent Request id which we run from the back end, in the front end?
    If yes, then Please Give reply how to write the code
    Thanks in Advance,
    Bharathi.S

    This is documented in Chapter 20 of the Application Developers Guide http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121devg.pdf. These MOS Docs also have some information available
    221542.1 - Sample Code for FND_SUBMIT and FND_REQUEST API's
    235359.1 - How to Launch Planning Data Pull MSCPDP using FND_REQUEST.SUBMIT_REQUEST
    HTH
    Srini

  • Error while running ejbc. Fatal error from EJB Compiler ---- Error while pr

    Hi!
    I was deploying a test application for a session bean with sun 1 studio 5 and I started getting this message while deploying.
    I had tested the bean previously and I had no problems.
    I found this in the sun app server 7 release notes, but I don't understand what I'm supposed to do...
    "Deployment of CMP beans fails.
    The following error is thrown because there are no <query-params> entries in the container-managed persistence (CMP) bean in sun-ejb-jar.xml file:
    Error while running ejbc. Fatal error from EJB Compiler ---- Error while processing CMP beans.
    Solution
    Even if it isn't necessary for the CMP beans, add the query-params tag for finders in the sun-ejb-jar.xml file with the empty parameters."
    Here is my sun-ejb-jar.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN" "http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd">
    <sun-ejb-jar>
    <enterprise-beans>
    <name>GestorDoBanco_EJBModule</name>
    <ejb>
    <ejb-name>Cliente</ejb-name>
    <jndi-name>ejb/Cliente</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Cliente.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>ClienteAssociadoAConta</ejb-name>
    <jndi-name>ejb/ClienteAssociadoAConta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/ClienteAssociadoAConta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Conta</ejb-name>
    <jndi-name>ejb/Conta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Conta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>GestorDoBanco</ejb-name>
    <jndi-name>ejb/GestorDoBanco</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003</ejb-name>
    <jndi-name>ejb/MensagemM003</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM003Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012</ejb-name>
    <jndi-name>ejb/MensagemM012</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM012Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM103</ejb-name>
    <jndi-name>ejb/MensagemM103</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM103.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM112</ejb-name>
    <jndi-name>ejb/MensagemM112</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM112.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Registo</ejb-name>
    <jndi-name>ejb/Registo</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Registo.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoConfirmada</ejb-name>
    <jndi-name>ejb/TransaccaoConfirmada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoConfirmada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoFinalizada</ejb-name>
    <jndi-name>ejb/TransaccaoFinalizada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoFinalizada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoIniciada</ejb-name>
    <jndi-name>ejb/TransaccaoIniciada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoIniciada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <pm-descriptors>
    <pm-descriptor>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    <pm-class-generator>com.iplanet.ias.persistence.internal.ejb.ejbc.JDOCodeGenerator</pm-class-generator>
    <pm-mapping-factory>com.iplanet.ias.cmp.NullFactory</pm-mapping-factory>
    </pm-descriptor>
    <pm-inuse>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    </pm-inuse>
    </pm-descriptors>
    <cmp-resource>
    <jndi-name>mysqlpmanager</jndi-name>
    <default-resource-principal>
    <name>bes</name>
    <password>besbes</password>
    </default-resource-principal>
    </cmp-resource>
    </enterprise-beans>
    </sun-ejb-jar>
    Thanks in advance for any help.
    Nuno

    http://docs.sun.com/source/817-2175-10/decmp.html
    Please go to the above docs and look thru the examples given in it.
    Example 2
    This query returns all products in a specified price range. It defines two query parameters which are the lower and upper bound for the price: double low, double high. The filter compares the query parameters with the price field:
    "low < price && price < high"
    The finder element of the sun-ejb-jar.xml file would look like this:
    <finder>
    <method-name>findInRange</method-name>
    <query-params>double low, double high</query-params>
    <query-filter>low < price && price &lt
    high</query-filter
    </finder>
    I hope this hepls. In your case u just have to make it null.

  • Error while running ejbc - Deployment time

    Whilst trying to deploy my WSE through J2EE deploy tool i get the follwoing error:
    Deployment failed on target Server localhost:4848 : Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    I am not using ejb as far as I'm aware. I have succesfully buit my WSE using asant with no compilation errors.
    Here is copy of the code
    package rcews;
    import java.rmi.RemoteException;
    import java.util.Vector;
    import java.sql.*;
    import javax.sql.DataSource;
    //import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.xml.rpc.server.ServletEndpointContext;
    import javax.xml.rpc.server.ServiceLifecycle;
    import javax.xml.rpc.ServiceException;
    public class RceWSImplementation implements RceWSInterface, ServiceLifecycle {
         private DataSource ds;
         ServletEndpointContext endPtCntxt;
         public void init(Object context) throws ServiceException {
              try {
                   endPtCntxt = (ServletEndpointContext) context;
                   InitialContext ic = new InitialContext();
                   // Specify the logical name of the database
                   // Obtain the DataSource object associated with the logical name
                   ds = (DataSource) ic.lookup("java:comp/env/jdbc/rcedstar");
                   ic.close();
              } catch(NamingException ne) {
                   ne.printStackTrace();
                   throw new ServiceException("\nCannot initialise JNDI ENC\n", ne);
         public String [] getSignals() throws RemoteException {
              Statement sqlStmnt;
              ResultSet rs;
              String countQuery = "SELECT COUNT(DISTINCT signal_ref) FROM tblSignals";
              String query = "SELECT DISTINCT signal_ref FROM tblSignals ORDER BY signal_ref";
              String[] signals = null;
              int count = 0;
              try {
                   // Establish connection with the database and return a Connection object
                   Connection con = ds.getConnection();
                   System.out.println("Connection made Successfully");
                   // Create and execute SQL statement
                   sqlStmnt = con.createStatement();
                   rs = sqlStmnt.executeQuery(countQuery);
                   if(rs.next()) {
                        int size = rs.getInt(0);
                        signals = new String[size];
                   rs = sqlStmnt.executeQuery(query);
                   // Move through ResultSet and pull singal reference information
                   while(rs.next()) {
                        signals[count] = rs.getString("signal_ref");
                        count++;
                   con.close();
              } catch (Exception e) {
                   e.printStackTrace();
              return signals;
         public Vector getLampDurations(String[] signal_refs, String[] lamps, int hours) throws RemoteException {
              // Varaible Declarations
              Vector details = null;
              String signals, lamp_colours;
              PreparedStatement psqlStmt;
              ResultSet rs;
              String query = "SELECT signal_ref, light, SUM(duration), SUM(on_count) FROM tblsignals, tblsignal_events " +
                        "WHERE tblSignals.id = tblSignal_Events.id AND tblSignals.signal_ref IN (?) AND tblSignals.light IN (?) " +
                        "GROUP BY signal_ref, light" +
                        "HAVING SUM(duration) > ?";
              StringBuffer sbSignals = new StringBuffer(50);
              StringBuffer sbLamps = new StringBuffer(31);
              // Build Strings for use in Prepared SQL statements
              for(int i=0;i<signal_refs.length-1;i++) {
                   sbSignals.append("'" + signal_refs[i] + "'");
                   sbLamps.append("'" + lamps[i] + "'");
                   if (i <= signal_refs.length - 2) {
                        sbSignals.append(",");
                        sbLamps.append(",");
              signals = new String(sbSignals);
              lamp_colours = new String(sbLamps);
              try {
                   // Establish connection with the database and return a Connection object
                   Connection con = ds.getConnection();
                   System.out.println("Connection made Successfully");
                   // Apply strings to statement
                   psqlStmt = con.prepareStatement(query);
                   psqlStmt.setString(1, signals);
                   psqlStmt.setString(2, lamp_colours);
                   psqlStmt.setInt(3, hours);
                   // Obtain data from DB
                   details = new Vector(4);
                   String[] results = new String[4];
                   rs = psqlStmt.executeQuery();
                   while(rs.next()) {
                        // Copy contents of the ResultSet into a String Array for each record
                        int i = 0;
                        results[i]   = rs.getString(1);               //Signal Reference
                        results[i++] = rs.getString(2);               //Lamp (i.e colour)
                        double seconds  = rs.getDouble(3);          //Duration
                        seconds = seconds / (60*60);               //Convert Seconds to Hours - would be nice to convert to Hours:mins:secs
                        results[i++] = String.valueOf(seconds);
                        results[i++] = String.valueOf(rs.getInt(4));     //Number of Times lamp has been switched on
                        // Append the string Array to a Vector
                        details.addElement(results);
                   if (psqlStmt != null) { psqlStmt.close(); }
                   if (con != null) { con.close(); }
              } catch (Exception e) {
                   e.printStackTrace();
              return details;
         public void destroy() {
              ds = null;
    }

    Have since found this from the server log but I have no idea about how to solve this!
    [#|2004-03-10T15:08:04.574+0000|INFO|j2ee-appserver1.4|javax.enterprise.system.tools.deployment|_ThreadID=13;|DPL5109: EJBC - START of EJBC for [RCE-WebService]|#]
    Remote message: Processing beans ....
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RceWSInterface_Tie.java:32: '(' or '[' expected
    super(new rcews.RCE-WebService_SerializerRegistry().getRegistry());
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RceWSInterface_Tie.java:32: ')' expected
    super(new rcews.RCE-WebService_SerializerRegistry().getRegistry());
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:18: '{' expected
    public class RCE-WebService_SerializerRegistry implements SerializerConstants {
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:33: <identifier> expected
    registerSerializer(mapping,rcews.RceWSInterface_getLampDurations_RequestStruct.class, type, serializer);
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:33: '{' expected
    registerSerializer(mapping,rcews.RceWSInterface_getLampDurations_RequestStruct.class, type, serializer);
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:65: illegal start of type
    return registry;
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:65: <identifier> expected
    return registry;
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:68: 'class' or 'interface' expected
    private static void registerSerializer(TypeMapping mapping, Class javaType, QName xmlType,
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:74: 'class' or 'interface' expected
    ^
    C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\RCE-WebService\WEB-INF\classes\rcews\RCE-WebService_SerializerRegistry.java:75: 'class' or 'interface' expected
    ^
    10 errors

  • Error while running ejbc..

    Hi Friends
    I got the following error while trying to deploy my stateful session bean into sun ONE application server.
    Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Failed to load deployment descriptor for: StatefulHello cause: java.io.IOException: Incorrect manifest format
    I maintained the folder heirarchy same as in sun example of stateful session bean, CartBean.
    Any help can greatly help me. Thank you.
    Regards,
    Nagaraju.

    Hi Friends
    I got the following error while trying to deploy my stateful session bean into sun ONE application server.
    Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Failed to load deployment descriptor for: StatefulHello cause: java.io.IOException: Incorrect manifest format
    I maintained the folder heirarchy same as in sun example of stateful session bean, CartBean.
    Any help can greatly help me. Thank you.
    Regards,
    Nagaraju.

  • Error while running through concurrent programme

    Hi Everyone,
    I have a report in report builder which is based on a View.
    Its working fine in report builder but when i register the report and try to run
    using Concurrent request,
    Its throwing an error saying
    "View Does Not Exist"
    Any suggestions?
    Thanks
    --Kumar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Thank you u were right.That issue resolved.
    But now i have one more problem.
    As my report has 18 columns in the output, i have increased the width and height of the report to 180 and 50 and section width and height to 18 and 10 and set the orientation to LandScape.
    Its working fine in the report builder but when i run it in the application, its giving me an error saying that
    "REP-1212: Object Body is not fully enclosed by its enclosing object."
    Any suggestion on this.
    Thanks in advance.
    --Kumar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Sourcing : Error while Running Java Concurrent Program

    Hi All,
    Navigations:
    Application: Sourcing
    Responsibility : Sourcing Buyer
    Concurrent Program : Generate and Store Sourcing response spreadsheet
    I am trying to run
    Java Concurrent Program : Generate and Store Sourcing response spreadsheet in SRS Window,
    it completed with Error status.
    Please let me know How can I run this Concurrent Program with Normal status and able to view/save the Output.
    Please provide resolution on this.

    Thanks for your reply..
    Program: Generate and Store Sourcing response spreadsheet
    ShortName: PON_EXPORT_RESPONSE
    Application: Sourcing
    Executable: ExportResponseCp
    Method: Java Concurrent Program
    Responsibility : Sourcing Buyer.
    Has this ever worked? If yes, any changes been done recently?
    => No
    Is this the seeded concurrent program or a custom one?
    => Its seeded program.
    EBS: R12.1.3
    Login as Sourcing Buyer Responsibility :
    When you create RFQ and then Close RFQ and then create Surrogate quote and after you Export the Spreadsheet in SelfService Pages it generates the output.
    But if You run the concurrent program (Generate and Store Sourcing response spreadsheet) it errors out.
    Error : Exception in thread main java .lang.stringIndexOutOfBoundException:
    Thanks..

  • Format changing after running the concurrent program for indentation

    Hi
    I have got an issue regarding indentation in rtf template. Actually in the template I have indentation or numbering in one format like david but after running the concurrent program in the temlate output I am getting the numbering in Latin letters. like
    I
    II
    III
    etc.
    can anyone please send me the resolution for this issue.
    Thanks and regards
    kk

    What is the application release?
    If you are on 11i, please make sure you have (Patch 8198363: INDENTATION PROBLEM WHILE GENERATING RTF OUTPUT USING RTF TEMPLATE) applied and check then.
    Thanks,
    Hussein

  • Java.lang.OutOfMemoryError when running java concurrent program

    Hi,
    i had written a java concurrent program to create the content items into Oracle Content Manager (OCM). Process the records from interface table and create the content items into OCM by calling the API IBC_CITEM_ADMIN_GRP.upsert_item().
    I run the concurrent program with 2000 records in interface table, it's an one to one process, 563 records are processed and 563 content items are created successfully in OCM. After 563 records continuously throws the Exception
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.put_line('EX - bundle validation others--');
    x_return_status := FND_API.G_RET_STS_ERROR;
    FND_MESSAGE.Set_Name('IBC', 'A_BUNDLE_ERROR');
    FND_MESSAGE.set_token('SITUATION', 'VALIDATION');
    FND_MSG_PUB.ADD;
    IF IBC_DEBUG_PVT.debug_enabled THEN
    IBC_DEBUG_PVT.end_process(
    IBC_DEBUG_PVT.make_parameter_list(
    p_tag => 'OUTPUT',
    p_parms => JTF_VARCHAR2_TABLE_4000(
    'x_return_status', '*** EXCEPTION *** [' || SQLERRM || ']'
    END IF;
    in IBC_CITEM_ADMIN_GRP.validate_attribute_bundle() API.
    Again running the concurrent program it process another 563 records. Can any one help me to fix this issue?
    i figured out the exception. When debug the error, i got the actual error message like this
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.OutOfMemoryError
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.NullPointerException
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.ArrayIndexOutOfBoundsException: -2048 < 0
    for this issue i increased the heap memory size up to 1024MB. Still i have the same issue. Can any one help to fix the issue?

    ORA-29532: Java call terminated by uncaught Java
    exception: java.lang.NullPointerException
    ORA-29532: Java call terminated by uncaught Java
    exception: java.lang.ArrayIndexOutOfBoundsException:
    -2048 < 0Aren't the null pointer and arrayindexoutofbounds, the ones which you get when you are trying to read beyond your array? (example: when your loop tries to access the 563rd element in your array, since your array index starts from 0)?
    May be if you can try to write out your elements in the array, you might see what it is croaking about.
    Thanks,
    Chiru

  • Running Report Concurrently (In background)

    Hello every Body,
    In my oracle forms application I have one report that takes long time to finish.
    Can I run it concurrently so the user can continue using the application until the report finish ?
    Any HELP please.
    I am using Oracle developer suite 10g.
    Thanks and regards.
    Edited by: awad on Sep 15, 2012 3:33 AM

    Thank you Prabodh,
    I use this code to run the report :
    Begin
      Repid := Find_Report_Object('Myrep');
      Set_Report_Object_Property(Repid,Report_Execution_Mode,Batch);
      Set_Report_Object_Property(Repid,Report_Comm_Mode,Asynchronous);
      Set_Report_Object_Property(Repid,Report_Destype,'Cashe');
      Set_Report_Object_Property(Repid,Report_Filename,P_Repname);
      Set_Report_Object_Property(Repid,Report_Desformat,P_Desformat);
      Set_Report_Object_Property(Repid,Report_Server,L_Report_Server);
      V_Rep       := Run_Report_Object(Repid,P_Pl_Id);
      Rep_Status := Report_Object_Status(V_Rep);
      While Rep_Status In ('RUNNING','OPENING_REPORT','ENQUEUED') Loop
              Rep_Status := Report_Object_Status(V_Rep);
      End Loop;
      If Rep_Status = 'FINISHED' Then                        
          Web.Show_Document(L_Apps_Server||'/Reports/Rwservlet/Getjobid'||Substr(V_Rep,Instr(V_Rep,'_',-1)+1)||'?'||'Server='||L_Report_Server,'_Blank');
      Else
          Msg_Alert('Error When Running Report');
      End If;
    End;This code is written in a form Procedure under program units node.
    The problem is in the While loop that check fro the status. There is no way to execute this procedure (or the while loop and Web.Show_Document portion) Asynchronously (in other thread or process ) without using command line ?
    Edited by: awad on Sep 16, 2012 2:37 PM

  • Running scripts concurrently from various workstations(OTM)

    We have a server setup for OATS and we are accessing the OTM given by admins. But when when we submit the scripts from workstation the playback is running on server not on workstation.
    what setup is required on workstations to see the script playback on workstation only when run from OTM. I have 5 workstions where I need to run scripts concurrently.
    We are using OATS 12.2 and this is for Oracle EBS functional testing
    Thanks

    Hi,
    You have to add machines in OTM server. During execution, you have to give execution in client machine.
    Cheers,
    Deepu M

  • I want to run loader concurrent program in package..

    i want to run loader concurrent program in package..
    i had registered my package in front-end and also loader,
    i want query that how to call loader CP in package

    Can you check from which schema you are executing FND_REQUEST? You can try as follows;
    Connect to your required schema, create a synonym on apps.fnd_request, connect from apps and finally execute grant all on apps.fnd_request to all.
    You can check for relevance from Doc ID: Note:147495.1
    Please do keep in the mind the soultion above should be applied to a test/dev EBS instance first.
    I hope this would be of help.
    Saad

  • How to run all Concurrent Requests in a single node in a multi node env

    DB;11.1.0.7
    Oracle Apps:12.1.1
    OS:Linux 86x64 Red Hat
    PCP setting is enabled.
    Load Balancer is enabled.
    APPLDCP=ON
    Could anyone please share - How to run all Concurrent Requests in a single node in a multi node env where there are 3 web tier nodes?
    Thanks for your time!
    Regards,

    PCP setting is enabled.
    Load Balancer is enabled.
    APPLDCP=ON
    Could anyone please share - How to run all Concurrent Requests in a single node in a multi node env where there are 3 web tier nodes?Concurrent requests will be processed by the CM nodes and it has nothing to do with the 3 web tier nodes you have.
    If you mean the database instance, then please see these docs.
    How to run a concurrent program against a specific RAC instance with PCP/RAC setup? [ID 1129203.1]
    In A PCP/RAC Configuration, How To Find Out On Which RAC Instance FNDSM Is Currently Running? [ID 1089396.1]
    Thanks,
    Hussein

  • Run Child Concurrent Program from Main Concurrent Program

    Hi,
    I'm trying to run Child Concurrent Program from the Main Concurrent Program as below, could you suggest me on below.
    Database:10g
    Main_Concurrent_Program
    =================
    1) Will update staging table XXID_PO_ITM with Batch_id = 1,2,3,4,5
    This staging table has 1000 rows, so every 200 rows will be updated with one of the above batch_id
    This logic is working.
    Child_Concurrent_Program
    ================
    2) Above Main Concurrent Program should call below Child_Concurrent_Program.
    This Child_Concurrent_Program will have parameter batch_id (based on above batch_id)
    So, this Child_Concurrent_Program should kick off with batch_id = 1
    Simillarly, Child_Concurrent_Program should kick off with batch_id = 2
    Child_Concurrent_Program should kick off with batch_id = 3
    Child_Concurrent_Program should kick off with batch_id = 4
    Child_Concurrent_Program should kick off with batch_id = 5
    Could you give me some suggestions on this?
    Thanks.

    Check with FND_SUBMIT for submitting a concurrent job using child dependecies. Keep in mind, that once you call the API ... it spawns it's own thread and and becomes an autonomous process. Control is no longer maintained within the calling package.
    procedure submit_interface_data(p_schedule_date in date,p_mm_header_id in number,p_req_id out number)
    is
      v_user_id            number;
      v_application_id     number;
      v_responsibility_id  number;
    begin
                select user_id
                into   v_user_id
                from   fnd_user
                where  user_name = 'USER123';
                select application_id,
                       responsibility_id
                into   v_application_id,
                       v_responsibility_id
                from   fnd_responsibility_tl
                where  responsibility_name = 'General Warehouse';
      fnd_global.apps_initialize(v_user_id,v_responsibility_id,v_application_id);
      p_req_id := fnd_request.submit_request ( application => 'XYZ',
                           program     => 'MOVE_CONC_SHORT_NAME',
                           description => null,
                           start_time  => p_schedule_date,
                           sub_request => false,
                     argument1   => p_mm_header_id);
      commit;
    exception
    when others
       then
         spl_log_pub.write_exception(transaction_id   => null,
                                     transaction_type => null,
                                     error_message    => '<some error message>' ||
                                     'sqlcode: ' || sqlcode ||
                                     'sqlerrm: ' || sqlerrm);
    end submit_interface_data;Edited by: sreese on May 18, 2012 3:16 PM

  • Detailed log when data template is run through concurrent program

    Hi,
    I have registered a data template and I am using concurrent program to generate the output (By giving executable name as XDODTEXE and making short name of the concurrent program as the code of the data definition).
    When I run the concurrent program, it gives me the error
    Calling XDO Data Engine...
    [100306_024642974][][EXCEPTION] java.sql.SQLException: ORA-00900: invalid SQL statement
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:589)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1972)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2185)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2059)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2976)
    I have checked the sql query in TOAD its perfectly running. I am not able to find out where exactly the problem is in the SQL statement.
    Is there any way by which I can see detailed log (which line of SQL statement caused this exception)?
    Thanks in Advance,
    Harvinder

    The process to make an program incompatible with itself is described in MOS Doc 142944.1 (How to Make a Concurrent Program Incompatible with Itself) - you will have to bounce the concurrent managers for the setting to take effect
    HTH
    Srini

Maybe you are looking for

  • What does the open file dialog do 'under the hood' and is there a way to simulate it

    What does the open file dialog do 'under the hood' and is there a way to simulate it? I have a bug in my code (that I've posted about before, here) which I can't fix at the moment, but I do have a workaround. Briefly, the bug: I call a dll from a fun

  • Strange Imac USB issue you won't believe

    Hi, Hope someone can help me, this is nuts. I have Intel based Imac running 10.4.11. I have had it for 5 years with no issues until a month ago. Long story but lots of troubleshooting and attempted to install new hardware, printer, external Hard driv

  • Cancellation of Release Procedure for PO

    Hi All, We have configured 4 step realesed stretegy for PO. Releasing is working fine but we are facing probelm in cancellation. In cancellation any step you can cancle at any step . But What we want if approval is done R1 >R2> R3> R4 same way cancel

  • Repeated file names in Finder?

    Greetings!  File names are repeated (2, 3, or 4+) times in Finder for some of my files (e.g., pdfs, excel files, word docs).  I'm guessing this might be a setting some where that needs to be fixed related to the view or perhaps even related to duplic

  • Precalculated Value Set - Query Designer - information Broadcasting NW2004

    Hi Buddies, Needs your help! i have question regarding to the precalculated Value set distribution type for infomation Broadcasting NW2004. According to my understanding, firstly i created a broadCasting setting Z_Test based on Query1 to calculated t