Jan 14th, 2008, 09:55 PM
is there a way to turn on tracing for the weaver
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
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.