Process waiting messages

I am searching for a way to tell the jre to process all waiting messages in the message queue before continuing.
In Delphi I would use "Application.ProcessMessages".
In Java I have tried to call "SwingUtilities.invokeAndWait(Thread.currentThread());" but this is not allowed, because I call this method in the actionListener (so the current thread is the dispatcher thread)
thanx in advance
martin

Sorry, but that seems not to work.
Here is the complete source code of my testprogramm.
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
class TestFrame2
  extends JFrame
  JComboBox test;
  boolean updatingDisplay = false;
  public TestFrame2()
    setTitle("TestFrame");
    setBackground(Color.gray);
    JPanel pnlMain = new JPanel();
    getContentPane().add(pnlMain);
    test = new JComboBox();   
    test.addItem("");
    test.addItem("i1");
    test.addItem("i2");
    pnlMain.add(test);
    test.addActionListener(new ActionListener()
      public void actionPerformed(ActionEvent p1)
        System.out.println("applicationList event (): "+updatingDisplay);
        System.out.println("applicationList event () si: "+test.getSelectedItem());
        if (test.getSelectedItem() != null)
          if (!updatingDisplay)
            updateDisplay();
  public void updateDisplay()
    updatingDisplay = true;
    ensureLocked();
    test.setSelectedItem(null);
    test.revalidate();
    updatingDisplay = false;
  public void ensureLocked()
    Object[] options = {"OK"}; //"OK"                   
    JOptionPane.showOptionDialog(
        null,
        "tesst",
        "RepGen - Report is not available",
        JOptionPane.OK_OPTION,
        JOptionPane.WARNING_MESSAGE,
        null,
        options,
        options[0]);
  public static void main(String args[])
   try
      UIManager.setLookAndFeel(
         "com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
    catch (Throwable t){};
    TestFrame2 mainFrame = new TestFrame2();
    mainFrame.addWindowListener(
      new WindowAdapter()
        public void windowClosing(WindowEvent e)
          System.exit(0);
    mainFrame.setSize(300, 300);
    mainFrame.setVisible(true);
}Maybe that can help to understand the problem.
cheers, martin

Similar Messages

  • FTP sender adapter wait sometime before processing a message

    Hi,
    I want my FTP sender adapter to wait sometime before processing a message. This is needed in my case since the receiver of the message cannot consume message in, say two seconds, so I would like to configure a "time to wait before processing message" in PI since PI processes all of the files in folder without waiting another poll interval time if more than one exist.
    Is this possible in PI 7.0 sp16? 
    Regards,

    HI Tarik
    BPM is the solution for this problem. If you are not willing to use BPM other solutions are  Adapter module and Scripts
    You can write adapter module and use the threads mechanism. Thread.sleep can help you achieve this but you need to set this properly.
    Another method is Unix script. Let your actual directory be Dir1 and poll PI to Dir2. Use the script to write files from Dir1 to Dir2 one by one and with time gap. This will work for you.
    If you have PI system on Windows i prefer to go with Adapter module.
    Thanks
    Gaurav

  • Want to show a "Please Wait" message while processing

    Hi,
    I'm developing an image-processing tutorial applet where the user selects an image and then sets some parameters before pressing an update button which will run a JPEG compression on the image and show the compressed image.
    The compression takes a few seconds, so I want the program to show an image saying "Please wait" in the position that the compressed image will appear while the compression is done.
    Here is the relevant code:
    public void paint (Graphics g) {
      if (updating) {
        updating = false;
        g.setColor(getBackground ());
        g.fillRect(575, 370, 250, 250); //clear the area where the image will appear
        g.setColor(Color.white);
        g.drawImage(updatingImg, 575, 370, 250, 250, this); //updatingImg just displays a "Please Wait" message
        doImage = true;
      if (doImage) {
        doImage = false;
        //perform the compression to get the new image and then show it
        newImg = imagetest.compressImage(origImg, quantizationMat);          
        g.setColor(getBackground ());
        g.fillRect(575, 370, 250, 250);
        g.setColor(Color.white);
        g.drawImage(newImg, 575, 370, 250, 250, this);
    public void actionPerformed(ActionEvent evt) {
      if (evt.getSource() == update){
        //perform some error checking
        if (errorFound == false){
          updating = true;
          repaint();
    }The problem is that the "Please wait" image never gets shown.. while the compression is carried out that part of the screen remains blank and then the new image is shown.
    Can anyone tell me how to fix this?
    Thanks.

    Never mind, I've figured it out.. needed to put the time consuming code in a new thread.

  • 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

  • How to show/print waiting message when system is serving pdf to browser

    Hi,
    does anybody know how to print/show "please wait for your request to be completed..." message when they try to click GeneratePdf button for example
    they way i do serving pdf to the browser is as below
    response.reset();
    response.setContentLength(contentLength);
    response.setContentType("application/pdf");
    response.setHeader("Content-disposition", "inline; filename=\""System.currentTimeMillis()+".pdf"+ "\"");
    output = new BufferedOutputStream(response.getOutputStream());
    while (contentLength-- > 0) {
    output.write(input.read());
    output.flush();and this is what was written in my popup jsp ( when user click GeneratePdf , the application will process it and at the end serve pdf file to the user using popup window )
    <body> <h1>Please Wait for your request to be completed...........</h1> </body> </html>
    <%
    boolean redirect=false;
    try{
    PdfDispatcher.dispatchApplication(response,session);
    }catch(Throwable t){
    System.out.println("Application Dispatcher Exception ... "+t.getMessage());
    System.out.println("Continue as per normal....");
    redirect = true; // will redirect to other jsp output
    if(redirect){
    //go to other jsp
    }The problem is my message above never got printed to the page ( i guess because the browser thinks that the response has not been completed )
    by the time the response has been completed the whole page will be cover in pdf document
    The reason i want to do this because my user complaining that they see blank page for long time when the system is slow to generate/server pdf to them.
    and it would be better to show some "waiting message" when the system is processing the application and server pdf at the end of the operations.
    anybody know how to workaround this?
    Thanks

    just_a_kid83 wrote:
    does anybody know how to print/show "please wait for your request to be completed..." message when they try to click GeneratePdf button for exampleUse JavaScript+DOM. Add a <div> somewhere in the page where the message should be displayed and put the message and an animated 'loading' gif in it. Hide the <div> using the CSS 'display' property which is set to 'none'. Then add an onclick event to the button/link which downloads the PDF file which gets the <div> element by its ID and set its 'display' property to 'block'.

  • HT201263 in restoring process,"waiting for ipad" is written in itunes after that it get stuck

    in restoring process,"waiting for ipad" is written in itunes after that it get stuck

    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    If you can’t update or restore your iOS device
    http://support.apple.com/kb/ht1808
    iPad Stuck in Recovery Mode after Update
    http://www.transfer-iphone-recovery.com/ipad-stuck-in-recovery-mode-after-update .html
    iOS: Apple logo with progress bar after updating or restoring from backup
    http://support.apple.com/kb/TS3681
     Cheers, Tom

  • OT: How can I manage a "Please Wait" message with this scenario?

    I have a page which allows you to paste in a potentially
    large list of zip
    codes.
    When you submit this page, the list is de-duped, and then
    checked against a
    table of ~22,000 zips for matches.
    Where and how in this process could I bring up a "Please
    Wait" message while
    the transaction is being completed?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================

    > you could also just use the PVII script on body load to
    show the
    > appropriate div - you could change the name in the" with
    the appropriate
    > switch statement.
    Ew. Double ew.
    I'm going to let it ride as is, until someone complains.
    Thanks for the
    neurons, though. Do you need them back? Or I should say, "you
    DO need them
    back"!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "crash" <[email protected]> wrote in message
    news:[email protected]...
    > you could also just use the PVII script on body load to
    show the
    > appropriate div - you could change the name in the" with
    the appropriate
    > switch statement.
    >
    > It's my belief that some of your html elements will be
    able to show while
    > others are still being built. I guess I could be wrong
    on this, but I
    > think practically I'm right (ie, you can see elements on
    my page building
    > before the page is completely done).
    >
    > HTH,
    >
    > Jon
    >
    > "crash" <[email protected]> wrote in message
    > news:[email protected]...
    >> summation:
    >> In your SQL, at the bottom of the statement, you
    should be able to put a
    >> javascript call that will re-structure the
    visibility of the elements
    >> according to the variabels returned by the SQL. One
    page, reloaded once.
    >>
    >> My switch statement got a little convoluted. You
    should be able to just
    >> set one variable, or set one number and go from
    there (ie, if $v=3, hide
    >> other two), but i've not had any coffee or caffinne
    yet.
    >>
    >>
    ===========================================================
    >> Is the code in the third message on this post from
    the originating page?
    >> I took that it was, that it had a form, that form
    reloaded the same page?
    >>
    >> If so, you should be able to put a switch in there:
    >>
    >> switch($stage){
    >> case "upload":
    >> #this should be once the form has been completed
    >> $status=1; //status equal one, two or threee is one
    method you could
    >> use.
    >> break;
    >> case "complete"://you could aalso set a variable for
    each section, i
    >> think the one above is better, but this one made
    more sense right now,
    >> lol.
    >> #show the results,
    >> $resultsState="show";
    >> $formState="hide";
    >> $waitState="hide";
    >> break;
    >> case default:
    >> #empty, or first state, show the form to upload the
    data
    >> $live="form";
    >> break;
    >> }
    >>
    >> then, below:
    >>
    >> <div id="form" class="<?php echo $formState
    ?>">
    >> <form>
    >> whatever
    >> </form>
    >> </div>
    >>
    >> <div id="wait" class="<?php echo $waitState
    ?>">
    >> <img src="img/wait.gif" />
    >> </div>
    >>
    >> <div id="results" class="<?php echo
    $resultsState ?>">
    >> <h1>Results</h1>
    >> <p>stuff here</p>
    >> </div>
    >>
    >>
    >>
    >>
    >>
    >>
    >> "Murray *ACE*"
    <[email protected]> wrote in message
    >> news:[email protected]...
    >>>I can do that. I'm worried about passing the zips
    array (which has been
    >>>exploded from the input) to the process page. How
    would I best do that?
    >>>
    >>> --
    >>> Murray --- ICQ 71997575
    >>> Adobe Community Expert
    >>> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >>> ==================
    >>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>> ==================
    >>>
    >>>
    >>> "crash" <[email protected]> wrote in
    message
    >>> news:[email protected]...
    >>>> THis is how I see the process, I guess I
    might not be following you:
    >>>>
    >>>> 1. User goes to form page, to submit zips.
    >>>> 2. User completes form, hits upload
    >>>> 3. Page refreshes itself, publishes please
    wait message (ie, could you
    >>>> not put an if [form submit] is true, echo
    this image, then begin the
    >>>> sql calculations)
    >>>> 4. As the calculations are finished, toggle
    visibility of image off,
    >>>> toggle div with results on.
    >>>>
    >>>> If that doesn't work, sorry, I completely
    misunderstand and will leave
    >>>> you be.
    >>>>
    >>>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>>> news:[email protected]...
    >>>>> But then there's no opportunity to slam
    the waiting message up
    >>>>> there....
    >>>>>
    >>>>> --
    >>>>> Murray --- ICQ 71997575
    >>>>> Adobe Community Expert
    >>>>> (If you *MUST* email me, don't LAUGH
    when you do so!)
    >>>>> ==================
    >>>>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>>>> ==================
    >>>>>
    >>>>>
    >>>>> "crash" <[email protected]>
    wrote in message
    >>>>>
    news:[email protected]...
    >>>>>> couldn't you just have it reload the
    same page (isn't it anyway?).
    >>>>>>
    >>>>>>
    >>>>>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>>>>>
    news:[email protected]...
    >>>>>>> Thanks, Joe. This troubles my
    mind, either way!
    >>>>>>>
    >>>>>>> --
    >>>>>>> Murray --- ICQ 71997575
    >>>>>>> Adobe Community Expert
    >>>>>>> (If you *MUST* email me, don't
    LAUGH when you do so!)
    >>>>>>> ==================
    >>>>>>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>>>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>>>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM)
    >>>>>>> Technotes
    >>>>>>> ==================
    >>>>>>>
    >>>>>>>
    >>>>>>> "Joe Makowiec"
    <[email protected]> wrote in message
    >>>>>>>
    news:[email protected]...
    >>>>>>>> On 23 Oct 2006 in
    macromedia.dreamweaver.appdev, Murray *ACE*
    >>>>>>>> wrote:
    >>>>>>>>
    >>>>>>>>> LOL - OK, see, I was
    hoping to avoid breaking it into separate
    >>>>>>>>> pages
    >>>>>>>>> like that, but that way
    looks like it'll work....
    >>>>>>>>
    >>>>>>>> You can just re-call the
    page which processes the form data, and
    >>>>>>>> check
    >>>>>>>> whether or not the
    processing has been done:
    >>>>>>>>
    >>>>>>>> <?php
    >>>>>>>> if ($dataWasProcessed) {
    >>>>>>>> echo '<h1>Thank you
    for using Murray's Data Processing</h1>';
    >>>>>>>> } else {
    >>>>>>>> // Code to process form goes
    here
    >>>>>>>> // Code to re-call page with
    $dataWasProcessed set goes here
    >>>>>>>> // How to set that var left
    as an exercise for the reader
    >>>>>>>> }
    >>>>>>>>
    >>>>>>>> Personally, I find that it
    troubles my mind less to do such things
    >>>>>>>> in
    >>>>>>>> separate files.
    >>>>>>>>
    >>>>>>>> --
    >>>>>>>> Joe Makowiec
    >>>>>>>>
    http://makowiec.net/
    >>>>>>>> Email:
    http://makowiec.net/email.php
    >>>>>>>
    >>>>>>>
    >>>>>>
    >>>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • MDB don't process queue messages

    hi I see messages arrived at the correct queue very time i invoke the
              send message client (P2P style)
              But the MDB I wrote does not process the messages, leaving the
              messages stacking up in the queue untouched.
              what could be the problem? any separate settingsrequired?
              regards,
              MDB onMessage() method attached:
              public void onMessage(Message msg) {
              String suserID = "";
              if (msg instanceof StreamMessage) {
              StreamMessage tm = (StreamMessage)msg;
              try {
              suserID = tm.readString();
              VisitLocalHome home =
              (VisitLocalHome)myctx.lookup("xyang.VisitLocalHome");
              home.create(userID);
              catch (JMSException e) {
              e.printStackTrace();
              

    Don't know, but the ejb newsgroup will likely know what the
              ejb message is about.
              yang wrote:
              > Weblogic 7 SP2 + Windows 2K,
              >
              > following above post, I actually found following exception in log file
              > whenever I send a message from a stateless session bean:
              >
              > ####<2003-4-30> <Info> <EJB> <Striker> <pmServer> <ExecuteThread: '5'
              > for queue: 'default'> <kernel identity> <> <010049> <EJB Exception in
              > method: remove: weblogic.ejb20.locks.LockTimedOutException: The lock
              > request from EJB:PmBean with primary key:20004832383336450 timed-out
              > after waiting 0 ms. The transaction or thread requesting the lock
              > was:Thread[ExecuteThread: '5' for queue: 'default',5,Thread Group for
              > Queue: 'default'].>
              >
              > I can't really figure out what it implies. anyone can help?
              

  • Sender Mail Adapter Error: exception caught during processing mail message;

    HI , I am configuring mail to file scenario. Need to read mail content (no need to capture From,TO or Subject details) and create a file with the content in the mail.
    Need to read mails from microsoft outlook. Exchange server has been configured for POP3 protocol.
    Following are the details provoding in sender mail adapter:
    URL: provided url in the format: pop://<server name>
    Authentication method: plain
    provided user credinetions to access mails.
    poll interval - 1min
    content encoding none.
    processing parameters : quality of service-exactly once
    Since there is no need to capture From,TO or Subject details, didn't select the option - use mail package.
    Verified for unread mails in the mail box and made sure that there are few unread mails.
    Also, created data types and other components in IR and completed mapping.
    But after starting sender mail communication channel, getting error "exception caught during processing mail message; java.lang.NullPointerException" in RWB-adapter-communication channel monitoring.
    please let me know what needs to be done to resolve this error.
    Thanks.

    HI Stefan, i tried, but still it is giving same error. Yes, i am able to access outlook mail with the user credentials given in the communication channel to access exchange server.
    I am using message protocol: xipayload . Also since i dont have to capture TO,from,subject details., created data type just with one element of type string, not in the standard format .Does this makes any difference.

  • PI 7.11 process SOAP message  with Attachments failed

    Hello,
    we have a scenario where the sender (3rd-Party) start a sync call via PI to a receiver (SAP BW system).
    The receiver send a response with attachment. SAP processed the message successfully but sender could not processed message because the SOAP header do not have the attribut Content-Transfer-Encoding.
    with this attribut I could tell the sender that the attachments are more then 7bit.
    How to can I set this attribut into the SOAP header in the SAP PI?
    Or have someone an other idee?
    Thanks and regards
    Martin

    Have a look at at MultipartHeaderBean and MessageTransformBean at [http://help.sap.com/saphelp_nwpi711/helpdata/en/cd/5af7c0c994e24fb0d0088443513de2/frameset.htm|http://help.sap.com/saphelp_nwpi711/helpdata/en/cd/5af7c0c994e24fb0d0088443513de2/frameset.htm]
    It talks about content ID, content description, content type, content disposition but it does not mention Content-Transfer-Encoding.
    Regards
    Asif

  • Bug Report: #SQLERRM_TEXT# in Process Error Message

    According to the Online Help for "Process Error Message" #SQLERRM_TEXT# should be replaced by "Text of error message without the error number". But it isn't.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

    I created an after submit PL/SQL process:begin
      raise_application_error(-20000,'custom error text');
    end;In the process error message attribute, I put:
    My error message with #SQLERRM_TEXT# in it.
    I submit the page and see this page:ORA-20000: custom error text
         Error      My error message with custom error text in it.
    OKScott

  • Error while processing audit message

    hi
    I'm running a reconciliation, and throws me the following error .
    please help me
    ERROR,28 Aug 2009 03:50:32,492,[XELLERATE.AUDITOR],Error while processing audit message
    java.lang.NullPointerException
    at com.thortech.xl.audit.engine.AuditEngine.processSingleAudJmsEntry(Unknown Source)
    at com.thortech.xl.audit.engine.AuditEngine.processOfflineNew(Unknown Source)
    at com.thortech.xl.audit.engine.jms.XLAuditMessageHandler.execute(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.AuditMessageHandlerMDB.onMessage(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.RunAsInterceptor.invoke(RunAsInterceptor.java:31)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:347)
    at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:233)
    at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)

    Seems like Article ID: 864906.1
    Cause
    The cause of this problem is, the entries in aud_jms table which were not processed
    after run "Issue Audit Messages Task" schedule task are not complete audit entries.
    Solution
    1. Run the following query.
    select IDENTIFIER from aud_jms where aud_class='UserProfileAuditor'
    IDENTIFIER is the usr_key.
    Save the output of above query into text file. lets say a.txt, the a.txt will looks like........
    a.txt
    122896 122896 122997 122999 122999
    122986
    122997
    2. Delete the all entries (rows ) from aud_jms table
    3. Run the GenerateSnapshot.sh/GenerateSnapshot.bat using following parameter.
    GenerateSnapshot.bat -inputFile E:\OIM9101\XLServer\xellerate\bin\a.txt -missingSnapshots -username xelsysadm -password xelsysadm -numOfThreads 2
    Where E:\OIM9101\XLServer\xellerate\bin\a.txt is the location of text file which is created in Step1.
    4. Run the "Issue Audit Messages Task" schedule task

  • Exception caught during processing mail message

    I am getting the following error in CC monitoring for my sender mail adpater:
    exception caught during processing mail message; java.io.IOException: invalid IMAP status response; not finding * STATUS, but 001I NO The requested item could not be found.
    Please tell me how to resolve ?

    NOw when i changed the protocol from IMap to POP3 the error is
    exception caught during processing mail message[18]; com.sap.aii.af.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/AF_modules/MessageTransformBean caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at AF_modules, the whole lookup name is localejbs/AF_modules/MessageTransformBean.

  • Please wait message when opening form created by Adobe LiveCycle Designer ES 9.0

    Problem
    Please wait message when opening form created by Adobe LiveCycle Designer ES 9.0
    Full message
    Please wait... If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document. You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting  http://www.adobe.com/products/acrobat/readstep2.html. For more assistance with Adobe Reader visit  http://www.adobe.com/support/products/ acrreader.html. Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S
    Actions
    Updated Windows RT 8 to 8.1
    Uninstaled Adobe Reader Touch 1.3 and instaled 2.0 Build 84770
    Additional Information
    The form was created 10 or 11 months ago, and we are pretty sure that we were able to open it a while back
    The same PDF file opens just fine in Windows 8.1 using Adober Reader XI 11,0.06, it is only the app that is affected.
    The document cannot be opened by any other mobile app that we have tried or on another mobile OS (iOS)
    Any ideas?
    Thanks & Regards
    Jim

    The user's assertion is surprising to me, but perhaps I'm missing something important. I thought the correct position was from the conclusion of my earlier post "it can't be done". Adobe state their Reader Touch doesn't support XFA (http://blogs.adobe.com/readermobile/2012/12/13/adobe-reader-for-windows-8-tablets/). Unless (see that blog entry) you changed the type of form.

  • RE: Processing Logged messages in batch mode ?

    Paul,
    One way to findout the log file is to inspect your
    <CentralServer>.log. It should have a line something like..
    Redirecting output to <someDirectory>/forte_ex_26564.log.
    That is the file the the current ftexec is writing to.
    This has worked fine for me.
    Another way is to sort the files by date, and look at the latest
    ones.
    ...I'd love to hear about a better way to do this.
    Ajith Kallambella. M
    Forte Systems Engineer
    International Business Corporation.
    -----Original Message-----
    From: [email protected] [mailto:[email protected]]
    Sent: Monday, March 01, 1999 9:06 AM
    To: Forte-Users (Adresse de messagerie)
    Subject: Processing Logged messages in batch mode ?
    Hi,
    When I launch partitions, they display a whole bunch of 'useful' messages.
    (maybe using 'task.logmgr.putline')
    I'm afraid these traces go directly in the launcher's log file under
    $FORTE_ROOT/log
    As I get control only when the ftexec ends for the next instruction to be
    interpreted,
    how can I figure out which of these log files relates to the ftexec I just
    got executed ?
    (example: "forte_ex_3613.log")
    I found '/output' for node managers, but for single ftexec(s) ?
    (thinking also about re-used ftexec(s))
    Thanks in advance,
    j-paul gabrielli
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Paul,
    One way to findout the log file is to inspect your
    <CentralServer>.log. It should have a line something like..
    Redirecting output to <someDirectory>/forte_ex_26564.log.
    That is the file the the current ftexec is writing to.
    This has worked fine for me.
    Another way is to sort the files by date, and look at the latest
    ones.
    ...I'd love to hear about a better way to do this.
    Ajith Kallambella. M
    Forte Systems Engineer
    International Business Corporation.
    -----Original Message-----
    From: [email protected] [mailto:[email protected]]
    Sent: Monday, March 01, 1999 9:06 AM
    To: Forte-Users (Adresse de messagerie)
    Subject: Processing Logged messages in batch mode ?
    Hi,
    When I launch partitions, they display a whole bunch of 'useful' messages.
    (maybe using 'task.logmgr.putline')
    I'm afraid these traces go directly in the launcher's log file under
    $FORTE_ROOT/log
    As I get control only when the ftexec ends for the next instruction to be
    interpreted,
    how can I figure out which of these log files relates to the ftexec I just
    got executed ?
    (example: "forte_ex_3613.log")
    I found '/output' for node managers, but for single ftexec(s) ?
    (thinking also about re-used ftexec(s))
    Thanks in advance,
    j-paul gabrielli
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Maybe you are looking for

  • Is there any way to prevent web.xml from any change like java class?

    hi all, Is there any way to prevent web.xml from any change after making EAR(WAR)? One can easily make a change in web.xml and redeploy the application to get the result. Now we want to restrict the web.xml as java class for any change after making E

  • I want to add an external hard drive

    My imac is running out of hard drive space.  Can store my itune files on an external hard drive without having to have them on the internal HD of the imac?

  • I want to space between thumb... which is calling by "gallery.xml"

    function callThumbs() {                _root.createEmptyMovieClip("wall",_root.getNextHighestDepth());     wall._x = _root.gallery_x= 0;     wall._y = _root.gallery_y= 340; wall.addEventListener(MouseEvent.CLICK);     var clipLoader = new MovieClipLo

  • How to Snap to a point to measure it and create a line.

    Hello, i'm new to Illustrator and would like to know how to snap to a point. i have a rectangle and would like to measure the exact distance between the edge of the rectangle to the edge of another rectangle. also, how do i create a line, starting wi

  • Software Picks in Windows 8 Store

    Hello, I'm maybe having a very unusual question, any assistance from Toshiba team is much appreciated. As a software developer for Windows 8, I'm looking for a person responsible for Toshiba Picks inside Windows 8 Store. This section is used to highl