[jboss-user] [JBoss AOP] - JJBoss-5.0.0.Beta2 AOP problems

vbatista do-not-reply at jboss.com
Fri Dec 14 08:36:44 EST 2007


Hi!
	I am having problems with JBoss AOP on JBoss-5.0.0.Beta2 (with JVM 1.5).
	I enabled the property below on the AspectManager MBean:
       property name="enableLoadtimeWeaving">true</property
	I also added -javaagent:pluggable-instrumentor.jar to run.conf because I need runtime "aspectization" (I have no compile time instrumentation).
	
	My Aspect is being executed, although I am having some deploy errors:
	2007-12-14 13:16:08,092 ERROR [STDERR] [warn] AOP Instrumentor failed to transform net.sourceforge.stripes.controller.multipart.CosMultipartWrapper
	2007-12-14 13:16:08,092 ERROR [STDERR] java.lang.RuntimeException: javassist.NotFoundException: com.oreilly.servlet.MultipartRequest
	...
	2007-12-14 13:18:25,567 ERROR [STDERR] org.jboss.aop.instrument.TransformationException: Failed to aspectize class org.quartz.impl.StdSchedulerFactory.  Could not find class it references org.quartz.utils.PoolingConnectionProvider  It may not be in your classpath and you may not be getting field and constructor weaving for this class.
2007-12-14 13:18:25,567 ERROR [STDERR]  at org.jboss.aop.instrument.Instrumentor.convertReferences(Instrumentor.java:663)
	

	What can I change to avoid this errors? 	
	How can I have runtime "aspectization" without adding the -javaagent flag?
	
	Any help would really be appreciated.
	Thanks in advance.
	Best regards,
		Victor

	PS: JBoss-5.0.0.Beta2 comes with Implementation-Version: jboss-aop-2.0.0.alpha3. I couldn't find pluggable-instrumentor.jar for this release. I am using 
	the pluggable-instrumentor.jar that ships with JBoss AOP 2.0.0 CR1

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

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



More information about the jboss-user mailing list