Hi Jb,
First of all Do I need to install Visual VM glassfish plugin?
I installed and even seeing the exceptions.Also attaching the GF server log.
Here is the log file you asked for:
-------------------------------------------------------------------------------
>Log Session: Tuesday, May 26, 2009 2:01:07 PM IST
>System Info:
Product Version = VisualVM
Operating System = Linux version 2.6.28-11-generic running on i386
Java; VM; Vendor = 1.6.0_13; Java HotSpot(TM) Server VM
11.3-b02; Sun Microsystems Inc.
Java Home = /space/Sreekanth/java/jdk1.6.0_13/jre
System Locale; Encoding = en_IN (visualvm); UTF-8
Home Directory = /home/sreekanth
Current Directory = /space/Sreekanth/java/jdk1.6.0_13/bin
User Directory = /home/sreekanth/.visualvm/6u11
Installation =
/space/Sreekanth/java/jdk1.6.0_13/lib/visualvm/visualvm
/space/Sreekanth/java/jdk1.6.0_13/lib/visualvm/profiler2
/space/Sreekanth/java/jdk1.6.0_13/lib/visualvm/platform7
Boot & Ext. Classpath =
/space/Sreekanth/java/jdk1.6.0_13/jre/lib/endorsed/webservices-api-osgi.jar:/space/Sreekanth/java/jdk1.6.0_13/jre/lib/endorsed/jaxb-api-osgi.jar:/space/Sreekanth/java/jdk1.6.0_13/jre/lib/resources.jar:/space/Sreekanth/java/jdk1.6.0_13/jre/lib/rt.jar:/space/Sreekanth/java/jdk1.6.0_13/jre/lib/sunrsasign.jar:/space/Sreekanth/java/jdk1.6.0_13/jre/lib/jsse.jar:/space/Sreekanth/java/jdk1.6.0_13/jre/lib/jce.jar:/space/Sreekanth/java/jdk1.6.0_13/jre/lib/charsets.jar:/space/Sreekanth/java/jdk1.6.0_13/jre/classes:/space/Sreekanth/java/jdk1.6.0_13/jre/lib/ext/sunpkcs11.jar:/space/Sreekanth/java/jdk1.6.0_13/jre/lib/ext/localedata.jar:/space/Sreekanth/java/jdk1.6.0_13/jre/lib/ext/sunjce_provider.jar:/space/Sreekanth/java/jdk1.6.0_13/jre/lib/ext/dnsns.jar:/space/Sreekanth/java/jdk1.6.0_13/jre/lib/endorsed/webservices-api-osgi.jar:/space/Sreekanth/java/jdk1.6.0_13/jre/lib/endorsed/jaxb-api-osgi.jar
Application Classpath =
/space/Sreekanth/java/jdk1.6.0_13/lib/visualvm/platform7/lib/boot.jar:/space/Sreekanth/java/jdk1.6.0_13/lib/visualvm/platform7/lib/org-openide-modules.jar:/space/Sreekanth/java/jdk1.6.0_13/lib/visualvm/platform7/lib/org-openide-util.jar:/space/Sreekanth/java/jdk1.6.0_13/lib/dt.jar:/space/Sreekanth/java/jdk1.6.0_13/lib/tools.jar
Startup Classpath =
/space/Sreekanth/java/jdk1.6.0_13/lib/visualvm/platform7/core/core.jar:/space/Sreekanth/java/jdk1.6.0_13/lib/visualvm/platform7/core/org-openide-filesystems.jar:/space/Sreekanth/java/jdk1.6.0_13/bin/./../lib/visualvm/visualvm/core/com-sun-tools-visualvm-modules-startup.jar:/space/Sreekanth/java/jdk1.6.0_13/bin/./../lib/visualvm/visualvm/core/locale/core_visualvm.jar
-------------------------------------------------------------------------------
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
org.openide.util [7.10.1.1 1 200801291616]
org.openide.modules [7.3.1 200801291616]
org.openide.filesystems [7.3.1 200801291616]
org.netbeans.bootstrap/1 [2.7.1 200801291616]
org.netbeans.core.startup/1 [1.10.1.1 200801291616]
org.openide.awt [6.11.1.1 200801291616]
org.netbeans.api.progress/1 [1.10.1.1 1 200801291616]
org.netbeans.modules.autoupdate.services [1.3.1 200801291616]
org.openide.dialogs [7.5.1 200801291616]
org.openide.nodes [7.2.1.1 200801291616]
org.openide.explorer [6.12.2 1 200801291616]
org.openide.windows [6.18.1 200801291616]
org.netbeans.modules.editor.mimelookup/1 [1.8.1 200801291616]
org.openide.text [6.16.1 200801291616]
org.openide.actions [6.6.1.1 200801291616]
org.netbeans.modules.queries/1 [1.10.1 200801291616]
org.openide.loaders [6.7.1 200801291616]
org.netbeans.modules.javahelp/1 [2.9.1 200801291616]
org.netbeans.modules.options.api/1 [1.5.1 200801291616]
org.netbeans.lib.profiler/1 [1.2 080425]
org.netbeans.lib.profiler.common/1 [1.2 080317]
org.jdesktop.layout/1 [1.4.1 1.0.3 200801291616]
org.openide.io [1.11.1 200801291616]
org.openide.execution [1.10.1 200801291616]
org.netbeans.lib.profiler.ui/1 [1.2 080423]
org.netbeans.modules.profiler/1 [1.7 080411]
com.sun.tools.visualvm.core/0 [1.1 081211]
org.netbeans.swing.plaf [1.6.1 200801291616]
org.netbeans.core/2 [3.6.1.1 200801291616]
org.netbeans.modules.settings/1 [1.13.1 200801291616]
org.netbeans.swing.tabcontrol [1.9.1 200801291616]
org.netbeans.core.windows/2 [2.8.1.1 200801291616]
com.sun.tools.visualvm.host/0 [1.0 081211]
com.sun.tools.visualvm.application/0 [1.0 081211]
com.sun.tools.visualvm.tools/0 [1.0 081211]
com.sun.tools.visualvm.coredump/0 [1.0 081211]
com.sun.tools.visualvm.heapdump/0 [1.0 081211]
com.sun.tools.visualvm.threaddump/0 [1.0 081211]
com.sun.tools.visualvm.application.views/0 [1.0 081211]
com.sun.tools.visualvm.host.views/0 [1.0 081211]
com.sun.tools.visualvm.modules.appui [1.0 081211]
org.netbeans.modules.editor.mimelookup.impl/1 [1.1.1 200801291616]
org.netbeans.core.ui/1 [1.10.2 200801291616]
com.sun.tools.visualvm.jmx/0 [1.0 081211]
com.sun.tools.visualvm.attach/0 [1.0 081211]
com.sun.tools.visualvm.jvm/0 [1.0 081211]
com.sun.tools.visualvm.modules.startup [1.0 081211]
com.sun.appserv.management [1.0 080904]
com.sun.tools.visualvm.jvmstat/0 [1.0 081211]
org.netbeans.modules.progress.ui [1.0.1 200801291616]
com.sun.tools.visualvm.profiler/0 [1.0 081211]
com.sun.tools.visualvm.sa/0 [1.0 081211]
org.netbeans.modules.masterfs/1 [1.11.1 200801291616]
org.netbeans.modules.autoupdate.ui [1.2.1 200801291616]
net.java.visualvm.modules.glassfish [1.1 080904]
WARNING [org.openide.filesystems.Ordering]: Not all children in
Toolbars/ marked with the position attribute: [Memory, Standard.xml],
but some are: [File, Snapshot]
Diagnostic information
Input arguments:
-Djdk.home=/space/Sreekanth/java/jdk1.6.0_13
-Dnetbeans.system_http_proxy=DIRECT
-Dnetbeans.system_http_non_proxy_hosts=
-Dnetbeans.dirs=./../lib/visualvm//visualvm:./../lib/visualvm//profiler2:
-Dnetbeans.home=/space/Sreekanth/java/jdk1.6.0_13/lib/visualvm/platform7
-Xms24m
-Xmx192m
-Dsun.jvmstat.perdata.syncWaitMs=10000
Compiler: HotSpot Tiered Compilers
Heap memory usage: initial 24.0MB maximum 184.9MB
Non heap memory usage: initial 18.2MB maximum 112.0MB
Garbage collector: PS Scavenge (Collections=13 Total time spent=0s)
Garbage collector: PS MarkSweep (Collections=1 Total time spent=0s)
Classes: loaded=4270 total loaded=4270 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory
2,077,495,296
INFO [null]: Total physical memory 2,077,495,296
Profiler.attachToApp: ***************************************************
profiling settings --------------------------------
isPreset: true
name: Analyze Performance
profilingType: 8
overrideGlobalSettings: false
workingDir:
jvmArgs:
javaPlatform: <project>
threadsMonitoringEnabled: true
useProfilingPoints: true
excludeWaitTime: true
cpuProfilingType: 0
instrScheme: 1
threadCPUTimerOn: false
instrumentGetterSetterMethods: false
instrumentEmptyMethods: false
instrumentMethodInvoke: true
instrumentSpawnedThreads: true
nProfiledThreadsLimit: 32
sortResultsByThreadCPUTime: false
samplingInterval: 10
instrumentationRootMethods: [Source Code defined via method:
class: com.sun.enterprise.glassfish.bootstrap.**
method: *
]
codeFragmentSelection: null
codeRegionCPUResBufSize: 1000
runGCOnGetResultsInMemoryProfiling: true
allocTrackEvery: 10
allocStackTraceLimit: 0
selectedInstrFilter: java.*, javax.*,sun.*, sunw.*, com.sun.*
profileUnderlyingFramework: false
attach settings -----------------------------------
target type =
server type =
remote =false
direct =false
dynamic JDK16 =true
pid =12251
host =
host os =Linux
transient port =-1
instrumentation filter ----------------------------
Filter type: Exclusive
Filter value: java/ javax/ sun/ sunw/ com/sun/
Profiler.attachToApp: ***************************************************
INFO [org.netbeans.core.windows.persistence]:
[PersistenceManager.getTopComponentForID] Problem when deserializing
TopComponent for tcID:'PROFILERCONTROLPANEL_TC'. Reason: Top component
PROFILERCONTROLPANEL_TC could not be located or loaded from Components
folder.
*** Profiler warning (Tue May 26 14:02:41 IST 2009): class
com/sun/enterprise/module/bootstrap/StartupContext, ldr = 0 not found
anywhere
*** Profiler warning (Tue May 26 14:02:41 IST 2009): class $Proxy88, ldr
= 0 not found anywhere
*** Profiler warning (Tue May 26 14:02:42 IST 2009): class
com/sun/enterprise/module/bootstrap/Which, ldr = 0 not found anywhere
*** Profiler warning (Tue May 26 14:02:43 IST 2009): class $Proxy18, ldr
= 0 not found anywhere
*** Profiler warning (Tue May 26 14:02:43 IST 2009): class
com/sun/enterprise/module/bootstrap/ArgumentManager, ldr = 0 not found
anywhere
*** Profiler warning (Tue May 26 14:02:43 IST 2009): class $Proxy1, ldr
= 0 not found anywhere
*** Profiler warning (Tue May 26 14:02:43 IST 2009): class $Proxy2, ldr
= 0 not found anywhere
*** Profiler warning (Tue May 26 14:02:44 IST 2009): class $Proxy0, ldr
= 0 not found anywhere
*** Profiler warning (Tue May 26 14:02:46 IST 2009): class
org/xmlsoap/ping/package-info, ldr = 126 not found anywhere
*** Profiler warning (Tue May 26 14:02:46 IST 2009): class
interopbaseaddress/interop/package-info, ldr = 126 not found anywhere
*** Profiler error (Tue May 26 14:02:47 IST 2009): exception while
trying to get response from the target JVM:
java.io.IOException: JFluid wire protocol error: code does not
correspond to command or response. Value -1
INFO [org.netbeans.modules.autoupdate.ui.PluginManagerUI]:
org.netbeans.modules.autoupdate.ui.UnitTab.AVAILABLE looks no valid
HelpCtx. Is valid? false
INFO [org.netbeans.modules.autoupdate.ui.PluginManagerUI]:
org.netbeans.modules.autoupdate.ui.UnitTab.INSTALLED looks no valid
HelpCtx. Is valid? false
Thanks,
Sreekanth
Jaroslav Bachorik wrote:
> Hi Sreeknath, Shreedhar,
>
> I tried to reproduce the problem but with the standard setup it just
> works. Could you provide more information about system setup and the
> VisualVM logfile (menu Help/About/Logfile in VisualVM)?
>
> Regards
>
> JB
>
> Sreekanth wrote:
>> Copying users at visualvm alias.
>>
>> Seeing the tailed server log I thought some class was missing in
>> glassfish that is causing this exception.
>>
>> Shreedhar Ganapathy wrote:
>>> Hi Sreekanth
>>> Since this is visualvm specific you might get a more direct answer
>>> from the visualvm forum. users[at]visualvm.dev.java.net
>>>
>>> -Shreedhar
>>>
>>> Sreekanth wrote:
>>>> Hi ,
>>>>
>>>> I am trying to experiment a bit of Java Visual VM and its
>>>> capabilities.
>>>>
>>>> My glassfish server is running on the JDK on which I started the
>>>> Visual VM.When I clicked on the CPU Profiler on the process
>>>> com.sun.enterprise.glassfish.bootstrap.ASMain, I am seeing these
>>>> exceptions.What does these exceptions mean?(I don't know if I am
>>>> asking a stupid thing.Still learning)
>>>>
>>>> Do we need to copy any jars to glassfish?
>>>>
>>>> [#|2009-05-25T21:01:49.183+0530|WARNING|glassfish|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=269;_ThreadName=Thread-1;|Uncaught
>>>> thread exception. Thread:
>>>> Thread[http8080-WorkerThread(250),10,Grizzly]
>>>> java.lang.NoClassDefFoundError:
>>>> org/netbeans/lib/profiler/server/ProfilerRuntimeCPUFullInstr
>>>> at
>>>> com.sun.grizzly.TCPSelectorHandler$1.run(TCPSelectorHandler.java:543)
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>>
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:911)
>>>>
>>>> at java.lang.Thread.run(Thread.java:619)
>>>> |#]
>>>>
>>>> Thanks,
>>>> Sreekanth
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_visualvm.dev.java.net
>> For additional commands, e-mail: users-help_at_visualvm.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_visualvm.dev.java.net
> For additional commands, e-mail: users-help_at_visualvm.dev.java.net
>