Architecture for using MDB with a server cluster

          Hi,
          I would like to get some advice on the architecture that is the most desirable
          for a scenario that I have here.
          I have 3 machines, each running a managed server belonging to the same cluster.
          My admin server runs on a 4th machine. I have deployed my MDB on the cluster and
          I'm trying to find a way to configure the 3 + 1 machines to give the best end-to-end
          time for processing the JMS messages.
          To investigate this, I'm running some simple benchmark tests with a client application
          that sends JMS messages to the system. The client repeatedly sends messages to
          the MDB's queue and the MDB puts processed messages to another queue that the
          client is listening to.
          Now, my question is: where should I set the target for my JMS server (and hence
          my queues) and the connection factories? I can think of a few possiblities:
          1. Connection factories target: cluster; JMS server target: one of the servers
          in the cluster
          -> Potential drawback - The server with the JMS server will be handling and redistributing
          the JMS messages to other servers in the cluster. This means that a portion of
          its processing power is used to do this instead of actually having the MDB process
          the JMS message. (Please correct me if i'm wrong)
          2. Connection factories target: cluster; JMS server target: have one JMS server
          for each server in the cluster and make use of distributed destinations
          -> Potential drawback - My client establishes connection with the MDB's queue
          only once before it sends its messages to it. Probably as a result of this and
          the way WebLogic clusters load-balance themselves, all the messages end up being
          routed to the same server. This option appears to be out since 2 of the 3 servers
          are not utilized at all.
          3. Connection factories target: admin server; JMS server target: admin server
          -> Potential drawback - The MDB has to maintain a queue connection with a server
          that is not part of the cluster. (Again, please correct me if I'm wrong.) I'm
          not sure if this introduces extra time taken for the MDB to receive its messages
          and for it to send the processed messages to the queue.
          I'd appreciate it if someone could advice me on the most desirable architecture
          to use here. From my understanding of the problem, option 3 seems to be the answer,
          but I may be wrong. Perhaps there is no significant difference in terms of performance
          that 3 can give, compared to 1 and 2.
          One last question. I'd like to understand, in option 1, if the admin server plays
          any part in load-balancing the cluster. Are the JMS messages received on the cluster's
          JMS queue forwarded to the admin server before they are rerouted to the server
          that is supposed to process it?
          Cheers,
          C.Y.
          

3. Connection factories target: admin server; JMS server target: admin          server
          > -> Potential drawback - The MDB has to maintain a queue connection with a
          server
          > that is not part of the cluster. (Again, please correct me if I'm wrong.)
          I'm
          > not sure if this introduces extra time taken for the MDB to receive its
          messages
          > and for it to send the processed messages to the queue.
          Admin server is not supposed to participate in the cluster. I wouldn't
          deploy anything on the admin server.
          I think my personal preferene would be connection factories to the cluster
          and use distributed destinations.
          Regards...
          

Similar Messages

  • Using equalizer with reports server cluster

    Hello World!
    Just wonder if anybody using equalizer with Reports servers cluster, if yes what type?
    what is the cluster architecture?
    such as Machine A, B, C.... machine A has infra and mid , machine B has only infra, machine C has only mid...
    The problem we are having when the second member of a cluster is down the report server component complaints with somw internal error...
    TIA

    3. Connection factories target: admin server; JMS server target: admin          server
              > -> Potential drawback - The MDB has to maintain a queue connection with a
              server
              > that is not part of the cluster. (Again, please correct me if I'm wrong.)
              I'm
              > not sure if this introduces extra time taken for the MDB to receive its
              messages
              > and for it to send the processed messages to the queue.
              Admin server is not supposed to participate in the cluster. I wouldn't
              deploy anything on the admin server.
              I think my personal preferene would be connection factories to the cluster
              and use distributed destinations.
              Regards...
              

  • Problem in using MDB with Foregin Server

    Hi, anyone can help me? I am currently using Weblogic 11g, 10.3.5, development edition locally in my desktop.
    My scenario is I have to using an MDB to monitor a queue in a Tibco EMS queue (lookup with LDAP server).
    I create a JMS Server, and a JMS module with a Foreign Server configured. In the module, I specified "JNDI Initial Connection Factory", "JNDI Connection URL", "JNDI Credentirals", etc.
    In the module, I have a Queue with local jndi name: jms/MyReqQueue and a Connection Factory, jms/MyReqCF (with password setup).
    I created an MDB with annotations, and packaged into a EAR
    @MessageDestinationConfiguration(connectionFactoryJNDIName = "jms/MyReqCF")
    @MessageDriven(
              activationConfig = {
                        @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
                        @ActivationConfigProperty(propertyName = "connectionFactoryJndiName", propertyValue = "jms/MyReqQueue")
              mappedName = "jms/MyReqQueue")
    public class FortressOrderProcMDBean implements MessageListener {
    I created a testing program, which create an initial context, connection factory, queue myself to the weblogic server using my local jndi names, then i can receive mesages from the queue properly, so the JMS Foreign Server should work fine.
    However, I got the foilowing error withn deploying the MDB.
    [EJB:011012]The JMS connection factory with the JNDI name: weblogic.jms.MessageDrivenBeanConnectionFactory could not be found. Please ensure that the JNDI name
    in the weblogic-ejb-jar.xml or corresponding annotation is correct, and the JMSconnection factory has been deployed.
    javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'ou=weblogic.jms.MessageDrivenBeanConnectionFactory' NestedException
    Message is :[LDAP: error code 32 - No Such Object]>
    Thanks

    Your annotated MDB does not seem to be correct. The error indicates that the connection factory jndi name of the MDB was not set correctly.
    Please refer to the following doc for an sample.
    http://download.oracle.com/docs/cd/E17904_01/web.1111/e15493/annotations.htm#sthref25

  • Using MDB with IBM MQSeries

              Hi All,
              I want to use MDB with MQSeries as Messaging medium.
              My Weblogic App. server version is 6.0
              I want MDB to get invoked whenever any message comes in MQSeries queue.
              I think 8.1 version provides a option to add external JMS server.
              Is it possible in 6.0 version?
              Please let me know ASAP.
              Waiting for reply!
              Thanks,
              Prasanna Laddha
              

    Hi Prasanna,
              The best resource is the white-paper, which mentions MQ directly:
              http://dev2dev.bea.com/resourcelibrary/whitepapers/jmsproviders.jsp
              But it does not take into account the following 8.1 feature:
              http://edocs.bea.com/wls/docs81/ConsoleHelp/jms_config.html#accessing_foreign_providers
              Tom
              prasanna wrote:
              > Hi Tom,
              > I had weblogic 7 now.
              > Is there any document which can help me in setting up connection with MQSeries
              > for MDB beans?
              >
              > Pls let me know ASAP.
              > Thanks lot.
              > Prasanna
              >
              >
              >
              > Tom Barnes <[email protected]> wrote:
              >
              >>In 6.0, for non-transactional case, I'm fairly
              >>sure that you can drive the MDB directly from MQ. See
              >>the white-paper:
              >>
              >>http://dev2dev.bea.com/resourcelibrary/whitepapers/jmsproviders.jsp
              >>
              >>But, as with most customers, my guess is that you need
              >>to transfer the messages transactionally
              >>(exactly-once). In which case more work is needed:
              >>
              >>By far the easiest option is to upgrade to WL7.0 or
              >>WL8.1 which can drive an MDB transactionally
              >
              >>from MQ directly. WL8.1 provides enhancements
              >
              >>to wrap foreign vendor resources to simplify
              >>the process even farther.
              >>
              >>Another option is to use a WL6.1SP3 or later
              >>server running a messaging bridge to bridge from MQ
              >>to WL6.0. I'm not sure if these are capable of
              >>bridging to 6.0 exactly-once (transactionally) though.
              >>
              >>For the transactional case, I think you will
              >>end up needing to
              >>write your own "bridge" that runs from within
              >>a startup class or servlet.
              >>The following example shows how to bridge from
              >>wl to mqseries transactionally using a startup class.
              >>To drive the MDB exactly-once, you will need
              >>modify this code to do bridge from MQ into
              >>a WL queue instead, then the queue in turn can
              >>be used to drive the WL MDB:
              >>
              >>http://dev2dev.bea.com/codelibrary/code/mqseries.jsp
              >>
              >>Tom
              >>
              >>
              >>Prasanna wrote:
              >>
              >>>Hi All,
              >>>I want to use MDB with MQSeries as Messaging medium.
              >>>My Weblogic App. server version is 6.0
              >>>
              >>>I want MDB to get invoked whenever any message comes in MQSeries queue.
              >>>I think 8.1 version provides a option to add external JMS server.
              >>>Is it possible in 6.0 version?
              >>>
              >>>Please let me know ASAP.
              >>>Waiting for reply!
              >>>Thanks,
              >>>Prasanna Laddha
              >>>
              >>
              >
              

  • Using log4j with portal server

    Hi,
    I am trying to use log4j with Portal server 6.1 using log taglibs from jakarta.
    Here is what i've done:
    1. copy taglibs-log.jar in /etc/opt/SUNWps/desktop/classes
    2. copy taglibs-log.tld in /etc/opt/SUNWps/desktop/default/tld
    3. put log statements in JSPs
    for example:
    <log:debug>This is body content.</log:debug>
    <log:debug message="This is attribute content." />
    4. /etc/opt/SUNWps/desktop/classes/log4j.properties contains
    =========================================
    # Sample properties to initialise log4j
    log4j.rootCategory=debug, stdout, R
    #log4j.rootCategory=debug, stdout
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    # Pattern to output the caller's file name and line number.
    log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
    log4j.appender.R=org.apache.log4j.RollingFileAppender
    log4j.appender.R.File=logtags.log
    log4j.appender.R.MaxFileSize=100KB
    # Keep one backup file
    log4j.appender.R.MaxBackupIndex=2
    log4j.appender.R.layout=org.apache.log4j.PatternLayout
    log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n
    ===============================================
    However no log file is created on my system. I am very new to this and would appreciate if anyone could tell me what more needs to be done to get log records in a file.
    Thanks for all your help.
    Kind regards,
    Apoorv

    Hi,
    I am trying to use log4j with Portal server 6.1 using
    log taglibs from jakarta.
    Here is what i've done:
    1. copy taglibs-log.jar in
    /etc/opt/SUNWps/desktop/classes
    2. copy taglibs-log.tld in
    /etc/opt/SUNWps/desktop/default/tld
    3. put log statements in JSPs
    for example:
    <log:debug>This is body content.</log:debug>
    <log:debug message="This is attribute content." />
    4. /etc/opt/SUNWps/desktop/classes/log4j.properties
    contains
    =========================================
    # Sample properties to initialise log4j
    log4j.rootCategory=debug, stdout, R
    #log4j.rootCategory=debug, stdout
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternL
    ayout
    # Pattern to output the caller's file name and line
    number.
    log4j.appender.stdout.layout.ConversionPattern=%5p
    [%t] (%F:%L) - %m%n
    log4j.appender.R=org.apache.log4j.RollingFileAppender
    log4j.appender.R.File=logtags.log
    log4j.appender.R.MaxFileSize=100KB
    # Keep one backup file
    log4j.appender.R.MaxBackupIndex=2
    log4j.appender.R.layout=org.apache.log4j.PatternLayout
    log4j.appender.R.layout.ConversionPattern=%p %t %c -
    %m%n
    ===============================================
    However no log file is created on my system. I am
    very new to this and would appreciate if anyone could
    tell me what more needs to be done to get log records
    in a file.
    Thanks for all your help.
    Kind regards,
    Apoorv

  • Is there a set up tutorial for using Outlook with iCloud

    I am using Outlook on my PC (windows 7 and Outlook 2010)
    1. Is there a set up tutorial for using Outlook with iCloud?
    2.  Please clarify, I don't need to set up a XXX@me email account to get iCloud to sync with Outlook, correct?
    3.  My emails appear to by syncing, but the Outlook Calendar does not sync its Pre-Cloud entries with my Iphone and IPad.  Is this what is to e expected? 
    4.  If I put a calendar entry on my PC's Outlook Calendar, it should sync with my Iphone and Ipad correct?  Again, what about entries that were made in Outlook before I signed up for iCloud? 
    I am hoping there is a simple step by step tutorial somewhere, because I am pretty disappointed with Apple about how confusing this is all becoming. 

    Hello:
    Sorry I can't bring you a solution but I am surprised your mail is working. Many of us with outlook 2010 seem to be having trouble sending. It seems apple's Pxx-smpt.mail.me.com server is rejecting the loging. I have tried it on three PC's with Win7 and Outlook 2010. It simply does not work after installing from the iCloud control panel. I have also manually configured the servers, encryption method, etc to no avail.
    On the positive side, Calenda and contacts does work. First time around, the claendar duplictaed everything but I manually cleans it out. The iCloud calendar is a seperate calendar in Outlook. It seems to perform a sync with your local calendar one time. From them on, I beleive you need to use the iCloud calendar to have the same appointments show on each device. I renamed the defaut iClouds calendar to "iCloud Calendar". It's definatelly confusing and not seamless. It would be nicer to sync your OL calendar permenantly so you don;t see two or more.
    Let me know your settings for iCloud email on Outlook. Try sending an email from the @me.com account.
    Thanks,
    Kevin

  • Use GetNewObjectKey with DI Server?

    HI
    I'm converting from DI API to DI Server and want to know if there is a way to use GetNewObjectKey with DI Server?
    Thanks

    Hi Avish!
    You don't need to use GetNewObjectKey when using the DI Server. When you add/update/close/remove an object, you get the new key in the reply of the command.
    For example, the following request:
    <dis:AddObject xmlns:dis="http://www.sap.com/SBO/DIS">
    <BOM>
      <BO>
       <AdmInfo>
        <Object>oBusinessPartners</Object>
       </AdmInfo>
       <BusinessPartners>
        <row>
         <CardCode>NewBP</CardCode>
        </row>
       </BusinessPartners>
      </BO>
    </BOM>
    </dis:AddObject>
    Will return the following response:
    <dis:AddObjectReponse xmlns:dis="http://www.sap.com/SBO/DIS">
    <RetKey>NewBP</RetKey>
    </dis:AddObjectReponse>

  • HT201070 I currently use OS 10.6.8 and Aperture 3, and just got a Nikon D600. It seems the the RAW Compatibility updates (4.01) are for use only with OS 10.7.5 or later, is that right? Do I need to update my whole OS to use this camera? Thank you!

    I currently use OS 10.6.8 and Aperture 3, and just got a Nikon D600. It seems the the RAW Compatibility updates (4.01) are for use only with OS 10.7.5 or later, is that right? Do I need to update my whole OS to use this camera? Thank you!

    Thanks to Bobthefisherman & Turbostar.  Turns out I've got a corrupted disk (which I found out via "verify disk" on Disk Utility First Aid.  Previously, I never thought to verify disk -- only to repair permissions -- so I never knew my HD had been corrupted.
    Wasn't able to do a clean install of OSX10.6 because my SuperDrive only sporadically will load discs, so I am taking it to the Apple Store to see if they can do a clean install, and depending upon costs, get the Superdrive replaced. 
    The HD wasn't partioned by the way.  And I did have just over 40GB of contiguous space. 
    Thanks again.

  • Any sample for using Captcha with Oracle ADF ?

    Hi
    Thank you for reading my post
    is there any sample available for using captcha with adf faces ?
    thanks

    Hi,
    nott hat I am aware of. However, I started a project to build a custom JSF component using
    http://jcaptcha.sourceforge.net/
    Not sure when I have this finished, but the goal is to have this working with ADF Faces (not sure if it makes sense to bind the component to ADF though)
    Frank

  • Question for using ORACLE with SOLARIS

    Hi Experts,
    I have worked Oracle with Linux in one of my projects 2yrs back and i was just a developer, used to write SQL Query, Creating Table and Objects.
    Now i got a question from TL which is
    Tell me about consequences for using Oracle with Solaris?
    I am not worked ORACLE with SOLARIS, Can some one give me the answer for this question with
    1. Difference between ORACLE with LINUX and ORACLE with SOLARIS.
    2. Advantages and Disadvantages Between ORACLE with LINUX and ORACLE with SOLARIS.
    Thanks,
    MuraliDharan V

    Hi MuraliDharan V,
    It would had been better if you had searched first;
    Here is one
    Advantage for Linux64-bit Versus Solaris-x86_64 OS in RAC
    And beside that your question is incomplete:
    -What Oracle? Database, etc
    -Which Version? 9i, 10g, etc
    Aside from that a simple search on google might have answered your question as well.
    But I think there is some new trend of dumping questions here before searching.
    Ex Senior DBA

  • How to use quota on a desktop folder for all users with File Server Resource Manager.

    Hi there,
    I'd like to know if there is a posibility to use variables in the path with File Server Resource Manager if you want to set the quota.
    The path I'd like to use is d:\home\%username%\desktop.
    Like to hear from you all if there is a solution or workaround for this one :)
    Thanks for your time.
    Ben.
    Ben van der Meer

    That's a question about Automator, so I'd pop that one here
    http://discussions.apple.com/forum.jspa?forumID=1339
    Regards
    TD

  • Jdeveloper Version for MSCA development with MWA server based programming

    Any one Please provide the Oracle Jdeveloper version for Mobile Supply Chain Applications with MWA server based programming. This application basically runs on Whse mgmt responsibility. Any body who is developing this type application, please provide the Oracle Jdeveloper VERSION using for programming.
    Thanks,
    Deepak

    my issue is resolved. i'm getting this problem when i add just java class file to the project. but when i also add the business componets and page component and generate controller class to the project , i can see that import is recognized by the java class file. So i guess i have to delete all the unwanted business components that i have created at the end.
    Thanks
    Sunny
    Edited by: user13369509 on Mar 16, 2011 12:44 PM

  • Using Hprof with Commerce Server 3.5

    My company is beginning the move to J2EE and I have been tasked with researching
    profilers. I quickly came across Hprof, which is provided by the Sun JVM through
    the use of the -Xrunhprof option. I have been able to successfully profile a
    very small test application (stand alone app). However, I run into problems when
    I use Hprof and try to start the example server provided with Commerce Server
    3.5 (with WebLogic 6.0). Please see below for my syntax and results.
    Syntax
    %JAVA_HOME%\bin\java -Xrunhprof:cpu=times,doe=y .....
    Results
    The server appears to start and work correctly (no HRPOF ERROR: messages). When
    I shut it down (using the console) and look at the java.hprof.txt file that is
    created, the hprof data has not been fully written to the file. The file ends
    in the middle of a trace:
    TRACE 6687:
         java/net/URLStreamHandler.getDefaultPort(URLStreamHandler.java:Unknown line)
    I am curious if anyone has run into this problem before and how they might have
    corrected it. Can anyone suggest a set of Hprof parameters to use? Or provide
    a link to a good description of all of the parameters (I haven't found a lot of
    documentation on it)?
    I know that there are other commercial profilers (JProbe, Optimizeit, etc.) but
    I would like to learn the basics before diving into them.
    Any comments or suggestions would be appreciated.
    Thanks
    --Chris

    Hi Martin,
    You probably already noticed, but a new WLCS 3.5 license has been
    posted at http://commerce.bea.com/downloads/commerce_servers.jsp
    Thanks for posting this. I'm sorry it didn't get answered until now.
    If you ever have a question in the newsgroup that is not answered quickly
    enough to get you on track with your evaluation or development process
    then you can let our support team know about it by opening a support case
    (for free) at http://www.bea.com/support/index.jsp
    Martin Swan wrote:
    When will the license on your site be updated, it ran out yesterday ?--
    Ture Hoefner
    BEA Systems, Inc.
    2590 Pearl St.
    Suite 110
    Boulder, CO 80302
    www.bea.com

  • What's best architecture for DAQmx app with two operational modes?

    I have an architectural question.  I am writing an application which takes measurements from a custom sensor which has two modes of operation: 1) idle mode where two voltages are sampled slowly, run through a transform, and then the result is plotted such that the user can see the idle state of the sensor; 2) a testing mode where the user defines a testing time of some number of seconds then hits 'Go' and records high-speed acquisition for the specified number of seconds (with some sort of simultaneous real-time plotting) and then writes the data out to a file.  I am trying to use the 'Top Level Application using Events" VI template but have run into issues with the VI not responding to UI clicks when in an event case...I got around **some** of these issues but now I am stuck because I can't get the app to register an abort button click when in testing mode.  I think I am missing something when it comes to events as LabVIEW defines them.  (I'm a .NET programmer)  My basic question is what is the best top-level VI architecture to use for something like this?  I don't want to go down the wrong path and have to re-write the whole thing...
    **I did come up with a seemingly neat way to get a tab control to switch tabs from inside an event case...I look at the X, Y coordinates of a mouse click and if it is within one of the tab selector zones at the top, left of the control I programmatically swith to the corresponding tab...seems like there should be an easier way but it works.

    I think that the best would probably be a producer consumer type architecture  with events.  You can do a search in the example finder and find a good one. As for the events not responding, you probably just need to uncheck the check box for disabling the front panel until the event finishes. You will find this at the bottom of the dialog box for the event structure.
    Joe.
    "NOTHING IS EVER EASY"

  • Best practice for using Muse with Lightroom?

    I'm creating a photography website. I use Lightroom to manage my photographs, and I keep the pictures for my site in Collections.
    In Muse, I'd like to have ALT text descriptions (or something similar) of each picture, so that search engines can see what's on my site.
    Is there a way to embed the descriptions into the image info in Lightroom, and have it export in a way that Muse picks it up?
    My problem is this: I've been creating ALT tags in my Muse slideshows (by right clicking on each image and selecting "Edit image properties..."). This works, but I lose my ALT tag if I export the images from Lightroom using any naming convention that doesn't maintain a consistent relationship between image and name. This makes it very difficult to manage my exports from Lightroom, especially if I want to add images or change the order of images.
    At the risk of providing too much detail, the reason I rename images on export is this: In Lightroom, my images are named with my client's last name and a sequence number. When I export them for use on my website, I want them to have a different name, primarily to protect my clients' privacy, but also to allow me to organize them easily in my slideshows. So for example Jones-103.dng gets exported as Checkerbox-Wedding-Photography-[nnn].jpg, where [nnn] is a new sequence number.
    Can anyone tell me a better way to manage this workflow?

    publish/subscribe, right?
    lots of subscribers, big messages == lots of network traffic.
    it's a wide open question, no?
    %

Maybe you are looking for