JMS XA/ Sequencing question

Hi,
Can i ask a question related to JMS.
I have a project where one of the requirement is that a message when picked up from MQ > BEA JMS > and then persistet into Database needs to be guaranteed i.e either should be rolled back or commited.
My questions were:
1) is running the connection factory in XA is the only solution?
[The reason being, we have had lot of  production problems while running some of our application in JMS XA mode and if possible, we wanted to use non-xa]
2) is the requirement to have "sequencing" needs to have XA on BEA JMS Bridge (between BEA > MQ) OR we can accomplish "Sequencing" w/o been in XA Tx. ?
Iam just trying to learn this JMS stuff and if iam asking some stupid question, please do not get offended and ignore my email.
Your help is much appreciated.
null

Hi,
Can i ask a question related to JMS.
I have a project where one of the requirement is that
a message when picked up from MQ > BEA JMS > and then
persistet into Database needs to be guaranteed i.e
either should be rolled back or commited.
My questions were:
1) is running the connection factory in XA is the
only solution?
[The reason being, we have had lot of  production
problems while running some of our application in JMS
XA mode and if possible, we wanted to use non-xa]XA drivers are required if you have more than one database involved in the transaction, but in this case there's only one. I have to admit that I haven't tried queue and database in the transaction with both non-XA and XA to see if it made a difference.
2) is the requirement to have "sequencing" needs to
have XA on BEA JMS Bridge (between BEA > MQ) OR we
can accomplish "Sequencing" w/o been in XA Tx. ?The MQ-to-JMS bridge is another unknown to me. When you roll the database back, you expect to see the message put back on the MQ queue, right? Another unknown to me.
Iam just trying to learn this JMS stuff and if iam
asking some stupid question, please do not get
offended and ignore my email.Not stupid at all. I would consider these to be rather advanced questions.
%

Similar Messages

  • Fill In The Blank / Sequence Questions

    Is it possible to have a fill in the blank question in captivate (4 or 5) that is scored according to how many options the user got correct?
    For example:
    If you use 4 grams of 'b' you will need _____ grams of 'x', _____ grams of 'y' and ____ grams of 'z' to complete the forumula.
    In this example if they answered all 3 blanks correctly they would get 3 points, 2 correct answers would give them 2 points and so on.
    Also, is it possible to  score sequence questions according to how many items were correctly sequenced?

    Hello,
    For the moment partial scoring (as I'm calling it) is not possible in Captivate, at least not in the included Question slides. If you want that feature, and you are certainly not alone, please fill in a Feature Request to get this feature on the priority list of the Adobe team.
    If you do not mind the work, it is possible to create question slides yourself using the available objects, user variables and advanced actions. I wrote several articles and blogged about those workarounds, one of them is about creating question slides with possibility for partial scoring (it is not a FIB-question but the principles are the same):
    Question slide with partial score
    Lilybiri

  • Sequence question drop-down list gets hung up on punctuation

    I'm making a sequence question. In drag-and-drop mode, it
    works fine. But in the drop-down list mode, it breaks. In other
    words, even if it is displaying correctly, it is "wrong" when the
    enduser tries to sequence the choices.
    I assume that this is because one of my items has punctuation
    in it.
    It's a person's name, so it looks like this:
    Lastname, FirstInitial.
    Or it could be even two people:
    Lastname, FirstInitial. & Lastname, FirstInitial.
    Is there a way to escape the commas and periods? (I'm willing
    to give up on ampersand!) Use ASCII, escape ActionScript or
    JavaScript? I'm not likely to solve the problem by experimenting,
    so I'm wondering if someone else has figured this out. THANKS.
    (I tried searching the forum, but searching does not seem to
    be working for me)

    I can't help you with this myself as I've not done it but there are quite a few tutorials kicking around the net.
    Simple ODBC Connections in Adobe LiveCycle:
    http://www.youtube.com/watch?v=C56_Cz-aE0c
    Connecting a form to a database:
    http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/
    Database connected forms:
    http://acrobatusers.com/tutorials/database-connected-forms

  • Responses showing over feedback in sequence question - Captivate 5

    Hi all
    I have an issue with the sequence question type. If you have feedback, the draggable responses show over the top.  Please see grab.
    Is this a bug? I can't find any mention of it. It only seems to do it with certain responses. Makes it completely unusable.
    Suggestions?
    Mitch

    This tends to happen if you add answer options AFTER creating the question and adding the feedback captions.  The last thing added ends up on the upper layers of the quiz question slide, but since you cannot see these layers in the timeline, as you can for other slides, you cannot reorder the layers by normal means.
    The solution is to turn your feedback captions off and then on again so that they then end up on the higher layers again.
    Go to Quiz Properties for this slide and deselect/select the Correct and Incomplete captions to put them above the answer options.  Then set Failure level to NONE and back to whatever it was before to set the Failure caption above everything else.  This will erase any text you had in the captions, so if you've invested quite a lot of time adding text to these feedback captions, it's a good idea to copy that text somewhere else first, so that you can just paste it back in after recycling them.

  • Drop Down Options in Captivate 6 Sequence Question

    Hello!
    I'm working on a project using Captivate 6. There is a Sequence question using the drop down option for Answer Type. For this particular question there are 5 items that need to be placed in order. When a learner clicks the drop down to answer the question only 4 of the 5 options display forcing the learner to scroll to see the last option. Is there a way to make the drop down display larger so the learner doesn't have to scroll?
    Thanks in advance for your advice.
    Marie

    Thanks Lilybiri!
    This was helpful. My team decided to stick with the drop down format, but by making the font size smaller we were able to fit all 5 options into the window (taking away the need to scroll.
    Thanks again,
    Marie

  • Sequencing Question Review

    Hi all,
    Just a quick question regarding the sequencing question type
    - is there a way to format the review area to show the correct
    answer for a sequenciung question? In some of my courses, I have
    used the sequencing quetion type, but it leaves quite a bit to be
    disired when it comes to reviewing the correct answer once you've
    completed the quiz. It seems to cram all of the answers into a tiny
    little space, regardless of how big I make the Review Area when
    editing the screen.
    Any ideas?
    Thanks in advance!
    Cheers,
    Shawn

    I agree the space is very small for the review. It also helps
    to only have a sequence of four and that may be too small as well.
    The only other suggestion I can make is put the order of the
    correct answer into a Success Caption or the Failure Caption or
    even BOTH. You may not be able to put all of the answer in the
    captions but they can expand a lot. You can at least put the
    correct order of the letters.
    Jeff

  • Sequence Questions - Captivate 5

    I like using Sequence-type questions, but upon user review of the quiz, not all the answers appear.  Only the first two correct answers are shown.  If I have the user arrange five items in the correct order, only the first two correct responses are given in the quiz review.  I have carefully scrutinized all the setup parameters for this question type and don't appear to be doing anything wrong.
    Any suggestions would be appreciated?

    I've had a few issues with Sequence questions that were migrated from Cp4 to Cp5.  I usually found it best to just recreate the questions entirely in Cp5 to get everything working properly.

  • Sequence Questions Merging

    Hi
    I recently created an assessment on Captivate 3, which
    includes a number of sequence questions, the problem that I have is
    that the answers for the sequence questions are moving between
    questions and therefore people are answering it wrong as not all of
    the correct options are available.
    Any ideas on how to resolve this??
    Thanks

    Try separating the "Sequence" questions from one another with
    a different type of questions, i.e.
    1. sequence
    2. t/f
    3. sequence
    4. mult choice
    5. sequence
    This is definitely a bug, i've seen the same thing. --Bob

  • Sequence question

    I'm curious what others are doing with sequences in their AppEx applications. I know this isn't strictly an AppEx question - but I recently ran into serious problems because of my choice of how I'm using sequences.
    The problem goes something like this: I create a new table and while I'm doing so I go ahead and create a new sequence for that table. Seems innocent enough. Now, I just happen to use this new table as a lookup table for some foreign key values in one of my main data tables. Not a problem. Works like a charm.
    I start populating data into the main table and the lookup tables. Again, not a problem. The users want a little query mecanism for the report so I decide that I'm going to implement it in the UI with a checkbox based on an LOV that allows users to find records based on checking values and clicking a 'Find' button. OK, create a checkbox item, a named LOV, assign it to the checkbox item. Now amend the query for the report region to use the checkbox via an instr(:P1_MY_SEARCH_CHKBX, column_name)>0 kind of approach.
    Ooops! I'm not getting what I want. The changes to the query are clearly working for some cases but I'm seeing John Doe's projects (like I want) and Mary Jane's too (which I don't). Turns out John Doe's ID is '1' and Mary Jane's is '11' and '1' is definitely in '11', so things are working as they should based on my implementation, but I'm getting 'unexpected results' from the users point of view.
    Obviously, the root cause of this comes down to my choice to create that new sequence for each table and increasing the likelihood that this situation would occur. If I had used a single sequence value for the entire schema, that started with a large value (maybe a guid) and built all of my triggers off that one sequence then this little UI anomaly would likely not have occured.
    Sorry for the long, boring story - but I'm curious what others are doing and how many people have run into this same kind of problem?
    Earl

    Personally I would do it in this sort of way. It may add an extra page or two, but I think in the long run it becomes easier.
    Here is my sample app - click a couple, hit the search button, and it will show you your results.
    http://htmldb.oracle.com/pls/otn/f?p=20233:1:17770724214406136839::NO:::
    What I would do in your case is to do something similar - list out the project managers using htmldb_item.checkbox(1, manager_id). This will tie the exact id to that box. Create a before header process that creates a collection - this collection will hold your checked boxes. Add an after submit process to add items to that collection. On your next page, you would do something like this to restrict the rows:
    select pro.project_number, pro.description
      from project pro
    where exists (select 1
                   from htmldb_collections col
                   where pro.manager_id = col.c001 and
             col.collection_name = 'PROJECT_MANAGER')Personally I like collections a lot - that way someone can go back to that page, add a couple extra checks and it repopulates the collection. If you need to see the exact code, let me know and i'll post it on my application page.
    As far as your 2nd question, its a matter of preference. There is nothing wrong or right about creating one sequence - yes you're right - the user never sees it, so it really doesnt matter. But I guess I am a creature of habit, and dont see what creating one sequence really saves you. Its sometimes nice to be able to see the next sequence value and have an approximate guess that you are creating the 243rd new employee instead of the 125,335th new object in the entire database.
    To each their own!

  • Installing Version 11.1.1.3 Plan & Sequence: Questions

    I have to install Essbase, Planning & Financial Reporting Version 11.1.1.3. For now it's one development server with 3 client machines (all developers who will need admin rights). My plan is as follows, please check, I have a couple of questions along the way:
    Check for platform compatibility: Most likely going to be using Windows Server 2003 and default built in tomcat web server. Intend on using EPMA, so IIS 6.0 should be installed first (correct?)
    Download files:
    EPM Installer
    Foundations Services Parts 1 - 4
    Essbase Client
    Essbase Server
    Planning
    Unzip all these files in one folder in the development server. Also unzip the EPM installer and Foundation Services on all 3 client machines.
    For Server Install and Configuration:
    Run the EPM installer on the development server.
    Configure shared services on the development server. Then login to shared services and see if it works and is running. If so, then proceed. If not then come back to forums and SOS for help!
    Configure Essbase and Planning on the development server, using a separate Oracle (or SQL) Database for each. (*For this all I have to do is create a database in Oracle or SQL Server for each component is that correct*? Stupid question but how do you guys usually name those?)
    For client install and configuration
    Unzip EPM Installer, Foundation Services, Essbase & Planning
    Run EPM installer and under "Install By Tier" check mark ONLY the CLIENT products for Essbase and planning correct?
    While configuring shared services use "a previously configured shared services" (the one on the development server)
    How do I configure the database for the client components? Do I point to the one on the development server? Pls clarify this part for me.
    I believe the above are all the steps in sequence. Pls correct me if I'm wrong. Answers to my questions plus any additional tips from experts and experienced users appreciated.

    You are nearly there, the OS and server part seems fine.
    The client part you don't need to configure any database part, client elements are usually just an install and then you are ready to use them.
    It also depends on what client products you want to install.
    If it is the excel addin then there is a standalone install available on "My Oracle Support"
    If it is Smart view then there is a standalone install available.
    If you want to use the essbase runtime client then you would have to extract the files you have pointed out and run the installer and select essbase client.
    If you want the EAS client (though it can be accessed via the web) you would do the same thing with extracting the files.
    Examples of the files that are needed for essbase are available at :- http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_install/ch02s02s02.html
    Not sure what other client products you plan on using.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Importing projects / sequences question

    I started out my project with the wrong resolution (*sigh*) and I'm now trying to save the day by doing the recommended move - starting a new project with correct settings and importing the original project there.
    But I'm only getting the entire original project sequence as a big block, with no edits or anything available. Is it supposed to be like that? Or is there a way to get all the separate clips, cuts, edits etc when importing?
    Thanks for any help!

    You will also find links to many
    free tutorials in the PremiereProPedia that will quickly show you how things are done in Premiere Pro.
    Cheers
    Eddie
    PremiereProPedia   (
    RSS feed)
    - Over 300 frequently answered questions
    - Over 250 free tutorials
    - Maintained by editors like
    you
    Forum FAQ

  • Another 'Cannot mutate bound sequence' Question

    Hi Everyone,
    The below code throws a "Cannot mutate bound sequence" when the line (id:'a') is pressed first. However it runs fine when lines 'b' or 'c' are pressed first. But the output shows the correct line 'a' has been deleted when pressed first. Can anyone suggest a way around this or shed some light on what is happening?
    Im still new to javafx and have been reading up on 'bind'. It looks like there are a few known issues out there so hopefully this is one and there is a easy fix.
    package bindingerror;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.Group;
    import javafx.scene.shape.Line;
    class Wall extends Line{
         override var onMousePressed = function(e):Void {
                println(WallArray);
                delete e.node as Wall from WallArray;
                println(WallArray);
    var WallArray = [
                    Wall{id:'a' startX: 10 startY: 20 endX: 90 endY: 20 strokeWidth:10}
                    Wall{id:'b' startX: 10 startY: 50 endX: 90 endY: 50 strokeWidth:10}
                    Wall{id:'c' startX: 10 startY: 80 endX: 90 endY: 80 strokeWidth:10}
    var Group = Group{content: bind for(x in [0..(sizeof WallArray - 1)]) {WallArray[x]}};
    Stage {
            scene: Scene {
                       width:   100
                       height:  100
                       content: Group{content: bind Group
                                     }//Group
                          }//Scene
    }//Stage

    No wonder. Has you have seen yourself, binding is a delicate domain, particularly when used with a sequence and/or a function. That's why I won't answer your question but instead criticize your code... :-) No, seriously, I will try and answer (but the inconsistent behavior is still a bit puzzling), if I can, but since you say you are new to JavaFX, I think some remarks can be beneficial as well.
    Generic remark: I am not known to follow blindly the Sun Java coding rules (I have my own internal set of rules I apply across languages, when possible), but I still think using a capital initial for class names, and a lowercase initial for variable names is a useful convention. Particularly when you name a variable the same as a built in class name... The compiler sorts things out, but the reader is confused... :-)
    Other remark: I don't know if you come from the Java world. Knowing Java to do JavaFX isn't mandatory, but useful, since JavaFX routinely uses Java classes. I suppose most JavaFX coders have at least some Java background.
    That said, I am surprised to see so many newbies to JavaFX using the old Java way of iterating over a sequence, by index.
    Let's show a more idiomatic JavaFX. First, you can rewrite your loop as:
    for (x in [0 ..< sizeof WallArray]) WallArray[x];The ..< sequence notation is often overlooked/forgotten, I find it more readable than using -1.
    It can still be written:
    for (w in WallArray) w;But you create a new sequence, why not just use the original one?
    var Group = Group { content: bind WallArray };Ah, I magically dispelled the error message! But I modify WallArray, I don't know if that's the intended behavior. Ah, yes, since the mouse pressed function delete items from WallArray. The problem might lie there: I think the Group reference items in WallArray, and you delete items there, so its references hangs out in the void. Or something like that...
    Last remark: unless you are simulating something more complex, you don't need to put a group in a group.
    So, here is my version of your code:
    class Wall extends Line {
         override var onMousePressed = function (e: MouseEvent): Void {
            print(walls); print(" => ");
            delete e.node as Wall from walls;
            println(walls);
    var walls = [
        Wall { id:'a' startX: 10 startY: 20 endX: 90 endY: 20 strokeWidth: 10 }
        Wall { id:'b' startX: 10 startY: 50 endX: 90 endY: 50 strokeWidth: 10 }
        Wall { id:'c' startX: 10 startY: 80 endX: 90 endY: 80 strokeWidth: 10 }
    //~ var Group = Group { content: bind walls };
    Stage {
        scene: Scene {
            width:   100
            height:  100
            content: bind walls
        }//Scene
    }//Stage

  • Shoping cart approval sequence question

    Hi there,
    We have a business requirement for shopping cart approval workflows to be sequenced as follows:
    1. Sanity check
    2. Functional approval
    3. Budget/Financial approval
    4. Buyer completion
    Is it technically possible to build our shopping cart workflows (process) in this manner?
    Can the buyer completion workflow invoke after the budget approval workflow?
    thanks

    Pras,
    Many thanks for your previus response. I would like to ask another question on the same issue.
    Are you implying that the only way one can a workflow process whereby the Budget approver workflow kicks in before the Buyer completion workflow is to use/activate the n-step shopping cart approval workflow?
    Again this is the sequence we would like to implement for our shopping cart approval process, if possible. Please provide me the workflow technical names for each workflow (i.e WS+++++++++)..I would be very greatful.
    1. Sanity Check Workflow
    2. Functional Approval Workflow
    3. Budget Approval
    4. Buyer Completion Workflow
    Thanks

  • JMS Message Sequencing

              Has any seen or figured out a way to track and/or sequence (keep the order of)
              JMS Messages placed on a distributed destination's target queues on each managed
              node? Seems like you can only do this with on dedicated queue but you lose clustering.
              Thanks
              Ryan
              

    Hi Ryan,
              Ordering is still preserved between a single instance of
              a queue sender and a queue consumer if "load balancing
              enabled" is set to false on the connection factory.
              My guess is you still need a way to ensure that subsequent
              instances of the same producer end up going back to the
              same physical destination. This can be accomplished by
              (1) hard coding the destination destination name
              - or -
              (2) taking advantage of the fact that the
              producer will connect to its local destination
              if producer, connection factory, and destination
              are all running on the same JVM.
              - or -
              (3) Giving each physical
              destination the same JNDI name, turn off
              "JNDINameReplicationEnabled" on each destination,
              and ensuring that the producer uses a JNDI
              context that is from the desired JVM to
              look up the physical destination JNDI name.
              Tom, BEA
              Ryan Richards wrote:
              > Has any seen or figured out a way to track and/or sequence (keep the order of)
              > JMS Messages placed on a distributed destination's target queues on each managed
              > node? Seems like you can only do this with on dedicated queue but you lose clustering.
              >
              > Thanks
              > Ryan
              

  • JMS/Queue cluster question

              Hi
              I have some very basic cluster questions on JMS Queues. Lets say Q1>I have 3 WLS
              in cluster. I create the queue in only WLS#1 - then all the other WLS (#2 and #3)
              should have a stub in their JNDI tree for the Queue which points to the Queue in
              #1 - right? Basically what I am trying to acheive is to have the queue in one server
              and all the other servers have a pointer to it - I beleive this is possible in WLS
              cluster - right??
              Q2> Is there any way a client to the queue running on a WLS can tell whether the
              Queue handle its using is local (ie in the same server) or remote. Is the API createQueue(./queuename)
              going to help here??
              Q3>Is there any way to create a Queue dynamically - I guess JMX is the answer -right?
              But I will take this question a bit further - lets say Q1 answer is yes. In this
              case if server #1 crashes - then #2 and #3 have no Queues. So if they try to create
              a replica of the Queue (as on server#1) - pointing to the same filestore - can they
              do it?? - I want only one of them to succed in creating the Queue and also the Queue
              should have all the data of the #1 Queue (1 to 1 replica).
              All I want is the concept of primary and secondary queue in a cluster. Go on using
              the primary queue - but if it fails use the 2ndry queue. Kind of HttpSession replication
              concept in clusters. My cluster purpose is more for failover rather than loadbalancing.
              TIA
              Anamitra
              

              Anamitra wrote:
              > Hi Tom
              > 7.0 is definitely an option for me. So lets take the scenarion on case of JMS cluster
              > and 7.0.
              >
              > I do not understand what u mean by HA framework?
              An HA framework is a third party product that can be used to automatically restart a failed server
              (perhaps on a new machine), and that will guarantee that the same server isn't started in two
              different places (that would be bad). There are few of these HA products, "Veritas" is one of
              them. Note that if you are using JMS file stores or transactions, both of which depend on the disk,
              you must make sure that the files are available on the new machine. One approach to this is to use
              what is known as a "dual-ported" disk.
              > If I am using a cluster of 3 WLS
              > 7.0 servers - as u have said I can create a distrubuted Queue with a fwd delay attribute
              > set to 0 if I have the consumer only in one server say server #1.
              > But still if the server #1 goes down u say that the Queues in server #2 and server
              > #3 will not have access to the messages which were stuck in the server #1 Queue when
              > it went down -right?
              Right, but is there a point in forwarding the messages to your consumer's destination if your
              application is down?
              If your application can tolerate it, you may wish to consider allowing multiple instances of it (one
              per physical destination). That way if something goes down, only those messages are out-of-business
              until the application comes back up...
              >
              >
              > Why cant the other servers see them - they all point to the same store right??
              > thanks
              > Anamitra
              >
              Again, multiple JMS servers can not share a store. Nor can multiple stores share a file. That will
              cause corruption. Multiple stores CAN share a database, but can't use the same tables in the
              database.
              Tom
              >
              > Tom Barnes <[email protected]> wrote:
              > >
              > >
              > >Anamitra wrote:
              > >
              > >> Hi
              > >> I have some very basic cluster questions on JMS Queues. Lets say Q1>I
              > >have 3 WLS
              > >> in cluster. I create the queue in only WLS#1 - then all the other WLS
              > >(#2 and #3)
              > >> should have a stub in their JNDI tree for the Queue which points to the
              > >Queue in
              > >> #1 - right?
              > >
              > >Its not a stub. But essentially right.
              > >
              > >> Basically what I am trying to acheive is to have the queue in one server
              > >> and all the other servers have a pointer to it - I beleive this is possible
              > >in WLS
              > >> cluster - right??
              > >
              > >Certainly.
              > >
              > >>
              > >> Q2> Is there any way a client to the queue running on a WLS can tell whether
              > >the
              > >> Queue handle its using is local (ie in the same server) or remote. Is
              > >the API createQueue(./queuename)
              > >> going to help here??
              > >
              > >That would do it. This returns the queue on the CF side of the established
              > >Connection.
              > >
              > >>
              > >> Q3>Is there any way to create a Queue dynamically - I guess JMX is the
              > >answer -right?
              > >> But I will take this question a bit further - lets say Q1 answer is yes.
              > >In this
              > >> case if server #1 crashes - then #2 and #3 have no Queues. So if they
              > >try to create
              > >> a replica of the Queue (as on server#1) - pointing to the same filestore
              > >- can they
              > >> do it??
              > >> - I want only one of them to succed in creating the Queue and also the
              > >Queue
              > >> should have all the data of the #1 Queue (1 to 1 replica).
              > >
              > >No. Not possible. Corruption city.
              > >Only one server may safely access a store at a time.
              > >If you have an HA framework that can ensure this atomicity fine, or are
              > >willing
              > >to ensure this manually then fine.
              > >
              > >>
              > >>
              > >> All I want is the concept of primary and secondary queue in a cluster.
              > >Go on using
              > >> the primary queue - but if it fails use the 2ndry queue. Kind of HttpSession
              > >replication
              > >> concept in clusters. My cluster purpose is more for failover rather than
              > >loadbalancing.
              > >
              > >If you use 7.0 you could use a distributed destination, with a high weight
              > >on the destination
              > >you want used most. Optionally, 7.0 will automatically forward messages
              > >from distr. dest
              > >members that have no consumers to those that do.
              > >
              > >In 6.1 you can emulate a distributed destination this way (from an upcoming
              > >white-paper):
              > >Approximating Distributed Queues in 6.1
              > >
              > >If you wish to distribute the destination across several servers in a cluster,
              > >use the distributed
              > >destination features built into WL 7.0. If 7.0 is not an option, you can
              > >still approximate a simple
              > >distributed destination when running JMS servers in a &#8220;single-tier&#8221;
              > configuration.
              > > Single-tier indicates
              > >that there is a local JMS server on each server that a connection factory
              > >is targeted at. Here is a
              > >typical scenario, where producers randomly pick which server and consequently
              > >which part of the
              > >distributed destination to produce to, while consumers in the form of MDBs
              > >are pinned to a particular
              > >destination and are replicated homogenously to all destinations:
              > >
              > >· Create JMS servers on multiple servers in the cluster. The servers will
              > >collectively host the
              > >distributed queue &#8220;A&#8221;. Remember, the JMS servers (and WL servers) must
              > >be named differently.
              > >
              > >· Configure a queue on each JMS server. These become the physical destinations
              > >that collectively become
              > >the distributed destination. Each destination should have the same name
              > >"A".
              > >
              > >· Configure each queue to have the same JNDI name &#8220;JNDI_A&#8221;, and also
              > take
              > >care to set the destination&#8217;s
              > >&#8220;JNDINameReplicated&#8221; parameter to false. The &#8220;JNDINameReplicated&#8221;
              > parameter
              > >is available in 7.0, 6.1SP3
              > >or later, or 6.1SP2 with patch CR061106.
              > >
              > >· Create a connection factory, and target it at all servers that have a
              > >JMS server with &#8220;A&#8221;.
              > >
              > >· Target the same MDB pool at each server that has a JMS server with destination
              > >&#8220;A&#8221;, configure its
              > >destination to be &#8220;JNDI_A&#8221;. Do not specify a connection factory URL
              > when
              > >configuring the MDB, as it can
              > >use the server&#8217;s default JNDI context that already contains the destination.
              > >
              > >· Producers look up the connection factory, create a connection, then a
              > >session as usual. Then producers
              > >look up the destination by calling javax.jms.QueueSession.createQueue(String).
              > > The parameter to
              > >createQueue requires a special syntax, the syntax is &#8220;./<queue name>&#8221;,
              > so
              > >&#8220;./A&#8221; works in this example.
              > >This will return a physical destination of the distributed destination that
              > >is local to the producer&#8217;s
              > >connection. This syntax is available on 7.0, 6.1SP3 or later, and 6.1SP2
              > >with patch CR072612.
              > >
              > >This design pattern allows for high availability, as if one server goes
              > >down, the distributed destination
              > >is still available and only the messages on that one server become unavailable.
              > > It also allows for high
              > >scalability as speedup is directly proportional to the number of servers
              > >on which the distributed
              > >destination is deployed.
              > >
              > >
              > >
              > >>
              > >> TIA
              > >> Anamitra
              > >
              > >
              > ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              > ><html>
              > >Anamitra wrote:
              > ><blockquote TYPE=CITE>Hi
              > ><br>I have some very basic cluster questions on JMS Queues. Lets say Q1>I
              > >have 3 WLS
              > ><br>in cluster. I create the queue in only WLS#1 - then all the other WLS
              > >(#2 and #3)
              > ><br>should have a stub in their JNDI tree for the Queue which points to
              > >the Queue in
              > ><br>#1 - right?</blockquote>
              > >Its not a stub. But essentially right.
              > ><blockquote TYPE=CITE>Basically what I am trying to acheive is to have
              > >the queue in one server
              > ><br>and all the other servers have a pointer to it - I beleive this is
              > >possible in WLS
              > ><br>cluster - right??</blockquote>
              > >Certainly.
              > ><blockquote TYPE=CITE>
              > ><br>Q2> Is there any way a client to the queue running on a WLS can tell
              > >whether the
              > ><br>Queue handle its using is local (ie in the same server) or remote.
              > >Is the API createQueue(./queuename)
              > ><br>going to help here??</blockquote>
              > >That would do it. This returns the queue on the
              > >CF side of the established Connection.
              > ><blockquote TYPE=CITE>
              > ><br>Q3>Is there any way to create a Queue dynamically - I guess JMX is
              > >the answer -right?
              > ><br>But I will take this question a bit further - lets say Q1 answer is
              > >yes. In this
              > ><br>case if server #1 crashes - then #2 and #3 have no Queues. So if they
              > >try to create
              > ><br>a replica of the Queue (as on server#1) - pointing to the same filestore
              > >- can they
              > ><br>do it?? <br>
              > >- I want only one of them to succed in creating the Queue and also the
              > >Queue
              > ><br>should have all the data of the #1 Queue (1 to 1 replica).</blockquote>
              > >No. Not possible. Corruption city.
              > ><br>Only one server may safely access a store at a time.
              > ><br>If you have an HA framework that can ensure this atomicity fine, or
              > >are willing
              > ><br>to ensure this manually then fine.
              > ><blockquote TYPE=CITE>
              > ><p>All I want is the concept of primary and secondary queue in a cluster.
              > >Go on using
              > ><br>the primary queue - but if it fails use the 2ndry queue. Kind of HttpSession
              > >replication
              > ><br>concept in clusters. My cluster purpose is more for failover rather
              > >than loadbalancing.</blockquote>
              > >If you use 7.0 you could use a distributed destination, with a high weight
              > >on the destination
              > ><br>you want used most. Optionally, 7.0 will automatically
              > >forward messages from distr. dest
              > ><br>members that have no consumers to those that do.
              > ><p><i>In 6.1 you can emulate a distributed destination this way (from an
              > >upcoming white-paper):</i>
              > ><br><i>Approximating Distributed Queues in 6.1</i><i></i>
              > ><p><i>If you wish to distribute the destination across several servers
              > >in a cluster, use the distributed destination features built into WL 7.0.
              > >If 7.0 is not an option, you can still approximate a simple distributed
              > >destination when running JMS servers in a &#8220;single-tier&#8221; configuration.
              > >Single-tier indicates that there is a local JMS server on each server that
              > >a connection factory is targeted at. Here is a typical scenario,
              > >where producers randomly pick which server and consequently which part
              > >of the distributed destination to produce to, while consumers in the form
              > >of MDBs are pinned to a particular destination and are replicated homogenously
              > >to all destinations:</i><i></i>
              > ><p><i>· Create JMS servers on multiple servers in the cluster.
              > >The servers will collectively host the distributed queue &#8220;A&#8221;. Remember,
              > >the JMS servers (and WL servers) must be named differently.</i><i></i>
              > ><p><i>· Configure a queue on each JMS server. These become
              > >the physical destinations that collectively become the distributed destination.
              > >Each destination should have the same name "A".</i><i></i>
              > ><p><i>· Configure each queue to have the same JNDI name &#8220;JNDI_A&#8221;,
              > >and also take care to set the destination&#8217;s &#8220;JNDINameReplicated&#8221;
              > parameter
              > >to false. The &#8220;JNDINameReplicated&#8221; parameter is available in
              > >7.0, 6.1SP3 or later, or 6.1SP2 with patch CR061106.</i><i></i>
              > ><p><i>· Create a connection factory, and target it at all servers
              > >that have a JMS server with &#8220;A&#8221;.</i><i></i>
              > ><p><i>· Target the same MDB pool at each server that has a JMS server
              > >with destination &#8220;A&#8221;, configure its destination to be &#8220;JNDI_A&#8221;.
              > >Do not specify a connection factory URL when configuring the MDB, as it
              > >can use the server&#8217;s default JNDI context that already contains the destination.</i><i></i>
              > ><p><i>· Producers look up the connection factory, create a connection,
              > >then a session as usual. Then producers look up the destination by
              > >calling javax.jms.QueueSession.createQueue(String). The parameter
              > >to createQueue requires a special syntax, the syntax is &#8220;./<queue name>&#8221;,
              > >so &#8220;./A&#8221; works in this example. This will return a physical
              > >destination of the distributed destination that is local to the producer&#8217;s
              > >connection. This syntax is available on 7.0, 6.1SP3 or later,
              > >and 6.1SP2 with patch CR072612.</i><i></i>
              > ><p><i>This design pattern allows for high availability, as if one server
              > >goes down, the distributed destination is still available and only the
              > >messages on that one server become unavailable. It also allows
              > >for high scalability as speedup is directly proportional to the number
              > >of servers on which the distributed destination is deployed.</i>
              > ><br><i></i>
              > ><br><i></i>
              > ><blockquote TYPE=CITE>
              > ><br>TIA
              > ><br>Anamitra</blockquote>
              > ></html>
              > >
              > >
              

Maybe you are looking for

  • What adaptor do I need to attach my cinema LED monitor to my MacBook Pro ?

    what adaptor do I need to attach my new LED Cinema monitor to my MacBook Pro? of course the salesman assurred me it would owrks - well it does with my last year's mac book pro - but I want to use it with my old MacBook Pro - what is the adaptor name

  • My i pad just fell and my screen shattered in one corner am afraid what do I do?

    Need help I pad screen shattered in one corner

  • Array index problem in formula node

    dear friend I'm trying to use formula node to solve a problem because I make this program using c at the begining. It runs perfectly in turbo c, but somehow it doesn't work in the formula node. I try to debug my source code, and I find that the formu

  • "HTTP Response Message" Window

    I am using CP4 with our Plateau LMS v5.8.  The pass/fail communicates wonderfully, the project closes like it's supposed to.  The only annoyance is an "HTTP Response Message" window that opens as soon as the project is initiated.  If I close this win

  • SMS Relay not an option

    I have updated my iPhone 5 to 8.1. When I go into Messages the Text Message Forwarding option is not even there. iMessage is on with my iCloud email address selected. . Any suggestions on how to have this show up?