Possible to have multiple cluster members in the same JVM (for unit tests)?

Hi,
I'm wondering if it's possible to simulate multiple cluster members inside of a single JVM. I'm looking to unit test my code and it would be great to write cases for various boundary conditions.
This could certainly be done with multiple JVMs but would be more difficult to run in something like cruise control etc.
TIA,
Danny

Hi Danny,
I do not know how to accomplish what you are asking for and run several Coherence nodes in a single JVM, but I have written a JUnit base class that starts a configurable number of nodes (each in its own JVM) and provides some other useful methods for unit/integration testing with Coherence, such as method to clear all caches or to load test data from the CSV file.
It is still a work in progress and you might need to tweak things a bit to make it work in your environment, but it will at least give you a head start.
Shoot me an email if you are interested and I'll send it to you (you can find my email in my profile).
Regards,
Aleks

Similar Messages

  • Is it possible to have multiple time machines on the same password protected network?

    is it possible to have multiple time machines on the same password protected network?  any insight would be helpful  thanks

    Youshould set one of them up to extend the wireless network. That one would not need an Ethernet connection and would allow your network to cover a broader area.

  • Is it Possible to have videos and music in the same playlist for Apple TV?

    Hi
    I'm new here so apologies if this has been asked before but is it possible to create a playlist that contains music AND videos to play on Apple TV?
    Thanks!
    Mark

    In Settings somewhere there's a Playlist option to show All Playlists - if it's only set for music playlists it may be ignoring any other media.
    Will test later.

  • What happens on iCloud (ex. contacts) when multiple family members use the same Apple ID?

    What happens on iCloud when multiple family members use the same Apple ID?  For example if we all choose to use iCloud for contacts, are they all merged together?  We use the same Apple ID so we can use find my iPhone to keep track of the whole family.

    Of course if you are both connected to the same iCloud account you have the same contacts - what did you expect?. The contacts live on the server and are read from there by the devices; so as you've both managed to sync your contacts up to iCloud they are now inextricably mixed. You can only delete your contacts by deleting individual ones, and doing that will delete them from your phone as well.
    You can only unravel this by
    1. In the iCloud contacts page at http://icloud.com, select all the contacts, click on the cogwheel icon at bottom left and choose 'Export vCard'.
    2. Sign out of System Preferences>iCloud
    3. Create a new Apple ID and open a new iCloud account with it for your own use.
    4. Import the vCard back into the iCloud contacts page.
    5. Go to http://icloud.com and sign in with the original ID. This is now his ID. Work through the contacts individually deleting the ones you don't want him to have. When done sign out and advise him to change his password.
    6. Go to the new iCloud account and delete his contacts individually.
    Of course if you have also been syncing calendars and using the same email address there are problems with doing this.

  • HT204053 can i have multiple iCloud accounts with the same Apple id

    Can i have multiple iCloud accounts with the same Apple id

    Welcome to the Apple Community.
    No, your ID is essentially your account. You can have email aliases and you can have multiple accounts, but I don't think that's what you are asking.

  • HT2905 I have multiple album titles of the same name with different artists. How can I get them to go under one album title again?

    I have multiple album titles of the same name with different artists. How can I get them to go under one album title again?

    In iTunes(on a Mac or PC) just tap on 'Albums' rather than 'Artists' and you'll see them all together.
    You may find that there are songs mislabelled. In which case right tap on the Album or Artist and tap 'Get Info', then change to the correct name and the songs will join the rest of the songs for that Artist or Album.
    Then resync with your iPhone and all will be well.

  • Can I have multiple event structures with the same event cases?

    Hello, 
    I'm doing an application that reproduces the front panel of the HP6675A power supply. To achieve this, I have done a state machine with different states
    (initialize, measures, voltage, current, ocp, ov, store, recall, etc). In each state, should have an event structure that catches the events of the buttons, like for example: if the current state is the Voltage mode and the user press the current button the next state will be the Current mode. For this in each state of the state machine should be the same event structure with the same events.
    My problem is that the Vi doesn't work properly when I have multiple event structures with the same event cases. There are some possibily to do this, and how? Or is impossible to have multiple events? I have been reading some posts, but I don't find solutions. 
    Any help is appreciated.
    Thank you very much.
    Solved!
    Go to Solution.

    natasftw wrote:
    Or as others mentioned, make two parallel loops.  In one loop, have your state machine.  In the other, have just the Event Handler.  Pass the events from the handler to the state machine by way of queues.
    A proper state machine will not need the second loop.  The "Wait For Event" or "Idle" state (whatever you want to call it) is all you really need in order to catch the user button presses.  The setup is almost there.  Maybe add a shift register to keep track of which state to go to in the case of a timeout on the Event Structure.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Is it possible to have two DADs that access the same database?????

    Hello,
    Is it possible to have two DADs that access the same database?
    One DAD would be password protected with Authentication mode Per Package and the other DAD would not require a password/login
    If it is possible can you also give suggestions about how to do this
    Thanks
    Doug

    I HAD THE SAME PROBLEM WITH SHARING MY LIBRARY WITH MY SON. WHAT I DID WIAS CREATED A LIBRARY FOR HIS USE ONLY. IN ITUNES CLICK--FILE--NEW PLAYLIST AND THIS SHOULD ADD AN UNTILED PLAY LIST IN YOUR SIDE BAR. CLICK ON IT AND RENAME IT. HE CAN KEEP ALL OF HIS MUSIC IN THIS LIBRARY. SELECT ALL OF HIS MUSIC FROM YOUR LIBRARY AND DRAG IT INTO HIS. ONCE THIS IS DONE YOU CAN THEN REMOVE HIS SONS FROM YOU PLAY LIST. MAKE SURE YOU ONE REMOVE IT FROM YOUR PLAY LIST AND NOT DELETE THE FILE.
    HOPE THIS HELPS
    G4   Mac OS X (10.3.9)  

  • Is it possible to have 2 threads running at the same time?

    Is it possible to have 2 threads running at the same time at different times eg 1 repeats every 20 miliseconds and the other 40 for example. Also could you have 2 run() methods in one script, in one file? If so how? Help soon would be appreciated. Thanks.

    Is it possible to have 2 threads running at the same
    time at different times eg 1 repeats every 20
    miliseconds and the other 40 for example. Yes.
    http://java.sun.com/docs/books/tutorial/essential/concurrency/index.html

  • How can I have another Itunes account on the same computer for my wife?

    How can I have another Itunes account on the same computer for my wife?

    In case you didn't fully understand what dallon meant, it means another user account on your computer. You set that up in Windows and then instal iTunes onto that account.
    That way, you each have your own desktop and your own itunes. You can link to the songs in the other person's library as well, but you cannot run both iTunes at the same time. (That simply means you need to close it on the first account before opening it on the second account.)

  • Is it possible to create multiple LDAP server in the same bi11g application

    Hi,
    they are 8 location users are acessing my report.now i am trying to implementing LDAP server for the user security in my obiee11g application. is it possible to configure/implement multiple LDAP server in the same BI server.
    Thanks
    Deva

    YES. refer http://total-bi.com/2011/07/multiple-ldap-authentication-providers-in-obiee-11-1-1-5/

  • Can I have multiple Ipad airs using the same i tunes account?

    Can I have mutiple Ipad Air using the same I Tunes account?

    Yes. Are you also talking about them using the same Apple/iTunes/iCloud ID for signing on?
    GB

  • How to have two seperate Itunes on the same computer for two Ipods?

    Is there a way to have two separate Itunes downloaded on the same computer for two different Ipods? My sister got a new Ipod and she wants to hook it up to the computer but when ever she does it just pulls up my Itunes and has all of my songs on there. How can we each have our own Itunes?

    There's many ways to accomplish this. You could create two accounts in Windows. That way everything is completely separate. Or, you could manually manage your music in iTunes -- this way it won't automatically sync your music onto her iPod. More info here:
    http://docs.info.apple.com/article.html?artnum=61148
    http://docs.info.apple.com/article.html?artnum=93779

  • Running multiple weblogic servers on the same JVM

    Is there a way to make Weblogic 7.0 and Weblogic 5.1 run on the same JVM? If so
    what are the pros and cons?

    I hope you also checked the IPCKEY (and all other identifiers of that kind)
    in your ubbconfig file: they should all be different.
    We have similar configurations running without any major difficulty.
    One catch: very heavy IPC activity (due to errors in the application,
    never because of heavy user load) in one environment sometimes overloads
    the OS, resulting in hung applications in the other environments.
    Regards
    Frank
    "Manoj SASIDHARAN" <[email protected]> wrote:
    >
    Hi Troy,
    Here are a few tips:
    1. Check the APPDIR values in both environments. They should point to
    the appropriate
    directories containing the Tuxedo server binaries for each environment.
    Analyse
    the values of APPDIR environment variable and also inside the UBBCONFIG
    file.
    2. Check the WSL address. Both environments should have different ports
    for listening
    to requests.
    3. Check the WSNADDR environment variable at the client side. They should
    point
    to the appropriate WSL addresses.
    HTH
    regards
    MS

  • Can you have multiple users working off the same Mac pro at the same time with multiple monitors but doing different things?

    I'm buying desktops for a start up company and was wondering if I could purchase a single Mac Pro and run multiple monitors to allow multiple users to work on the computer at the same time. These users would be doing different tasks but I would hope to accomplish that on a single desktop. I know that screen sharing is possible but with only one user controlling both of the screens. Thanks in advance, sorry for my apple ignorance!

    A lot of companies are buying or leasing laptops to be used at the office by day, and carried home at night.
    Some companies are doing "Bring your own device". Bring a device to receive email -- computer/smartphone/tablet you already have, or have an allowance to buy one for your use.
    If Capital is short (and when is it not) leasing computers, to be turned in a few years, can be a huge savings because the cost is expensed as incurred. The alternative is laying out cash today, but not being able to expense the cost this year. Instead, the computer expense must be recovered over their useful life (often five years) through depreciation.

Maybe you are looking for

  • Headphone jack BROKEN

    Hey all, I have one question, one major problem, i Have a 5th generation video Ipod (late 2006), with a broken headphone jack. its broken because only my music comes out of the left headphone/speaker. i know its not my headphones because i have pluge

  • Overclocking Experiences!!!

    Hi everybody, I own two MSI cards and I want to know everybody´s experiences: MSI 8866-T Geforce4 MX 440 64 MB DDR MSI 8907-TD128 Geforce FX 5200 128 MB DDR Tested with: AMD AthlonXP 2000+ Thoroughbred ASUS A7A266 1012 BIOS (ALi M1647 northbridge) El

  • Question on Numbers Formula:

    Hello Guys, Thanks in Advance for all those who attempt to solve my question. I am preparing a numbers file that helps me track my expenses. I would like to know a formula that i should apply on a table that basically sorts and populates all the enti

  • Being billed per month for phone protection

    I've just goten billed around $15 for either a warranty or so for my Iphone5s I'd like to cancel the warranty. Once purchacing my phone I was told I'd be billed per month for the warranty but the first month's free. I've lost the phone number I'm to

  • IPhone won't charge on computer

    My iphone will charge when plugged into the wall, but won't charge or connect to iTunes on my computer.  any suggestions???