Re: Is Jini Dead? Where do I find useful documentation?
Eske Sort <[email protected]> Mon, 27 Oct 2008 09:32:24 +0100
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Jini is not dead. It has moved to Apache and is now called River. http://incubator.apache.org/river/RIVER/index.html I don't know enough Jini to solve your Exception problem, sorry. Try the River mailing lists. It sounds like a policy problem or SecurityManager problem. You probably want a "grant all permissions" in there somewhere if it is not already there (or something to that effect). But again, the River mailing lists will be a lot more helpful than my random bablings. Good hunting! Eske 2008/10/26 rsn3 <[email protected]> > I've spent a good amount of time playing with Jini lately, but I've been > having problems with the simplest things. For example, the Hello example > the comes with Jini 2.1 doesn't seem to work and there is little to no > mention of this anywhere on the internet it seems. > > I have installed Jini 2.1 and followed the directions to start the Hello > example (Using JERI) word-for-word. However, when I attempt to start the > client using the provided scripts, I get the following: > > C:\java\jini2_1\source\src\com\sun\jini\example\hello>java > -Djava.security.manag > er= -Djava.security.policy=config\client.policy -Djava.security.proper > ties=config/dynamic-policy.security-properties -Djava.rmi.server.codebase=h > ttp://RAY-007089B38A9:8080/jsk-dl.jar -jar lib\client.jar config\clien > t.config > Exception in thread "main" java.lang.ExceptionInInitializerError > at net.jini.config.ConfigurationProvider.getInstance(ConfigurationProvid > er.java:180) > at net.jini.config.ConfigurationProvider.getInstance(ConfigurationProvid > er.java:137) > at com.sun.jini.example.hello.Client.main(Client.java:77) > Caused by: java.security.AccessControlException: access denied > (java.lang.Runtim > ePermission createSecurityManager) > at java.security.AccessControlContext.checkPermission(Unknown Source) > at java.security.AccessController.checkPermission(Unknown Source) > at java.lang.SecurityManager.checkPermission(Unknown Source) > at java.lang.SecurityManager.<init>(Unknown Source) > at net.jini.security.Security$ClassContextAccess.<init>(Security.java:96 > 5) > at net.jini.security.Security$ClassContextAccess.<init>(Security.java:96 > 5) > at net.jini.security.Security$1.run(Security.java:167) > at java.security.AccessController.doPrivileged(Native Method) > at net.jini.security.Security.<clinit>(Security.java:165) > ... 3 more > > I've attempted to look for help using google and other forums, but to no > avail. The documentation for jini and helpful links seem to be falling by > the wayside as the time goes on since I have encountered a ton of broken > links on the jini site itself. Anyone who can lend a hand here would be > much > appreciated. > > Similar problems were encountered when I attempted to use Rio following the > instructions EXACTLY. It failed to mention that there are several things > one must do first before following even the simplest example (so I moved > on) > but that's another story. Long story short, the broken links, lack of good > examples, poor documentation in Jini and related project and lack of recent > chatter on this technology is disconcerting to say the least. Does anyone > either a) know how to fix my problem above or b) have a good SIMPLE Jini > client/service example that actually works? Thanks! > -- > View this message in context: > http://www.nabble.com/Is-Jini-Dead---Where-do-I-find-useful-documentation--tp20178615p20178615.html > Sent from the Sun - Jini-Users mailing list archive at Nabble.com. > > -------------------------------------------------------------------------- > Getting Started: http://www.jini.org/wiki/Category:Getting_Started > Community Web Site: http://jini.org > jini-users Archive: http://archives.java.sun.com/archives/jini-users.html > Unsubscribing: email "signoff JINI-USERS" to [email protected] > -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]