Loosing messages after application restart..?

I am relatively new to JMS and face a problem which I don't quite understand. I have an application that works with threads, and receives messages asynchroneously through message listeners.
When I run the thing the first time, everything goes fine. All the messages are received as one should expect. However, when i then run the app a second time, only half or less of the messages are received, the others seem to get "lost".
When I remove and add the queues with the j2eeadmin tool, everything works again - in the first run.
Could anybody tell me, where my mistake might be? I.e., how can I ensure that after every start the application works consistently?
I tried to close all the connections I use, but that didn't really help..
Thanks alot for your help,
Katrin.

I'm sorry to say that we did not. The problem seemed to occur at random; sometimes I could reproduce it locally and other times I could not. I opened a support case and the engineer was unable to reproduce the problem at will, so we had no choice but to close the case and leave it unresolved. There is no doubt in my mind that a problem exists somewhere, but I don't know how to prove it without being able to consistently reproduce the symptoms.
          Our focus has since shifted away from durable subscribers so we are no longer actively monitoring this issue, but every now and then I do take a look at our logs and it seems as though the problem has mysteriously resolved itself over time. I'm not sure if this has anything to do with it, but we have found that a number of problems that used to manifest themselves randomly have disappeared since we started using in-place redeployments rather than production style redeployments.
          Sorry I don't have any answers for you! If you are ever able to get to the bottom of this problem, please post your findings because I would definitely be interested in hearing them. Good luck!
          Regards,
          Sabrina

Similar Messages

  • How to keep the latest log message after jboss restarted

    I am using time/date based rolling appender for the jboss log. but I found the server.log file will be updated with new log message after I restart the jboss server. therefore all of the message before jboss restarting are gone. is that a way I can keep the lasted log message that is just before jboss restart.
    Thanks.

    Don't know about any jboss options, you could always create a bat or sh file that renames the existing log before starting jboss.

  • Macbook Pro....what would cause it to turn the screen black and restart on its own. Message after it restarts says restarted due to problems.

    Macbook Pro...my screen goes black and it restarts itself. The message after it restarts says "restart due to problems" Any ideas what I should do or look for? It randomly happens and is becomeing more frequent.

    kernel panic http://support.apple.com/kb/ts3742

  • Cisco 2611 loosing configuration after router restart

    Hello,
    I have a router at a customer that looses its configuration after a restart.
    I of course made a write mem, and it looks like this has been before.
    Is there anything to check (hard/soft) befoire changing the router?
    thanks in advance
    Pierre Barrat

    Check to see the configuration register value. You can do that by issuing the command 'show version'. At the bottom of the output of the command you will see the config-register value. Under normal circumstances this value should be 0x2102. If you see something like 0x2142 it means that the router is going to ignore the start-up configuration.
    If the config-register value is indeed incorrect then you need to change it to 0x2102 by:
    Router# copy start run
    Router# config t
    Router(config)# config-register 0x2102
    Router(config)# exit
    Router# wr mem
    Router# reload
    After the reload it should come up with the right config; that is if the problem was indeed with the configuration register.

  • JMS Queue loosing messages on Server restart

    Hi ,
    We are having a problem with a queue that is loosing pending messages if the server is restarted.
    We have following setup of Oracle Weblogic version 9.2 mp1.
    The JMS Server is backed up by a DB based persistent store.we are having a message driven bean that process the message in the queue asynchronously.
    the message that is delivered to the queue has Delivery Mode 'persistent'
    and the mdb using transactionType=MessageDriven.MessageDrivenTransactionType.CONTAINER.
    What is strange that we are loosing pending message in the queue , when server is restarted .even checking in the xxx'_WLSSTORE table in db i can see the message
    was persisted.
    If anyone of you have seen this situation kindly let me know.
    thanks in advance.
    Rgds
    roy

    You can follow this article to troubleshoot pending message issues.
    http://weblogic-wonders.com/weblogic/2011/01/10/working-with-jms-and-the-standard-issues-in-jms/
    -Faisal

  • Forte 30N2 : Message duration SO restart after a crash issue

    In our application, the batch processes are based on a 'Controller-Processor' pattern. A controller starts many processor tasks as parallel processes.
    The problem is that our Controller process crashed. However, by that time, many processor processes had already been started by it. These processor tasks were not terminated when the controller crashed.
    Since the controller process is of Message Duration, it 'restarted' automatically after the crash. With this new start, all the processor tasks were started again and therefore were executed twice.
    Now we are looking for a way to terminate the processors automatically if the controller crashes. Is there a way to do this in Forte or do we have to code this explicitly ?
    If not, we can stop start of a processor if it is already executing. But then, how do we get a notification of completion of a previous execution ?
    Any ideas will be appreciated.
    Please let me know if the problem description is not clear.
    Thanks and regards.
    Deepak

    "Since the controller process is of Message Duration, it 'restarted' automatically after the crash" --NO,  the controller was re-started automatically because Forte allways tries to re-execute the method of a SO marked to have Dialog Duration=Message. Apart of that, the SO will be re-started ONLY if the Forte Autostart feature has been enbled in your Forte Environment, otherwise it won't re-start.
    Your problem is more an architectural issue than a Forte one. The children tasks can not notify their parent about a problem (ussually by reporting an exception event) because they were started in a different partition and Forte have partition boundaries when handling the multi-threading for tasks executed in cascade. (Task1-->Task2-->Task3).
    Even if your children tasks can report an exception event to the parent SO, there is still a timming issue: While re-starting the controller a children task can report an exception event, but it wont be listened since the controller is still re-starting.
    Hope this helps..

  • I keep getting this message after closing Firefox and attempt to reopen-Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    I keep getting this message after closing Firefox and attempt to reopen-Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

    See:
    * http://kb.mozillazine.org/Recovering_a_missing_profile
    * http://kb.mozillazine.org/Profile_in_use

  • Receive message after importing serveral songs from CD into iTunes (latest ver 11.1.5.5)... "Error occurred while converting the file 'songname'.  The required folder cannot be found."  CD/DVD ROM is no longer recognized until restart.

    Consistently receive the following message after importing serveral songs from CD into iTunes (latest ver 11.1.5.5)...
    "Error occurred while converting the file 'songname'.  The required folder cannot be found." 
    CD/DVD ROM is no longer recognized until computer is restarted.

    I have the same problem.  I recently moved my music from a Vista PC to a new Laptop with an external CD drive. It will copy one song from the CD and it will show in the Music file and then I get the message ' Error importing a CD - Folder not found'.  I must unplug the CD drive and plug it back in.  I have seen no fix for this problem.

  • Cannot install trial for Adobe Acrobat XI Pro on my computer - After I select download, I receive this message: This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance.

    Cannot install trial for Adobe Acrobat XI Pro on my computer - After I select download, I receive this message: This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance. Have tried doing so from multiple browsers.
    Please let me know how to download the trial version.
    Thank you.

    Try downloading Acrobat Pro XI using below link. Then try to installing it once again.
    Download Acrobat products | Standard, Pro | XI, X

  • I've installed itunes twice. It worked the first time but after I restarted my computer it kept giving me this message: Itunes was not correctly installed. Please reinstall itunes. Error 7 (Windows error 127). What's wrong?

    I've installed itunes twice. It worked the first time but after I restarted my computer it kept giving me this message: Itunes was not correctly installed. Please reinstall itunes. Error 7 (Windows error 127). What's wrong?

    See the second box in Troubleshooting issues with iTunes for Windows updates.
    tt2

  • JMS Messages lost after server restart

    Hi All,
    We have an environment where Oracle SOA 11g is configured to use Weblogic JMS (Database persistence). The JDBC stores have been created to hold the persistent JMS messages. However we have observed that after server restart the messages are getting lost from the queue (non consumed messages as well).
    Is there any configuration which we are missing?
    Regards
    Subhankar

    Hello Subhankar,
    Which Weblogic version are you using? What are the configuration parameters of the JMS queue you defined? During server shutdown/restart, do you see any errors in the server log?
    I would suggest you to raise a case with support as it may require an inspection of your environment and settings to find out the root cause.
    Regards,
    Anuj

  • Application crash on showing alert message after closing document in CS5

    My application crashes when I show alert message after  standard close using IDocFileHandler's close method i.e
    Close( doc, uiFlags, allowCancel, cmdMode );
    Before calling this method there is no crash on showing alert messages.
    i.e just one line before Close() method is called I am able to show alert message. And just one line after close method call , after showing alert message when I  click on OK button of alert message  my application crashes.
    I tried to use errorcode but returned value was fine i.e no error.(Checked GlobalErrorCode and GlobalErrorString before and after close).
    I also tried CanClose method to check but it worked fine.
    I also used IDocumentCommand methods but application crashed without showing  alert message.

    I used PMSetGlobalErrorCode(kCancel) after closing document and it worked.

  • Par application - Trace level=all after j2ee restart

    Hello,
    I'm not sure that is the right place to post this question so, don't hesitate to root me to another thread.
    We use the SAP Enterprise Portal EP6 base on NW2004 SPS16.
    We have developped some Portal Application. (par). Those applications contain a logger.xml file to describe the trace settings.
    In visual Admin\Log configurator, we define the trace level to "Error" for those applications nodes. But, after application deployment, or after j2ee engine restart, the trace level level is automaticaly set to "All". It only appens to our applications and not to other WAS traces.
    I think problem is due to the logger.xml but, after lookup on a lot of thread, it seems we use it in the good way.
    <u>eg:</u>
    <Server>
    <Logger       name="corp.mycompany.application.myApplicationName.logger"
                  loggerInterface="com.sapportals.portal.prt.logger.ILogger"
                  locationName="corp.mycompany.application.myApplicationName"
                  pattern="%d # %20t %15s %m #"
                       isActive="true">
         <LoggerClass className="com.sapportals.portal.prt.logger.SimpleFileLogger" level="Error">
         </LoggerClass>
    </Logger>
    </Server>
    Did we miss something ? Do we manage our traces in thge good way ?
    Please advice.
    Thanks for your support
    Laurent

    Laurent,
    Do have a look at this<a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1794">weblog</a>
    check  this
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5f04b290-0201-0010-1387-d2df53065422">pdf</a>
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/e2/75a74046033913e10000000a155106/frameset.htm">Active Tracing</a>
    Are all the configurations nd settings done are accordingly?
    Thanks,
    Swathi

  • Launching LR4 after a restart gives the error message "Lightroom encountered an error reading from its preview cache and needs to close" no fix on re

    launching LR4 after a restart gives the error message "Lightroom encountered an error reading from its preview cache and needs to close" no fix on restart

    Delete your preview cache, it is a folder whose name ends with Previews.LRDATA

  • After installing Mountain Lion my MS Word created this message: PowerPC applications are no longer supported.  Are all my documents lost?

    After installing Mountain Lion my MS Word created this message: PowerPC applications are no longer supported.  Are all my documents lost?

    pastis51 wrote:
      will it convert my documents from iCloud?
    What do you mean by this exactly?

Maybe you are looking for

  • Animated GIF - not working properly

    Hi, I'm trying to get an animated GIF working in my swing program. I am drawing on a JPanel using paintComponent. Here's the thing: It will animate, (faster then it should) and then pause animation for 5 seconds, then animate again. I am trying to ac

  • LabVIEW Run Time Engine and ActiveX Automation Server

    Hi, I have a question related to LabVIEW Run Time Engine and ActiveX Automation Server: We have a tool developed in LabVIEW and TestStand. End user interface is a LabVIEW GUI (it's an executable) which executes TestStand sequences. Some TestStand seq

  • Contacts backup in Win 8.1

    I went to backup my iPhone on my Netbook that has  Windows 8.1.  I happened to notice that it wasn't backing up my contacts because it appears I don't have Outlook or any other Mail program. This Netbook is "Authorized" with my laptop (Win 7 and my d

  • White BlackBerry Z30? When will it be available?

    Just as described in the Subject, when will the "WHITE" BlackBerry Z30 be available in Canada? From BELL, Rogers and/or Telus? Thank You, 

  • Price Date Control in PO

    Hi, I have maintained info.rec. with following price for different validity periods: 29/10/2008 to 29/10/2008 -- Rs.19 30/10/2008 to 30/10/2008 -- Rs.29 31/10/2008 to 31/10/2008 -- Rs.39 01/11/2008 to 01/11/2008 -- Rs.49 I have created 6 PO line item