Limiting MDB to one instance per cluster

I'm working on a Weblogic setup that has one cluster consisting of three servers. We have one queue in particular whose MDB does a lot of database access. We're running into locking problems with the database because Weblogic is running an instance of the MDB on each of the three servers at the same time and they are stepping on each other's toes.
          I would like to limit the queue so it only runs on one server in the cluster. The pool size for this MDB is set to "1". I thought this would limit the total number of MDBs to one, but apparently it limits it to one per server.
          Any idea what sort of configuration I need to make sure only one instance of the MDB exists in the cluster? Do I need to turn this into a distributed queue and do something with load balancing?
          Thanks,
          Matt

Thanks for the reply.
          I looked around and I couldn't find a way to target the MDB to a specific server. I can target the JMS server, but not a single MDB. The way I have it setup currently, the JMS server is targeted to one server in the cluster (non-migratable).
          How do I target a MDB to a specific server?
          Matt

Similar Messages

  • Limite RemoteApp to one instance per user

    Hello everyone,
    A customer asked us to make an (unfinished) application available to them. Since this application is unfinished we want to make sure that only one person at a time is using it and that under no circumstances the customer can copy the application.
    RemoteApp seems perfect for this, however standard it allows users to open the same application as much as they like with the same credentials.
    Is there a way to limit the RemoteApp applications to one per user session?

    Hi,
    Another idea is to create an additional user account and limit only this account can use this RemoteApp.
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • ISV embedding database with one instance per server limitation

    Hi All,
    As an ISV, it would be nice for Oracle to provide a better embedding solution than a silent install then having to script the creation of, or restore the database. Not because it's too complicated for an ISV to script, but purely for speed reasons. It's much faster to copy pre-loaded data files onto a machine than to create empty data files, load the data in, perform an analyze and any other scripts on the database. Dems just my thoughts.
    However, my real issue is regarding the 'one instance per server' install limitation. As an ISV, if I choose to embed Oracle XE in my application - how can I 'guarantee' that my product can be installed on any given server. Picture this:
    - We submit a proposal/ tender for a license to our software.
    - Client, in conjunction with their IT dept adds internal costs, identifying servers that will run on, responsibilities, project plans (the whole works) etc.
    - Client gets signoff from their management and pays for license.
    - Client goes to install our software using Oracle XE just to find that another ISV has their software with Oracle XE embedded installed on the server.
    - Client either has to find/ buy another server, or we lose the license. Either way, client is unhappy.
    Am I missing something here? Is anyone else anticipating this problem?
    Brad

    Hi Florin,
    Thanks for the response.. a good suggestion and our schema would be < 1GB so size would hopefully not be a problem. However, as soon as we plug into another appliation's Oracle XE implementation - we've potentially lost control of the database and it loses it's "embedded" nature. Probably not a huge problem if it's an application independant implementation of Oracle XE by an IT person, but if it's another ISVs embedded database - the dramas could start.
    We effectively put our user's database within the control of another application who may not have considered the possibility of our data residing there. eg. They could do a 'drop-all' and we lose our database. Or tune the database right down and our application suffers. Or the user uninstalls that application and it decides to automatically remove Oracle XE (after all, that ISV thought it was an embedded application, right?). Do you see the potential issues?
    Perhaps Oracle XE isn't as attractive for ISVs as first thought... I guess at the heart of the issue is the fact that Oracle XE isn't really an embedded database. It's just a database you can [silently] install with your application and then becomes a general db on the machine.

  • Find/Change Grep only finds one instance per paragraph, where am I going wrong?

    Hi,
    I've been using a Find/Change Grep to find any price with a comma and change that comma to a thin space (Newspaper's editorial style).
    But the Grep only finds the first instance of this per paragraph.
    Sample text...
    "$200,000 $200,000 $200,000.
    text at start of paragraph $200,000
    $200,000 text at end of paragraph
    tab     $200,000."
    In the sample the grep would miss the second and third price on the first line.
    I've been using...
    Find...
    (?<=\$)(\d{3})\,?(\d{3})
    also tried (\$\d{3})\,?(\d{3})
    Change to...
    $1~<$2
    Is there anything I can add to find these last two prices?
    I've been using this in combination with Batch Find Replace script, so different greps are set up for 5,6 and 7 digit numbers that start with $.
    Thanks.

    Try this,
    Find what: (?<=\x{0024})(\d{3})\,?(\d{3})
    Change to: $1~<$2
    Vandy

  • Restrict application instances per user?

    We have a new ERP application.  As with most enterprise software, it has a restrictive license on concurrent uses.  It even counts multiple instances from the same user as multiple uses of its license.
    The application runs from a Windows 2012 R2 server, as a RemoteApp.
    Is there a way to restrict it so that each user may only run a single instance of the application?

    Hi Itwally1,
    All RemoteApp programs on the same server for the same user will run in the same session.
    There seems to be no built-in method to limit a RemoteApp to a single instance per user session. Please refer to following threads and check if can help you.
    Restrict a published RemoteApp to a single instance per user
    Limite RemoteApp to one instance per user
    If anything I misunderstand or any update, please don't hesitate to let me know.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Can't select more than one instance

    Hi All,
    wonder if anyone can help,
    I'm trying to get Qmaster to use more than one core(instance). but the options for selected service is greyed out for compressor, and its stuck on 1 instance, "Rendering" service is allowing me to change instances, but not compressor. Ive done a search, and as a result have reset background processing. I dont have mobile me so Back to my mac doesn't apply either.
    I have a mac pro 2.93 eight core running OS 10.6.2 on 16gig of ram - compressor is v3.5.1
    many thanks in advance
    Andy

    The 50% rule is for the first round of MacPros which could run one instance per core. The current models can run two instances per core. Check Barefeets.com for current processor testing and qmaster configuration recommendations
    One of the time limiting issues with running more and more instances is that your output file is cut into more and more segments. If all the cores are fully loaded you will not find faster encodes with more cores specified in the Qmaster but you may have slower overall project completion times. This is due to the overhead in recombining all the smaller clips back into the final file. Fewer but larger clips seem to recombine faster than more but smaller.
    again, ymmv.
    x

  • One machine = One Instance

    Hi there,
    How can i prevent that more than one instance of my application from being created in the same machine. How can i rename the process associated to the application (instead of the usual javaw.exe)?
    Thanks for any help you can give me,
    Carlos Ferreira

    When I was writing for Windows, we did this via global
    Mutex objects. Your app (on startup) would attempt to
    create and get ownership of a global named Mutex
    (usually the App name). If you got ownership, you were
    the only one running.
    The problem here with Java is that you MIGHT be
    running multiple JVMs. Without access to a machine
    level Mutex, it is difficult to ensure One instance
    per machine (that behaves well following a crashor
    error).Um - you do realize that the suggested socket approach guarantees exactly this? I come up, and either I get the socket or I don't. If I fail - someone else is already running, exit. When I leave, or if I crash, the socket is automatically freed up for me.
    (And, having had to debug poorly-written Windows Mutex code, I know that mutexes can be left in odd states if the holder falls over while holding them. It's easy to code to notice and deal with this - but if you fail to do so, then your app fails to run again, unless/until you reboot the machine.)
    However, one could make use of JMS to simulate this.
    Lots of overhead to set up the client and server ends
    of this simply to ensure 1 application per machine,
    but it should work. We do have to assume that the
    application plays by the rules and attempts to
    validate its one-ness prior to startup.Ow. JMS is a hugely-overcomplicated tool to use for this straightforward application.
    And, regarding everyone "playing fair" - well, yeah, that's a given. But since what we're talking about here is two instances of the same program, then it pretty much by definition either plays the game, or it doesn't.
    Grant

  • If I add artwork by dragging a jpg to the artwork area after selecting several rows, in some instances a single icon is created in the flipper;  in others one is created for each song. Why? How can I get one image per album every time?

    If I add artwork by dragging a jpg to the artwork area after selecting several rows, in some instances a single icon is created in the flipper;  in others one is created for each song. Why? How can I get one image per album every time?

    If I add artwork by dragging a jpg to the artwork area after selecting several rows, in some instances a single icon is created in the flipper;  in others one is created for each song. Why? How can I get one image per album every time?

  • Deploy one Application per OC4J instance or multiple

    Hello,
    I have the following questions on deploying applications on OC4J:
    1. What is the best practice for deploying applications on OC4J?
    2. Should I deploy only One application per OC4J Instance or multiple applications per OC4J Instance.
    3. If I decide to deploy more then one application on one OC4J Instance, for this OC4J Instance, should I increase default_island property to add the number of processes within an OC4J Instance
    Thanks,
    Manish

    You really should read the 9iAS Performance and Tuning Guide. There is no specific recommendation. It is
    highly dependent on your specific applications.
    You can deploy more than one application per OC4J instance and if you have a high performance machine you will probably want to run more than one JVM per OC4J
    instance. If you are running applications which create sessions and replicate state across JVM's then
    you may want to create multiple islands to limit the scope of replication.

  • Rating system that limits each user to one vote per item

    I am creating a PHP-based website where people can upload
    content and other users can rate the content. How do I create a
    rating system that only accepts one vote per registered user for
    each submission?

    On 04 Apr 2007 in macromedia.dreamweaver, AngryCloud wrote:
    > When a user votes on a certain picture, where is the
    information
    > stored that says that this specific user voted on this
    specific
    > image?
    In the table you create joining the two:
    USERTABLE
    Userid > Key field
    Username
    PICTURETABLE
    Pictureid > Key field
    Picturename
    USERPICTURE
    Userid > Foreign Key
    Pictureid > Foreign Key
    PictureRating
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/contact.php

  • Multiple Logical Systems in Partner Profile for one instance

    Can we create multiple Logical Systems in Partner Profile (WE20) for one instance or one System?  If it is possible, can we create Logical System with respect to Plant/Country?

    I am not quite sure if I understood your problem completley. But let's see...
    Usually you use on on MSCS Cluster Group per SAP instance. So you have your already existing NW 7.0 ABAP stack in a separated Cluster Group, and you create a new Cluster Group for your new Java system.
    You can find more information about it in this guide here on SDN:
    Link: [High Availability;
    More information about High Availability Setups for SAP System can be found here on SDN:
    Link: [High Availability]
    If you want to use the same database for your clustered ABAP stack and your new Java stack you can do a MCOD installation.
    Please see Link: [SAP Note 388866 - Multiple Components on One Database - Installation|https://service.sap.com/sap/support/notes/388866]
    Hope this helps.
    Best regards,
    Mathias

  • How can I create a one image per page caption sheet that includes the description in Bridge?

    I am trying to find a way to create a one-image-per-page caption sheet for my workflow. I currently place each image into Word and copy the description onto the document, then repeat for each image. I am hoping that there is a way to automate this process using Bridge. I know that it can be done using Lightroom, however, that is not currently an option for me. Is this something that can be done or am I bound, like Sisyphus to Microsoft Word? I have a very limited grasp of scripting, but I feel like this is possible.
    Thanks for any help.

    To create a NetBoot image, you could just put the cluster node in target mode and attach it to your PowerBook. Then use SIU to create the NetBoot image.
    If you're trying to create a backup image of the disk, use hdiutil, or put in in target mode and create the image with Disk Utility.

  • Multiple databases in one single RAC cluster

    Hi, I would like to know if one can have multiple databases running on a single RAC cluster, we have several databases in our shop and would like to consolidate all of them into a single 3-4 node RAC cluster running databases with 10.2 and 11.1 versions.
    I am newbie to RAC and would like to get some clarification if anyone has done this, google search comes up with few hits on this topic, so obviously this is not doable.
    In our case we have one database supporting critical applications and few other not so critical but are used very extensively between 9-5, so what is the use of RAC if I cannot consolidate all my databases into one cluster, or if I need a separate cluster for each of these critical databases?
    I have been all the Oracle docs that keep repeating one database multiple instances and one instance-one machine-one node, they don't even advise running multiple instances on a single node?.
    I appreciate any insight.
    Thanks.

    ora-sql-dba wrote:
    Can you give more details on how you would setup multiple databases running different versions on a single RAC cluster, I am yet to find any documentation that supports or even elaborates on this topic.You can configure a cluster with 12 nodes. Then, using dbca, configure a dev instance for nodes 1 and 2, a prod1 instance for nodes 3 to 6 and a prod2 instance for nodes 7 to 12.
    You also can configure each of these instances for all 12 nodes. And use it on all 12 nodes.
    Or, after configuring it for all 12 nodes, you can start the dev instance on nodes 1 and 2, prod1 on 3 - 6 and prod2 on the remaining nodes. If dev needs more power, you can for example shutdown prod2 on node 12 and start another dev instance there.
    My issue is with the 2nd option - running more than one instance on the same node or server. Why? Each instance has a basic resource footprint ito shared memory needed, system processes required (like db writer, log writer, sys monitor) etc. It does not make sense to pay for that same footprint more than once on a server. Each time you do, you need to reduce the amount of resources that can be used by each instance.
    So instead of using (for example) 60% of that server's memory as the SGA for a single instance, if you use 2 instances on that server you now have to reduce the SGA of each to 30% of system memory. Effectively crippling those instances by 50% - they will now have smaller buffer caches, require more physical I/O and be more limited in what they can do.
    So unless you have very sound technical reasons for running more than one instance on a server (RAC or non-RAC), do not.

  • WLS 10 MDB migration within a WLS cluster

    Hi,
    I'm trying to get MDB migration working. From my reading in the documentation regarding this topic, it appears that I have to deploy my MDB to all of the cluster server instances.
    Ex, if the JMS server that my MDB is using is on a migratable target and it composes of srv1 and srv2, then I also have to deploy my MDB to srv1 and srv2 in order to get some form of "migration" working.
    What I want to know is if it's possible to do a real migration like migrating JMS service for example? Instead of doing this multiple deployment of my MDB.
    this snippet from http://edocs.bea.com/wls/docs100/ejb/message_beans.html#wp1168630 seems to be talking about the above setup.
    MDBs do not have migratable targets. Instead, an MDB automatically detects the JMS Server migration target during deployment, and uses that as its migratable target. You must ensure that MDB are deployed everywhere that a JMS Server is deployed. You can do this in two ways:
    * Deploy MDBs homogeneously to the cluster.
    * Match an MDB’s targets to the JMS migratable target list in the config.xml file for the server instance’s cluster. The MDB target server name must match the JMS migratable target list, or MDB migration will fail. For more information on configuring migratable targets, see “Defining Migratable Target Servers in a Cluster” in Using WebLogic Server Clusters.

    Hi,
    Thanks for the information.
    Can you explain why this is happening though?
    I have a distributed queue with two members (or specifically two JMS servers), which is targetted across the cluster (two servers cluster).
    I have 1 MDB that is targetted to one of the JMS server in the distributed queue.
    I deployed the MDB to the whole cluster. During monitoring, I noticed that two copies of the MDB are resident at startup (1 active on the cluster instance where the JMS server is hosting the source destination; the other is active residing on the other cluster instance). When I manually migrate the JMS server, the MDBs' status just switch due to one able to connect while the other cannot connect anymore.
    So, this is what's to be expected of MDB migration, correct? In this simple scenario for example, there will always be 1 resident running/suspended copy of the MDB in memory within each cluster server instance. The MDB migration is just simply switching between one cluster instance's resident MDB to another instance's.
    Is this correct?
    Thanks.

  • Clustering w/ Multiple Instances per server

    For performance reasons, we want to setup multiple instances of weblogic on each server in our cluster configuration.How is this handled in a cluster configuration? Is each instance considered another server in the cluster? Does each require its on IP address, or is a seperate port sufficient for each? Also, is there a way to configure the cluster w/o using multicast - there's issues with supporing multicast on our backend network.Thanks, Rick
              

    Sure, if JVM uses native threads and the application itself is well-behaved
              concurrency-wise (very important!) it should be able to scale up on multiple CPUs.
              Madhu <[email protected]> wrote:
              > What about CPU utilization? What if you have mutliple cpus? Is the Java VM
              > optimized for mutliprocessor environment. I can VM per processor so that I
              > can keep them all busy? Is this possible? Can I have a VM locked on to one
              > processor?
              > Also, I found issues running code (could be buggy testing) running on WL 5.1
              > on multi-cpu machine, on single cpu it was all code and in mutli-cpu, mostly
              > index out of bound / some from java.util classes like ArrayList? Is this
              > common?
              > - Madhu
              > "Dimitri Rakitine" <[email protected]> wrote in message
              > news:[email protected]...
              >> Sure you can - each instance will need it's own IP address, but why do you
              > think that running WLS
              >> instance per CPU will improve performance? The reason for running multiple
              > JVMs on the same box was
              >> memory utilization, which is not an issue with Hotspot JVM.
              >>
              >> Richard Kemp <[email protected]> wrote: > For performance reasons, we
              > want to setup multiple instances of weblogic on
              >> each server in our cluster configuration.How is this handled in a cluster
              > configuration? Is each instance considered another
              >> server in the cluster? Does each require its on IP address, or is a
              > seperate port sufficient for each? Also, is there a way
              >> to configure the cluster w/o using multicast - there's issues with
              > supporing multicast on our backend network.Thanks, Rick
              >>
              >> --
              >> Dimitri
              Dimitri
              

Maybe you are looking for

  • How do I transfer projects from one disk to another disk?

    I just installed Windows 7 on a second drive in my computer (XP on the original disk).  My previous projects were all created on the XP disk on PE 2.  I want to move all that work into the Windows 7 environment, and run there from now on with Premier

  • Issues with buttons in interactive pdf (CS4)

    Hi there, I'm working on an interactive pdf that is going to be used cross platform. I'm working with ID CS4 (6.0.6) and Acrobat CS4 (9.4.4). I have some issues with the buttons I've created that I need to solve. The buttons are contours made in AI a

  • How do I customize my signature in iCloud mail?

    How can I customize my signature in iCloud mail?

  • Cannot create ASM disk groups in DBCA - Oracle 11gR1, Windows 32bit

    Good afternoon, Using 11gR1 on Windows XP, I need help installing a database (single instance) using ASM, I am not able to select disks to be stamped for use by ASM. I have done the following steps: 1. Installed the Oracle 11gR1 software (no database

  • Anybody Can Help Me ?

    Hi, I have installed oracle 8i database in my Personnel system . And created one listener and Service name . Also i have installed Oracle Forms Developer 6i in the same system . Problem is i am not able to connect Forms 6i with databse . Alone i can