Re: JavaSpace Name

Dan Creswell <[email protected]>
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
One last detail - Juan Ramirez was riding shotgun on my reply :)

He quite rightly pointed out you shouldn't need jini-ext.jar on your
reggie classpath to make this all work.

Dan.

John W. F. Mcclain wrote:
> Dan Creswell wrote:
>
>> Diana Huang wrote:
>>
>>> Hi all,
>>>
>>> I start a JavaSpace. Its name is "MessageSpace". And I also have a
>>> http server, a lookup server running successfully. However, after I
>>> start a outrigger, I can't find the space with a name of
>>> "MessageSpace". The details of coding :
>
>
> [....]
>
>> I'm not sure why you expected that setting spaceName to a value would
>> have any effect on Outrigger.  Is there a piece of documentation you've
>> read that gave you this impression?  If there is, could you point us
>> to it?
>>
>> All configuration information for Outrigger can be found in the package
>> documentation: com.sun.jini.outrigger
>>
>> S'far as I can see, there's no simple configuration variable you can set
>> to get a name configured.  I believe what you need to do is specify the
>> configuration variable initialLookupAttributes with something like:
>
>
> Just to close the loop on this, in the 1.n versions of Outrigger supported
> the com.sun.jini.outrigger.spaceName property - but in 2.0 and beyond does
> not. As Dan suggests you should use the initalLookupAttributes config
> entry to attach a Name to an Outrigger server, and in general you will
> need to adjust Outrigger's codebase and classpath to make this work.
>
> It is worth noting that because of the jar file re-packaging we are
> doing in Porter all the classes in net.jini.lookup.entry (including Name)
> will be included in Outrigger's classpath and codebase, so in 2.1 you will
> just be able to do the Name attachment without changing Outrigger's
> codebase/classpath from its std. codebase/classpath.
>
> Hope this helps
>

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html

JDC members can download the JavaSpaces(tm) Technology from:
http://developer.java.sun.com/developer/products/jini/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.