Can not get two instances to join same cluster even on same machine

On a RedHat Linux box, I have failed to get two instances of coherence to join the same cluster. I have managed to get the muticast test tool to show that packets are being sent and received. To do this, I had to:
java -cp bin/tangasol.jar -Djava.net.preferIPv4Stack=true com.tangosol.net.MulticastTest
Wed Apr 15 21:02:45 WET 2009: Sent packet 1.
Wed Apr 15 21:02:45 WET 2009: Received test packet 1 from self (sent 7ms ago).
Wed Apr 15 21:02:47 WET 2009: Sent packet 2.
Wed Apr 15 21:02:47 WET 2009: Received test packet 2 from self
Wed Apr 15 21:02:49 WET 2009: Sent packet 3.
Wed Apr 15 21:02:49 WET 2009: Received test packet 3 from self (sent 1ms ago).
Wed Apr 15 21:02:51 WET 2009: Sent packet 4.
Wed Apr 15 21:02:51 WET 2009: Received test packet 4 from self
However, I could not get the following to show that two instances are joining the same cluster... When I start to instances, both of them create a new cluster with only one member in each.
java -Djava.net.preferIPv4Stack=true -jar lib/coherence.jar
and obviously, when I try to start two instances of the sample application, I get the same problem.
java -cp ./lib/coherence.jar:./lib/tangosol.jar:./examples/java -Djava.net.preferIPv4Stack=true -Dtangosol.coherence.localhost=172.16.27.10 -Dtangosol.coherence.localport=8188 -Dtangosol.coherence.cacheconfig=/cache/explore-config.xml com.tangosol.examples.explore.SimpleCacheExplorer

Thanks for that... I ran:
jdk1.6.0_13/bin/java -Dtangosol.coherence.log.level=6 -Dtangosol.coherence.log=/my1.log -Dtangosol.ccacheconfig=/cache/explore-config.xml -Djava.net.preferIPv4Stack=true -jar lib/coherence.jar
and then
jdk1.6.0_13/bin/java -Dtangosol.coherence.log.level=6 -Dtangosol.coherence.log=/my2.log -Dtangosol.ccacheconfig=/cache/explore-config.xml -Djava.net.preferIPv4Stack=true -jar lib/coherence.jar
from the same machine and get the following from the log file of the second run (my2.log)
Oracle Coherence Version 3.4.2/411
Grid Edition: Development mode
Copyright (c) 2000-2009 Oracle. All rights reserved.
2009-04-16 06:53:11.574/0.625 Oracle Coherence GE 3.4.2/411 <Warning> (thread=main, member=n/a): UnicastUdpSocket failed to set receive buffer size to 1428 packets (2096304 bytes); actual size is 89 packets (131071 bytes). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.
2009-04-16 06:53:11.660/0.711 Oracle Coherence GE 3.4.2/411 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
2009-04-16 06:53:14.892/3.943 Oracle Coherence GE 3.4.2/411 <Info> (thread=Cluster, member=n/a): Created a new cluster "cluster:0x2FFB" with Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole, Edition=Grid Edition, Mode=Development, CpuCount=8, SocketCount=2) UID=0xC0A8010700000120ADB3521C69071F99
SafeCluster: Name=cluster:0x2FFB
Group{Address=224.3.4.2, Port=34411, TTL=4}
MasterMemberSet
ThisMember=Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole)
OldestMember=Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole)
ActualMemberSet=MemberSet(Size=1, BitSetCount=2
Member(Id=1, Timestamp=2009-04-16 06:53:11.58, Address=192.168.1.7:8089, MachineId=26887, Location=process:3514, Role=CoherenceConsole)
RecycleMillis=120000
RecycleSet=MemberSet(Size=0, BitSetCount=0
Services
TcpRing{TcpSocketAccepter{State=STATE_OPEN, ServerSocket=192.168.1.7:8089}, Connections=[]}
ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.4, OldestMemberId=1}
the contents of the xml file are:
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<caching-scheme-mapping>
<!--
Caches with any name will be created as default replicated.
-->
<cache-mapping>
<cache-name>*</cache-name>
<scheme-name>default-replicated</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<!--
Default Replicated caching scheme.
-->
<replicated-scheme>
<scheme-name>default-replicated</scheme-name>
<service-name>ReplicatedCache</service-name>
<backing-map-scheme>
<class-scheme>
<scheme-ref>default-backing-map</scheme-ref>
</class-scheme>
</backing-map-scheme>
</replicated-scheme>
<!--
Default backing map scheme definition used by all
The caches that do not require any eviction policies
-->
<class-scheme>
<scheme-name>default-backing-map</scheme-name>
<class-name>com.tangosol.util.SafeHashMap</class-name>
</class-scheme>
</caching-schemes>
</cache-config>

Similar Messages

  • I can not get iTunes or Quick Time to install on Windows xp machine.  I get

    I can not get iTunes or Quick Time to install on Windows xp machine. I get an error 1316 - c:\wndows\installer\iTunes.msi
    and then I get an error -1603 ?
    any ideas, oh I am trying to put iTunes & QuickTime on a Different Hard Drive Partion 'D:' not on the,
    Normal 'C:' Drive Partion... Any Help You can give me.
    My Email address is: [email protected]
    Thank You in advance! Al Adams
    SONY VAIO Windows XP

    I strongly recommend that you install iTunes to the default C: paths. You can change the perferences to keep the actual music files on your D: partition.
    Here is a place to start with the installer errors:
    InstallShield Consumer Central FAQs

  • Can not get two AS2 scrollers to work on same page.

    Hi.
    I really like this particular scroller I used at the bottom of the page here:
    http://steamandclean.com
    Now I need to use two instances of it side by side on another page and can not get it to work.
    I have tried:
    Having same code twice in frame 1 unchangend.
    Having two instances of all the code but with renamed variables and instance names throughout the code.
    Having each scroller in their own movie clip and then add them both to the scene.
    Having a master fla with the background and importing two separate swfs with each their own scroller - they work independantly but when they import to the same page one of them will not work.
    Here is the AS2 I am using:
    Left scroller:
    fscommand("allowscale", "true");
    bar.useHandCursor = dragger.useHandCursor=false;
    space = 20;
    friction = 0.9;
    speed = 4;
    y = dragger._y;
    top = main._y;
    bottom = main._y+mask_mc._height-main._height-space;
    dragger.onPress = function() {
              drag = true;
              this.startDrag(false, this._x, this._parent.y, this._x, this._parent.y+this._parent.bar._height-this._height);
              scrollEase();
    dragger.onMouseUp = function() {
              this.stopDrag();
              drag = false;
    bar.onPress = function() {
              drag = true;
              if (this._parent._ymouse>this._y+this._height-this._parent.dragger._height) {
                        this._parent.dragger._y = this._parent._ymouse;
                        this._parent.dragger._y = this._y+this._height-this._parent.dragger._height;
              } else {
                        this._parent.dragger._y = this._parent._ymouse;
              scrollEase();
    bar.onMouseUp = function() {
              drag = false;
    moveDragger = function (d) {
              if ((dragger._y == y+bar._height-dragger._height && d == 1) || (dragger._y == y && d == -1)) {
                        clearInterval(myInterval);
              } else {
                        dragger._y += d;
                        scrollEase();
                        updateAfterEvent();
    up_btn.onPress = function() {
              myInterval = setInterval(moveDragger, 18, -1);
    down_btn.onPress = function() {
              myInterval = setInterval(moveDragger, 18, 1);
    up_btn.onMouseUp = down_btn.onMouseUp=function () {
              clearInterval(myInterval);
    MovieClip.prototype.scrollEase = function() {
              dragger.onEnterFrame = function() {
                        if (Math.abs(dy) == 0 && drag == false) {
                                  delete this.onEnterFrame;
                        r = (this._y-y)/(bar._height-this._height);
                        dy = Math.round((((top-(top-bottom)*r)-main._y)/speed)*friction);
                        main._y += dy;
    Right scroller
    fscommand("allowscale", "true");
    bar2.useHandCursor = dragger2.useHandCursor=false;
    space = 20;
    friction = 0.9;
    speed = 4;
    y = dragger2._y;
    top = main2._y;
    bottom = main2._y+mask_mc._height-main2._height-space;
    dragger2.onPress = function() {
              drag = true;
              this.startDrag(false, this._x, this._parent.y, this._x, this._parent.y+this._parent.bar2._height-this._height);
              scrollEase();
    dragger2.onMouseUp = function() {
              this.stopDrag();
              drag = false;
    bar2.onPress = function() {
              drag = true;
              if (this._parent._ymouse>this._y+this._height-this._parent.dragger2._height) {
                        this._parent.dragger2._y = this._parent._ymouse;
                        this._parent.dragger2._y = this._y+this._height-this._parent.dragger2._height;
              } else {
                        this._parent.dragger2._y = this._parent._ymouse;
              scrollEase();
    bar2.onMouseUp = function() {
              drag = false;
    movedragger2 = function (d) {
              if ((dragger2._y == y+bar2._height-dragger2._height && d == 1) || (dragger2._y == y && d == -1)) {
                        clearInterval(myInterval);
              } else {
                        dragger2._y += d;
                        scrollEase();
                        updateAfterEvent();
    up_btn2.onPress = function() {
              myInterval = setInterval(movedragger2, 18, -1);
    down_btn2.onPress = function() {
              myInterval = setInterval(movedragger2, 18, 1);
    up_btn2.onMouseUp = down_btn2.onMouseUp=function () {
              clearInterval(myInterval);
    MovieClip.prototype.scrollEase = function() {
              dragger2.onEnterFrame = function() {
                        if (Math.abs(dy) == 0 && drag == false) {
                                  delete this.onEnterFrame;
                        r = (this._y-y)/(bar2._height-this._height);
                        dy = Math.round((((top-(top-bottom)*r)-main2._y)/speed)*friction);
                        main2._y += dy;
    If needed I can upload the fla files, but I see no option to attach a file
    Thank you on beforehand!
    ggaarde

    You should only have one set of code, forget the second set you created.  You could even have just one movieclip where you load the "main" portion into it dynamically.  But for the moment I expect you will create one movieclip using your first set of code, replacing the last function....
    MovieClip.prototype.scrollEase = function() {
              dragger2.onEnterFrame = function() {
                        if (Math.abs(dy) == 0 && drag == false) {
                                  delete this.onEnterFrame;
                        r = (this._y-y)/(bar2._height-this._height);
                        dy = Math.round((((top-(top-bottom)*r)-main2._y)/speed)*friction);
                        main2._y += dy;
    with what I showed in the last posting.
    For the second scroller movieclip just create a copy of the first one in the library and only change whatever content goes into the "main" movieclip.
    Afterwards challenge..... If you want to have just one movieclip that you use for both then you could create the two content sections as movieclips in the library and use the attachMovie function to load each one in to its own scroller.

  • How can I stop two instances of the same application?

    I have just installed Yosemite about a week ago on my MacBook Pro mid '10 and it's working great except for one little glitch.
    Whenever I double-click on a file in my Finder, not only does it open in the assigned dock Application, but a second instance of the same Application pops up on the dock out of nowhere. To be more clear, I have my PDFs set to Preview. I click on a PDF in my Finder and Preview starts jumping. Out of nowhere, another copy of Preview springs up on the dock and starts jumping as well. This opens that same PDF twice on my screen.
    I noticed this also happens when I'm installing a .dmg file. Two installers open at the same time when I double-click the icon.
    It doesn't happen if I right-click > Open or right-click > Open With.
    Any thoughts?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • I can not get my iTunes to read my iPad even after troubleshooting

    I have never had this issue before, However today when I attempted to sync with my iTunes I couldn't for the life of me get iTunes to read my device. My computer sees it's connected, but iTunes can't see the iPad.
    I have attempted to troubleshoot by:
    1. updating my iTunes
    2.  restarting my iPad
    3. uninstalling iTunes and reinstalling
    4. restarting my computer
    5. changing chords and usb ports
    6. resetting my iPad and deleting all the content (after storing the backup in iCloud)
    I am out of ideas... Help!
    Thank you

    iPad not appearing in iTunes
    http://www.apple.com/support/ipad/assistant/itunes/
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    iTunes for Windows: iTunes can’t contact the iPhone, iPad, or iPod software update server
    http://support.apple.com/kb/ts1814
    iTunes for Windows: Device Sync Tests
    http://support.apple.com/kb/HT4235
    IOS: Syncing with iTunes
    http://support.apple.com/kb/HT1386
    Apple - Support - iPad - Syncing
    http://www.apple.com/support/ipad/syncing/
    iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi Syncing
    http://support.apple.com/kb/ts4062
    iOS: “Not enough free space” alert when trying to sync
    http://support.apple.com/kb/ts1503
    You may need to delete iTunes on your computer and then reinstall.
    How To Completely Uninstall and Remove All Traces of iTunes
    http://zardozz.com/zz/2008/04/how-to-completely-uninstall-and-remove-all-traces- of-itunes.html/
     Cheers, Tom

  • I used the wrong password for my belkin wifi. Now that I know the correct password I can not get pass the unable to connect or join message. I have turned off all the options such as wifi and join and also put my touch to sleep.. but nothing seems to work

    I used the wrong password to join my new belkin wifi. Now that I have the correct password, I can not get the to the join screen with the space to type in the password. I continue to get the unable to join message.  I have put the touch to sleep and I have turned on and off the wifi and join options on the Network screen page.  Does anyone know how to get pass this block of the wrong password to a new page that will allow me to type in the correct password.  I see there is a option that asks if I want to reset the network settings.. is that what I should do? and what does it erase when I do that?  Thanks for any input anyone has.

    Yes.  Reset network settings. Head to Settings -> General -> Reset and tap Reset Network Settings.
    B-rock

  • Distinguishing between two instances of the same portlet

    Hi Experts,
    Is there a way to distinguish between two instance of the same portlet in different browser windows?
    I'm looking for something like URL parameter passing, but just for portlets.
    The problem is, I want a way to pass a parameter between views in a portlet, but in such a way that if another browser window is opened and navigated to that portlet page, the parameter won't be the same. Perhaps I can explain better with this example:
    Page A has a portlet on it which has a textbox and 2 buttons - the first button stores the value in the textbox in the PortletRequest (or PortletURL) and if you click the second button the portlet navigates to a different view which displays the value. If I navigate with a second browser window to Page A, however, and only click the navigate button, that value which was stored by the first instance of the portlet will still be shown. I want them to be independent, I don't want changes in the one's PortletRequest to reflect in the other one's PortletRequest.
    Any ideas?
    Thanks,
    JP

    Why not use two instances of the same portlet, i.e. create two channels of the same portlet.
    The behave the same, have the same application logic, so all you need is to transfer informations between the two portlets.If you want this within user space use the portlet session, otherwise access the http session context /application context and store the data there.
    The behavior would be controlled by the portlet preferences, so channel a (instance 1) would be configured to run as controller and channel b (instance 2) would be configured as receiver.

  • "you can not use multiple instance of Program at the same time"

    Hello @ all,
    I have a Problem, after the installing from Acrobat Testversion and acrobat reader in version in "all Combination" 8 an 9.
    I get this misstake information "you can not use multiple instance of Program at the same time" if I want open more then 1 .pdf.
    If I have no pdf open, but acrobat/reader so i can´t open with the same Misstake.
    I have deinstalled and installed, Allways I bekame the same information. I tryed all things to clean and know i don`t know forward.
    Important: by Drag an Drop in the Acrobat Reader it is going, but by direct click on the pdf i get mistake.
    Maybe, you know what I can do!
    Thanks for help!

    Installation of both Acrobat and Reader in the same Windows machine is not advisable. If I were you, I would remove both completely and then reinstall the one you want to keep.

  • I have a pioneer 50 inch plasma   I purchased new from the company back in 2005.   I tried to hook up an Apple Tv to the pioneer receiver that came with the TV.   I can not get it to work.   The receiver has two HDMI  inputs in the back.

    I have a pioneer 50 inch plasma + I purchased new from the company back in 2005.   I tried to hook up an Apple Tv to the pioneer receiver that came with the TV.   I can not get it to work.
    The receiver has two HDMI  inputs in the back.  However they say they are not for PC's.  Furthermore they must be set up by going to the home menu.    I tried everything, but I can not get the receiver to talk to the Apple TV. I even tried a connector that uses an HDMI to the Apple TV that has the other side of the cable as 5 RCA cables.  I could not get the receiver to see the Apple TV.   I have a newer TV in the house, it has no problem talking with the Apple TV.  But this older system seems to be handicapped in its ability to talk with the newer Apple TV system.
    My Email is [email protected] 
    Do you have any suggestions
    Thanks
    Bob

    I could not access the Apple TV on the television.   If I put the Apple TV directly into by TV, I have an external sound system (entertainment system), therefore I worry that I would by pass the audio.
    Thanks for taking your time to attempt to help!   Any more suggestions would be greatly appreciated.
    Bob

  • I can not get into the iTunes store for the past two days.  I can do a search on the music in upper right corner.  However, the screen is white with "iTunes" in the middle when I do. Any suggestions?  Thank you.

    I can not get into the iTunes store for the past two days.  I can do a search on the music in upper right corner and get a drop down list.  However, the screen is then white with "iTunes" in the middle. Any suggestions?  Thank you.

    Check out this Apple article -> iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    If your computer has one of the LSPs listed you may have to reset winsock.
    If not, you may want to give this article a shot -> iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues

  • I can not get Adobe Flash Player to update on my Mac. It keeps telling me to close Safari even though it is closed. I have tried all suggestions on the Adobe site and always get the same results. Thanks for any help

    I can not get Adobe Flash Player to update on my Mac. It keeps telling me to close Safari even though it is closed. I tried every thing on Adobe's site to fix the problem with the same results always. I went to Mac's site as well and was told to go to Adobe for a solution. It worked fine since a new Mac in Feb. ,but it will not update now so no Flash Player ay all. Thanks for any help.

    [discussion moved to Installing Flash Player forum]

  • After moving from my home country (Poland) to the Middle East (UAE) with the same computer I can not get connected to Apple Store and iTunes Store.

    After moving from my home country (Poland) to the Middle East (UAE) with the same computer I can not get connected to Apple Store and iTunes Store. Any clue why?
    Regards,
    Maciek

    Click the round flag icon bottom right corner of the App Store window.

  • I bought two HD movies and I can not get either one of them to play...help please?

    I bought two HD movies and I can not get either one of them to play...help please?

    What have you tried?
    What happened?
    Error message?
    Any info?

  • Extend Wireless Network using a Telstra technicolor Gateway wireless Router to Airpot extreme but Airport will only except join not extend and I can not get a network on the Airpor Extreme ethernet ports but can ping Airport extreme from Technicolor Rout/

    Extend Wireless Network using a Telstra technicolor Gateway wireless Router to Airpot extreme but Airport will only except "join a wireless network (which it does) not "extend a wireless network" (Led turns yellow and I can not get a network working on the Airpor Extreme ethernet ports but can ping Airport extreme from Technicolor Router.
    Airport gets it address DHCP.

    Funny how I can ping the Extreme but the Hard Ethernet ports dont seem to work correctly.
    When the AirPort Extreme is configured to "Join" a wireless network, the Ethernet ports are not enabled.
    Oddly, the AirPort Express has a special feature that will allow it to to "Join" virtually any wireless network.....and the Ethernet port can be enabled. So, an Express would work for your purpose to provide an Ethernet connection to the media player. This assumes that the Express is located where it can receive a strong wireless signal from your main router.
    Note that the Express will not provide any additional wireless coverage when it "Joins".

  • I am having same problem with apple tv need 4.4 version and can not find solution this a brand new product out of box yesterday why would it not already have updated version. I am getting frustrated that I can not get this mirroring icon to work. I

    I am having same problem with apple tv need 4.4 version and can not find solution this a brand new product out of box yesterday why would it not already have updated version. I am getting frustrated that I can not get this mirroring icon to work. I have tried all suggestions in this thread and nothing works. I also hooked up to laptop through iTunes with micro USB nothing!!!

    The new appletv software came out 2 or 3 days ago, how would Apple get it on the device in the box in a store?
    Why don't ou update the appletv software?

Maybe you are looking for

  • The icons and applications on the screen open and close without touching the screen. Suggestions please?

    The the applications and links open as if somebody is browsing. I can't open a page and remain in it for more than one minute. I did reset but no improvement.

  • File Not Found error on local test server

    Hello all, I have no idea what happened, but my local test server went from working fine to not working at all. When I go to test a page locally, I get this error: The requested URL /[filename].php was not found on this server I did not change any of

  • XSLT - How to pass a Java object to the xslt file ?

    Hi , I need help in , How to pass a java object to xslt file. I am using javax.xml.transform.Tranformer class to for the xsl tranformation. I need to pass a java object eg Class Employee { private String name; private int empId; public String getName

  • Parameters, ODBC, Report Failing

    Post Author: JewelCode CA Forum: Data Connectivity and SQL The database is SQL Anywhere 9.0.1.  Crystal Version is XI, 2. I create a report without any parameters.  It works perfectly and pulls all of the client data. I then create the parameters by

  • Firefox isn't saving my tabs

    I need to start off with the warning that I have no clue what I'm doing and the work I've done so far was based on other people's advice or information I found on MozillaZine. This problem started after I downloaded the latest version of Firefox. So.