United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7023338 : jps command not showing other jvms running under the callers user context

Details
Type:
Bug
Submit Date:
2011-03-01
Status:
Closed
Updated Date:
2012-03-20
Project Name:
JDK
Resolved Date:
2011-07-11
Component:
core-svc
OS:
linux
Sub-Component:
tools
CPU:
x86
Priority:
P3
Resolution:
Duplicate
Affected Versions:
6u24
Fixed Versions:

Related Reports
Duplicate:
Relates:

Sub Tasks

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.
                                     
2011-07-11



Hardware and Software, Engineered to Work Together