I've recently downloaded and installed WebSphere Application Server 7.0 on Windows 2003.
I wanted to do a jstat (JDK 1.6) to probe the JVM but I kept getting " not found" message.
Any idea why this is happening?
Nicholas
I've recently downloaded and installed WebSphere Application Server 7.0 on Windows 2003.
I wanted to do a jstat (JDK 1.6) to probe the JVM but I kept getting " not found" message.
Any idea why this is happening?
Nicholas
If you are trying to monitor a process that is owned by a different user, you can get permission errors. Work around these by running a jstatd server with a custom, permissive policy.
jstatd -J-Djava.security.policy=/home/root/.jstatd.all.policy
.jstatd.all.policy:
grant codebase "file:/usr/java/latest/lib/tools.jar" {
permission java.security.AllPermission;
};
You will need to provide the correct path to your own tools.jar. Once jstatd is up and running, you should be able to run your jstat command.