Announcement Announcement Module
Collapse
No announcement yet.
AOP Exception Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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"/>
Working...
X