This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer (Exam 1Z0-830) Java SE 17 Developer (Exam 1Z0-829) Programmer’s Guide and have Khalid Mughal and Vasily Strelnikov on-line!
See this thread for details.
  • 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 ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

AspectJ in Weblogic 10.3.5

 
Greenhorn
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?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic