Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Writing to Space failed

I a writing to a space "nsefeed" and this space is accessed by 3 PUs but I am getting following exception.

Exception in thread "Thread-9" org.openspaces.core.RemoteDataAccessException: Fa iled to execute write operation on clustered proxy. Cluster-Schema: partitioned- sync2backup, load-balancing policy: hash-based, Fail-over enabled. Reason: No available member found.

Members availability status [group: LB_FO_Backup]

nsefeedspace_container2:nsefeedspace : jini:///nsefeedspace_container2/nsefeeds pace?groups=gigaspaces-7.0.1-XAPPremium-ga&ignoreValidation=true&total_members=3 ,0&cluster_schema=partitioned-sync2backup&timeout=20000&id=1&schema=default&stat e=started - AVAILABLE nsefeedspace_container1:nsefeedspace : jini:///nsefeedspace_container1/nsefeeds pace?groups=gigaspaces-7.0.1-XAPPremium-ga&ignoreValidation=true&total_members=3 ,0&cluster_schema=partitioned-sync2backup&timeout=20000&id=1&schema=default&stat e=started - AVAILABLE nsefeedspace_container3:nsefeedspace : jini://*/nsefeedspace_container3/nsefeeds pace?groups=gigaspaces-7.0.1-XAPPremium-ga&ignoreValidation=true&total_members=3 ,0&cluster_schema=partitioned-sync2backup&timeout=20000&id=1&schema=default&stat e=started - NOT_AVAILABLE ; nested exception is java.rmi.RemoteException: Failed to execute write operatio n on clustered proxy. Cluster-Schema: partitioned-sync2backup, load-balancing po licy: hash-based, Fail-over enabled. Reason: No available member found.

Members availability status [group: LB_FO_Backup]

nsefeedspace_container2:nsefeedspace : jini:///nsefeedspace_container2/nsefeeds pace?groups=gigaspaces-7.0.1-XAPPremium-ga&ignoreValidation=true&total_members=3 ,0&cluster_schema=partitioned-sync2backup&timeout=20000&id=1&schema=default&stat e=started - AVAILABLE nsefeedspace_container1:nsefeedspace : jini:///nsefeedspace_container1/nsefeeds pace?groups=gigaspaces-7.0.1-XAPPremium-ga&ignoreValidation=true&total_members=3 ,0&cluster_schema=partitioned-sync2backup&timeout=20000&id=1&schema=default&stat e=started - AVAILABLE nsefeedspace_container3:nsefeedspace : jini://*/nsefeedspace_container3/nsefeeds pace?groups=gigaspaces-7.0.1-XAPPremium-ga&ignoreValidation=true&total_members=3 ,0&cluster_schema=partitioned-sync2backup&timeout=20000&id=1&schema=default&stat e=started - NOT_AVAILABLE

    at org.openspaces.core.exception.DefaultExceptionTranslator.internalTran                               slate(DefaultExceptionTranslator.java:106)
    at org.openspaces.core.exception.DefaultExceptionTranslator.translate(De                               faultExceptionTranslator.java:48)
    at org.openspaces.core.DefaultGigaSpace.write(DefaultGigaSpace.java:620)
    at org.openspaces.core.DefaultGigaSpace.write(DefaultGigaSpace.java:612)
    at com.truedataindia.feed.FeedHandler.run(FeedHandler.java:206)
    at java.lang.Thread.run(Thread.java:636)

Caused by: java.rmi.RemoteException: Failed to execute write operation on cluste red proxy. Cluster-Schema: partitioned-sync2backup, load-balancing policy: hash- based, Fail-over enabled. Reason: No available member found.

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3242]{quote}

asked 2009-09-18 03:25:59 -0500

abhilash428 gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

Can you run ipconfig (or ifconfig) and show us the output of the command? You have something wrong with your network config.

Shay

answered 2009-09-18 15:57:07 -0500

shay hassidim gravatar image
edit flag offensive delete link more
0

Are you sure all the required space members running?
If so
Looks like you have multicast issue with your client and spaces machines. This is what, might be happening.

1. When you try to connect to a clustered space. Space proxy first will connect to any one member of the cluster.
2. If mulitcast is enabled on the space side client proxy tries to find other members using multicast. If client proxy cannot find the members by multicast it keeps retrying to find other members in the partition.

To Confirm, this is the issue.
Ask your network admin to check if there is a multicast enabled or not. OR
Run the client in debug mode and make a pause on the IDE when it keep retrying for the members. If it is waiting on some gigaspaces multicast class (I don't remember exact className). Name should be some thing similar to multicast etc.

To Solve this Issue

1. Disable multicast at the client side
-Dcom.gs.multicast.enabled=false
http://www.gigaspaces.com/wiki/display/XAP66/HowtoSetGigaSpacesOveraFirewall

Thanks
Venkat

answered 2009-09-18 15:17:53 -0500

venkatg gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2009-09-18 03:25:59 -0500

Seen: 88 times

Last updated: Sep 18 '09