This content has been marked as final.
Show 3 replies
-
1. Re: installing/configuring on Mac OSX
jesper.pedersen Dec 29, 2008 3:12 PM (in response to lexsoto)There isn't any native for JBoss Profiler 2.0 yet. It is a 100% pure Java profiler currently.
See the README.txt on which options you need to pass to JAVA_OPT and remember to copy javassist.jar to the bin/ directory.
As for JBoss Profiler 1.x -- you need to look into why -shared isn't working on your machine.
HTH -
2. Re: installing/configuring on Mac OSX
lexsoto Dec 29, 2008 3:29 PM (in response to lexsoto)Thank you for your help. Unfortunately, I'm still lost trying to follow the instructions. This is what the README.txt says:
* Edit run.conf (Unix) or run.bat (Windows) in jbossas/bin to include JBoss Profiler in JAVA_OPTS
What exactly does this means?
What do I add to JAVA_OPTS?
Thanks,
-Alex Soto -
3. Re: installing/configuring on Mac OSX
lexsoto Dec 30, 2008 9:20 AM (in response to lexsoto)In case others have the same problem. The "run.conf" needs to be modified by adding the line:
JAVA_OPTS="$JAVA_OPTS -javaagent:jboss-profiler.jar -Djboss-profiler.properties=jboss-profiler.properties"
For whatever is worth, I have to say the documentation is very confusing. I would suggest separating the instructions about how to setup/run in stand alone mode from the instructions about running embedded in the Application Server.
The step-by-step instructions under section "Deployment in JBoss Application Server" are not complete. The information about how to modify JAVA_OPTS is actually found towards the end of the file in a different section "Running the agent", yet I could not "move" to the next step in the instructions because of the missing information.
Thanks,
Alex