Distributed JMS help using topic - can it do this?

Using Weblogic 10.0, what is the a suggested configuration for having 2 apps in a cluster, where one creates messages in a distributed topic and another (a servlet) reads those messages? Messages need to be acknowleged and removed once read regardless of which managed server the user is on.
          Currently, I have a cluster of managed servers with a Uniform Distributed Topic, and I need a user to read a message just once regardless of which managed server he uses.
          I have 2 Ears - one creates messages, and another is a servlet that allows a user to read a message.
          My reader has a listener that subscribes on startup - like this:
          tconFactory.createTopicConnection(...);
          connection.createTopicSession(...)
          session.createSubscriber (...)
          It does a readNoWait() if a user clicks on a button. Another app puts messages in the topic.
          I want the user to read the message once (any only once) regardless of which managed server he is on.
          The way it is working is that if a user switches from one managed server to another he sees old messages he already read.
          Also, I tried using the module!queuename JNDI name but I get an exception. I have to just use the "regular" topic name.
          Any help appreciated!
          thanks in advance
          Edited by dantill at 05/16/2008 8:12 AM

So in a clustered environment, if a user is reading (and acknowledging) messages from a topic and that user is "load balanced" to another managed server on the cluster, he will see messages he already acknowledged?                     No - things don't work this way, unless the user is attaching to two different durable subscriptions. You may want to pick up a book on JMS, or study up on the Sun tutorials, and pay special attention to the difference between queues and topics, and the difference between "non-durable" and "durable" topic subscribers. It would likely help if you firmed up on these concepts before diving into the concept of distributed topics.
          The key points of WL distributed topics are:
          (1) Durable subscription can only be formed directly on a member (they can't move from member to member!), you can't specify the distributed topic JNDI name when creating a durable subscription - only the member JNDI name.
          (2) Non-durable subscriptions can specify the distributed topic JNDI name.
          (3) Just as with a non-distributed topic, every message that is sent to the distributed topic or that is sent directly to particular member is in turn delivered to every subscribers on every members.
          >>>> About Migratable targets - it may have been this statement:
          "A migratable target is a special target that can serve as a grouping of JMS services and which is active on only server member in a cluster."
          All this means is that multiple JMS services (such as JMS servers) can all target to the same MT. When the MT is migrated from one WL server to another, all related JMS servers are migrated.
          PS. Given my limited knowledge of your use case, it seems like you're looking for a distributed queue (not a topic), with a single consumer that can switch between one of two servers. Or perhaps one consumer on each server. In addition, in order to avoid "abandoning" messages on a particular queue member without consumers, there's a configurable option to have the idle member automatically forward its messages to a queue member that actually has consumers (queue forwarding option).
          Hope this helps,
          Tom

Similar Messages

  • For the iphone4, my light is on all the time! the light is supposed to turn off after a few seconds of use. how can i fix this?

    for the iphone4, my light is on all the time! the light is supposed to turn off after a few seconds of use. how can i fix this?

    If what Allen says does not fix the issue I have seen this as a Hardware issue and I would get into an Apple Store if it is close by
    http://concierge.apple.com/reservation/us/en/

  • HT2534 but i have problem in step 13.  i can't see  step(13) because the red box that has this message "please contact itunes support to complete this transaction" apears. plz help me how can i pass this step

    but i have problem in step 13. i can't see step 13 because the red box which has this message " please contact itunes support to complete this transaction" apears. plz help me how can i pass this step

    You will need to do what it says, contact iTunes support. Click the Support tab above, then the Get Started link in the Contact Apple Support area and you'll be guided.
    Regards.

  • Vurgent...help required. Can any1 solve this...

    Hi! I am new bie to flex. I am using flex builder3 to stream video from a streaming server. I have to complete this project in few days.
    To do that i am first of all trying to display a video from local computer. Its fairly simple to do that using video display component.
    Now i was trying to do that using action script. I am having lot of queries regarding that:
    1) Whenenever i try to make a separate action file, even a simple example as hello world: compiler shows an error message that "Packages cannot be nested". What do v mean by this error, and how can i remove this error.? the code i write is for eg.
    package         
      public class abc
              function xyz() : void
                             //code
    Such a simple code also give above error.
    2) Second, to display video using action script, I write code in action script file using netconnect(),netstream, video class.
         (i) First above error comes(that packages cant be nested) ,
         (ii) If i try to write this code in a function instread of in a package /class; it is not able to connect to that file.
    3) Can anyone provide running code for this. I tried code given in help contents, but couldnot get it t work.
    Any help in this regard will be greatly appreciated.
    Thx for reading.
    prd

    hi,
       probbably you are not writing this code in separate as
      you need to create separate actionscript file with name 'abc.as' for that in your project src folder and the paste that code in it
      the name of actionscript file should be same as your class file.
      you can do this by clicking
       file->new->ActionScript Class this will open new dialog
      enter your class  name in the name textbox and click finish
       now you can use this class in your main project easily
      by importing it
      import abc;
      then you will probbably call its constructer to use it
      var myabc:abc=new abc()

  • Sorry - Could you please help me how can I achieve this Search help ?

    I am creating search help for the profit_center field,
    For the search help :
    The scenario is I have three Z-tables.
    Example: The Data in tables are as shown below ( where F1, F2 are the fields ).
    Ztable1
    F1
    A
    B
    C
    D
    Ztable2
    F1 F2
    A 1
    A 2
    B 112
    B 113
    C 34
    D 43
    D 55
    D 87
    Ztable3
    PRCTR F1 F2
    123 A 1
    124 A 2
    123 B 112
    124 B 113
    125 C 34
    123 D 43
    124 D 43
    125 D 43
    I need to create search help (Search Help is similar to Collective Search Help) for the field PRCTR of table Ztable3 like as below.
    By pressing F4 on the field, a pop up should appear which should contains text labels& text fields on TAB-Screen ( A, B, C , D as shown below as text lables )against which text fields should appear.
    TAB-Screen :
    A ____________
    B ____________
    C ____________
    D ____________
    If F4 is pressed on I/O field (text fields) against A in the above TAB-Screen, Corresponding values ztable2-F2 of A from ztable2 ( = 1, 2 ) should appear as F4 help.
    so that user can select ...
    Is it possible to acieve this ? It would be a great help ....How can I achieve this ?
    Finally based on above user selections say
    A ____________
    B ____________
    C ____________
    D ____________
    corresponding prctr values should be collected.

    <b>You can acheive   this .... first by creating the search help exit    ... by  creating the maintaince  view   then   using it in the   Creation of the search help </b> ...
    see the link for attaching the view   to the serach help .
    <a href="http://">http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_elementary.htm</a>
    reward  points if it is usefull...
    Girish

  • PLEASE POST WHAT DRIVERS/OS/SOUND CARDS ARE USEING SO CAN ALL GET THIS BACK IN VIST

    THOGUHT A TREAD BOUT HOW WE ALL GOT IT WORKIGN AGAIN AS THERE ISNT THREAD WIT HALL THE DIF WAYS TO DO IT LIKE DANS DRIVERS/DELL TRICKS AND SO ON..SO COME ON PEEPS PLEASE HELP TO ADD THIS ALL IN AS LOTS OF PEOPLE ARE GETTIN WAY DIF RESULTS,BUT FROM THE SAME DRIVERS/TRICKS SO MUST BE A REASON WHY ITS NOT THE SAME FOR ALL SO LETS ALL POST THE RIGHT STEP BY STEP WAY TO DO IT THAT U USED SO CAN ALL GET THE HELP AND INFO WE NEED WIT HOUT HOURS OF MESSING BOUT AND STILL NOT GETTIGN IT RIGHT..ALSO WHAT SPEAKERS/DECODERS OR WHAT EVER OTHER HARDWARE UR USEIGN TO GET TI GOING OK... THANKS PEOPLE PLEASE HELP TO GET THIS GOING YER GUNAN HELP US ALL OUT IN END...AND WAS SURPRISED THER WANT A THREAD BOUT THIS ALLREADY...
    AND CREATIVE U.K/EUROPE HAVE THESE BACK IN THE I/O MODULES THAT LET UA USE OPTICAL/COAX INPUT/OUTPUT IF ANY WANTS THEM THSI IS THE LINK:
    http://uk.europe.creative.com/shop/basket.asp acti=add&prod=773
    THANSK PEEPS HOPE UA HELP THIS THREAD GROW AS I COULDNT GET MINE WORKIGN AN NOW LOTS OF PEOPLE ARE HAVEIGN TROUBLE TO...

    ok man sorry just thats the important bits,so coem on ua must beable to tell that...why would be shouting about this init lol...
    instead of moaning bout how i wrote my thread can ua add ur details about which driver/OS/sound card and if u could get the DD/DTS tab working again an if sop which way did ua do it was it dans drivers for old audigy cards or the dell file swap or anyother way ua did it...please people this will help out a lot of people that believe creatives lies bout it not supportiong hardware in vista as seen a lot of screen shots of it running in vista (showing the system tab so can see its really vista not XP,and the sound console showing the DD/DTS tab in place like we want....
    coem on peeps no lot of ua on here have got it working an no its nto ur problem if have urs working but im guessign soem helped u to get it runnign so how bout doig nthe same ofr soem of the noobs (my self as well) wont take ua 0 mins to post how uadid it step by step but please please try to post it as spot on the same as ua did it ok or it wont work im sure as some of the posts on here have bits missing out of them so it wont work if ua try it but will mess ur drivers up instead and im betting that people are gettign sick big time of uninstallign their drivers tiem after time ok....pleas e try to help soem of us out if can ok...lets make this tread the main place to get ur card back up to full specks again as it should be like XP....
    and im not shouting when type like THIS OK JUST TRYING TO GET THE IMPORTANT BITS OVER...thought ua coudl see that im not shouting and cause were not in chat room didnt think would matter but if thats all got to say in here (an not bein funny cause dont wannaf all out with any please dotn post things like that ok ur not helpign any but just starting people moaning bout what ua posted ok) an like other guy said ur whole syste mis wrote l;ike that sop stop shoutign at me to ok LOL
    thankls guys and please try take out 5 mins of ur life to help rest of us out ok... P.S sorry bout spelling im really ill at mo and havent got time to check it all ok so dont maon bout that wont happen again ok if ua felt as bad as i do ua have bad spellign to let me tel lua that ok....

  • Help needed! Can I do this?

    Hi,
    When a browser access my servlet, I can add certain header to the response from my servlet.
    I want this header be extracted from the response, and be added to the request when a link in the response page is clicked.
    Can I do this? Please help.
    Harry

    Can you use cookies?

  • HT4528 i have tried to delete my old phone for icloud and switch it to my new phone but it keeps saying its in use. how can i fix this?

    i canot delete my iphone 4 for back up because it says its in use. how can i change it to my iphone 5?

    please help me!!!

  • HT1727 I have 2 Apple ID's one from 2008 which is an email account I no longer use. Can I terminate this account and just use the preferred one?

    I have 2 Apple ID's one from at least 5 years ago which I no longer use - last purchase 2008. It is linked to an email account which I no longer use regularly. I established this account on my laptop which I use in the city where I work. The newer account uses an Apple ID which I use to purchase music and relates to an email account I now use at my home PC in another community. Can I somehow terminate the old apple account and ID? Will i lose anything? It is causing problems syncing my iPod. Wisely I have decided to sync only with my home PC from here on. Advice would be appreciated.  

    Having read some other posts I think I have answered my question. If I was somehow able to terminate my old (unwanted) account and Apple ID I would no longer be able to access the material I bought with that ID-  so I'm stuck. I have to learn how to manage that situation.
    This is unfortunate for Apple consumers. Life is complicated for families these days and this "rule" although it is in place to prevent cheating and fraud makes things unnnecessarily difficult for me and my family as in my niaevity (sic) with the online world I bumbled into this situation. Not everyone is out to rip off Apple - one of the worlds richest corporations- or the entertainers who market their work through iTunes.I would just like to be able to enjoy the entertainment I pay for where and when I like to on whichever computer is available to me. And I'm not terribly computer literate.   
    It would have been nice to have had the opportunity to speak just once to a real person in the employ of Apple to explain my situation to them.

  • I have added a ADD-ONE like smart digg I want to debug this ADD-ONE. So plz help me how can i debug this.

    I wants to debug and ADD-ONE plz help me how can i debug the ADD-ONE.

    That's correct - you can't add it to another controller.
    From the View Controller Catalog for iOS:
    A split view controller must always be the root of any interface you create. In other words, you must always install the view from aUISplitViewController object as the root view of your application’s window. The panes of your split view interface may then contain navigation controllers, tab bar controllers, or any other type of view controller you need to implement your interface. Split view controllers cannot be presented modally.
    -=-
    Ken

  • I am working on a book and want to send it to someone to help edit, how can I do this

    I am working on a photo book in iPhoto and would like to send it to another member of the family for editing before I publish.  How can I do this?

    Not really possible in general
    a book is simply entries in the iPhoto database and to transfer it you must transfer the entire iPhoto database
    You could preview it and send the resulting PDF but typically that is VERY large
    Before ordering your book preview it using this method - http://support.apple.com/kb/HT1040 - and save the resulting PDF for reference - the delivered book will match it.
    LN

  • Help!! can anyone decipher this error report?

    I would be really grateful if anyone could decipher this error report. My system has become really unstable and unusable if I can get beyond the grey screen. During use I get a grey curtain come down and a message telling me to hold the power switch to shutdown.
    Model: MacPro1,1, BootROM MP11.005C.B08, 4 processors, Dual-Core Intel Xeon, 3 GHz, 2 GB
    Graphics: kHW_ATIr580Item, ATY,RadeonX1900, spdisplayspciedevice, 512 MB
    Memory Module: DIMM Riser A/DIMM 1, 1 GB, DDR2 FB-DIMM, 667 MHz
    Memory Module: DIMM Riser A/DIMM 2, 1 GB, DDR2 FB-DIMM, 667 MHz
    Running 10.5.5
    PCI Card: ATY,RadeonX1900, display, Slot-1
    One of the many messages reads:
    Mon Sep 29 21:59:41 2008
    Machine-check capabilities (cpu 3) 0x0000000000000006:
    family: 6 model: 15 stepping: 6 microcode revision 198
    Intel(R) Xeon(R) CPU 5160 @ 3.00GHz
    6 error-reporting banks
    Machine-check status 0x0000000000000005
    restart IP valid
    machine-check in progress
    MCA error-reporting registers:
    IA32MC0STATUS(0x401): 0x1000000020000000 invalid
    IA32MC1STATUS(0x405): 0x0000000000000000 invalid
    IA32MC2STATUS(0x409): 0x0000000000000000 invalid
    IA32MC3STATUS(0x40d): 0x0020000000000000 invalid
    IA32MC4STATUS(0x411): 0x0000000000000011 invalid
    IA32MC5STATUS(0x415): 0xb200001080200e0f valid
    MCA error code : 0x0e0f
    Model specific error code: 0x8020
    Other information : 0x00000010
    Status bits:
    Processor context corrupt
    Error enabled
    Uncorrected error
    panic(cpu 3 caller 0x001A8656): Machine Check at 0x00ba9e07, thread:0x3efce40, trapno:0x12, err:0x0, registers:
    CR0: 0x8001003b, CR2: 0x00000000, CR3: 0x01009000, CR4: 0x00000660
    EAX: 0x00000000, EBX: 0x00000000, ECX: 0x00000004, EDX: 0x2855a240
    ESP: 0x2e5f3820, EBP: 0x2e5f3888, ESI: 0x03e41d00, EDI: 0x03e1f000
    EFL: 0x00000002, EIP: 0x00ba9e07
    Backtrace (CPU 3), Frame : Return Address (4 potential args on stack)
    0x2e676fb8 : 0x12b0fa (0x459234 0x2e676fec 0x133243 0x0)
    0x2e677008 : 0x1a8656 (0x462498 0xba9e07 0x3efce40 0x12)
    0x2e6770e8 : 0x19fcf3 (0x2e677100 0x0 0x0 0x0)
    Backtrace terminated-invalid frame pointer 0x2e5f3888
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    Not yet set
    Kernel version:
    Darwin Kernel Version 9.5.0: Wed Sep 3 11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386
    System model name: MacPro1,1 (Mac-F4208DC8)
    Many thanks guys.

    Firstly, well done for getting the crash log.
    The bit :
    +Processor context corrupt+
    +Error enabled+
    +Uncorrected error+
    +panic(cpu 3 caller 0x001A8656)...+
    I'd say is the immediate cause (kernel panic) of the shutdown.
    Apart from that, is your memory ok?
    There was an identical (is that you\?) post a while back on:
    http://forums.macrumors.com/showthread.php?t=484526
    This article gives some mmore info as to possible resolution:
    http://support.apple.com/kb/TS1388?viewlocale=en_US
    Antoher poster had problems with 1st gen Mac Pros:
    http://discussions.apple.com/thread.jspa?threadID=1722821&tstart=0
    Finally, and this is probably your best course of action: *phone apple (if you cannot get into an Apple store).* It sounds serious enough to me.
    Sorry I could not help any further. Good luck

  • Help!! Can I do this with the Airport?!

    Hi,
    I have my Airport express set up with my wireless router so I can use it with iTunes wireless speakers. Is it possible to plug a machine into the ethernet port on the airport express to allow it join my home network?
    Or can the ethernet port on the airport express only be used as a router?
    Thanks for your help,
    John

    I have my Airport express set up with my wireless router so I can use it with iTunes wireless speakers. Is it possible to plug a machine into the ethernet port on the airport express to allow it join my home network?
    Yes, but only if the AirPort Express Base Station (AX) is set up as a Remote Base Station in a Wireless Distribution System (WDS). For that to work the wireless router that you connect the AX to must be either another AirPort base station or a DD-WRT compliant one.

  • HT3702 I have been keep charged by iTunes amounts which I never download , also iTunes got my credit cards details , please help me how can I stop this events.thanks sinna

    Dear sir
    I have been charged by apple iTunes with out I download thinks' and how do I remove my credit card detailed from my apple iTunes account, thanks please help me.

    You've checked the purchase history on your account via the Store > View Account menu option on your computer's iTunes, and have you made any in-app purchases or have any auto-renewing subscriptions ?  If not and you haven't added or changed your credit card details (when you do then a small temporary store holding charge may be applied to check that the details are correct and valid, which should disappear within a few days) then you can contact iTunes Support via this page (we are fellow users on these forums) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    Changing account info, including payment details : http://support.apple.com/kb/HT1918

  • My headphone jack is not working but the mic is working fine i have chked my headphones too . They r working fine i have cleared all the dust and my phone is upto date . Please help me how can i fix this problem

    please help me

    The problem would seem to be in the firewall in your router.  Have you tried disabling it? I assume you've updated the router firmware, right?  Consider bypassing the ISP provided router (using it as a modem only) and unsing another device such as an Aiport Express.

Maybe you are looking for