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

Shared library ioser12 not found when running rmic -iiop

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • None
    • 1.2.2
    • other-libs
    • x86
    • windows_nt



      Name: krT82822 Date: 11/01/99


      11/1/99 eval1127@eng -- if using FCS (of RMI-IIOP), this is a regression of 4228666/4229481/4231215 (all presumably fixed as of fcs)

      FIling new bug, to make sure this is (still) fixed.

      ----------------------

      java version "1.2.2"
      Classic VM (build JDK-1.2.2-W, native threads, symcjit)
      I was interested in running the RMI Hello World Program in RMI-IIOP descriped
      in the RMI-IIOP Programmer's guide document.

      I downloaded the RMI-IIOP release and installed the rmiiop.class.
      I installed the RMI over IIOP 1.0.1 IDL compiler to the lib directory of
      the RMI over IIOP installation.

      After setting JAVA_HOME, RMI_IIOP_HOME, I run the rmi-iiop.bat script.
      I then run the checkme.bat script and get the message:
      D:\rmi-iiop\bin>checkme.bat
          RMI-IIOP 1.0 (1.0.1 Wed Sep 29 15:57:14 PDT 1999)
          Running on JDK 1.2.2

          Verifying installation (requires < 2 minutes to complete) ... completed succ
      essfully in 15 seconds.


      I then compiled the modified Hello World Program succesfully.
      When trying to run rmic I get the following message:
      D:\Oles\HelloWorldCor>D:\rmi-iiop\bin\rmic -iiop -d D:\Oles HelloWorldCor.HelloI
      mpl | more
      ERROR! Shared library ioser12 could not be found.
      java.lang.UnsatisfiedLinkError: hasStaticInitializer
              at com.sun.rmi.io.ObjectStreamClass._computeSerialVersionUID(ObjectStrea
      mClass.java:880)
              at com.sun.rmi.io.ObjectStreamClass.<init>(ObjectStreamClass.java:431)
              at com.sun.rmi.io.ObjectStreamClass.lookupInternal(ObjectStreamClass.jav
      a:139)
              at com.sun.rmi.io.ObjectStreamClass.lookup(ObjectStreamClass.java:96)
              at com.sun.rmi.io.ObjectStreamClass.lookupInternal(ObjectStreamClass.jav
      a:133)
              at com.sun.rmi.io.ObjectStreamClass.lookup(ObjectStreamClass.java:96)
              at com.sun.rmi.util.RepositoryId.<clinit>(RepositoryId.java:142)
              at sun.rmi.rmic.iiop.IDLNames.convertToISOLatin1(IDLNames.java:143)
              at sun.rmi.rmic.iiop.IDLNames.getClassOrInterfaceName(IDLNames.java:239)

              at sun.rmi.rmic.iiop.CompoundType.<init>(CompoundType.java:635)
              at sun.rmi.rmic.iiop.ClassType.<init>(ClassType.java:121)
              at sun.rmi.rmic.iiop.ImplementationType.<init>(ImplementationType.java:1
      09)
              at sun.rmi.rmic.iiop.ImplementationType.forImplementation(Implementation
      Type.java:72)
              at sun.rmi.rmic.iiop.StubGenerator.getTopType(StubGenerator.java:145)
              at sun.rmi.rmic.iiop.Generator.generate(Generator.java:268)
              at sun.rmi.rmic.Main.doCompile(Main.java:470)
              at sun.rmi.rmic.Main.compile(Main.java:132)
              at sun.rmi.rmic.Main.main(Main.java:706)
      error: An error has occurred in the compiler; please file a bug report (http://j
      ava.sun.com/cgi-bin/bugreport.cgi).
      1 error

      The only thing that didn't work as expected during the installation was that
      no files was copied to JAVA_HOME/jre/lib/ext and JAVA_HOME/jre/lib/ext/i386.
      So I did this manually. See your release notes on RMI-IIOP FCS Release, page3,4
      for more spesific information on which files this is.
      (Review ID: 97276)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: