[jboss-user] [JBoss AOP] - Re: .aop or .jar

Giordacchio++ do-not-reply at jboss.com
Wed Nov 8 05:51:43 EST 2006


Ok thanks, I'm close to the solution.

Now I'm sure that Jboss is trying to aspectize mi app, instead ignoring my aspects as before, indeed now I get the following error.

Do you have hints ?

11:44:20,645 ERROR [STDERR] [error] ClassLoader has been garbage collected.. Do verbose mode if you want full stack trace.
  | 11:44:20,723 ERROR [STDERR] [warn] AOP Instrumentor failed to transform org.jboss.seam.example.booking.Login$$EnhancerByCGLIB$$83db437d$$FastClassByCGLIB$$17d0bbea
  | 11:44:20,723 ERROR [STDERR] org.jboss.aop.instrument.TransformationException: Failed to aspectize class org.jboss.seam.example.booking.Login$$EnhancerByCGLIB$$83db437d$$FastClassByCGLIB$$17d0bbea.  Could not find class it references org.jboss.seam.example.booking.Login$$EnhancerByCGLIB$$83db437d  It
  |  may not be in your classpath and you may not be getting field and constructor weaving for this class.
  | 11:44:20,723 ERROR [STDERR]     at org.jboss.aop.instrument.Instrumentor.convertReferences(Instrumentor.java:620)
  | 11:44:20,723 ERROR [STDERR]     at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:674)
  | 11:44:20,723 ERROR [STDERR]     at org.jboss.aop.AspectManager.translate(AspectManager.java:908)
  | 11:44:20,723 ERROR [STDERR]     at org.jboss.aop.AspectManager.transform(AspectManager.java:820)
  | 11:44:20,723 ERROR [STDERR]     at org.jboss.aop.standalone.AOPTransformer.aspectTransform(AOPTransformer.java:88)
  | 11:44:20,723 ERROR [STDERR]     at org.jboss.aop.standalone.AOPTransformer.transform(AOPTransformer.java:75)
  | 11:44:20,723 ERROR [STDERR]     at sun.instrument.TransformerManager.transform(TransformerManager.java:122)
  | 11:44:20,723 ERROR [STDERR]     at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155)
  | 11:44:20,723 ERROR [STDERR]     at java.lang.ClassLoader.defineClass1(Native Method)
  | 11:44:20,723 ERROR [STDERR]     at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  | 11:44:20,723 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
  | 11:44:20,723 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 11:44:20,723 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 11:44:20,723 ERROR [STDERR]     at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384)
  | 11:44:20,723 ERROR [STDERR]     at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219)
  | 11:44:20,723 ERROR [STDERR]     at net.sf.cglib.reflect.FastClass$Generator.create(FastClass.java:64)
  | 11:44:20,723 ERROR [STDERR]     at net.sf.cglib.proxy.MethodProxy.helper(MethodProxy.java:81)
  | 11:44:20,723 ERROR [STDERR]     at net.sf.cglib.proxy.MethodProxy.create(MethodProxy.java:47)
  | 11:44:20,723 ERROR [STDERR]     at org.jboss.seam.example.booking.Login$$EnhancerByCGLIB$$83db437d.CGLIB$STATICHOOK5(<generated>)
  | 11:44:20,723 ERROR [STDERR]     at org.jboss.seam.example.booking.Login$$EnhancerByCGLIB$$83db437d.<clinit>(<generated>)
  | 11:44:20,723 ERROR [STDERR]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | 11:44:20,723 ERROR [STDERR]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  | 11:44:20,723 ERROR [STDERR]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  | 11:44:20,723 ERROR [STDERR]     at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  | 11:44:20,723 ERROR [STDERR]     at java.lang.Class.newInstance0(Class.java:350)
  | 11:44:20,723 ERROR [STDERR]     at java.lang.Class.newInstance(Class.java:303)
  | 11:44:20,723 ERROR [STDERR]     at org.jboss.seam.Component.wrap(Component.java:944)
  | 11:44:20,723 ERROR [STDERR]     at org.jboss.seam.Component.instantiateSessionBean(Component.java:912)
  | 11:44:20,723 ERROR [STDERR]     at org.jboss.seam.Component.instantiate(Component.java:898)
  | 11:44:20,723 ERROR [STDERR]     at org.jboss.seam.Component.newInstance(Component.java:1574)
  | 11:44:20,723 ERROR [STDERR]     at org.jboss.seam.Component.getInstance(Component.java:1492)
  | 11:44:20,723 ERROR [STDERR]     at org.jboss.seam.Component.getInstance(Component.java:1466)
  | 11:44:20,723 ERROR [STDERR]     at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
  | 11:44:20,723 ERROR [STDERR]     at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
  | 11:44:20,723 ERROR [STDERR]     at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65)
  | 11:44:20,723 ERROR [STDERR]     at com.sun.el.parser.AstValue.getTarget(AstValue.java:62)
  | 11:44:20,723 ERROR [STDERR]     at com.sun.el.parser.AstValue.invoke(AstValue.java:147)
  | 11:44:20,723 ERROR [STDERR]     at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
  | 11:44:20,723 ERROR [STDERR]     at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | 11:44:20,723 ERROR [STDERR]     at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
  | 11:44:20,723 ERROR [STDERR]     at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
  | 11:44:20,723 ERROR [STDERR]     at javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | 11:44:20,723 ERROR [STDERR]     at org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:274)
  | 11:44:20,723 ERROR [STDERR]     at org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:250)
  | 11:44:20,723 ERROR [STDERR]     at org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:405)
  | 11:44:20,723 ERROR [STDERR]     at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
  | 11:44:20,723 ERROR [STDERR]     at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)

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

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



More information about the jboss-user mailing list