What is the right behaviour when jms server is down

Hi,
several jms implementation behave differently while trying to connect to the jms server which is not available or when the jms server is suddenly down in the middle.
For example:
iBus Mobile - handles reconnections internally, doesn't throw exceptions. I can only know that i am in the disconnected mode from ExceptionListener.
ActiveMQ and openJMS throw exceptions when they can not connect to the jms provider or when the provider is lost in the middle
Sun MQ has "number of reconnection" parameter which internally tries to reconnect "number" times and after that he throws exception.
While the initial connection failure i can handle in while loop , busy waiting for successful connection, i can not handle the later case, when connection is lost in the middle.
I thought that seemless reconnection is part of jms implementation.
Our application requires smooth working even when there is no connection to jms.
How to handle this issue? I think the behaviour of the most jms described is not so logical in terms of jms requirement.
Slava.

SwiftMq is a commercial product, also it also throws
exception when the broker is not running. Yes, it is a commercial product and high quality. But transparent reconnect is disabled by default in SwiftMQ Router Standard (it is enabled by default in SwiftMQ High Availability Router), hence you get an exception. So always check the docs before you suggest wrong behavior.
To enable transparent reconnect, check these links:
http://www.swiftmq.com/products/router/swiftlets/sys_jndi/introduction/index.html
("JNDI Provider URL" to enabled transparent reconnect for JNDI)
http://www.swiftmq.com/products/router/swiftlets/sys_jms/clients/remote/reconnect/index.html
Since this is a general JMS forum, you might use the SwiftMQ forum if you have specific questions:
http://www.nabble.com/SwiftMQ-JMS-Forum-f15660.html
But keep in mind that SwiftMQ costs money. It is not for free.
I think only iBus is the one who implements
transparent connection and reconnection for 100%Haven't heard from them a couple of years. Are their business still operating? At least their message server wasn't updated since a couple of years.
-- Andreas

Similar Messages

  • Cannot connect to the configuration database when App Server is down

    Hi, 
    We had a App Server not come up after a restart.
    When trying to access a site we get
    the "Cannot connect to the configuration database"
    We have now started the App Server and everything working again...
    My problem, there are 2 WFE servers with NLB Configured apart of the App Server ....Why wont the site work and why cant i connect to config DB?
    Something must be misconfigured? Sites should be connecting to the WFE servers and work if App server is down.
    Yes, NLB Points to the WFE Servers.
    Any ideas where i can look? This is a Project PWA Server, not sure if that will make a difference but the root SharePoint site had the same issue.
    Thanks

    Hi Danie,
    is it possible that the SQL Server is running on the same box as the SharePoint (application) server? This would be the only thing that can explain the symptoms. Please check following:
    IP address of the SharePoint Application server by typing nslookup AppServerName on the SharePoint WFE in Command Prompt (cmd.exe). Replace
    AppServerName with the FQDN of the application server, e.g. appserver.domain.local
    IP address of the SQL server by typing nslookup SQLServerName on the SharePoint WFE in Command Prompt (cmd.exe). Replace
    SQLServerName with the FQDN of the SQL server, e.g. sqlserver.domain.local
    SQL Server alias configuration by checking the entries in the cliconfg.exe on both SharePoint WFEs
    In most cases, SQL server has nothing to do with the SharePoint Application server role and it is stored on the separate box. My guess here is that the farm started as one-server farm setup and over the time got expanded by additional 2 WFEs, moving
    Web Server roles from the initial server, leaving it with the application role (service applications) and SQL server on the same box.
    But, I am just making an educated guess here. Can you provide some additional information?
    Hth,
    Aleks

  • What is the right way to connect the adapter to my macbook when charging?

    what is the right way to connect the adapter to my macbook when charging.
    is it connect the magsafe connector first before plugging the adapter to the outlet? or the way around? or both ways will do?
    what if i'm using a surge protection with a on/off button, can I just turn the surge protector extension on and off without disconnecting the magsafe connector and adapter plug from my laptop when i'm not using it?
    thank you very much

    If there is any arcing it may be because the adapter is dirty. It is best to plug in the wall wart then attach the magsafe to the MacBook. As GfulDedFan mentioned this reduces the chance of power surging the MacBook. I have done mine this way since he day I bought it and have never had an arc. I keep it clean to reduce the chance of this happening. The following will help in the care of your supply.
    Apple: Use and cleaning of MagSafe power connector

  • What is the impact on an Exchange server when moving FSMO role and schema master into another DC?

    What is the impact on an Exchange server when moving FSMO role and schema master into another DC? What do we have to do on exchange after performing a such task?
    I had 1 DC (Windows server 2008 R2), 1 Exchange 2010 SP3. I install a new DC (Windows server 2008 R2). I then move all the FSMO role including the schema master role into the NEW DC. I check to be sure that the new DC is a GC as well.
    I shutdown the old DC and my Exchange server was not working properly and specially Exchange Management Shell. It start working again after I turn up the older DC.
    I am wondering why Exchange did not recognize the new DC, even after moving all the roles on it.
    I am looking to hearing from you guys.
    Thanks a lot

    if you only have 1 DC, you might need to cycle the AD Topology service after shutting the one down.
    Also, take a look in the windows logs, there should be an event where Exchange goes to discover Domain Controllers, make sure both are listed there.  You can probably force that by cycling AD topology (this will take all services down so be careful
    when you do it)
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread

  • What is the right way to set the physical path of a folder?

    I want to upload .PDF files using an Upload form on a JSP page which is located on the App Server. The .PDF files will be uploaded into the Web Server. The App Server and Web Server are on separate machines. My JSP page contains the path (eg: /apps/Server4/docs/Upload/) that should point to the physical folder on the Web Server. My problem is that I get an error stating that the folder cannot be found as the path was invalid. My question is, when I have this sort of setup, what is the right form of the physical path? Can you give me an example of a path that points from the App Server to the Web Server which sits on another machine. OR should I just install the Web Server in the same machine as
    the App Server? I was developing on a setup where both the Apps and Web Server was on the same machine
    and I didn't have this 'path problem'. The problem arise when the application was deployed onto our staging server. Why do I want to upload it onto the Web Server? This is because I need to view the .PDF files using Acrobat Reader straight from the server without downloading the .PDF file. I found out I couldn't do this if the .PDF files were uploaded into a folder which sits in the App Server.

    Well the problem is, as you have found out, is that the JVM is executing on the appserver which may or may not have access to the webserver. There no way (within your existing application) that you can tell the webserver to save the file, since the webserver isn't executing any code.
    So you have several options:
    1. You can have the application server and webserver run on the same physical machine. This obviously gives the application server access to the physical directory structure of the webserver. (Assuming that you set permissions correctly.) The disadvantage is that there are many architectural advantages (including security) that you would want to separate your webserver and appserver.
    2. You can NFS mount the webserver directory on the appsever box. This allows you to treat the webserver directory as if it was local. The downside to this is that you will have additional security concerns. (Exposing the webserver via NFS, firewall issues between the two servers etc.)
    3. Fix the MIME problem occuring when you serve PDF's from the appserver. You might have to write your own PDF serving servlet to do this.

  • If the JMS server is down......

    If the JMS Server is down when the java application client is sending a message to the server, how can I save this message in order to send it when the server has restarted?
    If you have some good solutions, please tell me and we can discuss them! Thanks......

    Your solution depends a lot on the JMS provider you're using. Some providers support clustering, such that your client will transparently send to which ever server in the cluster is available. However, clustering in a messaging system typically has different semantics than what you might be used to (or expect). You need to carefully study your provider's documentation to see if it fits your requirements.
    Your provider might also support message routing. Then you can use a local server, which resides on the same machine as your client. The local server will forward to a remote server when ever that server is available. This is basically store and forward. Some providers allow you to start the server in-process with the client, so you get store and forward where's it's guaranteed that if the client is up so is the server.
    - Bjarne.

  • What are the right names for the 2 OHS?

    Hi,
    Currently we have 2 options for an HTTP Web Server for APEX:
    - An Oracle HTTP Server (OHS) from the database companion CD.
    - An Oracle HTTP Server (OHS) from the Oracle Application Server.
    The first OHS is based on Apache 1.3.x and the second on Apache 2.0.x.
    What are the right way to reference them so people know what your are talking about? In the manuals they are just called OHS but since they are not the same I would like to distinguish them some way. What do you call them?
    Regards Pete

    OK now I think got it:
    OHS from the database companion CD and from the Application Server are both based on an Apache 1.3.x HTTP server.
    On the Oracle Application Server companion CD is an OHS based on an Apache 2.0.x HTTP server. This release does not contain the mod_plsql module an can therefor not be used for APEX.
    Regards Pete

  • What is the right way to move a directory to another drive?

    When I move a directory to another location using drag and drop in the Elements 11 Organizer folder tree most, if not all, of the images become unlinked. What is the right way to move a directory and have the image paths updated in the Organizer database? Thanks.

    Bazsl wrote:
    When I move a directory to another location using drag and drop in the Elements 11 Organizer folder tree most, if not all, of the images become unlinked. What is the right way to move a directory and have the image paths updated in the Organizer database? Thanks.
    That's something I just did successfully one hour ago...
    I suppose your are in the 'folder' view with full folder tree, not in the 'My folder' view which only shows the lower subfolder level recorded in the database.
    Do you try to move a folder with its subfolders ?

  • What's the right way to add a swipe handler to a DataGrid?

    H All:
    What’s the right way to add a swipe handler to a DataGrid?
    (Target = Android, AIR using Flash IDE)
    Adding a handler to the DataGrid works; but (as expected) it only works on  the datagrid itself. Like if you swipe on the background before rows are fully  added. Adding columns over the datagrid, prevents the datagrids’ swipe handler  from firing.
    Trying to add a swipe hander to the columns themselves, results in the  below error.
    //  Below code fails with
    //  1061: Call to a possibly undefined method addEventListener through a reference with static type
    //   fl.controls.dataGridClasses:DataGridColumn.  So ... DataGridColumn doesn’t support addEventListener...
    There must be a better way(?).
    Thanks
                import fl.controls.DataGrid;
                import fl.controls.dataGridClasses.DataGridColumn;
               // Works, but only on the grid itself; as when the rows do not  fill the space tor the datagrid.
                myDataGrid.addEventListener  (TransformGestureEvent.GESTURE_SWIPE, swipeGridHandler);
                var c1:DataGridColumn = new DataGridColumn("Notes"); 
                c1.width = 90;
                c1.cellRenderer = CenterAlignCell;
                c1.addEventListener (TransformGestureEvent.GESTURE_SWIPE,  swipeGridHandler);

    Adobe list of properties and methods:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/dataGridCla sses/DataGridColumn.html

  • What is the right  way to display a table in Java web dynpro using a node.

    Hi experts,
      I am trying to show a node of cardinality 0...n as a table in an adobe form in Java web dynpro. But its not showing it properly. Can anybody please tell me what is the right way to display a table on adobe form using a node of cardinality 0...n or 1...n in Java Webdynpro.  In ABAP webdynpro, we can drag and drop a node of cardianlity 0...n or 1...n to  show as a table and it works fine. Is the same possible in Java webdynpro also. Please help.
    Thanks and Regards.
    Vaibhav Tiwari.

    Please refer to my post.. you will get the answer
    Dynamic Table -  same data repeating in all rows
    Special care should be taken in designing the context for table attribute.
    The attribute type singletone also plays a important role. I have this doubt from the beginning when you have reported this problem for the first time but finally you marked it as solved so i thought there might be some other issues but again when you reported that again i did some analysis.
    Now coming to final solution :
    For designing a table in adobe interactive form you have consider following
    You have to design the view context upto three level, I am explaining you the properties
    PDFDataSource (Parent Level1) - Cardinality 1:1 - Signetone -True - This is assigned to datasource
    TableList (Parent Level2) - Cardinality (1:1) - Signetone -True
    TableWrapper(Parent Level3) - Cardinality (0:n) - Signetone -True
    TableData (Parent Level4) - Cardinality (0:1) - Signetone - false (This is the main point)
    Then under TableData value node, you have to put all your table attributes.
    This Value Node name can be anything but hierarchy should be same as I have mentioned above.
    Please try out these steps and get back to me if you have any doubt.

  • Web for Forte - what is the right product?

    We are using Web Enterprise on a new application and on another existing
    Forte application.
    Concerning our experiences on the new application:
    1) Watch what version of Forte and WE you use. Earlier that 3.M.2 and WE
    E.1, we experienced a page truncation bug (that Forte admitted was their
    bug).
    2) Upgrades between Forte versions have been difficult as each upgrade means
    an upgrade to the WE pieces. The only way we have been successful in these
    upgrades is by recreating the repository, creating the new HTTP/HTML
    libraries/projects, and importing (in order) our projects. This is time
    consuming. It would be nice if Forte did not force the WE upgrade when the
    Forte version changes.
    3) As of yet, we have not been able to get a load balanced Web Access SO to
    work. The help desk has suggested using a higher port number range (from
    1780 up to 6000) but we haven't tried this yet.
    Concerning our experiences with the existing application conversion:
    1) The GUI interface of a windows application and a browser application are
    basically different. There are things that are easy in a std GUI that are
    much more difficult with a browser. So, if using std HTML, typically the
    application will behave somewhat differently.
    2) We used JavaScript within our HTML to do some basic editing within the
    browser. This was much easier than doing std HTML to Forte for every type
    of edit. In fact, we even used Forte to dynamically generate JavaScript in
    certain circumstances.
    3) We did NOT use Java at all.
    4) The Forte application we are converting is old (4+ yrs) and was not
    designed in the ideal way. Much of the processing logic and sql is embedded
    inside windows. My point is that if the architecture of the existing
    application is 'good' (good separation of pure GUI functions from business
    rules from db access), then moving to WE can be fairly easy. If every Forte
    window operation calls some method rather than invoking inline code, then
    that is a good step. If every window operation calls some external
    (non-window) method, then that is even better. That makes the replacement
    of the Forte GUI with a browser based GUI much easier.
    5) We tested, very briefly, the Window Converter operations of WE. It did
    seem to work but we really could not utilize this facility because of the
    poor design of the Forte GUI. We would have been forced to re-write our
    existing GUI to take advantage of this.
    6) We are attempting to reuse what we can from the existing application but
    we are also taking advantage of this rewrite to implement a cleaner
    architecture within a newly developed framework.
    Jerry Fatcheric
    Verizon Wireless
    Hi Forte Experts
    We are developing an application in 'pure' Forte 4GL, but have now reachedthe point >where some 20 windows must also be used from a WWW interface,
    both for dataentry and >lookup of info.
    So what is the right product(s) to look for / buy? Forte for Java ,WebEnterprise, >WebEnterprise Designer or is the functionality already in
    30M2 and all we need to do >is to open the documentation-kit...?
    Suggestions or War-stories are welcomed...
    thanks
    jens chr /KAD Denmark

    Adobe makes three products that could work here: Photoshop Elements, Lightroom and Photoshop. Other companies also make programs that will do these tasks.
    You make it sound like this is a one-time need. If that's true, I would think that the Adobe products are overkill. In fact, to edit the photos you might want to look at freeware products like RawTherapee, and there are plenty of freeware slideshow applications.

  • Why does premiere elements 8 say I need the right 'codec' when trying to open hdd video?

    Why does premiere elements 8 say I need the right 'codec' when trying to open hdd video?  where can I find this codec?

    hey, I'm not sure if I've set it up for hard drive video.  When I
    try to import it says it's the wrong codec.  I had a similar problem with windows moviemaker.
    except the error message there (moviemaker) said 'too many methods firing from events'
      hmmm.  I don't know what it all means.  I have an hdd sony digital handycam.
    dcr-sr45 is the model.  any suggestions?

  • What is the right process for moving system to another plant

    Dear Guru,
    I have below scenario which i would like to understand what should be the right process to deal with it..
    Organization Structure.
    Company code: C500
    Business area : 500A
    Plant A500 and S500 which is under the same company code and same Business area.
    Storage location: SW01 and AW01 which are physically same location address
    I have this scenario where the user have a PO under Plant S500 which already GR and IR and the physical goods is currently placed in Storage location SW01.
    But the user realized the Material should be created under Plant A500.
    For the above case, can anyone please advice me what should be the better process instead of reversal the IV/GR/PO? and what is the right process for MM and considering also from the finance point of view?
    Thank you very much,
    Regards,
    CheeWee

    Hi
    It is the configuration issue. SOmetime it happens when you copy the Reference plant to your Plant.
    Change the setting and make it both Qty & Value if you really want to manage the stock qty with value then proceed.
    Valuation area is nothing but a Plant.
    karthik
    Edited by: Karthik on Jul 25, 2011 1:23 PM

  • What is the right charger for a MacBook Pro 13"  mid 2009 model?

    What is the right charger for a MacBook Pro 13" mid 2009 model? I have two chargers for two different Mac and don't know which is  thankswhich. I'm really looking for specific details such as voltage/watts and all the rest to idenify my charger.  A link to where to web page where I could purchase the correct charger would also be very useful. Many thanks.
    All help much appreciated. THANK YOU

    Both power adapter I have are different (at the magnet end) from the one in link.
    Earlier adapters have T shaped connectors, which Apple later changed to the L shape, presumably to make them more abuse-proof. Either one is fine and the one you are using will not damage your Mac.
    Retina MBPs and new MBAs use a completely different MagSafe 2 connector which will not fit (without an adapter).

  • What is the 0x80070570 error when installing Win7 or Win8 or Win 8.1 on a clean SSD/HDD ?!

    Hello,
    My computer was working perfectly with Win7 for about 2years until I formatted on monday to clean a little bit my drives ... Since then I'm unable to install windows again. I have the 0x80070570 error.
    The complete error message is:
    Windows cannot install required files. The file may be corrupt or missing. Make sure that all files required for installation are available and restart the installation. Error code:0x80070570.
    What is the 0x80070570 error when installing Win7 or Win8 or Win 8.1 on a clean SSD/HDD ?! These versions are full from MSDN.
    What I did already:
    check my RAM (16go gskill)
    remove unnecessary hard drives
    replace my "old" SSD with a clean new one
    remove my sound cards
    remove the mouse and use only keyboard
    reset the BIOS
    check every LED on the motherboard (asus sabertooth z77) and there is no problem
    What are the problems?
    Thanks,
    Adrien.

    Hi,
    If all images cannot be installed, we have a reason to suspect the hardware cause.
    If you use two memory slots to get 16G RAM, I suggest you test with just one (8G) to check the result.
    Alex Zhao
    TechNet Community Support

Maybe you are looking for

  • Trouble shooting PI

    We have a problem where everything looks good in SXMB_MONI.  The XML document is sent into our system.   However, the ABAP code is not getting triggered.   This has worked for 2 weeks and until around 12:30 today.  We've checked SM58 and SM59.   Ever

  • How to install windows on separate internal drive?

    Hello, I've been at this problem for a few days and need some help if anyone has a clue. I have a late 2008 macbook pro 15". I've taken out my optical drive to install a SSD so that I can run both the existing internal drive and SSD as a DIY Fusion D

  • Is Forms 6i and Reports 6i compatible with Oracle 8i

    hi, Is Forms 6i & Reports 6i compatible with Oracle 8i database?

  • How do I get pics from iphone4 onto ipad 3rd g?

    how do I get pics from iphone 4s tho ipad 3rd g? also any software to put dvd's or videos on to ipad 3rd g?

  • How to reset CC to allow install of apps on a new computer?

    I moved to a new computer and CC for some reason thinks my applications are loaded and up to date. They have not been installed on this machine. So there is no "UNINSTALL" option. How do I reset to allow them to be loaded and installed properly?