Problem
=======
In JDK 6u14->17, there is changes made to CNCtx where trying
to lookup a corbaname URL will always use a default SUN JDK ORB.
Now, the problem is that even though can can pass
into a specific ORB to use (which is possible to create
using env.put("java.naming.corba.orb", orb) previously,
now those code will not work.
Basically Glassfish's passing the EE ORB which
have failover and also Dynamic stub capability will now
not be used since an SE ORB is always used.
DETAILS
========
The CNCtx fix 6796140 in code
330 private String initUsingCorbanameUrl(ORB orb, String url, Hashtable env)
331 throws NamingException {
...
333 if (orb == null)
334 orb = getDefaultOrb();
336 try {
...
342 orb = getDefaultOrb(); <==== ISSUE
343 setOrbAndRootContext(orb, corb...
is always using the default SE ORB despite one/user passing in
their own ORB to use. As such special ORB functionality is lost.
It is believed that line 342 should not be needed.