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

test java/rmi/transport/httpSocket/HttpSocketTest.java failed on 150u8b1 but passed on 150u7b3

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      sparc
    • OS:
      solaris_10
    • Verification:
      Verified

      Description

      test java/rmi/transport/httpSocket/HttpSocketTest.java from regression j2se suite failed on 150u8b1 but passed with 150u7b3 on the same machine and enveronment.

      Starting registry
      TEST FAILED:
      Test failed with: RemoteException occurred in server thread; nested exception is:
          java.rmi.AccessException: Registry.Registry.rebind disallowed; origin unknown
      java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
          java.rmi.AccessException: Registry.Registry.rebind disallowed; origin unknown
          at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385)
          at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
          at sun.rmi.transport.Transport$1.run(Transport.java:153)
          at java.security.AccessController.doPrivileged(Native Method)
          at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
          at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
          at java.lang.Thread.run(Thread.java:595)
          at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
          at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
          at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343)
          at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
          at java.rmi.Naming.rebind(Naming.java:160)
          at HttpSocketTest.main(HttpSocketTest.java:66)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
          at java.lang.Thread.run(Thread.java:595)
      Caused by: java.rmi.AccessException: Registry.Registry.rebind disallowed; origin unknown
          at sun.rmi.registry.RegistryImpl.checkAccess(RegistryImpl.java:205)
          at sun.rmi.registry.RegistryImpl.rebind(RegistryImpl.java:152)
          at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
          at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375)
          at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
          at sun.rmi.transport.Transport$1.run(Transport.java:153)
          at java.security.AccessController.doPrivileged(Native Method)
          at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
          at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
          ... 1 more
      TestFailedException: TEST FAILED: ; nested exception is:
          java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
          java.rmi.AccessException: Registry.Registry.rebind disallowed; origin unknown
      java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
          java.rmi.AccessException: Registry.Registry.rebind disallowed; origin unknown
          at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385)
          at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
          at sun.rmi.transport.Transport$1.run(Transport.java:153)
          at java.security.AccessController.doPrivileged(Native Method)
          at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
          at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
          at java.lang.Thread.run(Thread.java:595)
          at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
          at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
          at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343)
          at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
          at java.rmi.Naming.rebind(Naming.java:160)
          at HttpSocketTest.main(HttpSocketTest.java:66)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
          at java.lang.Thread.run(Thread.java:595)
      Caused by: java.rmi.AccessException: Registry.Registry.rebind disallowed; origin unknown
          at sun.rmi.registry.RegistryImpl.checkAccess(RegistryImpl.java:205)
          at sun.rmi.registry.RegistryImpl.rebind(RegistryImpl.java:152)
          at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
          at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375)
          at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
          at sun.rmi.transport.Transport$1.run(Transport.java:153)
          at java.security.AccessController.doPrivileged(Native Method)
          at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
          at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
          ... 1 more

      JavaTest Message: Test threw exception: TestFailedException: TEST FAILED: ; nested exception is:
          java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
          java.rmi.AccessException: Registry.Registry.rebind disallowed; origin unknown
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: TestFailedException: TEST FAILED: ; nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.AccessException: Registry.Registry.rebind disallowed; origin unknown
      result: Failed. Execution failed: `main' threw exception: TestFailedException: TEST FAILED: ; nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.AccessException: Registry.Registry.rebind disallowed; origin unknown

      - j2se regression WS (local WS was mergered with master location /net/jdk.sfbay/export/jpse04/Regression/1.5.0_j2se/ at 21th May'06)

      See attached files with results of execution for 150u8b1 and for 150u7b3

      To reproduce bugs
      use 1.5.0_8b1 JDK, run JTreg with appropriate JDK
      The used workspace is placed on /net/latte.ireland/deployment1/regtests/150_j2se
      the JTreg is placed on /net/latte.ireland/deployment1/sqe-tools2.1.6fcs
      to run please follow instructions http://jqa.ireland/procedures/test_procedures/141_test_procedures/RegressionTestExecution.html
      And in that script just specify location w:/net/latte.ireland/deployment1/regtests/150_j2se/test/java/rmi/transport/httpSocket

      Testing was on Solaris10 sparc
      tyrone% uname -a
      SunOS tyrone 5.10 Generic_118822-27 sun4u sparc SUNW,Sun-Blade-1000

      tyrone% cat /etc/release
                             Solaris 10 1/06 s10s_u1wos_19a SPARC
                 Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
                              Use is subject to license terms.
                                 Assembled 07 December 2005

      Just a comment. This test also failed on Solaris-10 AMD64 JDK and on WindowsXP 64 bit.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aozerov Andrey Ozerov
                Reporter:
                edrobitk Eugene Drobitko (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: