1 "simple" JMS topic and 2 cluster elements with OSB

Hi,
I have 1 simple jms topic (not distributed, not on migratable target) and cluster with 2 members - OSB as main application. My OSB proxy service reads from this topic and saves data to file.
The problem is that reading from topic appears twice - once by each cluster member. How to configure topic or proxy service for only one reading?

FYI - At this year's Oracle OpenWorld, which is being held in conjunction with this year's JavaOne, Oracle will be announcing a set of enhancements that are designed to cover this exact use case.
Tom Barnes
Session ID: S317469
Title: New Service-Oriented Architecture Patterns with Enterprise Grid Messaging
Abstract: Messaging systems are essential in enabling the flexibility and loosely coupled nature of a service-oriented architecture (SOA). Oracle WebLogic Java Message Service (JMS) includes new pub-sub capabilities that make architectures more adaptable, allowing message producers to be ignorant of who is the consumer of a message or how many consumers there are. It also enables easy scale out and dynamic adaptability through clustering and message-driven bean (MDB) enhancements, all while still guaranteeing strict message ordering. This session will outline new JMS capabilities and show how they enable new designs with Oracle WebLogic Server and Oracle Service Bus.
Speaker(s): Dongbo Xiao, Oracle, Principal Member of Technical Staff
Biography not available.
David Cabelus, Oracle USA, Senior Principal Product Manager
Dave Cabelus is a Senior Principal Product Manager in the WebLogic Server group at Oracle. Dave's responsibilities include product strategy and direction for various pieces of WebLogic Server, including Java Messaging, Operations and Management, Diagnostics, and various other initiatives, and previously included database connectivity, transactions, and Web tier integration. In the industry since 1996 and involved in Java since 1999, Dave worked at various software companies including Logic Works, Platinum Software, Kana, and a few startups before coming to Oracle (BEA) in 2001.
Event: JavaOne and Oracle Develop
Stream(s): ORACLE DEVELOP, DEVELOP
Track(s): Application Grid and Oracle WebLogic
Tags: Add
Session Type: Conference Session
Session Category: Features
Duration: 60 min.
Schedule: Thursday, September 23, 11:00AM | Hotel Nikko, Nikko Ballroom II Available
Edited by: TomB on Aug 12, 2010 1:21 PM

Similar Messages

  • Can JMS topics and queues be clustered in a WLS 7.0 Cluster?

    We are installing a weblogic 7.0 cluster with 1 admin server and 2 managed
              node servers. Two nodes have been clustered. We are at the point where we
              need to configure JMS. Has any one implemented JMS in WLS 7 clustered
              environment? What are the things to watch out when clustering JMS? Can JMS
              topics and queues be clustered?
              TIA for any helpful hints and comments.
              Regards
              

    "Karim Ali" <[email protected]> wrote:
              >> Has any one implemented JMS in WLS 7 clustered
              >> environment?
              I'm currently working on a project with WLS 7 here at work, involving
              the implementation of BEA's JMS Cluster. So far, I really haven't had
              many hiccups.
              "Karim Ali" <[email protected]> wrote:
              >> What are the things to watch out when clustering JMS?
              At least in WLS 7, the biggest thing that stands out is the lack of
              automatic failover. Also, Message Paging -- make sure you configure
              paging high/low thresholds. Or, if you don't wish for it to occur but
              can't stop the server (very common these days with SLAs), set that
              byte/message high threshold to a very large number (correct me if I'm
              wrong, but I believe BEA recommends 2^63 -1).
              "Karim Ali" <[email protected]> wrote:
              >> Can JMS topics and queues be clustered?
              Well, since Topics and Queues are extensions of the
              javax.jms.Destination interface, the answer is: Yes!
              (SIDE NOTE: most people usually refer to them as a [JMS] "destination"
              -- it avoids a lot of conceptual baggage and plus, less typing!)
              You'll probably want to see this section of BEA's e-docs:
              http://edocs.bea.com/wls/docs70/adminguide/jms.html#config_distributed_destinations
              later,
              Brian J. Mitchell
              BEA Systems Administrator
              TRX
              Atlanta, GA
              email: [email protected]
              office: 404-327-7238
              mobile: 678-283-6530
              

  • JMS Topics and Selectors

    I'm running into a problem when using JMS Topics and selectors.
    If I just use:
    subscriber = session.createSubscriber(topic);
    everything works fine.
    However, if I use
    subscriber = session.createSubscriber(topic, "Property = 'Value'", false);
    I get an invalid topic exception from EvermindTopicSession.createSubscriber() line 84.
    I'm using OC4J 9.0.3 standalone.
    What might I be doing wrong?

    [bump]
    Incidentally, I've also noticed that JMSTimestamp is not set. I've even tried setDisableTimestamp(false). The timestamp still won't be set. I can set the timestamp manually myself using setJMSTimestamp. Also, message time to live doesn't seem to work with Topics (not sure about queues).
    Is this a well known problem?
    Is it an OC4J problem or a JMS problem?

  • Newbie question about JMS topic and OSB

    So here is what I want to achieve:
    I want to "front" a JMS topic on WLS using OSB 10g. I want the users (producers and subscribers) to be access the topic via proxy services. The way I picture this is that a producer will invoke a proxy to publish a message. The subscriber will (asynchronously) invoke another proxy to pickup the message.
    Is this possible and how do I go about doing this?
    thanks
    Edited by: user10341230 on Apr 28, 2010 8:49 AM

    Hi there,
    user10341230 wrote:
    I want to "front" a JMS topic on WLS using OSB 10g. I want the users (producers and subscribers) to be access the topic via proxy services. > it's not really clear what you want to achieve here.
    you say
    user10341230 wrote:
    The way I picture this is that a producer will invoke a proxy to publish a message.you need a proxy with whatever inbound protocol you like (http, file, mail...), which through a jms business service push the message to the Topic.
    you say
    user10341230 wrote:
    The subscriber will (asynchronously) invoke another proxy to pickup the messagethe subscriber can be either asyncrhnous, in which case you need a proxy service with inbound protocol jms. or as you probably need a synchronous one
    in which case you need another proxy with whatever inbound protocol you like whch once called in its pipeline calls some pojo class to read from this topic synchrnously (you need a durable subsciber).
    Regards,
    Tony
    ps: have a look http://download-llnw.oracle.com/docs/cd/E11035_01/wls100/jms/design_best_practices.html#wp1058694

  • Simple JMS Topics question

    I'm a little confused on how JMS will handle messages sent to a
              Topic with Message driven beans attached to it. What I'm unclear
              about is how many message driven beans attached to a topic will
              receive the message. Clearly the semantics are that all subscribers
              receive the message when listening on a Topic. But "how many"
              subscribers are there when you use message driven beans attached to
              a topic?
              Suppose I set up a message driven bean to subscribe to a topic.
              The container can create as many instances as necessary to process
              the message, also controlled by initial-beans-in-pool or max-beans-in-pool
              descriptors. So if I sent a message to the topic, how many instances
              of the message driven bean create to receive the message? It would seem
              that I would want to set up a single message driven bean instance in
              each server, and have multiple servers listening to the same topic,
              if I wanted to publish a message that was received in multiple machines,
              say in a cluster.
              Thanks
              

    Each MDB pool (eg each container) will a copy
              of the message and hand it to only one instance, no matter how many
              instances. Or, to put another way, only one instance within an MDB
              pool will receive a copy of a particular message.
              If there are two MDB pools listening to the topic, they each will
              receive a copy of every message sent to the topic.
              If you need to have topic messages divided between two
              MDB pools (without "copies") you will need to use a queue. One way to
              do this is to configure a messaging bridge that forwards
              from the topic to a queue, another way is to write a single
              MDB pool that listens to the topic and sends to the queue.
              Chris wrote:
              > I'm a little confused on how JMS will handle messages sent to a
              > Topic with Message driven beans attached to it. What I'm unclear
              > about is how many message driven beans attached to a topic will
              > receive the message. Clearly the semantics are that all subscribers
              > receive the message when listening on a Topic. But "how many"
              > subscribers are there when you use message driven beans attached to
              > a topic?
              >
              > Suppose I set up a message driven bean to subscribe to a topic.
              > The container can create as many instances as necessary to process
              > the message, also controlled by initial-beans-in-pool or max-beans-in-pool
              > descriptors. So if I sent a message to the topic, how many instances
              > of the message driven bean create to receive the message? It would seem
              > that I would want to set up a single message driven bean instance in
              > each server, and have multiple servers listening to the same topic,
              > if I wanted to publish a message that was received in multiple machines,
              > say in a cluster.
              >
              >
              > Thanks
              

  • Tom !!! Help needed in JMS Topic Lookup Cluster DOMAIN

    Hi Tom,
              We have a clustered domain with 2 managed servers and our application is an Applet-Servlet based application.We user JMS Topic for some of online blotters.
              And on looking up we get the following error,
              weblogic.jms.common.JMSException: <055053> <java.rmi.RemoteException: CORBA INTERNAL 1398079712 Maybe; nested exception is: org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 224 completed: Maybe >      
              weblogic.jms.client.JMSConnectionFactory.setupJMSConnection(JMSConnectionFactory.java:272)at weblogic.jms.client.JMSConnectionFactory.createConnectionInternal(JMSConnectionFactory.java:299)at weblogic.jms.client.JMSConnectionFactory.createTopicConnection(JMSConnectionFactory.java:198)at
              Pls note while looking up for the Initial context since it is a cluster environment, we look up using comma separated Ipaddresses.
              Pls note, we use JRE 1.4.2_13 for the applet to launch,.
              Earlier also for JMS failover i sought your help and your suggestions have really invaluable.
              Request you to provide me some more suggestions on this issue as well.
              Regards
              Suresh

    The exception is thrown by the JVM's built in Sun IIOP (CORBA) libraries. I don't know the cause, but a google search for "SUN minor code: 224 completed: Maybe" yields a single hit that might help. See the July 23/24 posts for "Re: iiop: error with bidirectional connections" in the weblogic rmi-iiop newsgroup:
              http://forums.bea.com/thread.jspa?threadID=300001651
              Tom

  • Change properties of a cluster element withing an array of clusters

    Hello all,
    I have an array of cluster that is shaped as a line with different display elements.
    A list or a tree wouldn't have made it, so I had to use a cluster and make a table.
    The problem is that I want to change not only the text but also the text color.
    Individually.
    I found this :
    http://www.ni.com/example/30904/en/
    But it change the property in all the clusters in the array, not just the one I need.
    Some people have the same problem :
    http://forums.ni.com/t5/LabVIEW/Reference-to-Array-of-Clusters-with-an-array-element/td-p/1006427
    http://forums.ni.com/t5/LabVIEW/Different-set-of-values-for-two-rings-in-an-array-of-clusters/m-p/10...
    http://forums.ni.com/t5/LabVIEW/array-of-clusters-get-references-to-all-the-clusters/td-p/1079456
    http://forums.ni.com/t5/LabVIEW/How-can-I-reference-the-properties-of-a-control-in-a-cluster-in/m-p/...
    http://forums.ni.com/t5/LabVIEW/Writing-only-to-certain-cluster-elements-in-an-array-by/m-p/2200728
    http://forums.ni.com/t5/LabVIEW/Update-Properties-Of-One-Control-In-An-Array/m-p/3015501
    http://forums.ni.com/t5/LabVIEW/Array-of-clusters-and-in-the-cluster-is-a-bar-meter-how-can-I/m-p/15...
    http://forums.ni.com/t5/LabVIEW/Property-node-of-a-control-inside-of-cluster-inside-an-array/m-p/946...
    Obviously, while in a list/table or tree you can change the property of an individual
    cell (font, color) you cannot do it within an array of cluster, by some sort of magic,
    the property of a cluster element (font, color) are all linked together, hence rendering
    the use of an array worthless.
    A possible hack is proprosed by using control masking, setting one visible and the
    other invisble, swapping their position, whatever. It's a hack you have to perform,
    hence add another code to maintain.
    Is that still the case or is there now a more official way to handle individual cluster
    properties, not just its data ? After all that's a common real-life example that should
    be handled by Labview. In my opinion.
    David Koch
    Solved!
    Go to Solution.

    altenbach wrote:
    One of the elements could be a 2D picture indicator of about the same size. You can write text in any color using picture functions.
    Here's what I had in mind. Seems to work just fine (I would fine-tune the font, picture border, etc. but this should get you started).
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ColorText.png ‏13 KB
    ColorText.vi ‏9 KB

  • Classify and cluster documents with algorithm in java

    Hello everybody,
    I want to classify and cluster, let's say, 100 documents which are on the Intranet.
    I was thinking of including an algorithm in java who can do this.
    But i have no clue where to start of where to begin.
    Please give me some advice or maybe an example ;),
    Greetings,
    Thijs Leusink
    [email protected]

    I was thinking of including an algorithm in java who
    can do this.
    But i have no clue where to start of where to begin.Two steps:
    1. Find an algorithm that can do what you want.
    2. Write it in Java.
    Start with the first step: if you haven't done that yet, I don't think we can help you here. Possibly you could use Google to find an algorithm.
    Then go on to the next step: if you don't even know how to begin writing a Java program then there is a collection of introductory tutorials here:
    http://java.sun.com/docs/books/tutorial/
    If you are having problems after that, come back here and ask a specific question.

  • JMS Port and Cluster

    I assume that in a cluster with multiple VMs on the same physical hardware server that the JMS port number needs to be different for each VM. However, the VMs in the cluster all share config/jms.xml. How do we set a unique port number for each JMS provider? Our current setup is: "OracleAS JMS Server Distributed Destinations"
    Thanks in advance.

    If you are starting OC4J manually, you can use the port.jms system property to assign the JMS server a port. If you are using OPMN, you can set a port range in opmn.xml and OPMN will allocate different ports to the different JVMs. Both of these methods override any server port setting in the jms.xml file.

  • Navigation button and Web Elements with Crystal XIr2

    I'm very new to Web Elements.  I have a Crystal XI report that contains several subreports, each on a new page.  Is it possible to place forward and back buttons on the report for better navigation.  From this forum I here much talk about using the hyperlinks.  Are navigation buttons possible?
    Thanks in advance

    hello...actually that would just be subreport linking...i know...too many linking methods to keep track of  
    after reading what you wish to do (drill into a subreport and then try to get back to the main report) this will not be possible with report part linking...it only works if you are not drilled into a subreport. report part linking can be used to link back and forth between main report parts...for example you can put a text object on a report footer to bring the end user back to the report header...again, without reposting the report.
    in your case you'll want to use opendocument linking to get back to the report. create a link that will repost the same report. or if you want a button, you can use webelements to do that. a simple formula example would be
    stringvar path:=
    WETargetPath("rpt" , "Name", "yourreportsname", "");
    WESubmitButton ("start over", path, "")

  • Flex with JMS Topic/Queue for Asynchronous messaging

    I have been working on Flex and JMS integration using Data
    Services for Asynchronous messaging. I am able to do this
    successfuly. Now I am in need to do the same without using the Data
    Services piece.
    For doing this I have done the following ......
    I have created a JMS Webservice in the Oracle JDeveloper 10G
    along with Webservice Client.I am able to Listen to JMS Topic/Queue
    ( this has been created in the Oracle AS ) using this Webservice
    and receive the messages from this JMS Topic/Queue
    Asynchronously.....
    But If I need to use the Flex Client , I am not able to
    Communicate with this Webservice to listen to the JMS Topic/Queue.
    Did any one in this forum tried to communicate with JMS
    Topic/Queue without using Flex Data Service.If so please share your
    inputs.

    Here is my confusion (I'm using J2EESDK1.3).
    On a local server I did the following
    j2eeadmin -addJmsFactory jms/RemoteTCF topic -props url=corbaname:iiop:mars#mars
    In the app client running on the local server I had the code
    ic = new InitialContext();
    // JNDI lookup. The resource factory ref points to the
    // Remote Connection Factory I registered
    tcf = (TopicConnectionFactory)ic.lookup("java:comp/env/jms/TopicConnectionFactory");
    // The env ref points to jms/Topic of the local server
    pTopic = (Topic)ic.lookup("java:comp/env/jms/PTopic");
    So I'm assuming that I'm using a connection factory that connect to mars and a Topic on the local box.
    On remote server mars, I deployed a MDB which use
    jms/TopicConnectionFactory and jms/Topic. But I'm thinking this jms/Topic and the one I used on the local box are not the same one. Right? Then how could the app client and the MDB share messages?
    Some of my explanation I don't if it makes sense or not.
    ConnectionFactory is a way to tell what kind of connection it could generate (Queue, Topic, Durable etc) and Where the connection would go to (local or remote).'
    As for as destination, I'm not sure. How could two server share one Topic?

  • Problem in JMS congiuration in cluster

    Hi,
    I am facing a big problem in cluster.
    I am using weblogic server8.1 with SP5.
    Created a cluster with 2 managed servers. Two JMS servers and deployed them on managed servers i.e. JMSServers1 is deployed on ManagedServer1 (migratable) and JMSServer2 is deployed on ManagedServer2 (migratable). There are 4 distributed JMS Topics are created for each server. My program uses these JMS topics and picks up the data and inserts them into the Database. The problem here is it is inserting 2 times each record. If I use single server without cluster it is inserting one time. Some times it is not JMS clients not at all invoked when even a message is published into the topic.
    What might be the problem? I am very new to this clustering. Its very urgent please.

    Hi,
    thanks a lot for your replies.
    our driver settings are correct (as I can see).
    I removed value 819 from CCSID, but we have the same effect.
    The messages in the local queue manager are TextMessages in XML.
    Does anybody know, if we need the standard modules (ConvertJMSMessageToBinary and ConvertBinaryToXMBMessage) in this case?
    Is it possible to set the CCSID for the message payload anywhere in the configuration?
    The CCSID in the Source tab doesn't have any influence to the encoding of the payload message, only to the header data.
    Regards
    Thorsten

  • Garbage added to log while sending message to Weblogic JMS topic

    Hi All,
    Was able to sucessfully send messages to Weblogic JMS topic and also able recieve them.
    But while sending the messages to topic loy of debug statements are printed to the standard output
    This is seen only in production and not in developement, and expecting it due config issue...
    Any ideas on this is greatly appriciatied.
    Thanks in advance !
    Cheers,
    Ambha

    Thanks for the replies,
    The problem is certainly not with logger settings...
    The statements which are getting printed are SSL debugging
    The following settings are used by the application which sends messages to the topic :
    Dssl.debug=true
    Dweblogic.StdoutDebugEnabled=true
    These settings are same in Dev, UAT, and Production. But why the debug statements are seen only
    in UAT and Production I am not sure...
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    *<Some TIME IST> <Debug> <TLS> <000000> <......>*
    any Ideas... ?
    Thanks
    Ambha

  • Need JMS topics tutorial

    Hi
    I need to create a WebLogic JMS topic and read messages from it. Need a step-by-step tutorial, searched the web, no help. If any one knows a good tutorial on this, pl let me know. Even a tutorial on JMS Queues would help.
    thanks
    a s

    Here are the steps for you. If you need anymore help let me know.
    Configure a JMS server.
    2.1 AdminServer and dizzy1 are running.
    2.2 Navigate to dizzyworld Services Messaging JMS Servers. Lock the
    console.
    2.3 Click New under the JMS Servers table and specify the following properties:
    Name: dizzyworldJMSServer
    Persistent Store: (none)
    2.4 Click Next and target the JMS server to dizzy1 Managed Server. Click Finish.
    2.5 Activate your changes.
    Configure a JMS module and add a queue and a topic to the JMS module.
    3.1 Navigate to dizzyworld Services Messaging JMS Modules. Lock the
    console, if necessary.
    3.2 Click New under the JMS Modules table and specify the following properties:
    Name: dizzyworldModule
    Descriptor File Name: dizzyworldModule
    3.3 Click Next and target the module to the dizzy1 Managed Server. Click Next and
    select the following:
    Would you like to add resources to this JMS system module?
    3.4 Click Finish.
    3.5 In the Settings for dizzyworldModule page, click the Subdeployments tab. Under the
    Subdeployments table, click New to create a subdeployment with the following
    specifications:
    Subdeployment Name: dizzy1SubDeployment
    Click Next.
    3.6 In the Targets page, select the dizzyworldJMSServer as the target under the
    JMS Servers table. Click Finish.
    3.7 Click the Configuration tab.
    3.8 In the Settings for dizzyworldModule page under the Summary of Resources table,
    click New to configure a new JMS queue for the JMS module.
    3.9 In the Create a New JMS System Module Resource page under the heading of
    Choose the type of resource you want to create, select Queue.
    3.10 Click Next.
    3.11 In the JMS Destination Properties, specify the following parameters:
    Name: dizzyworldQueue
    JNDI Name: dizzyworldQueue
    Template: None
    3.12 Click Next.
    3.13 Click Advanced Targeting. Select dizzy1SubDeployment from the
    subdeployments list. Click Finish.
    3.14 In the Settings for dizzyworldModule page under the Summary of Resources table,
    click New to configure a new JMS topic for the JMS module.
    Contents Page 70 of 143
    mhtml:file://C:\Documents and Settings\RTiwari\Desktop\Weblogic_9.2_LAB.mht 11/3/2008
    3.15 In the Create a New JMS System Module Resource page under the heading of
    Choose the type of resource you want to create, select Topic.
    3.16 Click Next.
    3.17 In the JMS Destination Properties, specify the following parameters:
    Name: dizzyworldTopic
    JNDI Name: dizzyworldTopic
    Template: None
    3.18 Click Next.
    3.19 Click Advanced Targeting. Select dizzy1SubDeployment from the
    subdeployments list. Click Finish.
    3.20 Activate the changes.
    You should be able to see JNDI entries on the dizzy1 managed server called
    dizzyworldQueue and dizzyworldTopic.
    Thanks
    Togotutor
    <b><a class="jive-link-external" href="http://www.togotutor.com">http://www.togotutor.com</a> (Learn Programming and Administration for Free)</b>

  • How to configure a error queue for weblogic jms topic

    Hi guys.
    I want to configure a error queue for weblogic jms topic. Wanted: The message goes to error destination when messages have expired or reached their redelivery limit.
    1. using jms transport configure proxy service:
    Retry Count :3
    Retry Interval:10
    Error Destination: ErrorTopic
    Expiration Policy: Redirect
    I tried use the proxy service to consume message from the jms topic . and generation an error in the proxy message flow. But the message didn't goes into the error topic.
    Any suggestions for this topic? Can anyone provide some helps or any useful links.
    Thanks in advance.
    Mingzhuang

    Mingzhuang
    I want to configure a error queue for weblogic jms topic. Wanted: The message goes to error destination when messages have expired or reached their redelivery limit.
    1. using jms transport configure proxy service:
    Retry Count :3
    Retry Interval:10
    Error Destination: ErrorTopic
    Expiration olicy: RedirectUnlike File/SFTP, JMS proxy service definition does not have the concept of Error Destination. To accomplish similar functionality go to JMSQ on (for which proxy is configured) server console (http://localhost:7001/console) and configure the Error Destination. Following URL will help in how to configure JMS Q.
    http://edocs.bea.com/wls/docs103/ConsoleHelp/taskhelp/jms_modules/queues/ConfigureQueues.html
    http://edocs.bea.com/wls/docs103/ConsoleHelp/taskhelp/jms_modules/queues/ConfigureQueueDeliveryFailure.html
    I tried use the proxy service to consume message from the jms topic . and generation an error in the proxy message flow. But the message didn't goes into the error topic.If every thing is configured as per above step, then the after retries, the weblogic server will put the message into JMS topic configured. Your proxy will receive from this topic.
    Let me know if we are not on same page.
    Cheers
    Manoj

Maybe you are looking for