1 Reply Latest reply on May 31, 2005 12:21 PM by Bill Burke

    ClassLoader Issues for AOP Deployment on JBoss AS 4.0.2

    Paul Extance Newbie

      As the class loading of web applications has been changed in this release (See http://jira.jboss.com/jira/browse/JBAS-1691). How does this effect where to put aspect classes.

      I have been putting my JAR files with my apsects in to server\default\deploy\jboss-aop.deployer with v4.0.1sp1, but now i get ClassNotFound. Do i need to put a duplicate version in my WEB-INF/lib now?

      This seems to be broken when i have pre-applied all my classes in the WAR file, and have disabled classloader transformations. I will see if turning this back on helps?

      Any suggestions about what these new settings should be set as when using aspects...

      <attribute name="Java2ClassLoadingCompliance">false</attribute>
      <attribute name="UseJBossWebLoader">false</attribute>
      <attribute name="FilteredPackages">org.apache.commons.logging</attribute>