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

Ask Your Question
0

How to connect the space in the remote system

Hi,

I am using the following two packages for my Gigaspaces test. 1) gigaspaces-cpp-6.6.4-ga-win32-vs8.0.tar 2) gigaspaces-xap-premium-6.6.4-ga-b3250.zip

I am running the space in one machine and my application in other. Both the machines are in the same network and I am able to ping to each other.

I am using this std::string urlValue="jini:////mySpace"; to find the space.

I am getting the following exception...

19/08/2009 17:13:27 C++ === XAPException === com.j_spaces.core.client.FinderException: com.j_spaces.core.client.FinderExcepti on: LookupFinder failed to find service using the following service attributes:

     Service attributes: [net.jini.lookup.entry.Name(name=mySpace)]
     Service attributes: [com.j_spaces.lookup.entry.State(state=started,elec

table=null,replicable=null)] Lookup timeout: [5000] Classes: [interface com.j_spaces.core.service.Service] Jini Lookup Groups: [gigaspaces-6.6.4-XAPPremium-ga] Number of Lookup Services: 0

    at com.j_spaces.core.client.LookupFinder.find(LookupFinder.java:387)
    at com.j_spaces.core.client.SpaceFinder.findRegularSpace(SpaceFinder.jav

a:1033) at com.j_spaces.core.client.SpaceFinder._find(SpaceFinder.java:615) at com.j_spaces.core.client.SpaceFinder.internalFind(SpaceFinder.java:40 8) at com.j_spaces.core.client.SpaceFinder.internalFind(SpaceFinder.java:39 2) at com.j_spaces.core.client.SpaceFinder.find(SpaceFinder.java:479) at com.gigaspaces.javacpp.spacecommand.singlecommands.SpaceFinder.execut e(SpaceFinder.java:57) at com.gigaspaces.javacpp.CXXProcessingUnit.update(CXXProcessingUnit.jav a:253)

ERROR - XAPException com.j_spaces.core.client.FinderException

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

asked 2009-08-19 16:14:47 -0500

jknayak gravatar image

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

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Does this works for you:
jini://GSM_IP/*/mySpace

Where GSM_IP is the IP of the machine running the GSM.

Please make sure all the GSCs you are running got the following variable set:
LOOKUPLOCATORS=GSM_IP

Shay

answered 2009-08-19 16:38:41 -0500

shay hassidim 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-08-19 16:14:47 -0500

Seen: 137 times

Last updated: Aug 19 '09