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

Ask Your Question
0

helloworld example

Hi,

i try to run helloworld app for first time in Eclipse but was unable to run the hello-feeder. The hello-feeder was unable to contact hello-processor.

Hope someone can help to get me started.

tx.

below is the log:

hello-processor Sep 26, 2008 7:01:05 PM INFO [com.gigaspaces.container]: Created RMIRegistry on: < 192.168.1.64:10098 >

Sep 26, 2008 7:01:05 PM INFO [com.gigaspaces.container]: Webster HTTP server started successfully serving the following roots: C:\gigaspaces-xap-6.6.0-ga\/lib;C:\gigaspaces-xap-6.6.0-ga\/lib/jini Webster serving on: 192.168.1.64:9813

Sep 26, 2008 7:01:07 PM INFO [com.sun.jini.reggie]: started Reggie: 4dbcec7b-b522-4c14-963e-6525f4f44972, [gigaspaces-6.6.0-XAP-ga], jini://192.168.1.64/

Sep 26, 2008 7:01:08 PM INFO [com.gigaspaces.core.common]: Starting Space <processorspace_container:processorspace> with url [/./processorSpace?schema=default&groups=gigaspaces-6.6.0-XAP-ga&state=started] ...

Sep 26, 2008 7:01:08 PM INFO [com.gigaspaces.cache]: Cache manager created with policy [ALL IN CACHE], persistency mode [memory]

Sep 26, 2008 7:01:08 PM INFO [com.gigaspaces.core.common]: Space <processorspace_container:processorspace> with url [/./processorSpace?schema=default&groups=gigaspaces-6.6.0-XAP-ga&state=started] started successfully

Processor instantiated, waiting for messages feed...

hello-feeder Exception in thread "main" org.openspaces.core.space.CannotFindSpaceException: Failed to find space with url [jini:////processorSpace?groups=gigaspaces-6.5XAPm11-shlomo&state=started]; nested exception is com.j_spaces.core.client.FinderException: LookupFinder failed to find service using the following service attributes:

 Service attributes: [net.jini.lookup.entry.Name(name=processorSpace)]
 Service attributes: [com.j_spaces.lookup.entry.State(state=started,electable=null,replicable=null)]
 Lookup timeout: [5000]
 Classes: [interface com.j_spaces.core.service.Service]
 Jini Lookup Groups: [gigaspaces-6.5XAPm11-shlomo]
 Number of Lookup Services: 0

at org.openspaces.core.space.UrlSpaceFactoryBean.doCreateSpace(UrlSpaceFactoryBean.java:315)
at org.openspaces.core.space.AbstractSpaceFactoryBean.afterPropertiesSet(AbstractSpaceFactoryBean.java:146)
at org.openspaces.core.space.UrlSpaceConfigurer.space(UrlSpaceConfigurer.java:237)
at org.openspaces.example.helloworld.feeder.Feeder.<init>(Feeder.java:62)
at org.openspaces.example.helloworld.feeder.Feeder.main(Feeder.java:49)

Caused by: com.j_spaces.core.client.FinderException: LookupFinder failed to find service using the following service attributes:

 Service attributes: [net.jini.lookup.entry.Name(name=processorSpace)]
 Service attributes: [com.j_spaces.lookup.entry.State(state=started,electable=null,replicable=null)]
 Lookup timeout: [5000]
 Classes: [interface com.j_spaces.core.service.Service]
 Jini Lookup Groups: [gigaspaces-6.5XAPm11-shlomo]
 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.java:1033)
at com.j_spaces.core.client.SpaceFinder._find(SpaceFinder.java:615)
at com.j_spaces.core.client.SpaceFinder.internalFind(SpaceFinder.java:412)
at com.j_spaces.core.client.SpaceFinder.internalFind(SpaceFinder.java:387)
at com.j_spaces.core.client.SpaceFinder.find(SpaceFinder.java:206)
at org.openspaces.core.space.UrlSpaceFactoryBean.doCreateSpace(UrlSpaceFactoryBean.java:312)
... 4 more

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

asked 2008-09-26 06:05:21 -0500

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

Please replace "gigaspaces-6.5XAPm11-shlomo" with "gigaspaces-6.6.0-XAP-ga" at the feeder URL.

This should solve the problem.

Shay
Sent from my BlackBerry® smartphone with SprintSpeed

answered 2008-09-26 07:31:49 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Comments

thank you and it works :)

spaceman gravatar imagespaceman ( 2008-09-26 08:19:16 -0500 )edit

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: 2008-09-26 06:05:21 -0500

Seen: 97 times

Last updated: Sep 26 '08