Errata

Jini in a Nutshell

Errata for Jini in a Nutshell

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 24
1.3:

The command to start rmid has changed to rmid
-J-Djava.security.policy=/files/jini1_0/java.policy.all.

Anonymous   
Printed
Page 48
Line 7 of code nearest top

Naming.lookup("ComplexNumberFactory");

now reads:

Naming.lookup(args[0] + "/ComplexNumberFactory");

Anonymous    May 01, 2000
Printed
Page 49
Step 6

client% java -Djava.security.policy=/files/jini1_0/java.policy.all
ComplexNumberClient

now reads:

client% java -Djava.security.policy=/files/jini1_0/java.policy.all
ComplexNumberClient rmi://server

Anonymous    May 01, 2000
Printed
Page 59
Example 4-1:

the class ServiceListener should be ServerListener

Anonymous   
Printed
Page 67
Step 5:

The last word of the command should be ConvertClient:

client% java -Djava.security.policy=/files/jini1_0/java.policy.all
ConvertClient

Anonymous   
Printed
Page 68
Example 4-2:

The class ServiceListener should be ServerListener.

Anonymous   
Printed
Page 75

The ClientLookupManager class has been renamed in Jini 1.1 beta and should now read ServiceDiscoveryManager.

Anonymous   
Printed
Page 91

Jini 1.1 changed the method signature of the cancelAll() method. If you're using Jini 1.1, that method should return the map object that it
constructs (the return type is now Map, and it no longer throws a
LeaseMapException).

Anonymous   
Printed
Page 91
last code line

should read:

Lease l = factory.newLease(cookie, this, duration + now);

Anonymous   
Printed
Page 190
Step 6:

The URLs need to list server.jar as follows:

server% java -Djava.rmi.server.codebase=http://server:8086/server.jar
-Djava.security.policy=/files/jini1_1/java.policy.all
-jar path_to_jar_file
http://server:8086/server.jar /files/jini1_1/java.policy.all
/tmp/csiLog


Anonymous