1 Reply Latest reply on Nov 28, 2009 1:03 PM by jesper.pedersen

    Starting JBoss profiler in a standalone java application

      Hi All,

      I'm trying to use JBoss profiler for a standalone java application:

      I started the java application with following VM parameters

      -javaagent:jboss-profiler.jar -Djboss-profiler.properties=jboss-profiler.properties -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000


      And added in classpath

      
      jboss-profiler-client.jar
      jboss-profiler.jar
      jboss-profiler-plugins.jar
      javassist.jar
      jboss-profiler.properties
      
      
      


      but getting following error before I can go any further:

      Error opening zip file or JAR manifest missing : jboss-profiler.jar
      Error occurred during initialization of VM
      agent library failed to init: instrument
      


      Just wondering is it possible to start jboss-profiler this way? If it is what could be the problem.

      Many thanks

      Khurram.