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

javax/management/remote/mandatory/connection/RMIConnector_NPETest.java may leave orphaned processes

XMLWordPrintable

    • b149

        Timeout for this test has been increased, but it still times out sometimes.
        Current timeout is 45 seconds. It's hard to believe that 45 seconds is not enough to start rmid.
        If possible, we should add more logging to the test.

        Log says "subsequent activation attempts may fail due to unsuccessful ExecPermission/ExecOptionPermission". I do not know if that is important.


        RULE javax/management/remote/mandatory/connection/RMIConnector_NPETest.java Exception TestFailedException: TEST FAILED: Failed to start rmid, giving up after ...ms.

        Log:
        Activation.main: warning: sun.rmi.activation.execPolicy system
                property unspecified and no ExecPermissions/ExecOptionPermissions
                granted; subsequent activation attempts may fail due to unsuccessful
        ExecPermission/ExecOptionPermission permission checks. For
        documentation on how to configure rmid security, refer to:
                http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/rmid.html
                http://java.sun.com/j2se/1.4/docs/tooldocs/win32/rmid.html
        TEST FAILED: Failed to start rmid, giving up after 48870ms.
        TestFailedException: TEST FAILED: Failed to start rmid, giving up after 48870ms.
        at TestLibrary.bomb(TestLibrary.java:121)
        at RMID.start(RMID.java:296)
        at RMID.start(RMID.java:237)
        at RMIConnector_NPETest.main(RMIConnector_NPETest.java:46)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:502)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
        at java.lang.Thread.run(Thread.java:745)

              xiaofeya Xiaofeng Yang
              mtobiass Mattias Tobiasson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: