Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Request for help with AspectJ in distributed environment

Hello AspectJ Users,

I am bumping into your inbox looking for help with AspectJ.

I am very new to AspectJ and still in learning mode. I have a problem statement at hand to solve for my team. Providing the details below, any help or guidance much appreciated.

Problem Statement

We are trying to build a solution using AspectJ to trace the method calls, class name, host name, application name and corresponding response time. Each request is being tied with a unique ID (GUID) to group together all method calls as part of each request. This is being done in our code using ThreadLocal and Java UUID. The aspectJ weaving and binding of GUID is working fine if all the method call corresponding to the request is within same JVM. However, GUID is lost if the call is made from one JVM to the other ( webservices call or RMI calls kind of ). This is kind of a solution similar to dyna trace. Please suggest your guidance or solution to it. Please note we cannot touch application code as we dont have access to it. We are just trying to weave the existing apps.


Thank you!

Regards
Arian

Back to the top