Announcement Announcement Module
Collapse
No announcement yet.
@Configurable - Tomcat 7 vs. Weblogic 10.3.4 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • @Configurable - Tomcat 7 vs. Weblogic 10.3.4

    I have a bean annotated with @Configurable as well as a custom annotation on a getter method. The custom annotation is a pointcut that's used with some 'around' advice to manipulate the returned value.

    When deployed to Tomcat 7 (war), the 'around' advice executes. When deployed to Weblogic 10.3.4 (ear), the 'around' advice does not execute.

    I'm not sure where to start looking for the problem - Aspectj, Spring, ?.

    FYI I use compile time weaving only - no load time at all, and the above mentioned bean is a simple DTO. I create it myself using 'new', but need it to participate in the Spring lifecycle, hence the @Configurable annotation.

    Any ideas?

  • #2
    Have you tried some simple tests, to eliminate some variables?
    1. deploy the exact same war you deployed in Tomcat to Weblogic
    2. if you have no dependencies on components inside the ear, take out the war from the ear and deploy it to Tomcat
    3. compare the building steps for both ear and war and see if there is any difference

    Comment

    Working...
    X