Database objects behind stats on "Concurrent Processing Dashboard" ?

I want to define a new report in oem grid about concurrent processing on a ebs target. i saw that there is some minimal stats in the 'Concurrent Processing Dashboard'. What are the DB tables used to generate this screen ?
By the way there is a bug, all number are displayed like : 2.000000 ....
Thanks

Hi,
What if both nodes have all modules active? (host,admin,cm,forms,web) except the database of courseDo you mean to say all application services are up and the database is down? If yes, then there must be something wrong with the dashboard itself (if the database is down, you will not be able to access the application or even access OAM).
Thanks,
Hussein

Similar Messages

  • Concurrent Processes

    Hi,
    In R12, if i bring down services adstpall.sh, there are some concurrent managers and processes still running even after 15 minutes.
    I used to kill them.
    Is there a better way ? do I have to run cmclean.sql or bounce the database after killing processes?
    Thanks.

    appsdba_new wrote:
    Hi,
    In R12, if i bring down services adstpall.sh, there are some concurrent managers and processes still running even after 15 minutes.
    I used to kill them.
    Is there a better way ? do I have to run cmclean.sql or bounce the database after killing processes?
    Thanks.
    Why do you have to kill those processes?
    If you need to kill those processes, then you also need to kill the database sessions associated with it -- Concurrent Processing - How to Find Database Session & Process Associated with a Concurrent Program Which is Currently Running. (Doc ID 735119.1)
    Running cmclean.sql script may not be required here but there is no harm in running it.
    Thanks,
    Hussein

  • Database schema SCM does not contain the associated database objects

    I am getting the following error when i am trying to migrate the form to apex using application migration.
    "*Database schema SCM does not contain the associated database objects for the project, aafs.*
    *Ensure the database schema associated with the project contains the database objects associated with the uploaded Forms Module .XML file(s).* ".
    Actully i am having one schema which i named as SCM, and i have defined one table TT.
    I created one form test.fmb in which i used TT table.its compiled successfully.
    Then i generated the xml file using frmf2xml from fmb file. After that, I created the project in appication migration wizard in SCM schema.
    Project creattion is working fine.but when i m trying to create application,it is showing me above error.
    can any one help in solving this problem.

    Hi Hilary,
    Thanks for your response/feedback.
    1. The schema associated with the project does not contain the necessary objects Can you please verify that the schema associated with your Forms conversion project does in fact contain the objects associated with the uploaded files. Could you also verify that the object names referenced in the error message do not exist within the schema associated with your workspace. Ensure that the schema associated with the project contains the necessary database objects before proceeding to the generation phase of the conversion process.
    Ans:
    Yes it does contain the objects (See results from SQL query Commands below):
    SELECT MWRA_CONTRACT_NO, OLD_CONTRACT_NO FROM PROJECTS@CONTRACT_LX19.MWRA.NET
    ORDER BY MWRA_CONTRACT_NO
    000000569 551TA
    000000570 553TA
    000000575 560TA
    000000576 561TA
    000107888 502TA
    000108498 500TA
    000108502 503TA
    2. The block being converted contains buttons, which may have been incorrectly identified as database columns, and included in the original or enhanced query associated with your block This is a known issue ,bug 9827853, and a fix will be available in our upcoming 4.0.1 patch release. Some possible solutions to this issue are:
    -> delete the buttons before generating the XML
    -> delete the button tags from the XML
    -> add "DatabaseItem=No" for the button in the XML file before importing it in Apex.The button is excluded when creating the Application.
    Ans
    yes it does contain push buttons to transfer to another forms and these are defined as Non data base items. Parial XML code provided below:
    - <Item Name="REPORTS" FontSize="900" DirtyInfo="true" Height="188" XPosition="4409" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3709" FontSpacing="Normal" Label="REPORTS" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
    <Trigger Name="WHEN-BUTTON-PRESSED" TriggerText="GO_BLOCK('REPORT_1');" />
    </Item>
    - <Item Name="TRACKHDR" FontSize="900" DirtyInfo="true" Height="188" XPosition="3409" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3709" FontSpacing="Normal" Label="TRACK" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
    <Trigger Name="WHEN-BUTTON-PRESSED" TriggerText="GO_BLOCK('TRACKHDRS');" />
    </Item>
    - <Item Name="SUBAWRD" FontSize="900" DirtyInfo="true" Height="188" XPosition="2429" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3719" FontSpacing="Normal" Label="SUBAWARDS" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
    3. If you are still experiencing issues, then please create a testcase on apex.oracle.com and update this thread with the workspace details so I can take a look.
    Test case details are given below. It was created per ORACLE for open Service Request Number 3-1938902931 on ORACLE Metalink.
    Workspace: contract4
    username: [email protected] (my email)
    Password: contract4
    Comments:
    For my migration/testing purpose a dabatase link and synonyms have been setup by our ORACLE DBA. Could this be causing this problem?
    Do we know when the fix 4.0.1 patch release will be available?
    Thanks for your help.
    Indra

  • Re: JDeveloper not showing database objects in"Oracle Applications"Adapter?

    Hi
    I am trying to create a BPEL process through JDeveloper10.1.3.4 and using a Oracle Application Service. When using the Adapter Configuration wizard, i am successfully able to connect to the database but when there is an option to select the inteface to the Oracle Application Data for table/views/APIs/Concurrent Programs after clicking Next
    I am getting an alert that says you are connected to 11.5.10 instance, Add the database objects.
    After clicking in Add - Oracle Aplications Module Browser comes up with Blank values and nothing works here, neither Search nor Browse and just has a cancel button.
    Please if some body has faced similar issue or has understanding on it, help me on this.
    Thanks

    You'll have better luck posting in the right forum. This one is for issues relating to Oracle's ODBC driver.
    I'm not familiar enough with JDEV to know which forum that is top of my head though.
    Greg

  • Subsequent SQL statements cannot be processed. SQLSTATE=58005 row=1

    Hi,
    I am getting below error, in db13 online backup error.
    09.06.2014
    00:00:58
    Job started
    09.06.2014
    00:00:58
    Step 001 started (program RSDBAJOB, variant &0000000002712, user ID BASISADMIN)
    09.06.2014
    00:00:58
    Backup_Dev:Database Backup to Device
    09.06.2014
    00:00:58
    Backup_Dev:started by CL_DB6_JOB_BACKUP_DEVICE       on server bgprd
    09.06.2014
    00:00:58
    Backup_Dev:Parameter TESTMODE has not been set
    09.06.2014
    00:00:58
    Backup_Dev:Parameter RUNTIME has not been set
    09.06.2014
    00:00:58
    Backup_Dev:Parameter BACKUP_MODE has been set to "ONLINE"
    09.06.2014
    00:00:58
    Backup_Dev:Parameter PARTITION has not been set
    09.06.2014
    00:00:58
    Backup_Dev:Parameter BACKUP_TYPE has been set to ""
    09.06.2014
    00:00:58
    Backup_Dev:Parameter COMPRESS has been set to ""
    09.06.2014
    00:00:58
    Backup_Dev:Parameter INCLUDE LOGS has been set to "INCLUDE LOGS"
    09.06.2014
    00:00:58
    Backup_Dev:Parameter NUMBER_BUFFERS has been set to " 0"
    09.06.2014
    00:00:58
    Backup_Dev:Parameter BUFFER_SIZE has been set to " 0"
    09.06.2014
    00:00:58
    Backup_Dev:Parameter PARALLELISM has been set to " 0"
    09.06.2014
    00:00:58
    Backup_Dev:Parameter UTIL_IMPACT_PRIORITY has not been set
    09.06.2014
    00:00:58
    Backup_Dev:Parameter FILE_PATH has been set to "/dev/rmt/0mn"
    09.06.2014
    00:01:04
    Backup_Dev:Command '   'failed
    09.06.2014
    00:01:04
    Exception CX_DB6_CON in program CL_DB6_JOB_BACKUP=============CP / CL_DB6_JOB_BACKUP=============CM002 at line ADBC error with r
    09.06.2014
    00:01:04
    Backup_Dev:Exception CX_DBA_JOB in class CL_DB6_JOB_BACKUP
    09.06.2014
    00:01:04
    Backup_Dev:  Kernel Error ID:
    09.06.2014
    00:01:04
    Backup_Dev:SYSID:
    09.06.2014
    00:01:04
    Backup_Dev:  SY-SUBRC: 1208
    09.06.2014
    00:01:04
    Backup_Dev:  SY-TABIX: 0
    09.06.2014
    00:01:04
    Backup_Dev:  Message: ADBC error
    09.06.2014
    00:01:04
    Backup_Dev:  Database:
    09.06.2014
    00:01:04
    Backup_Dev:caused by
    09.06.2014
    00:01:04
    Backup_Dev:Exception CX_DB6_ADMINCMD in class CL_DB6_ADMIN_CMD method EXECUTE_CM
    09.06.2014
    00:01:04
    Backup_Dev:  D line 43
    09.06.2014
    00:01:04
    Backup_Dev:  Kernel Error ID:
    09.06.2014
    00:01:04
    Backup_Dev:  SYSID: PRD
    09.06.2014
    00:01:04
    Backup_Dev:  SY-SUBRC: 1208
    09.06.2014
    00:01:04
    Backup_Dev:  Message: ADBC error
    09.06.2014
    00:01:04
    Backup_Dev:  Command: BACKUP DATABASE PRD ON DBPARTITIONNUM ( 0 ) ONLINE TO"/dev/
    09.06.2014
    00:01:04
    Backup_Dev:  rmt/0mn" INCLUDE LOGS
    09.06.2014
    00:01:04
    Backup_Dev:  Database:
    09.06.2014
    00:01:04
    Backup_Dev:caused by
    09.06.2014
    00:01:04
    Backup_Dev:Exception CX_SQL_EXCEPTION in class CL_SQL_STATEMENT
    09.06.2014
    00:01:04
    Backup_Dev:  Kernel Error ID:
    09.06.2014
    00:01:04
    Backup_Dev:  DB Error: Yes
    09.06.2014
    00:01:04
    Backup_Dev:  SQL Code: 902-
    09.06.2014
    00:01:04
    Backup_Dev:  SQL Message: SQL0902C A system error (reason code = "
    09.06.2014
    00:01:04
    Backup_Dev:  ") occurred.
    09.06.2014
    00:01:04
    Backup_Dev:  Subsequent SQL statements cannot be processed. SQLSTATE=58005 row=1
    09.06.2014
    00:01:04
    Backup_Dev:  DB Object Exists: No
    09.06.2014
    00:01:04
    Backup_Dev:  Duplicated Key: No
    09.06.2014
    00:01:04
    Backup_Dev:  Internal Error: 1
    09.06.2014
    00:01:04
    Backup_Dev:  Invalid Cursor: No
    09.06.2014
    00:01:04
    Backup_Dev:  Unknown Connection: No
    09.06.2014
    00:01:04
    Backup_Dev:  Connection Closed: No
    09.06.2014
    00:01:04
    Exception CX_DBA_JOB in class CL_DB6_JOB_BACKUP method  line 40
    09.06.2014
    00:01:04
    Backup_Dev:terminated with error
    09.06.2014
    00:01:04
    REASON=ADBC error
    09.06.2014
    00:01:04
    Job finished

    Hi,
    Please Check the note no 610408.
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=610408.
    And check for detail error in diag.log file.
    Thanks & Regards,
    Balaji.S

  • COncurrent process fails with warning for OPP

    Concurrent process generates xml output (version 5.6.2) .
    When it tries to publish it , the log suggests checking out the OPP log.
    The OPP log has a series of java entries for the request, including one of the type
    Caused by: oracle.xdo.parser.v2.XPathException: Expected 'QNAME' instead of ''.
    header of the OPP log says
    Resolution History
    18-OCT-06 20:36:05 GMT
    Can you easily recover from, bypass or work around the problem? = NO
    Does your system or application continue normally after the problem occurs? =
    YES
    Are the standard features of the system or application still available; is the
    loss of service minor? = YES
    ### Informational Only:Warning Presented to Customer ###
    You chose 'Other technical issues with this product' from the Type of Problem
    list. This is a generic Service Request form which will require additional time
    to be routed appropriately. You may be able to expedite the resolution of your
    Service Request by doing the following: 1. Use your browser’s back button to
    return to the Create a SR – Brief Description page. 2. Select an option from
    the Type of Problem list that more closely describes the problem.
    ### Requested files:ACT(Note 183274.1),RDA (Note 175853.1). Files to be loaded.
    None
    ### Detailed Problem Statement ###
    Concurrent process for XML Publisher fails with warning. Cannot see Diagnostics
    --> XML output completely. Only first page visible. Buttons and Menu items
    disabled not allowing to view the whole XML file to troubleshoot for
    correct/incorrect tags.
    Attached are OPP Manager log file, Screen shot of 'Preview' output jjst before
    submitting request. Also log file of failed concurrent request which contains
    standard error " See OPP Service log file for more".
    ### Steps to Reproduce Problem ###
    Registered a concurrent process with XML template , and running the process
    from Receivables Manager responsibility.
    Ran concurrent process for 1) Standard RAXINV report , with output method as
    'XML'. 2) Customised RAXINV report, with output method as 'XML'
    ### Instance Name(s) and Type of System(s) Where Error Occurs ###
    Lunix, 11.5.10 on 10g
    ### Recent Changes to this Environment ###
    None
    ### Workarounds Used ###
    None
    ### How is this Issue Impacting Your Business ###
    Business is readying for CRP3, so would like to have reports ready by then.
    Contact me via : MetaLink
    18-OCT-06 20:48:07 GMT
    The customer : [email protected] : has uploaded the following file via MetaLink:
    C:\Documents_and_Settings\broy\BareEscentuals\Reports\Errors\XML_Pub1.bmp
    18-OCT-06 20:49:14 GMT
    The customer : [email protected] : has uploaded the following file via MetaLink:
    C:\Documents_and_Settings\broy\BareEscentuals\Reports\Errors\XMLPublisher_java.t
    xt
    18-OCT-06 21:17:26 GMT
    Hi Bashobi,
    Thank you for using MetaLink. We are currently reviewing/researching the situation and will update the SR as soon as we have relevant information
    Best Regards,
    Bill
    Oracle Support Services
    STATUS
    =======
    @WIP -- Work In Progress
    18-OCT-06 21:18:04 GMT
    Email Update button has been pressed: Sending email to [email protected].
    18-OCT-06 21:21:45 GMT
    ISSUE CLARIFICATION
    ====================
    On 11.5.10.2 in Production:
    Find concurrent process for XML Publisher fails with warning. Cannot see Diagnostics
    --> XML output completely. Only first page visible. Buttons and Menu items
    disabled not allowing to view the whole XML file to troubleshoot for
    correct/incorrect tags.
    EXPECTED BEHAVIOR
    Expect the processes run successfully
    STEPS
    The issue can be reproduced at will with the following steps:
    1. Registered a concurrent process with XML template .
    2. Run the process from Receivables Manager responsibility.
    3. Ran concurrent process for
    1) Standard RAXINV report , with output method as 'XML'
    2) Customised RAXINV report, with output method as 'XML'
    BUSINESS IMPACT
    The issue has the following business impact:
    Business is readying for CRP3, so would like to have reports ready by then.
    ACTION PLAN
    ============
    Hi Bashobi,
    1. Can you reproduce the issue from sysadmin responsibility with Active users report? if yes
    please upload OPP log file after reproduce it and upload the request log file.
    Thanks.
    18-OCT-06 23:09:02 GMT
    New info : [email protected] : Did the same as suggested, Request
    completes successfully.
    But what is the relation between Active Users report and a report sent via XML
    Publisher?
    19-OCT-06 15:54:26 GMT
    ACTION PLAN
    ============
    Hi Bashobi,
    1. When you reproduce the issue from sysadmin responsibility with Active users report change the format out put to XML,
    Save your change:
    2. Upload OPP manager log file and upload the request log file.
    Thanks,
    Bill.
    19-OCT-06 15:54:33 GMT
    Email Update button has been pressed: Sending email to [email protected].
    19-OCT-06 16:42:23 GMT
    New info : [email protected] : Bill,
    No, I could not reproduce the problem with Active Users program.
    Attaching OPP manager log in the next update. Bashobi
    19-OCT-06 17:05:07 GMT
    New info : [email protected] : Bill, Attaching internal log and manager
    log
    Bashobi
    19-OCT-06 17:06:08 GMT
    The customer : [email protected] : has uploaded the following file via MetaLink:
    C:\Documents_and_Settings\broy\BareEscentuals\Reports\Errors\OPP_internal_log.tx
    t
    19-OCT-06 17:07:10 GMT
    The customer : [email protected] : has uploaded the following file via MetaLink:
    C:\Documents_and_Settings\broy\BareEscentuals\Reports\Errors\OPP_manager_log.txt
    19-OCT-06 18:14:32 GMT
    UPDATE
    =======
    Hi Bashobi,
    Thank you for providing the requested information.
    Best Regards,
    Bill
    STATUS
    =======
    @WIP -- Work In Progress
    19-OCT-06 18:14:36 GMT
    Email Update button has been pressed: Sending email to [email protected].
    19-OCT-06 18:59:25 GMT
    DATA COLLECTED
    ===============
    SCREEN SHOTS
    XML_Pub1.bmp:
    Error:
    Jave.sql SQL Exception No corresponding LOB data found: select File_data_dbms_lob...........
    LOG FILE
    1. XMLPublisher_java.txt:
    [10/18/06 11:16:57 AM] [5670:RT277479] Completed post-processing actions for request 277479.
    [10/18/06 11:29:06 AM] [OPPServiceThread1] Post-processing request 277488.
    [10/18/06 11:29:06 AM] [5670:RT277488] Executing post-processing actions for request 2
    77488.
    [10/18/06 11:29:06 AM] [5670:RT277488] Starting XML Publisher post-processing action.
    [10/18/06 11:29:06 AM] [5670:RT277488]
    Template code: XXBE_TEST_INV
    Template app: AR
    Language: en
    Territory: US
    Output type: null
    [10/18/06 11:29:07 AM] [UNEXPECTED] [5670:RT277488] java.lang.reflect.InvocationTarg
    etException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    10/18/06 11:29:07 AM] [5670:RT277488] Completed post-processing actions for reque
    st 277488.
    2. OPP_manager_log.txt:
    [10/19/06 5:22:36 AM] [main] Starting GSF service with concurrent process id = 5688.
    [10/19/06 5:22:36 AM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [10/19/06 5:22:37 AM] [Thread-12] Service thread starting up.
    [10/19/06 5:22:37 AM] [Thread-13] Service thread starting up.
    ISSUE VERIFICATION
    =================
    Issue veryfied by the screen shots: XML_Pub1.bmp which shows:
    Jave.sql SQL Exception No corresponding LOB data found: select File_data_dbms_lob...........
    ACTION PLAN
    ============
    Hi Bashobi,
    1. Since you can not reproduce the issue from sysadmin responsibility can we say the issue specific to Receivables Manager
    responsibility<INV xml report>?
    2. You said before: "Concurrent process for XML Publisher fails with warning. Cannot see Diagnostics
    --> XML output completely. Only first page visible. Buttons and Menu items
    disabled not allowing to view the whole XML file to troubleshoot for
    correct/incorrect tags.":
    Is the above mean :
    -The xml publisher report completed but you can not view the whole XML file
    -Or the xml publisher report error out with "Jave.sql SQL Exception No corresponding LOB data found: select File_data_dbms_lob.."
    Thanks.
    19-OCT-06 18:59:32 GMT
    Email Update button has been pressed: Sending email to [email protected].
    20-OCT-06 21:36:13 GMT
    Email Update button has been pressed: Sending email to [email protected].
    24-OCT-06 21:50:06 GMT
    New info : [email protected] : Hi,
    We are in the process of upgrading XML Publisher at the moment. I would like to
    wait a day or two to test the report with the upgrade.
    Thanks,Bashobi
    26-OCT-06 20:15:07 GMT
    New info : [email protected] : Hi,
    Our DBA has applied the 5.6.2 patch on our dev instance. My concurrent process
    runs to a warning.
    The warnings in the OPP manager log file say
    Template code: BE_RAXINV
    Template app: XXBE
    Language: en
    Territory: US
    Output type: PDF
    [10/26/06 12:50:13 PM] [UNEXPECTED] [5849:RT281617]
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Any idea?

    Hi All,
    I have ran into the same issue.
    "The Output Post-processor is running but has not picked up this request.
    Any ideas.
    Thanks
    Ravi

  • How to get the List of Database Objects (Table/View) for a given APEX Page.

    Hi,
    I have an application and that consist of pages like page1,2,3,.....
    *1.* I want a report which can give me the list of all the Pages1,2,3,....
    I am using the following query to acheive this.... THIS IS FINE..
    select a.workspace, a.owner, a.application_name, b.page_id, b.page_name
      from apex_applications a,
           apex_application_pages b
    where a.workspace = b.workspace
       and a.application_id = b.application_id*2. Now, I want for each individual page*, the list all the database objects (tables/views), which that page is using.
    I am using ALL_DEPENDENCIES , but I am not getting the result.
    So, want to know if there any view/table, where I can get the Application Pages & there database object list...
    Thanks,
    Deepak

    Hari,
    Thanks for the response.
    The view APEX_APPLICATION_PAGE_DB_ITEMS will only give me the table name related to any Page Items defined to that page..It will not give me all the database objects..
    suppose we have a Page, having a report based on multiple tables and there is no Page items defined on that page, we will not have any value in this ....DB_ITEMS table. same thing if we have define some PL|SQL(using some table/view) in a Process, that will not be populated in .....DB_ITEMS table. I want some thing like all the database objects (table/views/function/procedure/.....) for a particular Page ID.
    Thanks,
    Deepak

  • Forced to remap one database object at a time

    Our application exposes a set of data objects (views) for external reporting. Field/row level data security conditions are built into the view definitions. Different access levels are segmented by schema names and in order to enable report reuse object names are identical between schemas.
    Users granted schema rights based on their access level.
    For example, user A is granted access only to the schema X which contains View1, View2, etc. while user B is granted access only to the schema Y which also contains View1, View2, etc.
    User A can reuse report created by user B (since object names are identical), however s/he cannot do it without first changing the data source location (since their access levels and therefore schema names are different).
    However, "Set Datasource Location" dialog (see sample screenshot below) does not allow one-click schema remapping. "Current Data Source" hierarchy does not directly expose schema name (it is listed as an "Owner" property of the individual table/view object) which forces user to remap one database object at a time by expanding top and bottom trees, highlighting matching objects and clicking "Update" button.
    Our question is: are there any menu items/settings or any other facilities in Crystal Report that would allow us to make re-mapping process less time-consuming?

    Hi Len,
    No, bottom line is the designer is used to "finalize" the report. It's not designed to be use this way. What I suggest you do is create an application that can set location/schema at view time to that person logging in. This way it's all done in the back end and relatively easy to do using one of our SDK's.
    Depending on what development tool and Report engine you use depends on which forum to post your question to. SAP will not create the application for you so you will need to get a developer involved.
    Thank you
    Don
    Senior Technical Assurance Engineer
    Developer Support Team
    Business Objects, an SAP Company

  • Single queue: concurrent processing of messages in multiple consumers

    Hi,
    I am new to jms . The goal is to  process messages concurrently from a queue in an asynchronous listener's onMessage method  by attaching a listener instance to multiple consumer's with each consumer using its own session and running in a separate thread, that way the messages are passed on to the different consumers for concurrent processing. 
    1) Is it ossible to process messsages concurrently from a single queue by creating multiple consumers ?
    2)  I came up with the below code, but would like to get your thoughts on whether the below code looks correct for what I want to accomplish.  
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.util.Properties;
    import javax.jms.Connection;
    import javax.jms.ConnectionFactory;
    import javax.jms.Destination;
    import javax.jms.JMSException;
    import javax.jms.Message;
    import javax.jms.MessageConsumer;
    import javax.jms.MessageListener;
    import javax.jms.Session;
    import javax.jms.TextMessage;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    import com.walmart.platform.jms.client.JMSConnectionFactory;
    public class QueueConsumer implements Runnable, MessageListener {
      public static void main(String[] args) {
       // Create an instance of the client
        QueueConsumer consumer1 = new QueueConsumer();
        QueueConsumer consumer2 = new QueueConsumer();
        try {
        consumer1.init("oms","US.Q.CHECKOUT-ORDER.1.0.JSON");   //US.Q.CHECKOUT-ORDER.1.0.JSON   is the queue name
        consumer2.init("oms","US.Q.CHECKOUT-ORDER.1.0.JSON");
        }catch( JMSException ex ){
        ex.printStackTrace();
        System.exit(-1);
        // Start the client running
        Thread newThread1 = new Thread(consumer1);
        Thread newThread2 = new Thread(consumer1);
        newThread1.start();newThread2.start();
        InputStreamReader aISR = new InputStreamReader(System.in);
              char aAnswer = ' ';
              do {
                  try {
      aAnswer = (char) aISR.read();
    catch (IOException e)
      // TODO Auto-generated catch block
      e.printStackTrace();
    } while ((aAnswer != 'q') && (aAnswer != 'Q'));
              newThread1.interrupt();
              newThread2.interrupt();
              try {
      newThread1.join();newThread2.join();
      } catch (InterruptedException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
              System.out
      .println("--------------------exiting main thread------------------------"+Thread.currentThread().getId());
            System.exit(0);
    // values will be read from a resource properties file
    private static String connectionFactoryName = null;
    private static String queueName = null;
    // thread safe object ref
      private static ConnectionFactory qcf = null;
      private static Connection queueConnection = null;
    // not thread safe
      private Session ses = null;
      private Destination queue = null;
      private MessageConsumer msgConsumer = null;
      public static final Logger logger = LoggerFactory
      .getLogger(QueueConsumer.class);
      public QueueConsumer() {
      super();
      public void onMessage(Message msg) {
      if (msg instanceof TextMessage) {
      try {
      System.out
      .println("listener is "+Thread.currentThread().getId()+"--------------------Message recieved from queue is ------------------------"
      + ((TextMessage) msg).getJMSMessageID());
      } catch (JMSException ex) {
      ex.printStackTrace();
      public void run() {
      // Start listening
      try {
      queueConnection.start();
      } catch (JMSException e) {
      e.printStackTrace();
      System.exit(-1);
      while (!Thread.currentThread().isInterrupted()) {
      synchronized (this) {
      try {
      wait();
      } catch (InterruptedException ex) {
      break;
      * This method is called to set up and initialize the necessary Session,
      * destination and message listener
      * @param queue2
      * @param factoryName
      public void init(String factoryName, String queue2) throws JMSException {
      try {
      qcf = new JMSConnectionFactory(factoryName);
      /* create the connection */
      queueConnection = qcf.createConnection();
      * Create a session that is non-transacted and is client
      * acknowledged
      ses = queueConnection.createSession(false,
      Session.CLIENT_ACKNOWLEDGE);
      queue = ses.createQueue(queue2);
      logger.info("Subscribing to destination: " + queue2);
      msgConsumer = ses.createConsumer(queue);
      /* set the listener  */
      msgConsumer.setMessageListener(this);
      System.out.println("Listening on queue " +queue2);
      } catch (Exception e) {
      e.printStackTrace();
      System.exit(-1);
      private static void setConnectionFactoryName(String name) {
      connectionFactoryName = name;
      private static String getQueueName() {
      return queueName;
      private static void setQueueName(String name) {
      queueName = name;

    Hi Mark,
    if the messages are sent with quality of service EO (=exactly once) you can add queues.
    From documentation:
    Netweaver XI -> Runtime -> Processing xml messages -> Queues for asynchronous message processing
    ...For incoming messages you set the parameter EO_INBOUND_PARALLEL from the Tuning category.
    If more than one message is sent to the same receiver, use the configuration parameter EO_OUTBOUND_PARALLEL of the Tuning category to process messages simultaneously in different queues.
    Transaction: SXMB_ADM
    Regards
    Holger

  • TP4 : big instability in offline database object edition and diagraming

    I encountered a lot of problems when editing offline database objects and in database diagraming.
    Foreign keys don't appear in diagram after creating it, i'm not able to delete a broken foreign key (the ok button don't react, i can only cancel my changes).
    It is no more possible to drag and drop attribute from a table to another table (copy).

    Peter,
    Glad to see you took my advice and posted your question over here. Although I am a frequent user of the Oracle usenet groups, I have found that this is a much better place to get help with Spatial. My experiences suggest that the population of people using spatial is small--and of them the ones that really know alot are few and far between. I can only claim to be in the former group.
    As far as your problem goes--this is probably something you've already considered--is there a way to model the data such that you don't have to replicate the geometry components? Another option would be to handle the replication without using snapshots. Examples would be to export the data and then ftp/copy it to the target machines and import it. If you need real-time replication you could experiment with triggers that execute INSERTs/UPDATEs/DELETEs on the remote databases. This of course has its own issues--but you're going to end up with some sort of compromise no matter how you slice this.
    Of course you could use the relational model. I have never used it so I'm hard pressed to give any advice on it. As I posted on the usenet board, it is heading for desupport in 9i Release 2 according to the documentation available. So if you go relational you'll eventually have to migrate to object/relational. I'm not sure how automatic (or non-automatic) that process is. Hopefully someone on here will have some more concrete advice on that.
    Good luck.
    Matt.

  • Database link problem in a page process

    I'm trying to access a function over the database link in a page onload process. The called function located in another schema returns a varchar2 value, based on this value, I'll be doing appropriate navigation. But it's giving the following dblink error. However the select statement below works fine in sqlplus. any ideas are appreciated.
    ORA-04054: database link testschema does not exist
    DECLARE
    v_check varchar2(10) := NULL;
    BEGIN
    execute immediate 'select is_valid@testschema(&APP_USER., 10) into v_check from dual';
    END;
    thanks,
    Surya

    First you don't want to use &. anything in sql - use a bind variable and the using clause.
    Second, what if you try creating a view with the dblink in there and call the view? Does that change the error?

  • Data warehouse monitor initial state data synchronization process failed to write state.

    Data Warehouse monitor initial state data synchronization process failed to write state to the Data Warehouse database. Failed to store synchronization process state information in the Data Warehouse database. The operation will be retried.
    Exception 'SqlException': Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    One or more workflows were affected by this. 
    Workflow name: Microsoft.SystemCenter.DataWarehouse.Synchronization.MonitorInitialState
    Instance name: Data Warehouse Synchronization Service
    Instance ID: {0FFB4A13-67B7-244A-4396-B1E6F3EB96E5}
    Management group: SCOM2012R2BIZ
    Could you please help me out of the issue?

    Hi,
    It seems like that you are encountering event 31552, you may check operation manager event logs for more information regarding to this issue.
    There can be many causes of getting this 31552 event, such as:
    A sudden flood (or excessive sustained amounts) of data to the warehouse that is causing aggregations to fail moving forward. 
    The Exchange 2010 MP is imported into an environment with lots of statechanges happening. 
    Excessively large ManagedEntityProperty tables causing maintenance to fail because it cannot be parsed quickly enough in the time allotted.
    Too much data in the warehouse staging tables which was not processed due to an issue and is now too much to be processed at one time.
    Please go through the links below to get more information about troubleshooting this issue:
    The 31552 event, or “why is my data warehouse server consuming so much CPU?”
    http://blogs.technet.com/b/kevinholman/archive/2010/08/30/the-31552-event-or-why-is-my-data-warehouse-server-consuming-so-much-cpu.aspx
    FIX: Failed to store data in the Data Warehouse due to a Exception ‘SqlException': Timeout expired.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Data managers and database objects

    Hi,
    I'm considering replacing our current database interface libraries with OCCI. A couple of questions:
    - Are database objects such as tables and columns accessible as OCCI types eg.
    Table tbl;
    Column col;
    Note: I'm not interested in using Oracle user types at the database level here, unless there is no other way.
    - Is OCI programming also required or is the OCCI conclusive (I know it's built on OCI)?
    Regards,
    Michael

    - Are database objects such as tables and columns accessible as OCCI types
    No. Data types are represented as classes, but to run a query you execute a statement which returns a resultset which you query with functions like getInt(1) or getString(2) which returns an int for column 1 and a string for column 2. OCI style casting of dvoid**'s to objects is not necessary as OCCI gives you the object directly.
    - Is OCI programming also required or is the OCCI conclusive
    I assume you mean comprehensive, in the sense that it exposes the full range of OCI functionality. No, and I don't believe OCCI/OCI interoperability has been implemented yet either (ER 3169746 is still open for this feature), so unlike Pro*C where you can fill in the gaps with OCI code, you are limited to OCCI's limitations (unless you have separate OCCI and OCI parts in the same application, just replacing with OCCI the parts that can be replaced with OCCI).

  • Concurrent Processing

    After starting Apps. and going to the apllication manager I noticed that there is a X under concurrent processing and a tick under the others. Is this X a problem?
    I didn't noticed any errors when running the startup scripts, all the exit stauses was 0. One thing though, when I do a ps - ef | grep FNDLIBR I get 7 lines resembling the follwoing:
    applmgr 1385 1259 0 08:32 ? 00:00:00 FNBLIBR
    applmgr 1388 1259 0 08:32 ? 00:00:00 FNDLIBR
    I am running Linux Red Hat, with apps 11i.5.10.2 and the database is 9.2.0.6
    Any help grateful

    Try to start the concurrent manager with the below steps and post the output /Error displayed on screen
    1.Log in as Applmgr
    2.Execute the environmental file
    3.Navigate to common_top/admin/scripts
    4.Execute the command
    ./adcmctl.sh apps/apps start

  • Concurrent processing status down in OAM

    Hi ,
    From OAM->Applications Dashboard ->Overview
    the status for concurrent processing shows down but infact it is up
    I also checked from OAM->Hosts->view configuration
    whereas here the status for concurrent processing is up.
    thanks all in advance..
    applications version: 11.5.10.2

    Hi,
    Please see if these documents help.
    Note: 405375.1 - OAM Reports 'Internal Concurrent Manager Found Node To Be Down.' When Node is Up
    Note: 419823.1 - OAM: Web Components Status: Shows Down Even When The System Works Fine
    Note: 309271.1 - Web Components Status in OAM Shows All Down Even When the System Works Fine
    Note: 434569.1 - OAM application dashbord shows all the web components with status down whereas they are up
    Note: 287415.1 - Host Status In Application Dashboard Overview Tab Shown As Down in OAM
    Regards,
    Hussein

Maybe you are looking for

  • Code source works fine from console application but not from SharePoint interface

    Hi; Please can you help me to understand why my code below works fine from console application (VS 2010) and not working from interface of my SharePoint collection site : From console application : the subsite is created and I can to open without any

  • Oracle OpenWorld 2010

    All, I will be at Oracle OpenWorld this year. Just wondering if any regular posters on this forum will be there as well? If so, reply to this thread and we can exchange contact info. I will be presenting at the following session: Session ID: S317033

  • BC4J and Info swing in JD3.1

    Hi, I used JDeveloper 3.0 for now and have developed a small Applet using BC4J with infoSwings accessing the application module. When I try to build the same Applet in JDeveloper 3.1 I get an error message when running. The message says: DAC-405: Ses

  • Offline Processing Changes

    Just noticed that the link Collecting credit card details for offline processing in this document is broken. http://helpx.adobe.com/business-catalyst/kb/offline-processing-changes---post.html

  • Again on JEditorPane printing, please help me

    Hi everybody, first of all excuse me if I write again about an already discussed topic, but I still haven't found a good solution for it. I have a JEditorPane that I use to render HTML documents, and I need to be able to print the contents. I then cr