jQuery in Action, 3rd edition
The moose likes Aspect Oriented Programming and the fly likes AspectJ in Weblogic 10.3.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Aspect Oriented Programming
Bookmark "AspectJ in Weblogic 10.3.5" Watch "AspectJ in Weblogic 10.3.5" New topic

AspectJ in Weblogic 10.3.5

Kevin Dinh

Joined: Mar 23, 2014
Posts: 1
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?
I agree. Here's the link: http://aspose.com/file-tools
subject: AspectJ in Weblogic 10.3.5
It's not a secret anymore!