This content has been marked as final. Show 2 replies
It turns out this problem has nothing to do with JSVC.
jps find tomcat running with or without JSVC unde jdk1.6_u22, and does not find it in either case with jdk1.6_u23.
Seems to be a bug in jps in 1.6_u23.
While it's true that 6u23/24 introduce this issue, it's not a bug in jps. Rather a change in behavior of the VM itself. On GNU/Linux Jps and the likes seem to only look at /tmp but not necessarily your CATALINA_TMPDIR. If set or not, try to export CATALINA_TMPDIR=/tmp which translates to "-Djava.io.tmpdir=/tmp" and after restarting the Tomcat process you should see Tomcat's data as "/tmp/hsperfdata_<username>/<pid>" and Jps will most likely work again as well.
Edited by: 841406 on Mar 3, 2011 3:15 AM
Edited by: 841406 on Mar 3, 2011 3:17 AM
Edited by: 841406 on Mar 3, 2011 12:19 PM