JDK-8001464 : jinfo intermittently fails with 'Connection refused' message
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 6,7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2012-10-24
  • Updated: 2014-07-21
  • Resolved: 2013-07-12
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.
JDK 8
8Resolved
Related Reports
Duplicate :  
Description
jinfo intermittently fails with 'Connection refused' message on some UEL 6 hosts:

>$JAVA_HOME/bin/java -d64 Test &
>PID=$!
>sleep 5
>$JAVA_HOME/bin/jinfo -J-d64 -flag PrintGC=1 $PID
9317: Connection refused

Issue could be reproduced with JDK 7 FCS as well as with JCK 7u10-b12.
I've attached script that could be used to reproduce issue. However it could take a lot of time to reproduce issue, but on some machines it could be reproduced quickly.

See comments for more details.
Comments
Promotion JDK7u40 b33: RULE nsk/aod/VirtualMachine/VirtualMachine08 Exception java.io.IOException: Connection refused
17-07-2013

In promotion test of 7u40 b33: (ATR) This is happening too much, ILW = MHM => P3 RULE closed/com/oracle/jfr/jcmd/TestJcmdFailStartStop.java Exception java.io.IOException: Bad file number RULE nsk/aod/VirtualMachine/VirtualMachine10 Exception java.io.IOException: Bad file number RULE nsk/aod/VirtualMachine/VirtualMachine04 Exception java.io.IOException: Connection refused RULE closed/com/oracle/jfr/jcmd/TestJcmdStartWithOptions.java Exception java.io.IOException: Permission denied
08-07-2013

In Promotion test of 7u40 b31 (ATR): Solaris-ia32: RULE closed/com/oracle/jfr/jcmd/TestJcmdStartStopDefaultBadParams.java Exception java.io.IOException: Permission denied Linux-amd64: RULE nsk/aod/VirtualMachine/VirtualMachine02 Exception java.io.IOException: Connection refused RULE nsk/aod/AttachProvider/AttachProvider02 Exception java.io.IOException: Connection refused
03-07-2013

RULE nsk/aod/VirtualMachine/VirtualMachine03 Exception java.io.IOException: Connection refused
02-07-2013