[jboss-dev-forums] [Design of JBoss Profiler] - Need Help on Mac OS X

cfrostrun do-not-reply at jboss.com
Mon Feb 26 23:24:08 EST 2007


I'm having problems trying to get this up & running...

I'm getting this exception that crashes jboss.

22:02:08,857 INFO  [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 1m:2s:65ms
Initializing DataGathering
[thread 28289536 also had an error]
[thread 28155392 also had an error]
[thread 29617152 also had an error]
./run.sh: line 209:   286 Trace/BPT trap          "$JAVA" $JAVA_OPTS -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" -classpath "$JBOSS_CLASSPATH" org.jboss.Main "$@"

Here's my configuration items:

LD_LIBRARY_PATH=/javalib/jboss-profiler/
DYLD_LIBRARY_PATH=/apps/imagemagick/ImageMagick-6.2.5//lib:/javalib/jboss-profiler/

ls -tlar /javalib/jboss-profiler/

-rwxr-xr-x    1 icenfros  admin  40348 Feb 26 20:32 libjbossAgent.jnilib

I built this file from the macos compile.sh script.

It didn't build a libjbossInspector.jnilib, however I did have a left over file from the last time I tried to get this up and running (this was from early last year).  Are these the same file or do this do different thing and I need both of them?

in the jmx-console i have the following mbean:

jboss.profiler

    * mbean=Native-profiler

once i invoke : void activate() - Start data capturing. (You will need to call stop before analyzing data)

it crashes jboss...

here's a couple other things about my configuration:

in the server/default/deploy

-rw-r--r--    1 icenfros  admin   144475 Feb 26 21:02 jboss-profiler-noAOP.sar
-rw-r--r--    1 icenfros  admin  2438834 Feb 26 21:13 jboss-profiler.war

in /tmp/
rw-r--r--   1 icenfros  wheel      0 Feb 26 22:18 /tmp/serverspy_334_thread_1172549892508_37000_155.log.gz
-rw-r--r--   1 icenfros  wheel      0 Feb 26 22:18 /tmp/serverspy_334_thread_1172549910287_42548000_157.log.gz
-rw-r--r--   1 icenfros  wheel      0 Feb 26 22:18 /tmp/serverspy_334_thread_1172549910222_23229000_156.log.gz
-rw-r--r--   1 icenfros  wheel  49152 Feb 26 22:18 /tmp/serverspy_334_thread_1172549531464_30000_140.log.gz
-rw-r--r--   1 icenfros  wheel     27 Feb 26 22:18 /tmp/log_spyserver_334.txt


if i cat the log_spyserver_334.txt :

Initializing DataGathering

the documentation also talks about JBossProfiler:JVMTI in the jmx-console, however I do not see this at all??? I'm wondering if that's my problem, or is this the native-profiler.

I appreciate any help I can get from this...

Chris..

ps... what versions of jboss will this work on?  Is the only limitation is the jvm version ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022835#4022835

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022835



More information about the jboss-dev-forums mailing list