Following Kabir's advice by reading section 10.3.3 (JBoss 4.x and JDK 5) of the reference manual, the JBossAS would not even boot.
The steps I taken: 1. Changed jboss-service.xml in jboss-aop-jdk50.deployer: org.jboss.aop.deployment.AspectManagerService to org.jboss.aop.deployment.AspectManagerServiceJDK5, attribute EnableLoadTimeWeaving set to true. 2. Changed run.bat to include -javaagent:pluggable-instrumentor.jar The following error is shown in the console: anonymous wrote : =============================================================================== | . | JBoss Bootstrap Environment | . | JBOSS_HOME: C:\Java\JBossAppServers\jboss-4.0.4.CR2-template-test\bin\\.. | . | JAVA: C:\Java\jdk1.5.0_06\bin\java | . | JAVA_OPTS: -Dprogram.name=run.bat -javaagent:pluggable-instrumentor.jar -Xms1 | 28m -Xmx512m | . | CLASSPATH: C:\Java\jdk1.5.0_06\lib\tools.jar;C:\Java\JBossAppServers\jboss-4.0 | .4.CR2-template-test\bin\\run.jar | . | =============================================================================== | . | Error opening zip file: pluggable-instrumentor.jar | Error occurred during initialization of VM | agent library failed to init: instrument | Press any key to continue . . . For the time being, I will still try to find out some more on this, maybe there's something I did wrong. Anymore advice would be favorable. TQ. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939706#3939706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939706 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
