1 Reply Latest reply on Jun 3, 2009 2:50 PM by flavia.rainone

    Deploy AOP Application on JBOSS AS

      Hello, i was join jboss aop and a standalonne aplication works perfectly, but when i was deploy a web application on JbossAS it doesnt work. Please, wht is necessary for my application work on JbossAS ? i just follow this steps:

      To upgrade your jboss instance:
      1) Copy the contents of the lib folder into the JBoss-5.x/lib/ folder
      2) Copy the jboss-aop-jdk50.deployer over the JBoss-5.x/server/xxx/deployers/jboss-aop-jboss5.deployer/ folder
      Note that this will not replace the jboss-aspect-library.jar, which is tied to application server version

      my JbossAS is 5.0.1GA and my aop version is 2.0.0GA.


      and the error is


      15:44:36,912 INFO [TomcatDeployment] deploy, ctxPath=/HelloWorldAOP
      15:44:47,877 ERROR [[MyServlet]] Servlet.service() for servlet MyServlet threw exception java.lang.IllegalArgumentException: Can not set static org.jboss.aop.MethodInfo field Apecto.Actions.aop$MethodInfo_alterar_N_6055099272587152912 to java.lang.ref.WeakReference



      Thanks!