How can a JMS Listener Notified get when a Topic Server Goes Down?

I'm in the process of looking into pub/sub model for a centeralized data source where vertical applications subscribe to a topic to get updates on person demographic information.
          I was playing with the JMS topic examples and noticed that when I have a Durable Subscriber listener (java main) and the topic Server goes down. It never gets notified. When I restart the Topic server and send msgs to the topic, the Durable Listener doesn't get them.
          Once I restart the Durable Listener (java main), it receives all the messages that were pending.
          I implemented the ExceptionListener and it never gets a shutdown msg either. I shutdown the Topic server via Ctrl-C, Graceful Shutdown and Forced Shutdown.
          Is there a way for the client listener to determine when the Topic Server went down, came backup, and restore the connection to it automatically? Or do we have to implement some type of ping mechanism on the client listener and re-create the connection ourselves?
          Thanks. Later...
          - Wayne
          Edited by wlau1000 at 03/07/2007 8:34 AM

Hi Wayne,
          I think the exception listener should have fired. Some comments/questions:
          - Does your app call "connection.setExceptionListener" in addition to implementing ExceptionListener?
          - Which version and maintenance/service pack are you using?
          - Is the client using the wl* "thin" client jars or the "thick" client jar?
          - Version 9.2 provides an automatic reconnection capability for consumers. This behavior isn't enabled by default due to natural side effects that some apps might not be prepared to handle (needles to say, I recommend reading the doc thoroughly).
          http://edocs.bea.com/wls/docs92/jms/recover.html#wp1320125
          Tom

Similar Messages

  • How can I visit the performance tab when the target DB is down?

    Hi, All:
    I wonder if it is possible to visit the performance tab when the target DB is down. I thought it should be possible. But whenever I first click the performance tab, I will be asked to enter the user/passwd for the target db(I have set the preferred credentials).
    Furthermore, is it possible to analyze the history sql/performance if the target db is not startup? and how can I do it?
    Thanks in advance

    I have seen other postings by the same ID and my suggestion is that you have a look at the Enterprise Manager Documentation Library. After that, you can ask questions relating to subjects you cannot solve with the documentations.
    http://www.oracle.com/pls/db102/portal.portal_db?selected=21

  • I have an Iphone 4S, when I am on the phone and I get a new message my phone vibrates and rings. How can I stop this from happening when I am on the phone

    I have an Iphone $S, when I am on the phone and I get a new message my phone vibrates and rings, How can I stop this from happneing when I am on the phone

    Flip the Ring/Silent switch. Make sure Vibrate when silent is off in Settings>Sound.

  • Question when I log into Firefox, the screen scrolls down and I have to use the side-bar to go back up to type my query into the 'search' window. How can I stop that and get Firefox to start with the 'search' window accessible? With thanks, Peter

    Question
    when I log into Firefox, the screen scrolls down and I have to use the side-bar to go back up to type my query into the 'search' window. How can I stop that and get Firefox to start with the 'search' window accessible? With thanks, Peter

    See this. <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • When I log into Firefox, the screen scrolls down and I have to use the side-bar to go back up to type my query into the 'search' window. How can I stop that and get Firefox to start with the 'search' window accessible? With thanks, Peter

    Question
    When I log into Firefox, the screen scrolls down and I have to use the side-bar to go back up to type my query into the 'search' window. How can I stop that and get Firefox to start with the 'search' window accessible? With thanks, Peter

    See this. <br />
    https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit

  • How can i do with labview program,when i have 20 different values,and 1 want to add it with constant value.and how to get the results?

    how can i do with labview program,when i have   20 different values,and 1 want to add it with constant value.and how to get the results?

    Why do the 20 values have to be different? The same code should work even if some are equal.
    What do you mean by "get the result"? The result is available at the output terminal and all you need is a wire to get it where you need it. That could be an indicator, another operation, or even a hardware device.
    What is the data type of the 20 values? An array? A cluster? A bunch of scalars? A waveform? Dynamic data?
    LabVIEW Champion . Do more with less code and in less time .

  • HT1689 how can I change my security questions when I can't seem to get them typed correctly to get to that area?

    how can I change my security questions when I can't seem to get them typed correctly to get to that area?

    https://iforgot.apple.com. If you can't resolve it yourself there contact Apple Account Security at http://support.apple.com/kb/HT5699

  • How can i hide my extension number when i make outgoing calls

    Hi All,
    How can i hide my extension number when i make outgoing calls,what configuration should i make on the call manager server.
    Regards,
    Lester

    We use a Route Pattern that mimics the telco feature *67. The RP is *679.xxxxxxx with a Transformation mask of 000000000 (just to get beyond the individual blocking on some private lines.

  • How can I fix the crop? When I crop my photos and click okay, the layer no longer shows the resulting photo -- just a dark gray background.

    Can anyone help me to resolve my cropping issue? I have either hit a key I wasn't supposed to hit accidentally, or the software needs to be fixed or reset.  And if I reset or reinstall the software (Photoshop Elements 10 + Organizer), will all my categorized photos in the Organizer be lost with the new installation?
    I have three screen shots to help show my problem.
    The first one is the page before I make any cropping edits:
    This next one shows the beginning of making the crop, before clicking the green check mark to accept the crop. Notice the photos are still intact and visible in the layers:
    And when I accept the crop (by clicking the green checkmark), below is the view of my resulting new layers (the photo is no longer there):
    As you know, what I should see is the resulting, cropped photo in both layers -- not a grayed-out set of boxes.
    How can I fix this to get the crop feature to work again?
    Thanks in advance for your help!
    Gordi

    Click this little triangle and choose Reset Tool from the popout menu:

  • How can I populate a date field when document is signed?

    I have 4 digital signature fields in a PDF form.  Next to each signature field is a date field (m/d/yyyy format).  I would like it so when the user signs the signature box that the date field next to it populates with todays date, then changes to read only (so it cannot be altered).
    In Adobe Acrobat Pro 9 I have this form and it has the following fields
    Signature1
    Signature2
    Signature3
    Signature4
    DateField1
    DateField2
    DateField3
    DateField4
    The Signature fields trigger a Topaz.GemSignPlus driver where the end user will be signing on an electronic signature pad.
    How can I use Javascript to detect when one of those Signature fields is populated and then fill in the date to the approrpiate date field?  I tried creating boolean variables initialized as false for each sig field.  Then when the signature is done I try to change it to true, but for whatever reason my javascript detecting the value doesn't do anything.
    I've searched the net endlessly for this solution.  I can't believe I'm having such a hard time finding an answer.  I mean how many places do you go where they ask you to "Sign and date here".  Every signature based document I've ever seen also requires a date.
    Anyway here's what I have.  In Document JavaScript functions I have a script name called populate date:
    function populatedate()
    var bSignature1 = new Boolean();
    var bSignature2 = new Boolean();
    var bSignature3 = new Boolean();
    var bSignature4 = new Boolean();
    if (bSignature1) {
        DateField1.value = util.printd ("m/d/yyyy", new Date());
    if (bSignature2) {
        DateField2.value = util.printd ("m/d/yyyy", new Date());
    if (bSignature3) {
        DateField3.value = util.printd ("m/d/yyyy", new Date());
    if (bSignature4) {
        DateField4.value = util.printd ("m/d/yyyy", new Date());
    In each signature field I have under the Signed tab "This script executes when field is signed:
    var bSignature1 = new Boolean(true);
    I'm trying to change it to true see.  My thinking is if its true than DateField1.value should print the m/d/yyyy in it from the built in Date() function.
    But maybe I am not getting this context correct.  I am new to Javascript in Adobe.

    It's quite a round-about script... Why not simply use the signature signing script to set the value of the date field? The correct syntax for that is:
    this.getField("DateField1").value = util.printd ("m/d/yyyy", new Date());

  • Iphone has been in recovery mode for 4 hours and hasn't come back to the home screen and how can i fix this and get it back to working order?

    iphone has been in recovery mode for 4 hours and hasn't come back to the home screen and how can i fix this and get it back to working order?
    the iphone 4S has been in recovery mode for a long time and i have tried to press and hold the power and home buttons until the apple symbols comes on the screen again but it stay on the screen until the screen turns off and doesn't come back on to the home screen and have tried to sync with mac and doesn't do anything it does display the itunes and cable icons for a while but then goes back to the apple symbol and doers nothing what can I do to fix this  and not loose what is on the phone at all?

    Hi, simonRM.  
    Thank you for visiting Apple Support Communities. 
    I understand that you are unable to restore your iPhone.  Here are the best troubleshooting resources to start with when not being able to update or restore your iPhone.
    If you can't update or restore your iPhone, iPad, or iPod touch
    Resolve iOS update and restore errors in iTunes
    -Jason H.  

  • I just updated to ios5 but now can't sync because it's telling me my "other" section in the overview has grown to 10.2gig?!  What does that "other" section in the overview include and how can I reduce it to get my phone to sync??

    I just updated to ios5 but now can't sync because it's telling me my "other" section in the overview has grown to 10.2gig?!  What does that "other" section in the overview include and how can I reduce it to get my phone to sync??

    Thanks for the help.  The restore seems to have solved the problem.  I had a bit of a panic attack when things started going haywire and the Apple 'Support' told me to call back during business hours! 

  • How can I show additional tab rows when using many open tabs?

    How can I show additional tab rows when using many open tabs?

    What method (code) did you use to get the Tab bar displaying in the space used for the Navigation Toolbar (location bar)?
    The Tab bar should be displayed above the Navigation Toolbar.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • HT5105 How can you do picture in picture when you are working with a Multicam clip?

    How can you do picture in picture when you are working with a Multicam clip?

    Im doing a drumming music video and with the multi cam clip all the angles are nicely sync'd top the audio.
    Problem is if i want to have 3 angles on top of the main shot, im gonna have to re-sync them all to get them to line up manually. If i could use the multi cam clip they will already be aligned
    Thanks for trying to help appreciate, hoping someone has some multiclip knowledge and will be able to tell me if yay or nay.

  • What is this message, and how can i fix that problem? when i want to update or restore my cell, this message is coming: (An unknown error occurred (1480))

    What is this message, and how can i fix that problem? when i want to update or restore my cell, this message is coming: (An unknown error occurred (1480))

    I am getting the same error message. Have you figured it out?

Maybe you are looking for

  • Print Booklet: Cannot choose Adobe PDF as printer

    Hello there! I used to be able to choose "Adobe PDF" as the printer when I export my document through Print Booklet. For some reason, selecting "Adobe PDF" is no longer available. Does anyone know how I can get this option back? I believe it disappea

  • Email shows off line while connected to wifi

    Hi Apple land I still have this issue When I am at home, connected to my wifi my emails work When I am at my office, connected to my wifi then all emails go offline, I have tried to take them online with no joy, I am conectec to my wifi as Safari wor

  • HR Triggers Field Mapping screen hangs

    Hi, We are on Access Control 5.3 and I am trying to configure HR Triggers. When I click on HR Triger -> Field Mapping on the configuration tab it just hangs. Anybody have an idea why? Regards, Mo

  • Cant connect on imessage though my ipod touch

    I just got the new ipod touch today, and im trying to use imessage and for some reason it wont sign me in. Everytime i put in my password and push next it says signing in .. and then it says check network connection. im using wifi and my connection i

  • Photo Downloader from CD/DVD-ROM?

    A few years ago I backed up my old RAW files onto CD's and DVD's. Now, I'd like to convert them to DNG and copy them to my server's hard drives. I was hoping to be able to use the Photo Downloader to accomplish this, by using the same workflow I use