Results 1 to 1 of 1

Thread: AOP Exception

Threaded View

  1. #1

    Default AOP Exception

    we are getting the attached exception when we try to deploy our application. The issue only occurs when we deploy to our test server running on RHEL. There are no issues when deploying locally to windows.

    Below config was take from Mark Fisher's blog

    <aop:config>
    <aopointcut id="allServiceMethods" expression="execution(* com.dw.marcus.biz..*.*(..))"/>
    <aop:advisor advice-ref="txAdvice" pointcut-ref="allServiceMethods"/>

    <aop:aspect id="loggingAspect" ref="methodLogger">
    <aop:before method="logMethodEntry" pointcut-ref="allServiceMethods"/>
    <aop:after-returning method="logMethodExit" returning="result"
    pointcut-ref="allServiceMethods"/>
    </aop:aspect>
    </aop:config>

    <bean id="methodLogger" class="com.dw.marcus.core.aop.MethodLogger"/>
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •