Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4266054

unable to create an instance of non-SUN ORB

XMLWordPrintable

    • fcs
    • generic, x86
    • generic, windows_nt



      Name: krT82822 Date: 08/26/99


      Following code throws an Exception:
      >>>>
      Properties props = System.getProperties();
      props.put("org.omg.CORBA.ORBClass", "com.ooc.CORBA.ORB");
      props.put("org.omg.CORBA.ORBSingletonClass", "com.ooc.CORBA.ORBSingleton");
      System.setProperties(props);

      org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(corbargs,System.getProperties());
      >>>>>>
      can't instantiate default ORB implementation com.ooc.CORBA.ORB
      org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.ooc.CORBA.ORB minor code: 0 completed: No
              at org.omg.CORBA.ORB.create_impl(ORB.java:270)
              at org.omg.CORBA.ORB.init(ORB.java:307)
              at de.bruker.jwin.LogDataServer.main(LogDataServer.java:62)

      Exactly the same code ( the classpath, and all used classes are the same) worked using the java 2 1.2.x virtual machine
      (Review ID: 94433)
      ======================================================================

      Name: krT82822 Date: 08/26/99


      Please note that this bug report refers to JDK 1.3beta.

      When trying to instantiate a different ORB than the builtin ORB
      an org.omg.CORBA.INITIALIZE exception is thrown:

      can't instantiate default ORB implementation com.ooc.CORBA.ORB
      org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.ooc.C
      ORBA.ORB minor code: 0 completed: No
              at org.omg.CORBA.ORB.create_impl(ORB.java:270)
              at org.omg.CORBA.ORB.init(ORB.java:307)
              at test.Server.main(Server.java:95)

      This was not the case with JDK 1.2.x.
      (Review ID: 94429)
      ======================================================================

            ajindalsunw Anita Jindal (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: