Re: [aspectwerkz-user] Need info on aspectwerkz
Tahir Akhtar <[email protected]> Mon, 13 Apr 2009 22:23:47 +0500
| Newsgroups | gmane.comp.java.aspectwerkz.user |
|---|---|
| Message-ID | <[email protected]> |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Hi,<br> The error suggests that AspectWerkz cannot find the following class at run time. I am not sure what <br> <font><font size="2">samples/ </font></font>means at the beginning of package name.<br> <pre><font><font size="2">samples/</font></font><font><font size="2">com.wipro.eprofile.aspect.metrics.aspect.WebTierAspect</font></font></pre> <pre><font><font size="2"> </font></font></pre> <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> wrote: <blockquote cite="mid:[email protected]" type="cite"> <meta http-equiv="Content-Type" content="text/html; "> <meta content="MSHTML 6.00.2900.3492" name="GENERATOR"> <div id="idOWAReplyText14492" dir="ltr"> <div dir="ltr"><font face="Courier New" size="2">Hi,</font></div> </div> <div id="idSignature42042" dir="ltr"> <pre><font size="2">I am using Websphere Commerce Server 6.0, in Linux environment. I am putting all aspectwerkz related jar</font></pre> <pre><font size="2">files in ws.ext.dirs class path. </font></pre> <pre><font size="2">I am trying the Compile Time Weaving of the application. I am trying to pointcut the classes in my application. aop.xml (AOP XML) is available in the META-INF and WEB-INF of the application. </font></pre> <pre><font size="2">When I execute the application, I am getting the following exception :</font></pre> <pre><font size="2">org.codehaus.aspectwerkz.aspect.management.NoAspectBoundException: NoAspectBound: NoAspectBound: </font></pre> <pre><font size="2">Could not find AspectDefinition - samples/com.wipro.eprofile.aspect.metrics.aspect.WebTierAspect </font></pre> <pre><font size="2">I even added -Daspectwerkz.definition.file=<pointing to valid XML definition file> in the startup script </font></pre> <pre><font size="2">of Websphere Commerce Server. I still get the same error.</font></pre> <pre><font size="2">Please let me know how to resolve this issue. </font></pre> <pre><font size="2">Regards, Lalithamba.</font></pre> </div> <p><strong><span style="font-size: 10pt; font-family: "Palatino Linotype","serif"; color: green;"> Please do not print this email unless it is absolutely necessary. </span></strong><span style="font-family: "Arial","sans-serif";"><o:p></o:p></span></p> <p> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. </p> <p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. </p> <p> <a class="moz-txt-link-abbreviated" href="http://www.wipro.com">www.wipro.com</a> </p> </blockquote> <br> </body> </html> --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email