-
Jan 14th, 2008, 09:55 PM
#1
is there a way to turn on tracing for the weaver
Hi,
because my failure to use spring's AOP, I tried the full blown aspectJ.
What I did :
copy the sample tracing aspect file from petclinic.
copy the META-INF/aop.xml
(and rename the necessary things to my name spaces)
install the tomcat weaver into tomcat's system directory
turn on weaving in the context
However, it seems that nothing happens
I would like to know if there is a way to trace if the weaver has kicked in.
-
Jan 15th, 2008, 12:45 AM
#2
after lots of trial and error, it seems to be a documentation issue.
It seems that spring is very very picky on versioning. I have the tomcat 2.5 weaver in tomcat/lib which doesn't work. I must use 2.5.1 version
Then unlike what the document said(just aspectj 1.5+), I need aspectrt and weaver 1.5.3, 1.5.2a again dosn't work.
With this two changes, I can at least see the tracing aspect working.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules