Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

JSF + AspectJ

800638Mar 10 2009
Has anyone had any experience implementing a logging aspect using Spring + AspectJ with JSF? I have it set up right now to log an entry and exit from every method (app is very small right now). But for some reason, if it is an action method invoked from the JSP, I receive a MethodNotFoundException when trying to call that action method. In addition, my Logging Aspect is never invoked.

For every other method call, from say managed-bean to service or service to dao, the Aspect works fine. Its just calling an action method from a JSF JSP that fails. If I remove the aop-config completely, the action methods work fine.

I can't seem to find any documentation on this issue anywhere. Was hoping someone here came across the same problem.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 7 2009
Added on Mar 10 2009
0 comments
249 views