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

JCK: api/org_omg/CosNaming/NamingContext/NamingContextTest.html fails on Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: other-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      generic

      Description



      Name: skR10017 Date: 12/09/2000



       JCK1.3 test api/org_omg/CosNaming/NamingContext/NamingContextTest.html#NamingContext
       fails on Windows:

      To reproduce the bug, run script below
      You should set JCK and JAVA_HOME.
      -------------------------------------------------------------------------------------
      #!/bin/sh
      JAVA_HOME="H:/jdk1.4.0/win32"
      JCK="H:/jck1.3/JCK-runtime-13fcs"
      CLASSPATH="$JCK/classes;$JCK/javatest.jar"
      export CLASSPATH
      executeClass="javasoft.sqe.tests.api.org_omg.CosNaming.NamingContextTest.NcClient -server javasoft.sqe.tests.api.org_omg.CosNaming.NamingContextTest.NameCTestServer
      -ORBInitialHost localhost -ORBInitialPort 9876 -classDir C:\\"

      $JAVA_HOME/bin/java -version
      $JAVA_HOME/bin/tnameserv -ORBInitialPort 9876 &
      $JAVA_HOME/bin/java -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass}
      RESULT="$?"
      if [ $RESULT = 95 ]; then
       echo Test passed
      elif [ $RESULT = 97 ]; then
       echo Test failed
      else
       echo Result is $RESULT
      fi
      --------------------------------------------------------------------------------------

      java version "1.4.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b42)
      Java HotSpot(TM) Client VM (build B42, mixed mode)
      ICSBaseTest : load class javasoft.sqe.tests.api.org_omg.CosNaming.NamingContextT
      est.NameCTestServer
       ICSBaseTest : parseArgs ...
      ICSBaseTest: init
      Persist : getParam : -ORBInitialHost is localhost
      Persist : getInitialSrvcs : InitialNamingContext obtained !
      No. of Tests :0
      No. of Errors :0
      ICSBaseTest: init() done !!
      NameTest Server : run
      DataTypes objects published :
      Persist : getParam : -ORBInitialHost is localhost
      Persist : getInitialSrvcs : InitialNamingContext obtained !
      Persist : get() : name service ...
      doPTest1:NamingContext Method new_context() & bind_context() Should Pass;
      Persist : get() : name service ...
      doPTest2:NamingContext Method rebind_context() Should Pass;
      Persist : get() : name service ...
      doPTest3:NamingContext Method bind_new_context() Should Pass;
      Persist : get() : name service ...
      doPTest4:NamingContext Method bind() Should Pass;
      Persist : get() : name service ...
      doPTest5:NamingContext Method rebind() Should Pass;
      Persist : get() : name service ...
      doPTest7:NamingContext Method destroy() Passed;
      Persist : get() : name service ...
      doNTest1:NamingContext method bind_context() exception InvalidName Caught Suces
      sfully:
      Persist : get() : name service ...
      doNTest2:NamingContext method bind_context() exception AlreadyBound Caught Suce
      ssfully:
      Persist : get() : name service ...
      doNTest3:NamingContext method bind_new_context() exception InvalidName Caught S
      ucessfully:
      Persist : get() : name service ...
      doNTest4:NamingContext method bind_new_context() exception AlreadyBound Caught
      Sucessfully:
      Persist : get() : name service ...
      doNTest5:NamingContext method bind() exception InvalidName Caught Sucessfully:
      Persist : get() : name service ...
      doNTest6:NamingContext method bind() exception AlreadyBound Caught Sucessfully:

      Persist : get() : name service ...
      doNTest7:NamingContext method rebind() exception InvalidName Caught Sucessfully
      :
      Persist : get() : name service ...
      doNTest8:NamingContext method rebind_context() exception InvalidName Caught Suc
      essfully:
      Persist : get() : name service ...
      doNTest9:NamingContext Method unbind() Passed InvalidName Exception Caught Suces
      sfully
      Persist : get() : name service ...
      doNTest10:NamingContext Method destroy() Passed NotEmpty Exception Caught Suces
      sfully
      Persist : get() : name service ...
      doPTest6:NamingContext Method unbind() Should Pass;
      doCTest1:NamingContext method list() passed:
      doCTest1:Confirmation: NamingContext Methods bind_new_context() & rebind_new_con
      text() passed
      doCTest1;Confirmation: NamingContext Methods bind() passed
      doBTest:BindingIterator Method next_one() Passed:
      doBTest:BindingIterator Method next_n() Passed:
      doBTest:BindingIterator Method destroy() Failed:
      Persist : get() : name service ...
      doCTest2:NamingContext Method unbind() passed
      doCTest2:NamingContext Method unbind() passed
      Persist : get() : name service ...
      NcClient Tests Failed:
      No. of Tests :23
      No. of Errors :1
      Shutting down the Server:
      Shut Down Request:
      Test failed

      ======================================================================

      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              hputtaswsunw Hemanth Puttaswamy (Inactive)
              Reporter:
              kotlsunw Kotl Kotl (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: