Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] AOP With Weblogic

I’m afraid I’m no expert on weblogic configuration. I’d say perhaps search the AspectJ mailing list archive for an answer ( http://dev.eclipse.org/mhonarc/lists/aspectj-users/ ) - or try stack overflow, there are quite a few people answering AspectJ questions on there.

cheers,
Andy

On Jul 19, 2016, at 3:54 AM, Vivek <vikubel@xxxxxxxxx> wrote:

Hi,
We have a need to measure API Execution time for an Application deployed on Weblogic 10.3.6 server.

Need is to print a report as in following line in a log report:

API org.foo.bar.createObject(String, List) took 20 ms to execute.
..
..

I have done the similar implementation with AspectJ AOP on a JUnit framework, and is working as expected. All I had to do was put the Aspect Class file with advice to measure exec time in CLASSPATH and mention Java Agent at the run time to achieve this LTW.

Now, when I started exploring Server side, Weblogic provides many options like WLDF, Flight Recorder , Diagnostics and Monitoring controls throug UI  etc. 
Though they spit out very sophisticated information, I could not figureout how to print a log as I needed above. 

Appreciate any pointers on how to print API execution time for a given package/class deployed on a Weblogic Server domain.

Thanks
Vivek



--
---------------------------------------------------
From: Vivek A. Kulkarni
---------------------------------------------------
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top