[aspectwerkz-user] Re: How to point to WEB-INF/aop.xml with offline weaving?

Jing Xue <[email protected]>
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
BTW, -Daspectwerkz.definition.file=<path-to-web-app>\WEB-INF\aop.xml on 
tomcat command line works.  But it's obviously not an optimal solution.
Thanks.
--Jing Xue

Jing Xue wrote:

> Hi,
>
> I'm trying to use offline weaving in a web application.  I have 
> aop.xml in WEB-INF.  Weaving is successful, but the around advice is 
> not called at run-time. In fact, I specified a custom aspect container 
> for the aspect, which is not instantiated at all.
>
> I'm using Aspectwerkz 2.0 and tomcat 5.5.7.
>
> Thanks for any hint.
> --Jing Xue
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.