Results 1 to 2 of 2

Thread: @Configurable - Tomcat 7 vs. Weblogic 10.3.4

  1. #1
    Join Date
    Mar 2011
    Posts
    6

    Default @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. #2
    Join Date
    Mar 2007
    Posts
    515

    Default

    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

Posting Permissions

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