JDK-7023338 : jps command not showing other jvms running under the callers user context
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 6u24
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2011-03-01
  • Updated: 2012-03-20
  • Resolved: 2011-07-11
Related Reports
Duplicate :  
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode)
and
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)


ADDITIONAL OS VERSION INFORMATION :
Linux  2.6.35.10-74.fc14.x86_64 #1 SMP Thu Dec 23 16:04:50 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
and
Linux 2.6.18-53.1.19.el5PAE #1 SMP Tue Apr 22 03:15:26 EDT 2008 i686 i686 i386 GNU/Linux
and
Linux 2.6.30.10-105.2.23.fc11.i586 #1 SMP Thu Feb 11 06:51:26 UTC 2010 i686 i686 i386 GNU/Linux


A DESCRIPTION OF THE PROBLEM :
I'm running  Tomcat 6 (it is the same with JBoss 4.2.3) Appserver unter a non privileged user account.
Till u22 the jps command showed all jvms within the callers user context.
Now u24 the command unly shows his own JVM Instance.

REGRESSION.  Last worked in version 6u24

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
run a jvm (eg Tomcat) under a non privileged user in background. Start the jps command.
It is only the jps JVM id shown - and not any other jvm (Tomcat in this example)

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
All JVM ids of the user should be shown
ACTUAL -
It is only the jps JVM id shown

ERROR MESSAGES/STACK TRACES THAT OCCUR :
no error

REPRODUCIBILITY :
This bug can be reproduced always.

Comments
EVALUATION Closing as a duplicate of 6938627.
11-07-2011