0 Replies Latest reply on Jan 8, 2004 10:25 AM by Daniel Murygin

    jboss and profiler optimzeit

    Daniel Murygin Newbie

      hello,
      i would like to test our application with the profiler optimizeit from borland (www.borland.com/optimizeit/) on my linux machine. i use jboss 3.2.1.
      i tried to start jboss as described in the optimizit documentation and added the following to the start script of jboss:

      OPTIT_HOME="/usr/local/share/OptimizeitSuite55"
      PATH="$OPTIT_HOME/lib:$PATH"
      JBOSS_CLASSPATH=$OPTIT_HOME/lib/optit.jar:$JBOSS_CLASSPATH
      JAVA_OPTS="-Xrunoii:filter=$OPTIT_HOME/filters/JBoss.oif -Xbootclasspath/a:$OPTIT_HOME/lib/oibcp.jar -Xboundthreads -DGCOPSIZE=5 $JAVA_OPTS"
      


      when i run the script i got the an error:

      Error occurred during initialization of VM
      Could not find -Xrun library: liboii.so
      


      i also tried to add /usr/local/share/OptimizeitSuite55/lib to my system path variable and added it to variable LD_LIBRARY_PATH as described in http://community.borland.com/article/0,1410,28387,00.html.

      is there an other way to add native libs as liboii.so to jboss?

      greetings from berlin, daniel.