[jboss-dev-forums] [Design of JBoss Profiler] - Re: JBoss Profiler Installation in Windows - questions

_eric_ do-not-reply at jboss.com
Wed Apr 29 01:51:44 EDT 2009


Hi qa,

until now you got no answer. I'm starting to with the profiler version jboss-profiler-2.0.Beta3.SP1, so we are brothers in pain ;-) 

Initially, take a look to the read me. In my case there is a section "Deployment in JBoss Application Server" telling to copy what files to what place. The thing with the JAVA_OPTS is described close to the end of the readme. After I did all that things I get the following output when starting the server. I hpe one of the experts can explain a little bit more.

  JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:+CMSPermGenSweepingEnabled -XX:PermSize=256m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInte
  | rval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -javaagent:jboss-profiler.jar -Djboss-profiler.properties=jboss-profiler.properties
  | 
  |   CLASSPATH: C:\Programme\Java\jdk1.6.0_13\lib\tools.jar;C:\Dokumente und Einstellungen\user\Eigene Dateien\workspace\orgavision\jboss\bin\run.jar
  | 
  | ===============================================================================
  | 
  | Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
  | JBoss Profiler 2.0.Beta3.SP1 (Sun Microsystems Inc. 1.6.0_13)
  | WARNING: Javassist not detected - the profiler will not be enabled
  | Exception in thread "main" java.lang.reflect.InvocationTargetException
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:597)
  |         at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)
  |         at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)
  | Caused by: java.lang.NoClassDefFoundError: javassist/ClassPool
  |         at org.jboss.profiler.agent.JavassistTransformer.<init>(JavassistTransformer.java:52)
  |         at org.jboss.profiler.agent.Agent.boot(Agent.java:889)
  |         at org.jboss.profiler.agent.Agent.premain(Agent.java:848)
  |         ... 6 more
  | FATAL ERROR in native method: processing of -javaagent failed

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

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



More information about the jboss-dev-forums mailing list