-
Bug
-
Resolution: Fixed
-
P3
-
6u14
-
b08
-
sparc
-
solaris_10
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2223668 | 8 | Sean Coffey | P3 | Closed | Fixed | b47 |
JDK-2201932 | 7u6 | Sean Coffey | P4 | Closed | Fixed | b17 |
JDK-2186673 | 6u19 | Kevin Walls | P3 | Resolved | Fixed | b01 |
JDK-2189232 | 6u18-rev | Kevin Walls | P3 | Resolved | Fixed | b09 |
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.
=======
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.
- backported by
-
JDK-2186673 JDK 6 CNCtx always uses the default ORB and not take java.naming.corba.orb ORB value
- Resolved
-
JDK-2189232 JDK 6 CNCtx always uses the default ORB and not take java.naming.corba.orb ORB value
- Resolved
-
JDK-2223668 JDK 6 CNCtx always uses the default ORB and not take java.naming.corba.orb ORB value
- Closed
-
JDK-2201932 JDK 6 CNCtx always uses the default ORB and not take java.naming.corba.orb ORB value
- Closed
- relates to
-
JDK-7162902 Umbrella port of a number of corba bug fixes from JDK 6 to jdk7u/8
- Closed