[jboss-dev-forums] [Design of JBoss Profiler] - JBoss Profiler On Solaris

grdzeli_kaci do-not-reply at jboss.com
Mon May 7 09:17:54 EDT 2007


hi all,
i am newbie on jboss profiler,
i tried to install jboss profiler and done it step by step,
1.download jboss profiler 1.0.CR4,
2. first step "1.  Build using ant.  The built files will appear under the build/ directory" does not work it throws an error :


  | bash-3.00$ $ANT_HOME/bin/ant compile
  | Buildfile: build.xml
  | init:
  | compile:
  |     [javac] Compiling 5 source files to /export/home/jboss/jboss-profiler-1.0.CR4/jvmti-src/output/classes
  | BUILD FAILED
  | /export/home/jboss/jboss-profiler-1.0.CR4/jvmti-src/build.xml:23: /export/home/jboss/jboss-profiler-1.0.CR4/build/jar not found.
  | 
  | Total time: 0 seconds
  | 
what i did incorrect ???

after this i tried to install without build,
look into the read me file, there is installation steo :
"1.Once built, put jbossInspector.dll in your PATH (if you are using Windows)
or libjbossInspector.so in your LD_LIBRARY_PATH (if you are using Linux/Unix.)"
i have solaris os and export ld_library_path


  | LD_LIBRARY_PATH=/export/home/jboss/jboss-profiler-1.0.CR4/jvmpi-src/solaris/bin
  | export LD_LIBRARY_PATH
  | 
also i put it into path 

  | PATH=$JAVA_HOME:$PATH:/export/home/jboss/jboss-profiler-1.0.CR4/jvmpi-src/solaris/bin
  | export PATH
  | 

after all i changed my run configuration file 


  | JAVA_OPTS="-server -Xmx3168m -Xms2144m -Xmn1g -Xss256k -d64 -XX:PermSize=128m -XX:MaxPermSize=256m
  |    -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
  |     -XX:ParallelGCThreads=20 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
  |     -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -XX:+AggressiveOpts
  |     -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:+PrintTenuringDistribution
  |     -Xloggc:/export/home/jboss/jboss-4.0.4.GA/server/all/log/gc.log
  |  -XrunjbossInspector:/export/home/jboss/jboss-profiler-1.0.CR4,include=com.magti,start=org.jboss"
  | 
but i got an error like this:


  | Error occurred during initialization of VM
  | Could not find agent library on the library path or in the local directory: jbossInspector
  | 

what i did incorrect ?

regards,
Paata.


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

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



More information about the jboss-dev-forums mailing list