users@glassfish.java.net

How to profile a cluster glassfish instance

From: <glassfish_at_javadesktop.org>
Date: Fri, 28 Mar 2008 01:39:07 PST

Hello,

I tried to profile a glassfish cluster instance and didn't achieve it.

I did this :
1) First try (from remote Netbeans) :
* install the linux package for remote profiling on http://profiler.netbeans.org in /product/integration/profiling
* calibrate de JDK 1.5 with calibrate.sh
* then I activate the profiler in the java-config with the DAS GUI :
In Jvm-options : Activate profiler
Add the following jvm-option :
<jvm-options>-agentpath:/product/integration/profiling/lib/deployed/jdk15/linux/libprofilerinterface.so=/product/integration/profiling/lib,5140</jvm-options>

When i restart the instance, it is waiting.

But the Remote contact never occured !!!

2) Second try : with a local netbeans installed on the Linux Node
I did the same but with a local direct attach - same result - unable to attach to the profiler

What's wrong ???

regards,
Olivier
[Message sent by forum member 'omerlin' (omerlin)]

http://forums.java.net/jive/thread.jspa?messageID=266381