java - Oracle JDK Update 5 (1.7.0_05) not working on SUSE Linux Enterprise Server 11. EOFException while connecting to Javaspace Blackboard (JINI) -



java - Oracle JDK Update 5 (1.7.0_05) not working on SUSE Linux Enterprise Server 11. EOFException while connecting to Javaspace Blackboard (JINI) -

we trying run process (broker) suse linux enterprise server 11 (java-1_7_0-ibm) connects javaspace blackboard (jini) deployed on linux machine. (centos open jdk "1.7.0_05-icedtea" version)

stack trace : info: starting broker exception in thread "main" java.lang.exceptionininitializererror @ java.lang.j9vminternals.initialize(j9vminternals.java:259) @ net.jini.jeri.basicinvocationhandler.invokeremotemethod(basicinvocationhandler.java:653) @ net.jini.jeri.basicinvocationhandler.invoke(basicinvocationhandler.java:528) @ com.sun.jini.reggie.$proxy0.lookup(unknown source) @ com.sun.jini.reggie.registrarproxy.lookup(registrarproxy.java:128) @ edu.vt.ndssl.blackboard.jinispaceservice.findspace(jinispaceservice.java:372) @ edu.vt.ndssl.blackboard.jinispaceservice.<init>(jinispaceservice.java:74) @ edu.vt.ndssl.blackboard.javaspaceblackboard.<init>(javaspaceblackboard.java:31) @ edu.vt.ndssl.blackboard.blackboardfactory.make(blackboardfactory.java:28) @ edu.vt.ndssl.broker.broker.<init>(broker.java:53) @ edu.vt.ndssl.broker.broker.main(broker.java:231) caused by: java.lang.runtimeexception: unexpected exception @ com.sun.jini.logging.levels.createlevel(levels.java:142) @ com.sun.jini.logging.levels.<clinit>(levels.java:52) @ java.lang.j9vminternals.initializeimpl(native method) @ java.lang.j9vminternals.initialize(j9vminternals.java:237) ... 10 more caused by: java.io.eofexception @ java.io.objectinputstream$blockdatainputstream.peekbyte(objectinputstream.java:2667) @ java.io.objectinputstream.readobject0(objectinputstream.java:1387) @ java.io.objectinputstream.defaultreadfields(objectinputstream.java:2059) @ java.io.objectinputstream.readserialdata(objectinputstream.java:1984) @ java.io.objectinputstream.readordinaryobject(objectinputstream.java:1867) @ java.io.objectinputstream.readobject0(objectinputstream.java:1419) @ java.io.objectinputstream.readobject(objectinputstream.java:420) @ com.sun.jini.logging.levels.createlevel(levels.java:138) ... 13 more

same code works fine java 1.6 version upto 26. looking right version of java installed on suse linux enterprise server compatible os , equivalent oracle jdk update 5 or open jdk version 1.7.0_05 (icedtea).

apparently, root cause of problem oracle has made incompatible alter serialization format of com.sun.jini.logging.levels class. alter reportedly happened in oracle jdk 1.6.0_38 , jdk 1.7.0_13, , has presumably made recent openjdk versions well.

this problem has manifested in variety of projects utilize jini. examples:

https://issues.apache.org/jira/browse/river-415 + https://issues.apache.org/jira/browse/river-416. https://cloudifysource.zendesk.com/entries/23079726-bootstrap-localcloud-not-working-could-not-initialize-class-com-sun-jini-logging-levels

more examples can found searching "com.sun.jini.logging.levels eofexception".

i can't solution / you, have couple of ideas:

avoidance: think can avoid problem if don't mix pre , post-change jvm versions in application network.

if need upgrade application jvms, suggest upgrade them all, , finish shutdown/restart of jini applications , services.

fix applications: appears apache river project fixed problem modifying jini code. issue ticket says:

the com.sun.jini.logging.levels class produces runtimeexception latest version of java (both 1.6 , 1.7). issue surrounds creation of custom java.util.logging.level. current implementation uses classreplacingobjectoutputstream , leveldata approach. removing approach , creating subclass of java.util.logging.level issue gets resolved.

the issue ticket has lot of give-and-take on best way this, proposed patches , links checkin implemented fix.

java linux oracle

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -