[jboss-user] [JBoss AOP] - Re: I'm in trouble....help

Giordacchio++ do-not-reply at jboss.com
Tue Nov 7 09:06:57 EST 2006


I forgot.....this is part of my jboss-service.xml:
<mbean code="org.jboss.aop.deployment.AspectManagerServiceJDK5"
  |       name="jboss.aop:service=AspectManager">
  |       <attribute name="EnableLoadtimeWeaving">true</attribute>
  |       <!-- only relevant when EnableLoadtimeWeaving is true.
  |            When transformer is on, every loaded class gets
  |            transformed.  If AOP can't find the class, then it
  |            throws an exception.  Sometimes, classes may not have
  |            all the classes they reference.  So, the Suppressing
  |            is needed.  (i.e. Jboss cache in the default configuration -->
  |       <attribute name="SuppressTransformationErrors">true</attribute>
  |       <attribute name="Prune">true</attribute>
  |       <attribute name="Include">org.jboss.test, org.jboss.injbossaop, org.jboss.seam.example.booking</attribute>
  |       <attribute name="Exclude">org.</attribute>
  |       <!-- This avoids instrumentation of hibernate cglib enhanced proxies
  |       <attribute name="Ignore">*$$EnhancerByCGLIB$$*</attribute> -->
  |       <attribute name="Optimized">true</attribute>
  |       <attribute name="Verbose">false</attribute>
  |    </mbean>


My jboss-aop.xml is empty:

<?xml version="1.0" encoding="UTF-8"?>
  | <aop>
  |    
  | </aop>
  | 

And my application.xml is:
<application>
  | 	<display-name>Seam Booking</display-name>
  | 
  | 	<module>
  | 		<web>
  | 			<web-uri>jboss-seam-booking.war</web-uri>
  | 			<context-root>/seam-booking</context-root>
  | 		</web>
  | 	</module>
  | 	<module>
  | 		<ejb>jboss-seam-booking.jar</ejb>
  | 	</module>
  | 	<module>
  | 	    <java>jboss-seam.jar</java>
  | 	</module>
  | 	
  | 	<module>
  | 		<java>jboss-seam-booking.aop</java>
  | 	</module>
  | 	
  | </application>

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

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



More information about the jboss-user mailing list