aspose file tools
The moose likes Distributed Java and the fly likes Trying to get JINI 2.0.002 Hello example running Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "Trying to get JINI 2.0.002 Hello example running" Watch "Trying to get JINI 2.0.002 Hello example running" New topic
Author

Trying to get JINI 2.0.002 Hello example running

William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12327
    
    1
I decided to get back up to speed with the latest version of JINI so I could use JavaSpaces.
Downloaded and installed jini-2_0_002-src.zip (Jini Technology Starter Kit).
My j2sdk is version 1.4.2 - on WinXP prof.
I followed the directions in the Hello example file, including the:
Installing the dynamic policy granting feature by putting jsk-policy.jar in the JAVA_HOME/jre/lib/ext directory, populating the example/hello/lib directory and verifying the contents of the lib directory.
Executing the batch files in order for the "non-activatable example"
a. start scripts\jrmp-reggie
b. start scripts\confirming-jeri-server
c. scripts\client
a and b appear to work fine, b confirms that Hello server is ready.
c. produces exceptions like this:

I would love to hear from anybody who has gotten JINI 2.0.002 working.
Bill
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12327
    
    1
AHA! - got the Hello example running. It turns out that I had to put the jsk-policy.jar file in the
c:\Program Files\Java\j2re1.4.2_03\lib\ext
directory - NOT the j2skd directory that my PATH and JAVA_HOME point to. It must be using the windows registry to find that JRE!
How frustrating - naturally the docs didn't mention this tiny problem. I suppose it makes some sort of sense in that not all installations would have the SDK.
Bill
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Trying to get JINI 2.0.002 Hello example running
 
Similar Threads
Trouble starting Jini Lookup server (reggie.jar)
Lost in JavaSpace
J2EE Server and HotSpot
Unable to Start JINI lookup server
Problems with the start of the lookup service