[jboss-user] [JBoss AOP] - Deploy AOP Application on JBOSS AS
wandxinho
do-not-reply at jboss.com
Tue Jun 2 15:12:33 EDT 2009
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!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234798#4234798
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234798
More information about the jboss-user
mailing list