IBM Support

IX90178: THIN CLIENT FAILING WITH: JAVAX.NAMING.NAMINGEXCEPTION

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: In Thin Client, ORB initialization is failing.
    This could happen while creating initialContext
    .
    Stack Trace: javax.naming.NamingException: Failed to initialize
    the ORB <OSB>Root exception is
    java.lang.reflect.InvocationTargetException<CSB>
    at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:400)
    at
    com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextIntern
    al(WsnInitCtxFactory.java:463)
    at
    com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:128
    )
    at
    com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.ja
    va:765)
    at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:164)
    at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:179)
    at javax.naming.InitialContext.lookup(InitialContext.java:436)
    at thinrcpejb2test.TestThinEJB2.init(TestThinEJB2.java:116)
    at thinrcpejb2test.MainClient.doCalculation(MainClient.java:94)
    at thinrcpejb2test.Application.start(Application.java:18)
    at
    org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseApp
    Handle.java:169)
    at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.run
    Application(EclipseAppLauncher.java:106)
    at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.sta
    rt(EclipseAppLauncher.java:76)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
    er.java:363)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
    er.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at
    org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:391)
    ... 22 more
    Caused by: org.omg.CORBA.INTERNAL: Unknown subcontract type:0
    vmcid: IBM minor code: 59E completed: No
    at
    com.ibm.rmi.SubcontractRegistry.getServerSubcontract(Subcontract
    Registry.java:256)
    at com.ibm.rmi.corba.ORB.initializePrereqPlugins(ORB.java:601)
    at com.ibm.rmi.corba.ORB.orbParameters(ORB.java:1370)
    at com.ibm.rmi.corba.ORB.set_parameters(ORB.java:1295)
    at com.ibm.CORBA.iiop.ORB.set_parameters(ORB.java:1695)
    at org.omg.CORBA.ORB.init(ORB.java:377)
    at
    com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:92)
    at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:179)
    at
    com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:83)
    at
    com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:59)
    at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:102)
    .
    

Local fix

Problem summary

  • Thin Client failing with: javax.naming.NamingException
    

Problem conclusion

  • Due to different Classloaders being used to load ORB and its
    fields the ClassCastException is thrown while initializing the
    fields of the ORB instance
    .
    This APAR will be fixed in the following Java Releases:
       6 R1 SR8 FP40  (6.1.8.40)
       7 R1 SR4       (7.1.4.0)
       6    SR16 FP40 (6.0.16.40)
       8    SR4       (8.0.4.0)
       7    SR10      (7.0.10.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IX90178

  • Reported component name

    ORB

  • Reported component ID

    620700123

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-01-20

  • Closed date

    2017-02-01

  • Last modified date

    2017-02-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    ORB

  • Fixed component ID

    620700123

Applicable component levels

  • R260 PSY

       UP

  • R600 PSY

       UP

  • R270 PSY

       UP



Document information

More support for: Runtimes for Java Technology
ORB

Software version: 260

Reference #: IX90178

Modified date: 01 February 2017