<html>
<head>
<base href="http://www.jacorb.org/bugzilla/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - JacORB unusable with Java Webstart in Java 1.7.0u55"
href="http://www.jacorb.org/bugzilla/show_bug.cgi?id=984#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - JacORB unusable with Java Webstart in Java 1.7.0u55"
href="http://www.jacorb.org/bugzilla/show_bug.cgi?id=984">bug 984</a>
from <span class="vcard"><a class="email" href="mailto:christian.bindseil@capgemini.com" title="Christian Bindseil <christian.bindseil@capgemini.com>"> <span class="fn">Christian Bindseil</span></a>
</span></b>
<pre>I do not have a testcase out of the box. Our problem is similar to the one
discussed on the mailinglist. But we do not use servlets. Our problem occures
when using Java-Webstart. I can give you some more information:
This is the stacktrace we encounter:
org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
org.jacorb.orb.ORBSingleton
at org.omg.CORBA.ORB.create_impl_with_systemclassloader(Unknown Source)
~[?:1.7.0_55]
at org.omg.CORBA.ORB.init(Unknown Source) ~[?:1.7.0_55]
at org.jacorb.orb.ORBSingleton.configure(ORBSingleton.java:140)
~[jacorb.jar:3.1 (Build August 19 2012 14:54:20)]
at org.jacorb.orb.ORB.configure(ORB.java:276) ~[jacorb.jar:3.1 (Build
August 19 2012 14:54:20)]
at org.jacorb.orb.ORB.set_parameters(ORB.java:1589) ~[jacorb.jar:3.1
(Build August 19 2012 14:54:20)]
at org.omg.CORBA.ORB.init(Unknown Source) ~[?:1.7.0_55]
at ... (our own classes follow here)
JacORB contains the class org.omg.CORBA.ORB with the same packagename as ORB
contained in the JRE, too. Therefore it depends on classpath-order which
implementation the system will use. JacORBs ORBSingleton calls
org.omg.CORBA.ORB.init() and gets the JRE-implementation of ORB, as you can see
in the third line of the stacktrace.
The implementation of this method has been changed by Oracle in Java 7u55. A
comparision of the two versions (7u51 vs. 7u55) I will provide as screenshot.
As you can see there, the new method create_impl_with_systemclassloader(...) is
introduced and used. It takes the system-classloader instead of the
context-classloader of the current thread, which was taken by the old
implementation in create_impl(...) on 7u51.
In a Webstart-environment only the JNLP-classloader knows the JARs downloaded
by Webstart, the system-classloader doesn't. That's the reason why the
ORBSingleton-class can't be found and the exception is thrown.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>