0 Replies Latest reply on Oct 8, 2002 4:46 AM by Stefan Jurk

    CORBA - Trouble with IOR

    Stefan Jurk Newbie

      Hello -
      we get an IOR: for Naming form JBoss 3.0.2 which runs on a localhost here (IOR is attached at the end).

      But when we want to access this from a client (using com.sun.jndi.cosnaming.CNCtxFactory), we get

      Exception in thread "main" org.omg.CORBA.INV_OBJREF: minor code: 1398079490
      at com.sun.corba.se.internal.core.CodeSetComponentInfo.read(CodeSetComp
      at com.sun.corba.se.internal.core.Profile.(Profile.java:114)
      [...]

      What is this funny minor code?? If we assume it is 1 (but what is 398079490??), then acc'g to the Javadoc "An IOR with no profile was encountered." How can JBoss emit such an IOR???

      Scared shitlessly ...

      St.Jurk/H.M.Mueller

      -----

      Here is the full stacktrace:


      Exception in thread "main" org.omg.CORBA.INV_OBJREF: minor code: 1398079490
      at com.sun.corba.se.internal.core.CodeSetComponentInfo.read(CodeSetComp
      at com.sun.corba.se.internal.core.Profile.(Profile.java:114)
      at com.sun.corba.se.internal.core.IOR.getProfile(IOR.java:278)
      at com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInputSt
      at com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInputSt
      at com.sun.corba.se.internal.corba.ORB.string_to_object(ORB.java:1075)
      at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:279)
      at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:218)
      at com.sun.jndi.cosnaming.CNCtx.(CNCtx.java:73)
      at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.j
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:24
      at javax.naming.InitialContext.init(InitialContext.java:222)
      at javax.naming.InitialContext.(InitialContext.java:178)

      -----

      Here is the IOR from the JBoss3 server.log:

      IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E300000000000020000000000000068000102000000000D3137322E31362E31352E363000000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000020000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000010000002C0000000000000001000000010000001C00000000000100010000000105010001000101090000000105010001