For which JMS exceptions do I have to reconnect?
Hi,
I have a plain Java application that listens to a JMS queue on BEA WebLogic 7.0. I would like to automatically reconnect whenever it is necessary, e.g. in case of a restart.
My question: Is it necessary to reconnect whenever an JMS exception is received in the ExceptionListeners of the Connection/Session?
Or in other words: Can/Should I call the reconnect code (close session, close connection, connect again) on all exceptions that I receive in the listeners or are there some exceptions that can/should be ignored, e.g. there was some problem that is signaled to the listeners but the connection/session/queue is still working and reconnecting can be avoided?
If so, how can the "serious" exceptions be determined? By the type (e.g. weblogic.jms.common.LostServerException)?
Of course, I would like to avoid a reconnect, because it seems to be an expensive call.
Thanks for any help,
Peter
I think that except in the cases of multicast pub/sub "DataOverrun" and "SequenceGap" exceptions and applications that throw RuntimeExceptions or Errors from "onMessage()" , exception listeners exceptions are infrequent and, in my experience, pretty much always indicative of a true failure that requires reconnect (machine or server failure).
Unfortunately, I don't think there is a way to distinguish application generated RuntimeExceptions/Errors from other JMS exceptions thrown to onException(). (Best practice, don't allow apps to do this.)
Similar Messages
-
Wy douse the bridge override time to live for individual jms-messages?
Hi, we have a problem with time to live for individual jms-messages.
We have a JMS-bridge (ASYNC) between two wls, one application publish a jms masseage on a jms queue with the QueueSender. When the message i sent we set the time to live for the jms-message.
The bridge then transport the jms message from one wls to the an other. When the message i received on the subscriper side the message time to live is no longer set to the value we specified, the value is now overrided with the default time to live value set on the source ConnectionFactor.
How do prevent the override of the time to live value.
Regards
/JohanHi,
If the target destination is WL 9.0 or higher you can configure the bridge to preserve message properties -- the MBean attribute name is "PreserveMsgProperty".
Alternatively, if source and target destination are WL 9.0 or higher, you can configure WebLogic store-and-forward instead of a bridge.
Finally, if the expiration time is always the same relative to the current time at the point when the bridge forwards the message, you can administratively configure the target destination with a "TimeToLiveOverride" (via the destination configuration itself - not the bridge configuration).
Tom -
My iphone 4 does not make any sound except when i have call. Any sound notification for example whatsapp or email or playing song i could not hear a pip, but when blug the earphone i could hear all sound via earphone, any advise??
Check the Mute switch, which is on the left side of the phone above the volume buttons.
-
My apple is not activating,Asking for Apple ID &p.word, I have entered the apple ID which i was using to download all apps,but it wont work, Now system is saying that your apple Id is wrong, My question is Can there be two apple IDs? My apple ID is my Yahoo mail it self, but not able to log in to Icloud, Can any body guide, Why, I can not.
Hi dip_kinu,
I apologize, I'm a bit unclear on exactly what device you are trying to set up and what is happening when you try to do so. If you are having issues remembering your Apple ID, or feel like you may have set up multiple Apple ID's, you may find the following page helpful:
Apple - My Apple ID: Find your Apple ID
https://iforgot.apple.com/appleid
Regards,
- Brenden -
Help! (please I have a 1GB iPod that's loaded with music for which my computer can no longer find the original files-due to external mass storage crash during recent move. Is there a way to import iPod music back into my iTunes library on computer???
Or If there is any purchased music then you can try to transfer purchases
http://support.apple.com/kb/ht1848
If you're in the US you can reload purchased music
http://support.apple.com/kb/ht2519 -
I spend good money for my iPhone i have the iPhone 5 with the new charger slot which is smaller. I have been through at least 3 charging cords and this is not acceptable to me. i never had a problem with this on my older phone. apple needs to correct this and reimburse me for this cord.
Charging cords are covered by the iPhone warranty or their own warranty
if puchased separately. Take your iPhone and the cords to your local
Apple store for evaluation and possible replacement. -
I just bought a new iMac and now I amtrying to use it as a screen for my Macbook pro, but it don’t have a MiniDisplayPort the new model only have Thunderbolt which my Macbook don’t have. Isthere any way to connect this two mac’s anyway??
Screen sharing setup in 10.5, 10.6 are described by the links by operating system. 10.7 is fairly similar to 10.6.
And if both Macs have Firewire, you can setup a Firewire over IP network for fast communication between machines. Note if you have two different Firewire ports a 6 pin to 9 pin Firewire cable does exist. There are no Firewire to USB cables. -
hello i have started using iphone 5 for which i downloaded my contacts from i clouds i am not able to get name of the person when he is calling for which i have already saved the no. on my contact list i have reseted my phone twice its only showing the names of the person whose no. i have saved it with the country code i am staying in india new delhi pls help me i am fed up not able to get the name of person who is calling
Sir, your Apple ID can be used as an iCloud account as well. They are both the same thing.
You can learn more from --> Set up your Apple ID for iCloud and iTunes - Apple Support -
i have two iphone one is iphone 5 and othere is iphone 4 . can i use same id for both ? And do i have to purchase the application again for iphone 4 which i have buyed for iphone 5.??
You can use the same Apple ID for both phones, you would then be able to use the purchased Apps/Content on both phones without having to pay again.
-
I have attempted to upgrade os4 to os7. At the end, it threw an error that i had to turn off "Find my iphone" on my phone, which seems to be impossible at that stage as i could not access beyond the upgrade screen.
I thin chose to set up as new iphone, but icloud has taken an old expired email address for which i do not know the password. icloud will not recognise my current itunes email and password, so i now have os7 but am unable to restore from my itunes back up.
Desperately need help please... Any help appreciated
ThankyouIf you don't know your password, don't know your security questions and don't have a rescue address or don't receive a reset email, you should contact AppleCare who will initially try to assist you with a reset email or if unsuccessful will pass you to the security team to reset your security questions for you.
If you are in a region that doesn't have international telephone support try contacting Apple through iTunes Store Support. -
I just rented a film using my apple TV and was then asked to enter a code - which I haven't been asked for in long time. I have forgotten the code. Any quick solutions to the problem?
Hello anetsa
It sounds like you have restrictions setup on your Apple TV. If you do not know your passcode to unlock it, then you will need to restore your Apple TV. Check out the articles below for more information about Restrictions as well as restoring your Apple TV.
Apple TV: Understanding Restrictions (parental controls)
http://support.apple.com/kb/HT200198
Apple TV (2nd and 3rd generation): Restoring your Apple TV
http://support.apple.com/kb/HT4367
Regards,
-Norm G. -
I have been using a Lightroom 5 including recent upgrades on my Mac Pro laptop for the past 1 year. This was purchased as an upgrade from Lightroom 4 for which I have a serial number. Today I purchased a new Macbook pro and loaded my Lightroom 5 however it is asking for my serial number which I have misplaced. I am unable to trace my serial number anywhere. I have even checked my adobe membership to locate my serial number but it does not seem to have any record which is strange as I have been using this software for over a year now and the previous versions since 2009. Could someone help me in my predicament.
Contavct Adobe support thru chat:
Serial number and activation chat support (non-CC)
http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC ) -
Following a software update, I can no longer access/authorise music purchased via iTunes from my old Apple ID, which I have not used for 8 years, and no longer have password. Any ideas how I can re-access/recover that music?
Apple ID FAQs > http://support.apple.com/kb/HT5622
-
Hi!! I am a user of i Pod 5g 32GB....I got the same problem for which the solution is given above "
iTunes for Mac reports error -50 when trying to authorize iTunes Store purchases
"....but the thing is that.......in my laptop I have a windows operating system....that is windows 7....so can you explain how to do settings in Windows 4 sameArchived - iTunes for Mac reports error -50 when trying to authorize iTunes Store purchases
Products Affected
iTunes 7 for Mac, iTunes 8 for Mac, iTunes 9 for Mac
This article has been archived and is no longer updated by Apple.
Symptoms
After installing the Mac OS X 10.4.9 Update, iTunes may be unable to properly authorize your computer to play your iTunes Store purchases.
Resolution
The following steps will delete your network preferences. Most broadband connections do not require any special settings to connect, but if your connection does or if you are not sure, please contact your ISP or network administrator for further assistance.
Important: You must be logged in as an Administrator.
Click the Finder icon in the Dock.
Choose Go to Folder from the Go menu.
Type /Library/Preferences/SystemConfiguration
Click Go.
In the Finder window, locate the file named NetworkInterfaces.plist.
Drag this file to the Trash.
Restart the computer.
Once your computer has restarted. You will not be able to connect to the Internet. Now you will need to refresh your network settings to be able to connect again.
Choose System Preferences from the Apple menu.
Choose Network from the View menu.
To refresh your network settings, from the Location pop-up menu, choose New Location.
Type a name for your location and click OK.
Click the Apply Now at the bottom right to accept the changes.
If your network connection requires any special settings, you will need to put them back in at this point. Once you have made these changes you should be able to connect to the Internet again and authorize your computer to play your iTunes Store purchases. -
I have just installed the latest software for the iphone4 - I have retained all the data EXCEPT the Contacts have all disappeared - can I get back ?
Maybe on outlook application if you use it with pc. If not try to restore your iPhone with a old backup from iTunes.
http://support.apple.com/kb/ht1414
Maybe you are looking for
-
Query button in Master/Detail form
Hello All, I created a Master / detail form...looks good for a blind query and for a specific column value... The problem is When the user selects query button ,how do I show records that the logged in user has created. Am already storing username in
-
MySites in read only mode.
Hi, Our Office 365 MySites are in read only mode. I suspect that this could be due to an upgrade, however it has been long and the sites have not returned to edit mode. Is anyone else facing this issue?
-
How to handle optional elements in Simple Transformation
Greetings! I'm working on an ST that needs to be able to serialize an ABAP itab to XML which may or may not contain certain elements depending on the customer to whom the file is being sent. Additionally, we receive a file that uses the same schema
-
Lost SCA and want to modify code ?
Hi, I've read Guenter Schiele's blog on "How to Migrate Developed Software Components to a New Release in NWDI" <a href="/people/guenter.schiele/blog/2007/02/12/how-to-migrate-developed-software-components-to-a-new-release-in-nwdi:///people/guenter.s
-
I couldn't find this thing any where.. Are there any mandatory initialization parameters that must be set to start ASM instance in RAC Database?