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

CORBA method called once by win98 client is invoked MORE than once on server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.1
    • other-libs
    • x86
    • windows_98



      Name: krT82822 Date: 06/28/99


      My application uses Sun's CORBA ORB in version 1.2.1 JDK/JRE.
      The application behaves correctly under WindowsNT and Windows95.

      Under Windows98 one of the CORBA method calls in the Java client
      causes the corresponding method on the server to be invoked
      more than once! I have placed print statements in my code just
      before the method call in question (on both client and server sides)
      and I have confirmed that I am only calling the method once.
      It appears as though Sun's CORBA ORB is re-sending an invocation
      message more than once (under certain conditions under Win98).

      Since the distributed computing code is woven deeply into the
      application fabric, it is difficult to extract a simple subset
      of calls necessary to reproduce and demonstrate the problem.
      But, I CAN consistently reproduce the problem on ALL Win98 systems.
      In addition, in order to test the client-side communications
      code, it requires the C++ server side to run (in particular,
      the server-side log messages are very revealing).

      In the sample output below, the client makes several CORBA method
      calls:

         CLIENT:
         openSession( Win98Ses, Mon Jun 28 11:56:36 PDT 1999 )
         openChannel( Data, Mon Jun 28 11:56:36 PDT 1999 )
         openChannel( Camera, Mon Jun 28 11:56:36 PDT 1999 )
         openChannel( Pointer, Mon Jun 28 11:56:36 PDT 1999 )
         openChannel( SmChannel, Mon Jun 28 11:56:36 PDT 1999 )

      ...and the server responds to the client's CORBA method invocations:
         SERVER:
         Mon Jun 28 11:58:20 1999: Ice_IceMaster_impl::openSession(Win98Ses,user@checkoutpc2)
         Mon Jun 28 11:58:20 1999: Ice_IceMaster_impl::openSession, SESSION CREATED: Win98Ses
         Mon Jun 28 11:58:20 1999: Ice_IceSession_impl::openChannel(Data,user@checkoutpc2)
         Mon Jun 28 11:58:21 1999: Ice_IceSession_impl::openChannel(Camera,user@checkoutpc2)
         Mon Jun 28 11:58:21 1999: Ice_IceSession_impl::openChannel(Pointer,user@checkoutpc2)
         Mon Jun 28 11:58:21 1999: Ice_IceSession_impl::openChannel(SmChannel,user@checkoutpc2)
         Mon Jun 28 12:01:24 1999: Ice_IceSession_impl::openChannel(SmChannel,user@checkoutpc2)
      BUT, NOTICE THE EXTRA INVOCATION!!!---------------^^^^^^^^^^^^^^^^^^^^^
      ALSO NOTICE THE 3 MINUTE DELAY (HMMMMM, A TIMEOUT?) BETWEEN INVOCATIONS!

      I would appreciate any short-term response letting me know if such a bug has been reported
      in the past (I did not see such a report on-line at Sun). If you have not seen the problem
      before and you require sample code to do further testing, I'll have to take a few days to
      attempt to construct a stripped down sample suite for you.

      Thanks,
      John
      (Review ID: 84943)
      ======================================================================

      > Subject: Re: (Review ID: 84943) CORBA method
      > called once by win98 client is
      > invoked MORE than once on server
      > Date: Mon, 26 Jul 1999 11:14:57 -0700
      > From: "John L. Moreland" <###@###.###>

      > I have culled my 40-class 14,000+ line Java client down to 1 class and 63
      > lines of compilable Java source. The server side is more problematic to
      > cull (the alternative is to provide my entire project source tree plus
      > pointers to commercial CORBA libraries from ooc.com). For now, I have
      > provided pre-compiled Solaris 5.5.1 binaries for the 3 server-side
      > components and I have placed copies of all source files for both client
      > and server programs on-line:
      >
      > http://www.sdsc.edu/~moreland/projects/MICE/bugs/bug_4250288/bug_4250288.html
      >
      > Minimally, please read the first two paragraphs of the "Example Code" section
      > of this web page. Finally, let me know if there is anything else I can do.
      >
      > Thanks,
      > John


      kevin.ryan@eng 1999-07-26

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: