[jboss-dev-forums] [JBoss Profiler Development] - Starting JBoss profiler in a standalone java application

c_khurram do-not-reply at jboss.com
Thu Nov 12 11:20:57 EST 2009


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.

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

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



More information about the jboss-dev-forums mailing list