-
1. Re: Please help me about jboss-profiler configuration.
clebert.suconic Nov 1, 2006 9:23 AM (in response to rainbow_dai)What's the argument list you have used in your -XrunjbossInspector:directory,parameters ?
You are probably using something invalid as start class. Try using only -XRunjbossInspector:directory and nothing else after that.
If you need other arguments I can help adding more stuff later. -
2. Re: Please help me about jboss-profiler configuration.
rainbow_dai Nov 1, 2006 8:30 PM (in response to rainbow_dai)clebert, Thanks for your suggestion.
I execute the command is "java -XrunjbossInspector:e:\log,include=org.jboss,ignore=*,start=org.jboss.mq.MQServer,uniqueNames=true" in MS-DOS
and there will be some info as below:
******************************************************
Running process on Windows 2520
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D=
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:...|:]
-enableassertions[:...|:]
enable assertions
-da[:...|:]
-disableassertions[:...|:]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:[=]
load native agent library , e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:[=]
load native agent library by full pathname
-javaagent:[=]
load Java programming language agent, see java.lang.instrument
*************************************************************
Base on your suggestion, I try to use only -XRunjbossInspector:directory, such as "java -XrunjbossInspector:E:\log". It still can get data, but also no result in list after analyse these data.
otherwise, I set an new environment variable JAVA_OPTS. such as below:
"JAVA_OPTS=-XrunjbossInspector:/E:\log,include=org.ex,ignore=*,start=org.ex.Main"
Thank a lot!! -
3. Re: Please help me about jboss-profiler configuration.
clebert.suconic Nov 1, 2006 10:47 PM (in response to rainbow_dai)when I told you to execute java -XrunjbossInspector: without any more arguments... I didn't mean it that literally...
-XrunjbossInspector:directory is the one of the JAVA_OPTS you should set... on the inspectorOptions use only the directory as a test.
you should have (-XrunjbossInspector:) as one of your java arguments... keep your memory and your other parameters...
As for your data capture not working the problem was the start parameter... The start is used to only start capturing after certain point. This thread will have some information:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=91178