Re: JavaSpace Name
"John W. F. Mcclain" <[email protected]>
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Organization | Sun Microsystems, Inc. |
| Message-ID | <[email protected]> |
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 -- BTW, if you want to reply to this message, please direct your reply to the list, thanks John McClain [email protected] Sun Microsystems, Inc. Burlington, MA In the history of the world, no one has ever washed a rented car. - Larry Summers =========================================================================== 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/