Space Persistency Example: Unable to run
I am having problems running the Basic persistence example.
I was able to start the persistent space on the local machine using startAll.sh: {color:blue} Jul 27, 2007 2:38:17 PM INFO [com.gigaspaces.container]:
Directory Service (Jini Lookup Service): [ Container <persistentspace_container> member of [gigaspaces-6.0EE] jini lookup groups ] [ Was advertised successfully with serviceID <c668eac6-5ec9-4e78-9b22-5aae325a4145> [ and Unicast Locators [] ]
Jul 27, 2007 2:38:17 PM INFO [com.gigaspaces.container]: * Welcome to the GigaSpaces world ! - GigaSpaces Platform(TM) 6.0EE Build: 1809 Server started successfully ! *
Jul 27, 2007 2:38:17 PM INFO [com.gigaspaces.common.spacefinder]: java:// protocol. Get <persistentspace> space from <persistentspace_container> container {color}
But I was unable to connect to the persistent space using run.sh: {color:red} JAVA_HOME environment variable is set to /usr/java/jdk1.6.0_02 in <gigaspaces root="">\bin\setenv.sh Environment set successfully from ./../../../..
Welcome to GigaSpaces Persistent Example Starting a sequence of write- and take-operations on a persistent space...
com.j_spaces.core.client.FinderException: Failed to find: rmi://localhost/./persistentSpace?schema=default at com.j_spaces.core.client.SpaceFinder._find(SourceFile:560) at com.j_spaces.core.client.SpaceFinder.internalFind(SourceFile:341) at com.j_spaces.core.client.SpaceFinder.internalFind(SourceFile:331) at com.j_spaces.core.client.SpaceFinder.find(SourceFile:403) at com.j_spaces.examples.data_grid.persistentcache.WriteSequence.main(Unknown Source) Caused by: javax.naming.NameNotFoundException: GigaSpaces;persistentSpace_container;persistentSpace at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:99) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:107) at javax.naming.InitialContext.lookup(InitialContext.java:392) at com.j_spaces.core.client.SpaceFinder.a(SourceFile:996) at com.j_spaces.core.client.SpaceFinder._find(SourceFile:534) ... 4 more Could not find space: rmi://localhost/./persistentSpace {color}
GigaSpace ui is showing: Container Name: persistentSpace_container Space Name: persistentSpace
What's wrong here?
{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2109]{quote}