Need info on aspectwerkz

View: New views
3 Messages — Rating Filter:   Alert me  

Need info on aspectwerkz

by Lalithamba :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I am using Websphere Commerce Server 6.0, in Linux environment. I am putting all aspectwerkz related jar
files in ws.ext.dirs class path. 
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.  
When I execute the application,  I am getting the following exception :
org.codehaus.aspectwerkz.aspect.management.NoAspectBoundException: NoAspectBound: NoAspectBound: 
Could not find AspectDefinition - samples/com.wipro.eprofile.aspect.metrics.aspect.WebTierAspect 
I even added -Daspectwerkz.definition.file=<pointing to valid XML definition file> in the startup script 
of Websphere Commerce Server.  I still get the same error.
Please let me know how to resolve this issue. 
Regards,
Lalithamba.

Please do not print this email unless it is absolutely necessary.

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.

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.

www.wipro.com


Re: Need info on aspectwerkz

by Tahir Akhtar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
The error suggests that AspectWerkz cannot find the following class at run time.  I am not sure what
samples/ means at the beginning of package name.
samples/com.wipro.eprofile.aspect.metrics.aspect.WebTierAspect

lalithamba.vishwanathaiah@... wrote:
Hi,
I am using Websphere Commerce Server 6.0, in Linux environment. I am putting all aspectwerkz related jar
files in ws.ext.dirs class path. 
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.  
When I execute the application,  I am getting the following exception :
org.codehaus.aspectwerkz.aspect.management.NoAspectBoundException: NoAspectBound: NoAspectBound: 
Could not find AspectDefinition - samples/com.wipro.eprofile.aspect.metrics.aspect.WebTierAspect 
I even added -Daspectwerkz.definition.file=<pointing to valid XML definition file> in the startup script 
of Websphere Commerce Server.  I still get the same error.
Please let me know how to resolve this issue. 
Regards,
Lalithamba.

Please do not print this email unless it is absolutely necessary.

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.

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.

www.wipro.com


--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Need info on aspectwerkz on Websphere Commerce Server 6.0

by Lalithamba :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I am using Websphere Commerce Server 6.0, in Windows environment. I am putting all aspectwerkz related jar
files in ws.ext.dirs class path. 
ws.ext.dirs = E:\eprofiler\e-Profiler_raghu\eProfile\lib\aspectwerkz-2.0.jar;E:\eprofiler\e-Profiler_raghu\eProfile\lib\aspectwerkz-core-2.0.jar;E:\eprofiler\e-Profiler_raghu\eProfile\lib\aspectwerkz-extensions-2.0.jar;E:\eprofiler\e-Profiler_raghu\eProfile\lib\aspectwerkz-jdk14-2.0.jar;E:\eprofiler\e-Profiler_raghu\eProfile\lib\dom4j-1.4.jar;E:\eprofiler\e-Profiler_raghu\eProfile\lib\jrexx-1.1.1.jar;E:\eprofiler\e-Profiler_raghu\eProfile\lib\qdox-1.4.jar;E:\eprofiler\e-Profiler_raghu\eProfile\lib\trove-1.0.2.jar;E:\eprofiler\e-Profiler_raghu\eProfile\lib\arm-3.0.jar;E:\eprofiler\e-Profiler_raghu\eProfile\lib\admin.jar;E:\eprofiler\e-Profiler_raghu\eProfile\lib\mx4j.jar;E:\eprofiler\e-Profiler_raghu\eProfile\lib\mx4j-remote.jar;E:\eprofiler\e-Profiler_raghu\eProfile\lib\mx4j-tools.jar;E:\eprofiler\e-Profiler_raghu\eProfile\lib\wsexception.jar;E:\eprofiler\e-Profiler_raghu\eProfile\lib\wasjmx.jar;E:\eprofiler\e-Profiler_raghu\eProfile\lib\tools.jar;E:\eprofiler\e-Profiler_raghu\eProfile\build\release\eProfiler.jar
I am trying the Compile Time Weaving of the application. I have added the point cut classes which was generated using
"awc" ANT utility into the respective places in commerce application. I also have added aop.xml in meta-inf and web-inf directory of the application.
I also have added the -Daspectwerkz.definition.file=E:\eprofiler\e-Profiler_raghu\eProfile\aspectxml\aop.xml in the start up file of Commerce server.
Still my application is not getting profiled and my pointcut classes are not getting executed.
Any help / information in this regard is appreciated.
I need this info very urgently.
Please let me know how to resolve this issue. 

Thanks and Regards,
Lalithamba.
 

Please do not print this email unless it is absolutely necessary.

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.

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.

www.wipro.com