When deploying your stuff, I get the same error as you. Your packaging is not 
quite there. The jar containing the jboss-aop.xml file must have the suffix 
.aop.  Also, if this is not the same as your "main" jar file, it is a good idea 
to combine them in an .ear file since loadtime instrumentation takes place at 
deploy time, so that you get both deployed at the same time. Once loaded a 
class cannot be further instrumented. As a starting point for how to package 
your stuff go through the tutorial in 
jboss-aop_1.0.0-FINAL/docs/aspect-framework/examples/injboss folder. Play with 
it and modify it. Section 10.2 of the reference documentation contains some 
information on what is allowed.

The WIKI you mention (from your email: 
http://www.madplanet.com/jboss-docu-wiki/Wiki.jsp?page=40.AOP.Simple.Example) 
is not our WIKI, and it is grossly out of date. We are at: 

http://www.jboss.org/wiki/Wiki.jsp?page=JBossAOP


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855626#3855626

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855626


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to