tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50518] jps.exe and jvisualvm.exe cannot detect tomcat using jdk1.6.0_23
Date Thu, 30 Dec 2010 21:24:38 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50518

--- Comment #7 from Konstantin Kolinko <knst.kolinko@gmail.com> 2010-12-30 16:24:33
EST ---
Thank you for your investigation.

Looks like something that we cannot fix, but we may mention it in
RELEASE-NOTES, or on the FAQ page on the Wiki site (editable by everyone). It
is a regression in JDK and concerns not only Tomcat, but any java application
that runs with its own value of java.io.tmpdir.

(In reply to comment #3)
> A very short investigation shows the issue.
> 
> 1) Tomcat specifies -Djava.io.tmpdir=$CATALINA_BASE/temp in its JVM options.

Note, that if you are using catalina.(sh|bat) to start Tomcat, then the path to
the temporary directory can be customized by setting the "CATALINA_TMPDIR"
environment variable.

One can set it either before running the scripts, or in a bin/setenv.(bat|sh)
file.

> 2) Java 6 Update 23 places the hsperfdata_$USER directory in this directory
> rather than in the normal location where jps, visualvm, etc, expect it.
>

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message