Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

AspectJ in Weblogic 10.3.5  RSS feed

Kevin Dinh
Posts: 1
  • Mark post as helpful
  • send pies
  • 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 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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!