Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Java 7 Update 55 WebStart JacORB error.

JasGApr 22 2014 — edited Jun 12 2014

Hi,

I've just updated to the latest java 7 release (update 55) and am now unable to launch my webstart application.

This application works fine on java 7 update 51.

The application also works fine if launched outside of webstart using update 55.

Any idea what change in this latest update would cause this? and how to resolve it?

Many Thanks

The Exception i'm getting is:

org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation org.jacorb.orb.ORBSingleton vmcid: 0x0 minor code: 0 completed: No

  at org.omg.CORBA.ORB.create_impl_with_systemclassloader(Unknown Source)

  at org.omg.CORBA.ORB.init(Unknown Source)

  at org.jacorb.orb.CDRInputStream.<init>(CDRInputStream.java:186)

  at org.jacorb.orb.etf.ProfileBase.initFromProfileData(ProfileBase.java:252)

  at org.jacorb.orb.etf.ProfileBase.demarshal(ProfileBase.java:172)

  at org.jacorb.orb.etf.FactoriesBase.demarshal_profile(FactoriesBase.java:124)

  at org.jacorb.orb.ParsedIOR.decode(ParsedIOR.java:235)

  at org.jacorb.orb.ParsedIOR.parse_stringified_ior(ParsedIOR.java:460)

  at org.jacorb.orb.ParsedIOR.parse(ParsedIOR.java:375)

  at org.jacorb.orb.ParsedIOR.<init>(ParsedIOR.java:192)

  at org.jacorb.orb.ORB.string_to_object(ORB.java:1824)

Caused by: java.lang.ClassNotFoundException: org.jacorb.orb.ORBSingleton

  at java.net.URLClassLoader$1.run(Unknown Source)

  at java.net.URLClassLoader$1.run(Unknown Source)

  at java.security.AccessController.doPrivileged(Native Method)

  at java.net.URLClassLoader.findClass(Unknown Source)

  at java.lang.ClassLoader.loadClass(Unknown Source)

  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

  at java.lang.ClassLoader.loadClass(Unknown Source)

  at java.lang.Class.forName0(Native Method)

  at java.lang.Class.forName(Unknown Source)

  ... 56 more

Comments

jcambon Apr 22 2014

Hi,

I'd like to give more weight to this post by adding our case. We have the same problem with the same symptoms, but on OpenOrb:

- our WebStart/Corba application works in 7u51 but no more since 7u55,

- it works outside WebStart,

- the same error message appears from ORB.init() except the failing initialization class is org.openorb.CORBA.ORBSingleton

2658762 Apr 23 2014

Hi,

Exactly the same issue in our WebStart / Corba application using Orbacus.

- it doesn't work since update 55

- it works outside WebStart

- the same exception and stack trace but failing to initialize class com.ooc.CORBA.ORBSingleton

2660452 Apr 24 2014

Identical problem also for us, connecting to session beans runnning on Glassfish 2.1 and Glassfish 4.

Our web start application cannot do a simple lookup call to a session bean anymore, but it works outside web start. Same problem with Java 8 update 5. Seems it is a bug Java 7 update 55 JacORB error when running via WebStart - Stack Overflow.

user10290017 Apr 24 2014

I have the same problem with a CORBA based application using webstart.

If found a change in org.omg.ORB.init causes the problem. The former version uses ContextClassLoader for instantiation of ORBSingleton and ORB implementations where the current (u55) one restricts to Systemclassloader. The implementations aren't available from this Classloaders perspective.

I would expect that puting the ORB implementation to JRE\lib\endorsed should help here but I had no success so far as still the org.omg.ORB from rt.jar is used.

2661838 Apr 25 2014

We also have the same exact issue in our environment.

I've tested our apps with JAVA 1.8.0_05 and get the same exact errors.

My thoughts are that if this is fixed or there is a workaround, it will fix 1.8.0_05 as well. (I hope)

2664024 Apr 30 2014

Hello, I made the test with the endorsed folder and it is a valid workaround. I've opened a report to Oracle for this (Review ID: JI-9011898). Let's hope they will fix it.

jcambon May 9 2014

Hello,

It seems this incident is now a JDK opened bug, that we can track: https://bugs.openjdk.java.net/browse/JDK-8042462

user10290017 May 12 2014

Thank you for the link to the bug report. I've tried myself many times to create one but with no success as the submit form crashed. I have the same problem but with different ORB - OpenORB and for me even puting the ORB implementation (and OMG standard stuff) to jre/lib/endorsed did not changed that.

JasG Jun 12 2014

Looks like this issue has been fixed here:

https://bugs.openjdk.java.net/browse/JDK-8042789

This will hopefully be included in the next CPU on July 15th

Looks like the change that caused this issue was reverted so it now uses the current thread classloader again.

jdk8u/jdk8u-dev/corba: 009fc3f785a9

1 - 9
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 10 2014
Added on Apr 22 2014
9 comments
8,395 views