Thread started: Sep 24 2009, 1:12 PM EDT
Watch
Hi Robert
I'm Unable to use JVisualVM profiler with Standalone OC4J 10.1.3.4 (JDK 1.6) :
Exception in thread "Attach Listener" 09/09/11 16:58:15 java.lang.reflect.InvocationTargetException
09/09/11 16:58:15 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09/09/11 16:58:15 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
09/09/11 16:58:15 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
09/09/11 16:58:15 at java.lang.reflect.Method.invoke(Method.java:597)
09/09/11 16:58:15 at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)
09/09/11 16:58:15 at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:348)
09/09/11 16:58:15 Caused by: java.lang.NullPointerException
09/09/11 16:58:15 at org.netbeans.lib.profiler.server.ProfilerActivate15.getArchiveFile(ProfilerActivate15.java:75)
09/09/11 16:58:15 at org.netbeans.lib.profiler.server.ProfilerActivate15.activate(ProfilerActivate15.java:96)
09/09/11 16:58:15 at org.netbeans.lib.profiler.server.ProfilerActivate15.agentmain(ProfilerActivate15.java:61)
09/09/11 16:58:15 ... 6 more
Agent failed to start!
Steps to Reproduce Problem are :
1. Run the server using ==> java -Dcom.sun.management.jmxremote=true -jar oc4j.jar
2. Run JAVA_HOME/bin/jvisualvm. (detected by VisualVM)
3. Double click on OC4J node. I see a tab for PROFILER (along with Threads and memory)
4. Click on profiler TAB
5. When I click on MEMORY or CPU buttons, gives an empty box. An exception is displayed.
According to your doc, it should work.
Note also that the other TABS work fine, except for the "Profile" tab.
Thx for your hints.
Steff
out of
found this valuable.
Do you find this valuable?