Thank you Sunil for your share, it was actually the only good solution I found.
Actually I just added the JAVA_OPTS to the standalone.bat without the other steps and it worked perfectly.
Been using APM 9.5 and Jboss AS7.1.1 Final.
Thanks again.
set JAVA_OPTS= %JAVA_OPTS%
-Djboss.modules.system.pkgs=org.jboss.logmanager,com.wily,com.wily.* -Djava.util.logging.manager=org.jboss.logmanager.LogManager -javaagent:%JBOSS_HOME%\wily\Agent.jar -Dcom.wily.introscope.agentProfile=%JBOSS_HOME%\wily\core\config\IntroscopeAgent.profile -Xbootclasspath/p:%JBOSS_HOME%\modules\org\jboss\logmanager\main\jboss-logmanager-1.2.2.GA.jar;%JBOSS_HOME%\modules\org\jboss\logmanager\log4j\main\jboss-logmanager-log4j-1.0.0.GA.jar;%JBOSS_HOME%\modules\org\apache\log4j\main\log4j-1.2.16.jar