[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Usage of snapshots
SPAUSNET1
do-not-reply at jboss.com
Wed Nov 5 23:04:56 EST 2008
Thanks,
However our log files do not mention the word shutdown. The log file just stops being written to, until jboss restarts.
We have increased the memory allocation, and fingers crossed it helps.
Otherwise, I have found this from a pdf "JBossProfiler Guide.pdf";
3.2. Capturing a Snapshot
Steps to extract a snapshot:
- Add jbossAgent.dll to your path or libjbossAgent.so to your LD_LIBRARY_PATH
- Add -agentlib:jbossAgent to your JVM 5 command line. (Java 5 at least is required as JVMTI was introduced on
Java 5)
- Go to JMX Console (http://localhost:8080/jmx-console) and look for JBossProfiler:JVMTI MBean
(mbean=JVMTIClass)
- Call heapSnapshot from JVMTIClass MBean. use P1 as a prefix, and P2 as the extension. For instance
P1=/tmp/log, and P2=mem. This will create three files starting with log under /tmp, with extension=.mem
- Use the JbossProfiler application (http://localhost:8080/jboss-profiler) after you have installed jboss-profiler.war
to your /deploy directory.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187160#4187160
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187160
More information about the jboss-user
mailing list