[
http://jira.jboss.com/jira/browse/JBAOP-497?page=all ]
Flavia Rainone reopened JBAOP-497:
----------------------------------
ClassNotFoundException on JBoss 5
---------------------------------
Key: JBAOP-497
URL:
http://jira.jboss.com/jira/browse/JBAOP-497
Project: JBoss AOP
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.0.0.CR2
Reporter: Flavia Rainone
Assigned To: Flavia Rainone
Fix For: 2.0.0.CR3
JBoss AOP is generating several ClassNotFoundExceptions during JBoss 5 startup.
This happens when JBoss AOP tries to load annotation classes.
An example of a stack trace is:
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.<init>(Throwable.java:218)
at java.lang.Exception.<init>(Exception.java:59)
at
java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:65)
at java.lang.ClassLoader.findBootstrapClass(Native Method)
at
java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
- locked <0x91ea0d38> (a sun.misc.Launcher$ExtClassLoader)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
- locked <0x91ea0cf0> (a sun.misc.Launcher$AppClassLoader)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
- locked <0x91ea0cf0> (a sun.misc.Launcher$AppClassLoader)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
- locked <0x91ea0d80> (a
org.jboss.system.NoAnnotationURLClassLoader)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
- locked <0x91e9da68> (a
org.jboss.system.NoAnnotationURLClassLoader)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.jboss.aop.Advisor.hasJoinPointAnnotationFromStringName(Advisor.java:615)
at org.jboss.aop.Advisor.hasAnnotation(Advisor.java:533)
at org.jboss.aop.Advisor.hasAnnotation(Advisor.java:512)
at
org.jboss.aop.pointcut.MethodMatcher.matchesIdentifier(MethodMatcher.java:309)
at
org.jboss.aop.pointcut.MethodMatcher.matches(MethodMatcher.java:106)
at
org.jboss.aop.pointcut.MethodMatcher.visit(MethodMatcher.java:99)
at
org.jboss.aop.pointcut.ast.ASTMethod.jjtAccept(ASTMethod.java:43)
at
org.jboss.aop.pointcut.ExecutionMethodMatcher.visit(ExecutionMethodMatcher.java:58)
at
org.jboss.aop.pointcut.ast.ASTExecution.jjtAccept(ASTExecution.java:37)
at
org.jboss.aop.pointcut.MatcherHelper.visit(MatcherHelper.java:89)
at
org.jboss.aop.pointcut.MatcherHelper.matches(MatcherHelper.java:83)
at
org.jboss.aop.pointcut.PointcutExpression.matchesExecution(PointcutExpression.java:119)
at org.jboss.aop.Advisor.resolveMethodPointcut(Advisor.java:887)
at
org.jboss.aop.ClassContainer.createInterceptorChains(ClassContainer.java:261)
- locked <0xb0127790> (a java.util.LinkedHashMap)
at
org.jboss.aop.ClassContainer.rebuildInterceptors(ClassContainer.java:130)
at
org.jboss.aop.ClassContainer.initializeClassContainer(ClassContainer.java:66)
at
org.jboss.aop.proxy.container.ClassProxyContainer.initialise(ClassProxyContainer.java:172)
at
org.jboss.aop.proxy.container.InstanceProxyContainer.<init>(InstanceProxyContainer.java:56)
at
org.jboss.aop.proxy.container.InstanceProxyContainer.createInstanceProxyContainer(InstanceProxyContainer.java:68)
at
org.jboss.aop.proxy.container.ContainerCache.initInstanceContainer(ContainerCache.java:277)
at
org.jboss.aop.proxy.container.ContainerCache.initialise(ContainerCache.java:93)
- locked <0x91ee4b60> (a java.lang.Object)
at
org.jboss.aop.proxy.container.ContainerCache.initialise(ContainerCache.java:72)
at
org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getDependencies(AOPDependencyBuilder.java:97)
- locked <0x91ee4b60> (a java.lang.Object)
at
org.jboss.classadapter.plugins.BasicClassAdapter.getDependencies(BasicClassAdapter.java:80)
at
org.jboss.beans.info.plugins.AbstractBeanInfo.getDependencies(AbstractBeanInfo.java:211)
To reproduce the failure, generating one or more thread dumps during server boot is
enough.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira