Hi Bob:

You have hit https://issues.apache.org/jira/browse/RIVER-416.

This issue is fixed in the source tree, and a new rev should be released
within the next week or two.  In the meantime, you may wish to download
the 2.2 branch source and apply the patch in
http://svn.apache.org/viewvc?view=revision&revision=1449248, then build
from source.

Cheers,

Greg Trasuk.

On Thu, 2013-03-07 at 17:30, Robert Daley wrote:
> Folks,
>       I have been using jini/javaspaces for doing distributed simulations for 
> over a decade now.  It has worked flawlessly until my recent Java updates.  I 
> had been running it on both Macs and Linux boxes w/o any problems.  So, for 
> Mac OSX 10.8 and 10.6, Java version 1.6.0_37 is OK, but Java version 1.6.0_41 
> is NOT OK.  I get the same error with Java 1.7 on my Linux machines.  At 
> first I thought it was because I was using the old Jini version 2.1, but I 
> tried a test with Jini 2.2 and got the same error.  I also made sure it was 
> not a permissions problem by linking all of the policy files to all.policy.  
> The problem occurs during service startup when it creates the logging levels. 
>  I get the same error in Jini 2.2 as I get in Jini 2.1.  All of the services 
> generate the same problem, so for testing I am trying to start reggie.  The 
> logging directory contains the expected group.log, reggie.log, reggie0.log 
> and reggie1.log.  Here is (what I think is the main part of) the error 
> message:
> 
> Caused by: java.lang.ExceptionInInitializerError
>       at 
> net.jini.config.AbstractConfiguration.getEntryInternal(AbstractConfiguration.java:371)
>       at 
> net.jini.config.AbstractConfiguration.getEntry(AbstractConfiguration.java:193)
>       at com.sun.jini.reggie.RegistrarImpl.init(RegistrarImpl.java:4554)
>       at com.sun.jini.reggie.RegistrarImpl.access$000(RegistrarImpl.java:143)
>       at com.sun.jini.reggie.RegistrarImpl$1.run(RegistrarImpl.java:448)
>       at com.sun.jini.reggie.RegistrarImpl.loginAndRun(RegistrarImpl.java:461)
>       at com.sun.jini.reggie.RegistrarImpl.<init>(RegistrarImpl.java:396)
>       at 
> com.sun.jini.reggie.PersistentRegistrarImpl.<init>(PersistentRegistrarImpl.java:52)
>       ... 27 more
> Caused by: java.lang.RuntimeException: Unexpected exception
>       at com.sun.jini.logging.Levels.createLevel(Levels.java:142)
>       at com.sun.jini.logging.Levels.<clinit>(Levels.java:52)
>       ... 35 more
> Caused by: java.io.EOFException
>       at 
> java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2557)
>       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1294)
>       at 
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1950)
>       at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1874)
>       at 
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1756)
>       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1326)
>       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
>       at com.sun.jini.logging.Levels.createLevel(Levels.java:138)
>       ... 36 more
> Mar 7, 2013 4:58:44 PM com.sun.jini.start.ServiceStarter checkResultFailures
> WARNING: Associated service descriptor [1]: 
> [http://julgans2.cs.pitt.edu:10171/reggie-dl.jar 
> http://julgans2.cs.pitt.edu:10171/jsk-dl.jar, 
> /Users/daley/Projects/jaga-samuel/admin/policy/reggie.policy, 
> /Users/daley/Projects/jaga-samuel/admin/lib/reggie.jar, 
> com.sun.jini.reggie.PersistentRegistrarImpl, 
> [/Users/daley/Projects/jaga-samuel/admin/config/reggie.config], 
> com.sun.jini.start.NonActivatableServiceDescriptor$1@788ab708, 
> BasicProxyPreparer[], BasicProxyPreparer[], /var/jaga/logging/group.log, 
> true, , 1098]
> 
> I checked and Levels.java is identical in Jini 2.1 and 2.2.
> 
> I haven't tried to do a recompile yet (I was hoping to avoid that).
> 
> Has anyone experienced this problem with the latest version of Java?
> 
> Thanks in advance for any help,
> 
>       Cheers,
>               Bob Daley

Reply via email to