Hi,
I have trouble implementing perthis association in Aspects written for
an EJB. I am able to compile/weave successfully, but I am getting an
exception during ejb deployment.
Everything works fine if I remove perthis association. Any help will be
highly appreciated.
Aspect
-----------
package com.asj;
public aspect Sample perthis(methodExecution()){
pointcut methodExecution() : execution(public * OrderBean.*(..));
before() : methodExecution(){ }
after() returning : methodExecution() { }
}
Error message during deployment
-------------------------------------------------
[Deployer:149033]preparing application sample-9.7.1 on sample-server
[Deployer:149033]failed application sample-9.7.1 on sample-server
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy
application sample-9.7.1 on sample-server.:
Exception:weblogic.management.ApplicationException: prepare failed for
ejb_DSLOrder.jar
Module: ejb_DSLOrder.jar Error: Exception preparing module:
EJBModule(ejb_DSLOrder.jar,status=NEW)
Unable to deploy EJB: ejb_DSLOrder.jar from ejb_DSLOrder.jar:
Compiler failed executable.exec
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407)
at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:498)
Thanks,
Siva
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users