How do you get distributed destinations to work ?

          Hi all,
          I'm trying to getting to work Distributed JMS Destinations. But
          still without success. This is the sitation:
          Node1---->JMS Server1------>Queue1 [Distributed destination1]
          Node2---->JMS Server2------>Queue2 [Distributed destination1]
          I have a cluster with 2 Nodes.
          I have created 2 JMS Servers each one targetted on one Node.
          Then I have created 2 Queues and added them to a Distributed Destination as member.
          Now I start the QueueSender (pointing to the Distributed Destination's JNDI)
          I start 2 QueueReceivers (pointing to the JNDI of the 2 Queues).
          The problem is that when one of the two nodes, let's say Node1, fails
          messages aren't dispatched to the JMS Server2.
          So I wonder: Is it possible that if one of the 2 JMS Server fails
          the message is redirected to the other JMS Server ?
          Thanks a lot
          Francesco
          

Receivers only load-balance once - when
          they are first created. The JMS Performance
          Guide explores the implications of this.
          Keep in mind that the distributed destination
          feature was optimized for the case where
          receivers (generally MDBs) run on the same
          servers as the distributed destination
          instances, which simply load balances each
          receiver to its local destination instance.
          Otherwise, if the receivers
          are not co-located with distributed destination
          instances, load-balancing
          configuration requires special care to prevent
          physical destinations from not getting served
          by receivers.
          One solution for the latter problem, as you
          already wrote below, is to receive directly from the
          physical destinations - which removes the
          load balancing decision all-together.
          Francesco wrote:
          > Hi,
          > thanks a lot for your clean answers.
          > Ps has anybody got an answer about my last question (That is, should I lookup
          > the JNDI
          > of the single Queue or of the Distributed Destination in order to get distributed
          > destination to work ?)
          > Thanks a lot
          > Francesco
          >
          > Tom Barnes <[email protected].bea.com>
          > wrote:
          >
          >>It is normal for a sender to get an exception
          >>when its connection's host server goes down.
          >>The client connection's host server does
          >>not change for the life of the connection,
          >>and does not automatically fail-over.
          >>Even when the client's connection host stays up
          >>but the JMSServer hosting the current
          >>distributed destination instance goes down, the sender
          >>may still get an exception. Such an exception
          >>can indicate that there is ambiguity as to
          >>whether or not the JMS server received the
          >>message from the send().
          >>
          >>The standard way to handle
          >>such exceptions is to re-establish the connection,
          >>session, and producer on the client (usually
          >>using the exact same code that initialized
          >>these resources to start with.)
          >>
          >>In addition, it is highly recommended
          >>for the client to register exception listeners
          >>on both the connection and on the WLSession.
          >>
          >>Tom
          >>
          >>Francesco wrote:
          >>
          >>
          >>>"Barry Myles" <[email protected]> wrote:
          >>>
          >>>
          >>>>Hi Francesco
          >>>>
          >>>>Try creating a connection factory that has Load balanced ticked and
          >>
          >>server
          >>
          >>>>affinity
          >>>>unticked
          >>>>
          >>>>now make sure that the distributed destinations load balancing property
          >>>>is set
          >>>>to Round Robin
          >>>>
          >>>>
          >>>>
          >>>>>I start 2 QueueReceivers (pointing to the JNDI of the 2 Queues).
          >>>>
          >>>>Also when the QueueRecievers are running do you see one consumer attached
          >>>>to each
          >>>>physical queue?
          >>>>
          >>>>HTH
          >>>>
          >>>>
          >>>>"Francesco" <[email protected]> wrote:
          >>>>
          >>>>
          >>>>>Hi all,
          >>>>>I'm trying to getting to work Distributed JMS Destinations. But
          >>>>>still without success. This is the sitation:
          >>>>>
          >>>>>Node1---->JMS Server1------>Queue1 [Distributed destination1]
          >>>>>Node2---->JMS Server2------>Queue2 [Distributed destination1]
          >>>>>
          >>>>>I have a cluster with 2 Nodes.
          >>>>>I have created 2 JMS Servers each one targetted on one Node.
          >>>>>Then I have created 2 Queues and added them to a Distributed Destination
          >>>>>as member.
          >>>>>
          >>>>>Now I start the QueueSender (pointing to the Distributed Destination's
          >>>>>JNDI)
          >>>>>I start 2 QueueReceivers (pointing to the JNDI of the 2 Queues).
          >>>>>
          >>>>>The problem is that when one of the two nodes, let's say Node1, fails
          >>>>>messages aren't dispatched to the JMS Server2.
          >>>>>
          >>>>>So I wonder: Is it possible that if one of the 2 JMS Server fails
          >>>>>the message is redirected to the other JMS Server ?
          >>>>>Thanks a lot
          >>>>>Francesco
          >>>>
          >>>Hi Barry,
          >>>I have tried to modify the connection factory as you said but
          >>>I'm still stuck. Basically when I shut down one of the two Nodes, the
          >>
          >>Sender
          >>
          >>>receives an exception "IllegalStateException: Producer is closed".
          >>>
          >>>Could you tell me if it's basically correct that :
          >>>
          >>>Sender----->looks up the Distributed Queue
          >>>Receivers---->look up the single Queues (which belong to the Distr.
          >>
          >>Queue)
          >>
          >>>Thanks again
          >>>Francesco
          >>
          >
          

Similar Messages

  • How do you get the radio to work ?? - says no radio signal but headphones are plugged in ??

    How do you get the radio to work?  Is another app or download required?  Its a new Ipod nano - 8G, box doesn't say anything about "generation" ?? Appreciate any help
    cr8tivsolutions

    ok, I see now the plug has to be pushed in really tight until the white is flush with the nano

  • How do you get gif's to work on a mac

    how do you get gif's to work on a mac

    Here yah go.
    Install the software at the link below
    This will allow you to view animated gifs in preview
    click on the gif to select it and then press the spacebar
    http://sourceforge.net/projects/animgifqlgen/

  • For OS X 10.3.9 Panther how do you get Flash 9 to work after downloading it?...

    For OS X 10.3.9 Panther how do you get Flash 9 to work after downloading Flash 9 ?... for the link at
    http://www.universalhub.com/node/24494
    "To watch this video you need Flash 9
    You have an old version of Flash. Fortunately we can upgrade
    your computer to Flash 9 without without any hassle. Just click on the
    upgrade button - you don't even need to leave the page!
    [ Upgrade now! ]
    After Flash 9 is downloaded, you'll need to restart your browser.
    [ Download and install manually. ]"

    Hello Again Don,
    It appears you have been struggling with this issue since November of 2008.
    Have you considered upgrading to a newer version of OS X instead?
    11/20/08 What workarounds are there for OS X 10.3.9 users on websites with flash
    4/12/09 How do you get the current Flash to work with OS X 10.3.9 ?...
    5/25/09 After downloading Flash 9, how do you get it to work with OS X 10.3.9 ?...
    8/9/09 How can OS X 10.3.9 users view Flash on websites?...
    8/9/09 How do you get Flash 9 to work with OS X 10.3.9 ?...
    ali b

  • How can you get a java program working on a cell phone?

    I was thinking of making some stuff for cell phones so i was wondering how you get a normal java program to work on cells.

    its all j2me - midlet package....Huh? The jsr-118 MID profile alone has 11 packages, one of which is javax.microedition.midlet. Notj2me - midlet.
    works best on nokia phones.Sez who? You seem to be confusing Java ME with Symbian C.
    you can use net beans midlet packge add-on.Only it's called the NetBeans Mobiliity Pack.
    Its easy to use and has lots of tutorials.Ditto for the Wireless toolkit for CLDC.
    just search on google.Yes, but with which keywords?
    @OP:
    NetBeans mobility pack comes with a short tutorial and several samples, you also need to download the latest WTK as the ver. 2.2 which comes bundled with NetBeans is just too buggy to work with. Then there are the manufacturer-specific SDKs from Nokia, Motorola, Sony Ericsson and (maybe) others.
    If and when you get started in Java ME aka j2me, it will be appropriate to post any questions you might have on the mobility forums, not here.
    Google "j2me tutorial" for many good hits.
    luck, db

  • How do you get Oracle 8i to work with j2sdkee 1.3 B

    I had the j2sdkee1.2.1 working with Oracle 8i and I had the following line in the ~conifg/default.properties files
    Here's what worked:
    jdbcDatasources=jdbc/EstoreDB|jdbc:oracle:thin:@localhost:1521:ORCL|jdbc/InventoryDB|jdbc:oracle:thin:@localhost:1521:ORCL|jdbc/jcampDB|jdbc:oracle:thin:@localhost:1521:ORCL
    In the j2sdkee1.3 beta 2, the resource configuration file format seem to have changed and I am not sure how to get oracle to work. I have tried modifying the new format but it does not seem to work. Can anyone tell me where set drivers for Oracle 8i or any place I can look to figure how to.
    jdbcDataSource.5.name=jdbc/Oracle
    jdbcDataSource.5.url=jdbc:oracle:thin:rmi:??;create=true
    jdbcDriver.0.name=COM.cloudscape.core.RmiJdbcDriver
    jdbcXADataSource.0.name=jdbc/XACloudscape
    jdbcXADataSource.0.classname=COM.cloudscape.core.RemoteXaDataSource
    jdbcXADataSource.0.dbpassword=
    jdbcXADataSource.0.dbuser=
    jdbcXADataSource.0.prop.createDatabase=create
    jdbcXADataSource.0.prop.databaseName=CloudscapeDB
    ==============
    Any pointers on how to get Oracle 8i to work with j2sdkee1.3 b2 will be appreciated. thanks.
    --pvt

    You are right. It seems the format has changed.
    However, now there is and admin tool that comes with J2EE SDK 1.3 Now you don't have to touch the config file by hand.
    You can use this tool to get the configuration done.
    To add JDBC driver the command is...
    j2eeadmin -addJdbcDriver oracle.jdbc.driver.OracleDriver
    and to add a data source the command is...
    j2eeadmin -addJdbcDatasource jdbc/Oracle jdbc:oracle:thin@rtc:1521:acct
    Read details about this and other configuration you can do using this toll in the file %J2EE_HOME%/doc/release/ConfigGuide.html

  • How do you get face time to work with shared email adress

    I have 2 computers sharing the same email address. I recieved for xmas a new i touch with face time. I can connect with the thrid computer not using the same email address as mine. How do I get the other 2 to accept the incoming calls?

    You have to add a unique calling email addres to Settings>Facetime and delete the common email address.  Yu need to do the same thing for Messages.

  • HT4623 How do you get your phone to work again after the iTunes update?

    I did an update on my iPhone from iTunes and now the I only have one screen on my phone that has a picture of the iTunes app and the USB cord.  I have plugged and unplugged my phone.  I have tried to turn it off.  I have turned off my computer, but I only get the same screen.  What can I do to get my phone to work properly again?

    That app should have a video on how to do that.  IF not look at their support site.

  • How do you get your volume to work on video?

    Please help! I can't get my volume to work on video or listening to a video but it works every where else?

    Did you set it up correclty? Have a look - this is for iMessage.
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    for FaceTime
    http://www.trickyways.com/2011/04/set-up-facetime-on-the-ipad-2/

  • HT1414 how do you get i cloud to work

    how to you make i cload work

    Maybe instead of being so vague you could try asking a specific question... or better yet, search for the issue that you are trying to resolve.
    There is a lot of information about iCloud, Apple writes a lot of helpful articles and you can always read the User's Guide to answer many if not all of your questions.

  • How do you get the personas to work when you scroll the pointer over it? i cant get this to work. i have to wear it just to see how it looks

    when you mouse over the persona it should wear it so you see how
    it looks. my wont do anything. i have to wear it to see if i like it and
    if not then i have to remove it. is there something i need to enable
    to get this to work. im using firefox 4 with windows xp.

    Previewing a persona only works on sites that are white-listed via an allow exception.
    You can see the permissions for the domain in the current tab in:
    * Tools > Page Info > Permissions > [X] Install Extensions or Themes
    * Tools > Options > Security : "Warn me when sites try to install add-ons": Exceptions
    Make sure that you do not use [[Clear Recent History]] to clear the 'Site Preferences'.
    See http://kb.mozillazine.org/Themes#Lightweight_theme

  • How do you get URL hyperlinks to work in SWF files?

    I have exported an InDesign
    file to SWF and all the interactive elements work fine apart from my hyperlinks to websites. I have searched the forums and have figured out how to get this to work by changing the server setting on my machine. The problem is I am looking to email this publication to people and it is unrealistic for me to ask everyone to change their server settings every time. Surely there must be a simple way to get hyperlinks to work in SWF files??

    I´m afraid there´s not... it´s flash players security setting. And security setting that anybody can workaround is not a good security setting... you just have to live with it....
    Put your SWF to server and attach a link to it into your email message.... all hyperlinks works if SWF is in the server.

  • How do you get your picture messaging work on my Iphone 3gs?

    I bought my phone from Iwireless and this Iphone 3gs was unlock and I cant get my picture messaging to work? So I was wondering if you could help me figure it out to make it work so I can send picture and recieve them

    If you have Cellular Data and MMS Messaging enabled on the iPhone, you need to contact your carrier to ensure MMS messaging is provisioned properly for your account.

  • How do you get H.264 to work via Safari on an iPhone?

    I am building a website for a director of photography and we are trying to get H.264 encoded movies to work on the iPhone as well as on a computer. They work fine on the computer but just get a question mark on the iPhone. One's using MPEG-4 work fine on it but the files are just so large as one of the movies is a 17min short film. Hence why I am now using H.264. AS the footage was all on DVD's I am using Handbrake but I am still waiting for my question to be posted since yesterday on that site. I am using Rapidweaver to build the site. I do know Quicktime on an iPhone is not fully featured so suspect that is the cause but just need to work out what I need to do differently.
    Anyone have any ideas on this one?

    AS the footage was all on DVD's I am using Handbrake ... I do know Quicktime on an iPhone is not fully featured so suspect that is the cause but just need to work out what I need to do differently.
    Since HandBrake does not include an iPhone specific preset, we are left to guess whether you are usig the TV preset (not compatible), the iPod preset (should be compatible but dimensions/video data higher than needed), or a custom conversion using unspecified and possibly incompatible settings. Could give more specifics if you post a link to a sample file.
    If you want to continue using HandBrake, try using the iPod preset and then cut the video data rate to 1000 Kbps and set the width to 480 with auto crop and "Keep Aspect Aatio" options set. (I also prefer "Slower" Deinterlace but that is up to you.) These settings should represent a fairly balanced optimization targeting iPhone use. Other options would be MPEG Streamclip (reguires the QT MPEG-2 Playback Component) or the Turbo.264 both of which have iPhone specific presets. I generally prefer the Turbo.264 for iPhone conversions as it is so much faster.

  • How do you get target="somename" to work in Safari?

    I am designing a site using Flash and I can't get any link to reuse the target window to open the same page using target="somename", it acts the same as target="_blank". Every time I click on it, it opens a new blank window even when the previous one is still open.
    It also doesn't work in straight HTML.
    This works fine on Windows machines using Opera, Firefox and Internet Explorer, both with Flash and HTML.
      Windows 98  

    Which version of Creative Suite? Which applications within Mavericks?
    Versions older than CS5 are a crap shoot. If a newer version, ask in the forum for the application you use.

Maybe you are looking for