Try this:
use server/all with the following
1:- Edit the C:\jboss-5.1.0.GA\server\all\conf\bootstrap\aop.xml in LINE no-72: <property name="enableLoadtimeWeaving">true</property>
2:- CopyC:\jboss-5.1.0.GA\server\all\deployers\jboss-aop-jboss5.deployer\pluggable-instrumentor.jar to C:\jboss-5.1.0.GA\bin
3:- EditC:\jboss-5.1.0.GA\bin\run.conf.bat file:LINE N0=-50 type : set “JAVA_OPTS=%JAVA_OPTS% -javaagent:pluggable-instrumentor.jar”
4:- Copy pojocache-aop.xml to C:\jboss-5.1.0.GA\server\all\deploy
That's all
Cheers!
Ajuba