• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

AspectJ in Weblogic 10.3.5

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I would like to implement AspectJ into Weblogic ear module to change the behaviour during development phase. This is my set up:

1 sample.ear file with class Sample.java need to change behaviour:

and have 1 servlet class to call this class at init method

1 sampleAspect.jar file with aop.xml embedded inside the META-INF

This is the information of aop.xml file:

In Weblogic setup, I set the aspectjrt.jar and sampleAspect.jar to the classpath as

also put the into the java argument

Deploy the sample.ear as a module of Weblogic

When start up Weblogic server, I saw this log in the server log of server

But I check the servlet, it return "Sample Name", not the one in the aspect.

I changed to but still the same problem.

What did I do wrong or miss here?
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic