JDK-4277196 : Regression test CheckActivateRef.java failing
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 1.3.0
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_nt
  • CPU: generic
  • Submitted: 1999-09-30
  • Updated: 2014-02-20
  • Resolved: 1999-10-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.3.0 kestrelFixed
Related Reports
Relates :  
Description
naveena.suryadevara@Eng 1999-09-30

JDK version: kestrel build H-FCS
Regression test: java/rmi/activation/Activatable/checkActivateRef/CheckActivateRef.java

Test results:

#section:main
----------messages:(3/166)----------
command: main CheckActivateRef
reason: User specified action: run main/othervm/policy=security.policy/timeout=240 CheckActivateRef 
elapsed time (seconds): 19.968
----------System.out:(0/0)----------
----------System.err:(76/5424)----------

Regression test for bug 4105080

java.security.policy = =E:\REGRESSION\results\LUNAR-Windows_NT-harness115k-testwith13h-09-24-13.44\scratch\security.policy_new
RMID: starting rmid...
JAVAVM: command = E:\jdk13h\jre\bin\java  -Dsun.rmi.server.activation.debugExec=true -Dtest.src=X:\testexec\REGRESSION\kestrel\tests\jdk1.3\test\java\rmi\activation\Activatable\checkActivateRef  -Dtest.classes=E:\REGRESSION\results\LUNAR-Windows_NT-harness115k-testwith13h-09-24-13.44\classes\java\rmi\activation\Activatable\checkActivateRef -Djava.rmi.server.logLevel=v  sun.rmi.server.Activation -port 1098 -log E:\REGRESSION\results\LUNAR-Windows_NT-harness115k-testwith13h-09-24-13.44\scratch\.\log -C-Dtest.src=X:\testexec\REGRESSION\kestrel\tests\jdk1.3\test\java\rmi\activation\Activatable\checkActivateRef -C-Dtest.classes=E:\REGRESSION\results\LUNAR-Windows_NT-harness115k-testwith13h-09-24-13.44\classes\java\rmi\activation\Activatable\checkActivateRef

JAVAVM: finished starting vm.
RMID: finished starting rmid.
Create activation group in this VM
Creating descriptor
Registering descriptor
Activate object via method call
ActivatableRef's embedded ref type: sun.rmi.server.UnicastRef2
Deactivate object via method call
Activate object via method call
ACTIVATION_LIBRARY: inactive successful
TEST FAILED: 
Test failed with: failed to activate object; nested exception is: 
        java.rmi.activation.ActivationException: unable to activate object; nested exception is: 
        java.rmi.activation.ActivationException: group is inactive
java.rmi.activation.ActivateFailedException: failed to activate object; nested exception is: 
        java.rmi.activation.ActivationException: unable to activate object; nested exception is: 
        java.rmi.activation.ActivationException: group is inactive
java.rmi.activation.ActivationException: unable to activate object; nested exception is: 
        java.rmi.activation.ActivationException: group is inactive
java.rmi.activation.ActivationException: group is inactive
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:249)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:224)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
        at sun.rmi.server.Activation$ActivatorImpl_Stub.activate(Unknown Source)
        at java.rmi.activation.ActivationID.activate(ActivationID.java:93)
        at sun.rmi.server.ActivatableRef.activate(ActivatableRef.java:254)
        at sun.rmi.server.ActivatableRef.invoke(ActivatableRef.java:191)
        at CheckActivateRef_Stub.ping(CheckActivateRef_Stub.java:54)
        at CheckActivateRef.main(CheckActivateRef.java:125)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:485)
RMID: getting a reference to the activation system
RMID: obtained a reference to the activation system
# activation daemon shut down
RMID: testlibrary finished shutting down rmid
RMID: rmid exited on shutdown request
ACTIVATION_LIBRARY: finished destroying rmid
RMID: removing rmid's old log file...
TestFailedException: TEST FAILED: ; nested exception is: 
        java.rmi.activation.ActivateFailedException: failed to activate object; nested exception is: 
        java.rmi.activation.ActivationException: unable to activate object; nested exception is: 
        java.rmi.activation.ActivationException: group is inactive
java.rmi.activation.ActivateFailedException: failed to activate object; nested exception is: 
        java.rmi.activation.ActivationException: unable to activate object; nested exception is: 
        java.rmi.activation.ActivationException: group is inactive
java.rmi.activation.ActivationException: unable to activate object; nested exception is: 
        java.rmi.activation.ActivationException: group is inactive
java.rmi.activation.ActivationException: group is inactive
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:249)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:224)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
        at sun.rmi.server.Activation$ActivatorImpl_Stub.activate(Unknown Source)
        at java.rmi.activation.ActivationID.activate(ActivationID.java:93)
        at sun.rmi.server.ActivatableRef.activate(ActivatableRef.java:254)
        at sun.rmi.server.ActivatableRef.invoke(ActivatableRef.java:191)
        at CheckActivateRef_Stub.ping(CheckActivateRef_Stub.java:54)
        at CheckActivateRef.main(CheckActivateRef.java:125)
        at java.lang.reflect.Method.invoke(Native Method)
        at javasoft.sqe.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:485)

JavaTest Message: Test threw exception: TestFailedException: TEST FAILED: ; nested exception is: 
        java.rmi.activation.ActivateFailedException: failed to activate object; nested exception is: 
        java.rmi.activation.ActivationException: unable to activate object; nested exception is: 
        java.rmi.activation.ActivationException: group is inactive
JavaTest Message: shutting down test

STATUS:Failed.                                                                                                                                                                                                                                                                                                                                       
result: Failed. Execution failed


test result: Failed. Execution failed

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic FIXED IN: kestrel INTEGRATED IN: kestrel VERIFIED IN: kestrel
14-06-2004

EVALUATION Give the test more time between iterations to stop from accidentally using old activation groups.
11-06-2004