R
Roedy Green said:JDK 1.6.0_10 release candidate released.
downloado at http://java.sun.com/javase/downloads/ea.jsp
Andreas said:Has anyone else tried it, yet?
On my machine (Linux 32bit) processes running with this
version of Java cannot be attached to with jconsole.
I've two versions installed: 1.6.0_06 and the 1.6.0_10(rc),
It doesn't matter which version of jconsole I use, I can
only attach to processes running with ..._06 but not to
those running with ..._10. These processes run exactly
the same application class files (not even a .jar), so the
difference must be on Java's side.
The symptom of not-working is, that jconsole gives up after a
while, writing: "The connection to 23456 did not succeed. Would
you like to try again?"
Can anyone confirm this? Perhaps also on other platforms?
Andreas said:The symptom of not-working is, that jconsole gives up after a
while, writing: "The connection to 23456 did not succeed. Would
you like to try again?"
Knute Johnson said:Andreas:
It's working fine for me.
zerg said:If you're using a software firewall, it will need to be told to let the
1.6.0_10 JVM talk to network ports, but has presumably long since been
told to let the 1.6.0_06 JVM do so.
If that's not the problem, then it may be an actual bug in 1.6.0_10.
I'm on linux, and I'm not aware of any software that would decide
net-permissions program-specifically. I'm 100% sure, not to have
configured anything else for jdk1.6.0_06 back when I installed it.
Ok, I'll search the bug-database now. Perhaps someone already reported
it meanwhile (then I could still vote for it)
Andreas said:from your posting-headers, I assume you're on windows. Right?
(just for the record of where it does work and where it does not)
Andreas said:from your posting-headers, I assume you're on windows. Right?
(just for the record of where it does work and where it does not)
Andreas said:Has anyone else tried it, yet?
On my machine (Linux 32bit) processes running with this
version of Java cannot be attached to with jconsole.
I've two versions installed: 1.6.0_06 and the 1.6.0_10(rc),
It doesn't matter which version of jconsole I use, I can
only attach to processes running with ..._06 but not to
those running with ..._10. These processes run exactly
the same application class files (not even a .jar), so the
difference must be on Java's side.
The symptom of not-working is, that jconsole gives up after a
while, writing: "The connection to 23456 did not succeed. Would
you like to try again?"
Can anyone confirm this? Perhaps also on other platforms?
dominicreynolds said:Is jconsole part of the JDK?
Could be be that the jconsole version is
specific to a JDK version?
Knute Johnson said:And I assume your having trouble on Linux?
I tried it on my Fedora 9 with the OpenJDK. It won't connect to any of
my programs but it will connect to the jconsole.
I found a couple of web articles that mention problems with the
hostname. If hostname -i shows 127.0.0.1 it won't work.
Thanks, anyway.So there you go. I'm clueless.
Andreas said:Yes, it is. (It's in the "bin"-subfolder of "${java.home}")
jconsole (1.6.0_10) was able to inspect a process running
in an older 1.6.0_06 vm, but not the other one running in
a vm of same version (as jconsole).
Since no one else mentioned reproducability, I'll just watch
it further and wait for the next rc-version.
Nigel Wade said:I've just tried it here, and it works fine. I can connect to a 1.6.0_10-rc JVM
using either the same version jconsole or the jconsole from 1.6.0_07-b06. This
is on RHEL5, 32bit.
Are you connecting jconsole to the Java process by PID? This is the only
mechanism I've tested.
Andreas said:Has anyone else tried it, yet?
On my machine (Linux 32bit) processes running with this
version of Java cannot be attached to with jconsole.
Can anyone confirm this? Perhaps also on other platforms?
I tried with 1.6.0_07 and 1.6.0_10, and I can connect jconsole to a
running process for any permutation of the two versions.
This is on 2.6.23.17-88.fc7.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.