I believe that the problem stems from the fact that your classes start with the com.sun
prefix. When weaving we ignore a bunch of classes
| public boolean isNonAdvisableClassName(String classname)
| {
| if (ignoreClass(classname)) return true;
| if (includeClass(classname)) return false;
| if (excludeClass(classname)) return true;
| return (classname.startsWith("org.jboss.aop") ||
| classname.endsWith("$aop") ||
| classname.startsWith("javassist") ||
| classname.startsWith("org.jboss.util.") ||
| classname.startsWith("gnu.trove.") ||
| classname.startsWith("EDU.oswego.cs.dl.util.concurrent.") ||
| // System classes
| classname.startsWith("org.apache.tools.ant") ||
| classname.startsWith("org.apache.crimson") ||
| classname.startsWith("org.apache.xalan") ||
| classname.startsWith("org.apache.xml") ||
| classname.startsWith("org.apache.xpath") ||
| classname.startsWith("org.ietf.") ||
| classname.startsWith("org.omg.") ||
| classname.startsWith("org.w3c.") ||
| classname.startsWith("org.xml.sax.") ||
| classname.startsWith("sunw.") ||
| classname.startsWith("sun.") ||
| classname.startsWith("java.") ||
| classname.startsWith("javax.") ||
| classname.startsWith("com.sun.") ||
| classname.startsWith("junit") ||
| classname.startsWith("jrockit.") ||
| classname.startsWith("com.bea.vm.") ||
| classname.startsWith("$Proxy")
| );
| }
|
You will have to refactor your application to use another root package. While
unfortunate, this is the simplest way we have at the moment to avoid weaving the com.sun
classes internal to the JDK...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064486#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...