> Note that the javaagent is only available on JDK 1.4

I'm using JDK1.5 and jboss.4.0.sp1

The following lines were added to run.sh:


  | pluggablejar="$JBOSS_HOME/bin/pluggable-instrumentor.jar"
  | JBOSS_BOOT_CLASSPATH="$runjar:$pluggablejar"
  | JAVA_OPTS="$JAVA_OPTS -Dprogram.name=$PROGNAME 
-javaagent:pluggable-instrumentor.jar"
  | 

The jboss-service.xml in JBOSS_HOME/server/default/deploy


  | 
  | <server>
  |    <mbean code="org.jboss.aop.deployment.AspectManagerServiceJDK5"
  |       name="jboss.aop:service=AspectManager">
  |       <attribute name="EnableLoadtimeWeaving">true</attribute>
  |       <attribute name="SuppressTransformationErrors">true</attribute>
  |       <attribute name="Prune">true</attribute>
  |       <attribute name="Include">org.jboss.test, 
org.jboss.injbossaop</attribute>
  |       <attribute name="Exclude">org.jboss.</attribute>
  |       <attribute name="Optimized">true</attribute>
  |       <attribute name="Verbose">false</attribute>
  |    </mbean>
  | 
  |    <mbean code="org.jboss.aop.deployment.AspectDeployer"
  |       name="jboss.aop:service=AspectDeployer">
  |    </mbean>
  | </service>
  | 
  | 

The pluggable-instrumentor.jar was copied to JBOSS_HOME/bin.

What can be wrong?

Regards,

Rodrigo.

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to