Distributed Destination and Recieving Messages !

Hi !
          I'm new to JMS.
          I'm configuring a Weblogic Cuslter of 3 nodes with a JMS Server deployed on each node (Can't target a JMS Server to a CLUSTER). We have 4 destinations (Queue) deployed on each JMS Server.
          I'm creating a Distributed Desination with members being the Queues from the three JMS Servers to take advantage of Load Balancing and High Availability nature of DD.
          No my question is, when a message is placed on the Queue (message received from MQ Server through Weblogic Bridge), which one of the three Queue is the message going to go? My guess is it's going to be sent to the Queue based on Round-Robin algorithm.
          Can you please explain me how sending/recieving messages with JMS are going to work in a Weblogic Cluster environment?. We will be using MDBs to receive messages. So, I'm assuming I'm going to need to use the JNDI for the DD in my descriptor. Also for sending, I'm assuming I should use the JNDI for the DD.
          Thanks very much for your help.

If you'll send JMS message to your queue from your server app deployed to
          your cluster then the balancing algorithm will use server-afinity policy (if
          it is not turned off) and message will be delivered to the queue on the same
          server where you emit it.
          Denis.
          <Karun Subramanian> wrote in message news:[email protected]..
          > Hi !
          > I'm new to JMS.
          >
          > I'm configuring a Weblogic Cuslter of 3 nodes with a JMS Server deployed
          > on each node (Can't target a JMS Server to a CLUSTER). We have 4
          > destinations (Queue) deployed on each JMS Server.
          >
          > I'm creating a Distributed Desination with members being the Queues from
          > the three JMS Servers to take advantage of Load Balancing and High
          > Availability nature of DD.
          >
          >
          > No my question is, when a message is placed on the Queue (message received
          > from MQ Server through Weblogic Bridge), which one of the three Queue is
          > the message going to go? My guess is it's going to be sent to the Queue
          > based on Round-Robin algorithm.
          >
          > Can you please explain me how sending/recieving messages with JMS are
          > going to work in a Weblogic Cluster environment?. We will be using MDBs
          > to receive messages. So, I'm assuming I'm going to need to use the JNDI
          > for the DD in my descriptor. Also for sending, I'm assuming I should use
          > the JNDI for the DD.
          >
          > Thanks very much for your help.

Similar Messages

  • My NEW ipod touch stopped sending and recieving messages!

    My NEW ipod touch stopped sending and recieving messages even though I am connected to the internet and all other internet apps are working just fine.  I am just replying to messages sent to me.  Any suggestions as to the solution?

    This one
    http://www.apple.com/support/itunes/

  • Why can i send and recieve messages on my home wifi but nit when i am  connected to other wifi connections, why can i send and recieve messages on my home wifi but nit when i am connected to other wifi connections

    plz help i need to know why i cannot send or recieve messages on other wifi connections

    What networks do not work?
    It could be that the ports used are being blocked. See:
    Using FaceTime and iMessage behind a firewall
    Try using Google's  DNS with the other networks. When connect to those networks, go to Settings>wifi and change the DSN to 8.8.8.8

  • Distributed Destination and multiple clusters

    We have two clusters; each consisting of two managed servers. Can I create a single distributed JMS destination for BOTH clusters? If yes, how? If no, what is the best alternative so that I do not have to change the application for JMSqueue name?
              Thank you for your help.
              Vipul

    Distributed destinations do not span between clusters.
              You can configure two distributed destinations, each with the same JNDI name. The JNDI names will not conflict as they will be in two different clusters. Clients that refer to the JNDI name will end up communicating with the distributed destination that's in the same cluster as their JNDI context...
              Tom

  • Distributed Destinations and Error Queues

              I have a distributed queue - distqueue which is configured with two queue members
              - srvr1q
              and srvr2q. srvr1q is a physical queue destination that is running on JMSServer1
              on one instance in a cluster. srvr2q is a physical queue destination that is running
              on JMSServer2 on another instance in the cluster. I have two errorqueues - srvr1errq
              and srvr2errq - deployed on JMSServer1 and JMSServer2 respectively. I have configured
              the srvr1q to the following:
              Redelivery Delay Override: 10000
              Redelivery Limit: 3
              Error Destination: srvr1errq
              Also the srvr2q is configured to the following:
              Redelivery Delay Override: 10000
              Redelivery Limit: 3
              Error Destination: srvr2errq
              There is an MDB listening to each one of these local queues. The MDB is programmed
              to throw a null pointer exception (to simulate business logic processing failures)
              My expectations are : the message goes to one of the local queues. Null Pointer
              exception is thrown. After 10 seconds the message is resent to the same queue
              with a similar fate. After the third attempt, the message is moved to the error
              queue of the corresponding local queue.
              What I see is the following:
              When I send a message I do see a Null Pointer Exception, but it occurs only once
              and I dont see the message going to the error queue. Since my Load Balancing policy
              is Round-Robin on the distqueue, the local queues receive the message every other
              time with the same result - Null Pointer Exception thrown only once.
              I also have JMSStores configured so the messages are persistent.
              Can someone explain to me what I am doing wrong?
              Thanks.
              

              "Prakash Muthukrishnan" <[email protected]> wrote:
              >
              >Hi Tom
              > Thanks again for the reply. I do use a tx MDB. I have set the transaction-type
              >to Container in the message-driven stanza in ejb-jar.xml. And also the
              >trans-attribute
              >for that EJB in the container-transaction stanza, I have used Required.
              >Do I need
              >to setup anything else ?
              I don't think so.
              > The transaction descriptor element in the weblogic-enterprise-bean
              >stanza in weblogic-ejb-jar.xml for that MDB is empty.
              Not sure what you mean?
              > Am I missing anything
              >else?
              Container & Required is all that is needed
              If you like, post your ejb descriptor xml file, and I'll take a quick
              look to double-check.
              >-Prakash
              >
              >Tom Barnes <[email protected]> wrote:
              >>Hi Prakash,
              >>
              >>A runtime exception should force a rollback for tx MDBs, and
              >>a recover for non-tx MDBs. If you are seeing different
              >>behavior there may be a bug in WL.
              >>
              >>Since MDBs do not log an exception when the app throws
              >>a Runtime exception, I often recommend wrapping the
              >>application code in a try catch anyhow
              >> try {
              >> } catch (Throwable t) {
              >> log
              >> force rollback
              >> }
              >>I think there are plans to provide a configurable that
              >>optionally does something similar in the next release (no guarantees).
              >>(The problem is that some apps throw a runtime on purpose, and
              >>could quickly flood the log if such runtimes were logged per message.)
              >>
              >>Tom
              >>
              >>Prakash Muthukrishnan wrote:
              >>> Tom
              >>> Thanks for the suggestion. Using the setRollbackOnly method did the
              >>trick. This
              >>> brings up
              >>> a related question: What if a run time exception was thrown during
              >>the processing
              >>> in an MDB?
              >>> Is it not retried and ultimately shoved into the error queue?
              >>> Thanks again.
              >>> -Prakash
              >>>
              >>>
              >>> Tom Barnes <[email protected]> wrote:
              >>>
              >>>>Hi Prakash,
              >>>>
              >>>>At first glance, it doesn't seem like your doing anything wrong.
              >>>>Could you post your release and SP level, as well as your config.xml?
              >>>>
              >>>>How many messages did you send through?
              >>>>
              >>>>Note that for transactional MDBs it is best to call "setRollbackOnly"
              >>>>on the EJB context rather than throwing an NPE. This is because
              >>>>throwing a runtime exception forces the MDB to destroy itself and
              >>>>get re-initialized (pretty high overhead). For non-transactional
              >>>>MDBs, throwing a runtime exception is your only option.
              >>>>
              >>>>Tom, BEA
              >>>>
              >>>>Prakash Muthukrishnan wrote:
              >>>>
              >>>>
              >>>>>I have a distributed queue - distqueue which is configured with two
              >>>>
              >>>>queue members
              >>>>
              >>>>>- srvr1q
              >>>>>and srvr2q. srvr1q is a physical queue destination that is running
              >>>>
              >>>>on JMSServer1
              >>>>
              >>>>>on one instance in a cluster. srvr2q is a physical queue destination
              >>>>
              >>>>that is running
              >>>>
              >>>>>on JMSServer2 on another instance in the cluster. I have two errorqueues
              >>>>
              >>>>- srvr1errq
              >>>>
              >>>>>and srvr2errq - deployed on JMSServer1 and JMSServer2 respectively.
              >>>>
              >>>>I have configured
              >>>>
              >>>>>the srvr1q to the following:
              >>>>>
              >>>>>Redelivery Delay Override: 10000
              >>>>>Redelivery Limit: 3
              >>>>>Error Destination: srvr1errq
              >>>>>
              >>>>>Also the srvr2q is configured to the following:
              >>>>>Redelivery Delay Override: 10000
              >>>>>Redelivery Limit: 3
              >>>>>Error Destination: srvr2errq
              >>>>>
              >>>>>There is an MDB listening to each one of these local queues. The
              >MDB
              >>>>
              >>>>is programmed
              >>>>
              >>>>>to throw a null pointer exception (to simulate business logic processing
              >>>>
              >>>>failures)
              >>>>
              >>>>>My expectations are : the message goes to one of the local queues.
              >>>>
              >>>>Null Pointer
              >>>>
              >>>>>exception is thrown. After 10 seconds the message is resent to the
              >>>>
              >>>>same queue
              >>>>
              >>>>>with a similar fate. After the third attempt, the message is moved
              >>>>
              >>>>to the error
              >>>>
              >>>>>queue of the corresponding local queue.
              >>>>>
              >>>>>What I see is the following:
              >>>>>When I send a message I do see a Null Pointer Exception, but it occurs
              >>>>
              >>>>only once
              >>>>
              >>>>>and I dont see the message going to the error queue. Since my Load
              >>>>
              >>>>Balancing policy
              >>>>
              >>>>>is Round-Robin on the distqueue, the local queues receive the message
              >>>>
              >>>>every other
              >>>>
              >>>>>time with the same result - Null Pointer Exception thrown only once.
              >>>>>
              >>>>>I also have JMSStores configured so the messages are persistent.
              >>>>>
              >>>>>Can someone explain to me what I am doing wrong?
              >>>>>Thanks.
              >>>>
              >>>
              >>
              >
              

  • Sending and recieving messages.

    Hi,
    I am join a new company and ans working with the jms now. "QueueConnection" and "Queue" (or Destination) is ready there. I need to set up one testing program which can send and receive the messages please provide the guidence.
    Thanks in Advance.
    J_JON

    well, if you have specific questions, this is the place to ask them. if you are looking for tutorials, you're far better off w/ google.

  • Skype slow with sending and recieving messaged in group chat

    I seem to have no trouble with ordinary one to one shat, but when i'm in a group chat it takes a very long time for my message to be sent it just stays gray and have that loading circle to the left.
    Also some messages recieved are recieved many minutes after they are originally written, making a group chat very confusing overall...

    http://heartbeat.skype.com/

  • Trouble in sending and recieving message using pic18f

    hi ....
    im trying to connect between two PIC 18f4580 using CAN protocol ...
    im trying to send message and receive it in the second chip .... i have problem using "can_getd" function ...
    im using PIC C compiler . 
    thank you

    Hi moha_affa,
    To be polite, this isn't a great place for your question. If you're using PC side control, or some other way that NI products are involved in your project, you'd have a better chance at success here. The NI forums likely have a few members with uC experience, but it's far from the focus.
    I'd suggest going to the Microchip forums, they have support forums organized by chip family and also by functional area, such as CAN.
    http://www.microchip.com/forums/f103.aspx
    You'll find lots of information, and very knowledgeable experts there.
    For starters, some more info on your problem will be desired.
    -Better description of your problem, at compiling, execution, etc.
    -Can you program chip to succesfully run a test program?
    -Are you using capacitors across pairs of Vss and Vdd pins?
    -Breadboards are generally discouraged for CAN bus connections, so might consider a soldered prototyping board if possible.
    Those are a couple quick ideas. Try over there though, much better support for PICs.
    Good luck,
    Mark

  • Problems in sending and recieving messages, calls go missed without notifying ..!

    So here's my problem,,,,!! while sending messages it doesn't send message at once as it happens commonly, the message is sent after a while i knw that by hearing the swoop sound... same is with sending messages...
    calls go unnoticed/missed because calls are not notified...
    any solution ?

    sameerdaga wrote:
    Except 8, 10, 11, 12, 13, 14 and 20, which issues relate to WhatsApp. Also to put phone to flight mode is not the solution to problem of auto switching on of phone while charging. Kindly resolve other issues and forward the issue related to WhatsApp to WhatsApp technical team.
    regards
    Sameer daga 09825304004
    I do not use whatsapp and am not interested in what it does or not. It's up to you to report bugs to the developer. And when I check it's actually problems 8,10,11,12,13,14,19,20,21,22,23 and 24 related to Whatsapp. That's 12 out 25 of your "problems" related to a third-party app.
    Phone switching on when charging is not a problem or a bug - that is the way charging works today - on WP8, Android and iOS so you'll have to live with it regardless of what phone you have.
    Your issue 25 is not an issue - you just don't know how to do it. When you open the received text message at the bottom there is an icon with two arrows, one pointing left, the other pointing right. Tap on that icon and the number from which the message was sent will be highlighted.
    Issue 21 - all contacts for which I have included a birthday are showing in my calendar. Don't know what you are doing wrong.
    I could go on, but I have to do a bit of work as well.

  • Sending and recieving message problems

    hi.
    I am used to use skype from my samsung galaxy note and it was working fine but suddenly skype has been disturbing lately
    I can see whom I am talking to but when I am sending any message I am not being able to see what I am sending on my screen and also cannot see what my frined is sending me back! I have reinstalled skype alot of times but its not recovering.
    please help me.

    Hi moha_affa,
    To be polite, this isn't a great place for your question. If you're using PC side control, or some other way that NI products are involved in your project, you'd have a better chance at success here. The NI forums likely have a few members with uC experience, but it's far from the focus.
    I'd suggest going to the Microchip forums, they have support forums organized by chip family and also by functional area, such as CAN.
    http://www.microchip.com/forums/f103.aspx
    You'll find lots of information, and very knowledgeable experts there.
    For starters, some more info on your problem will be desired.
    -Better description of your problem, at compiling, execution, etc.
    -Can you program chip to succesfully run a test program?
    -Are you using capacitors across pairs of Vss and Vdd pins?
    -Breadboards are generally discouraged for CAN bus connections, so might consider a soldered prototyping board if possible.
    Those are a couple quick ideas. Try over there though, much better support for PICs.
    Good luck,
    Mark

  • I can not text one person in my iphone but can ring them and recieve messages from them  any help please ?

    I can not tex one person in my iphone but can recieve tex,s from them and i can phone them any ideas please?

    Could be an issue with your carrier. Have you contacted them?

  • Deley when posting and recieving messages. New to Ichat4?

    I get a short delay when hitting enter after typing a message. sometimes as long as 20 seconds before my message goes. any idea why or how to fix it?

    Can anyone help?

  • HT3529 Are you unable to send and recieve messages from AIM addresses?

    Are You unable to video chat with AIM addresses with the messages app in iOS 6?

    SMS/MMS messages do not display the "delivered" indicator. Only iMessages do.
    If you're getting the "delivered" message, that indicates that the recipient either has or had an iOS device set up for iMessage. If that device is NOT their current phone, then tell them to check their iOS device (or Mac) for the messages.

  • Using Messaging  Bridge with Distributed Destinations

    I'm having some problems using Distributed Destinations with the Messaging Bridge in WLS 7.0sp2. Our configuration consists of the following:
              * WLS Server1:
              * JMS Server1:
              * inbound queue
              * outbound queue
              * JMS Server2:
              * inbound queue
              * outbound queue
              * WLS Server 2:
              * JMS Server3:
              * inbound queue
              * outbound queue
              A distributed destination is configured for the inbound and outbound queues.
              Two messaging queues are configured so that bridge from WLS JMS to Tibco JMS using the distributed destinations.
              Everything is working fine for the inbound, but we have found that the outbound messaging bridge is picking up messages from only one of the two JMS servers on the first WLS instance. When monitoring, it can be seen that there is no consumer registered against the second JMS server.
              Any suggestions?
              

    Hi Rob,
              Consumers on distributed destinations are always pinned
              to a single physical destination on creation. Only
              producers can round-robin each message. When a
              distributed destination is used as a source destination,
              you will need to configure a bridge per distributed
              destination. Alternatively, you can enable
              forwarding between the physical queues, which automatically
              forwards messages from physical queues with
              no consumers to physical queues that have consumers
              (but the extra hop impacts performance). For more information,
              consult the JMS documentation.
              Tom
              Rob McArthur wrote:
              > I'm having some problems using Distributed Destinations with the Messaging Bridge in WLS 7.0sp2. Our configuration consists of the following:
              > * WLS Server1:
              > * JMS Server1:
              > * inbound queue
              > * outbound queue
              > * JMS Server2:
              > * inbound queue
              > * outbound queue
              > * WLS Server 2:
              > * JMS Server3:
              > * inbound queue
              > * outbound queue
              >
              > A distributed destination is configured for the inbound and outbound queues.
              >
              > Two messaging queues are configured so that bridge from WLS JMS to Tibco JMS using the distributed destinations.
              >
              > Everything is working fine for the inbound, but we have found that the outbound messaging bridge is picking up messages from only one of the two JMS servers on the first WLS instance. When monitoring, it can be seen that there is no consumer registered against the second JMS server.
              >
              > Any suggestions?
              >
              >
              

  • Distributed destination issue on Web Logic server 8.1

    Hi,
    I'm using distributed JMS destination (Cluster) of Web Logic server 8.1.
    I'm using Oracle B2B to talk to the cluster. Oracle B2B is only creating a consumer on one of the managed servers in this cluster. This is resulting in loss of messages when messages are placed by the WLI on the other managed server.
    Further the consumers are created randomly by Oracle B2B.
    My question here is whether Web Logic Server 8.1 supports multiple consumers for its clusters?
    Please Help!
    Thanks in advance.
    Warm Regards,
    Suhas.

    Are your consumers co-located with each managed server or remote?
    Let me preface this by this is the way I believe it works...
    The reason I ask is that distributed destinations route to one managed server at connect time. So for producers, when 1 message is placed on a distributed destination, it is really routed to only 1 managed server queue. From a remote consumer standpoint, when connecting to a distributed destination to read messages, you are only routed to one of the managed server queues to read from, not the logical superset of all queues in the distributed destination. So you would need to connect to each distributed destination member queue directly to ensure each had consumers. Whereas if your consumers are co-located on the cluster, then they can each connect to the local member queue for that distributed destination and ensure that each member of the distributed destination has consumers.
    I'd recommend you note the follow docs:
    QueueReceivers
    http://edocs.bea.com/wls/docs103/jms/dds.html
    When creating a queue receiver, if the supplied queue is a distributed queue, then a single physical queue member is chosen for the receiver at creation time. The created QueueReceiver is pinned to that queue member until the queue receiver loses its access to the queue member. At that point, the consumer will receive a JMSException, as follows:
    If the queue receiver is synchronous, then the exception is returned to the user directly.
    If the queue receiver is asynchronous, then the exception is delivered inside of a ConsumerClosedException that is delivered to the ExceptionListener defined for the consumer session, if any.
    Upon receiving such an exception, an application can close its queue receiver and recreate it. If any other queue members are available within the distributed queue, then the creation will succeed and the new queue receiver will be pinned to one of those queue members. If no other queue member is available, then the application won’t be able to recreate the queue receiver and will have to try again later.
    Note:      For information on the load-balancing heuristics for distributed queues with zero consumers, see “Configuring Distributed Destination Resources”.
    http://edocs.bea.com/wls/docs103/jms_admin/advance_config.html#jms_distributed_destination_config
    The producer makes such a decision each time it sends a message. However, there is no compromise of ordering guarantees between a consumer and producer, because consumers are load balanced once, and are then pinned to a single destination member.

Maybe you are looking for

  • Error while validating 0Analysis_Pattern or opening in WAD

    Hi All I am getting an error while validating the template 0Analysis_pattern, the error says "Cannot Instantiate data provider" Message No. RSWADPREXEC023. It is coming as an error message and not a warning. Can somebody help me out ! Thanks

  • Drawing on a Canvas

    I know this may seem trivial, but for some reason I am having trouble drawing rectangles on an Canvas. Either I get that the Graphics object is null or the objects just don't show up. Any suggestions? Any help would be very much appreciated. Here are

  • Variant Field in AGR_1251 - what is the use?

    Dear Gurus, I have tried to look for this information many times but couldn't find out any answer. In the table AGR_1251 we can see there is a Field called "Variant". I just couldn't find out the reason for this field and what kind of variant it refe

  • Mail Image Compression vs. iPhoto Compression

    When I attach jpegs directly in Mail.app, choosing the medium imagesize results in an image of 421KB. When I choose the same image in iPhoto, click the E-Mail-Button and choose medium imagesize too, the resulting Image in Mail.app is only 122KB with

  • My iweb 08 is no longer saving!

    When I open iweb my it doesn't save my last updates. On the blog everything is saved however when I update my other pages and click on FILE/SAVE it's supposed to save right??? So I close the program... a few days later the updates I did are gone. Any