The Artima Developer Community
Sponsored Link

Jini Forum
JoinManager problem

2 replies on 1 page. Most recent reply: Dec 26, 2006 3:14 AM by Frens Rumph

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Frens Rumph

Posts: 3
Nickname: frens
Registered: Sep, 2006

JoinManager problem Posted: Dec 18, 2006 7:40 AM
Reply to this message Reply
Advertisement
Hello everyone,

I'm currently working on a Jini service that registers objects in at a lookupservice. I use the JoinManager class, from Jini 2.1, for the management of the registration of those objects. The service is already in use in our "labs" environment, but no when deploying it to our "production" environment problems occur.

The thing is that the object is never registered at the lookupservice. But when I add a DiscoveryListener to the LookupDiscoveryManager I use, I receive an event indicating that a ServiceRegistrar is discovered. And it is "serving" the correct lookup groups. But the joinset of the JoinManager stays empty and the ServiceIDListener I use never receives an event that the object has been registered at the lookup service (=reggie).

The service that is supposed to register the objects in at reggie is physically located at the same machine as reggie. The weird thing is that when I run this code from my developer machine it DOES register the objects. The only thing is that when doing that I use a LookupLocator to discover the lookup service instead of giving the lookup group String array. I have checked though that the lookup service is running correctly with a ‘service browser like’ tool.

If someone has experience with these kind of problems or could give me some pointers were to look to solve this problem, please do!

Thanks in advance,

Frens Jan Rumph


Dave Brosius

Posts: 3
Nickname: dbrosius
Registered: Jun, 2006

Re: JoinManager problem Posted: Dec 24, 2006 10:35 PM
Reply to this message Reply
are you using file:// based codebase?

Frens Rumph

Posts: 3
Nickname: frens
Registered: Sep, 2006

Re: JoinManager problem Posted: Dec 26, 2006 3:14 AM
Reply to this message Reply
No, i'm using a virtual server in Apache to serve my -dl jars.

Flat View: This topic has 2 replies on 1 page
Topic: Jini and java versions Previous Topic   Next Topic Topic: I need a macro writer (person)

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use