[
https://issues.jboss.org/browse/SEAM-125?page=com.atlassian.jira.plugin.s...
]
Stuart Douglas resolved SEAM-125.
---------------------------------
Resolution: Rejected
The reason why this is not logged at INFO is because in the past we had many complaints
from users that their bean was not being injected, only to find out after much frustration
that it was actually a class loading problem. The log message has its own category, so if
you want to ignore it simply change the log level for org.jboss.weld.ClassLoading.
INFO message: WELD-000119 Not generating any bean definitions from
org.jboss.seam.security.permission.SecurityRuleLoader at startup
-----------------------------------------------------------------------------------------------------------------------------------
Key: SEAM-125
URL:
https://issues.jboss.org/browse/SEAM-125
Project: Seam 3 Distribution
Issue Type: Bug
Components: Common Dependencies
Affects Versions: 3.1.0.CR1
Environment: JBoss AS 7.1.0.CR1
Reporter: Esteve Aviles
Assignee: Stuart Douglas
Priority: Minor
This info message appears at server start up but nothing seems to fail:
13:22:56,963 INFO [org.jboss.weld.ClassLoading] (MSC service thread 1-3) WELD-000119 Not
generating any bean definitions from org.jboss.seam.security.permission.SecurityRuleLoader
because of underlying class loading error
13:22:56,974 INFO [org.jboss.weld.ClassLoading] (MSC service thread 1-3) catching:
org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class
org.jboss.seam.security.permission.SecurityRuleLoader
at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:152)
[weld-core-1.1.4.Final.jar:]
at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:86)
[weld-core-1.1.4.Final.jar:]
at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:115)
[weld-core-1.1.4.Final.jar:]
at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:171)
[weld-core-1.1.4.Final.jar:]
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:336)
[weld-core-1.1.4.Final.jar:]
at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:81)
[jboss-as-weld-7.1.0.Beta1.jar:]
at org.jboss.as.weld.services.WeldService.start(WeldService.java:89)
[jboss-as-weld-7.1.0.Beta1.jar:]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_21]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_21]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
Caused by: java.lang.NoClassDefFoundError: Lorg/drools/KnowledgeBase;
at java.lang.Class.getDeclaredFields0(Native Method) [:1.6.0_21]
at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [:1.6.0_21]
at java.lang.Class.getDeclaredFields(Class.java:1743) [:1.6.0_21]
at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:102)
[weld-core-1.1.4.Final.jar:]
at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:99)
[weld-core-1.1.4.Final.jar:]
at
org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
[weld-core-1.1.4.Final.jar:]
at
org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:63)
[weld-core-1.1.4.Final.jar:]
at
org.jboss.weld.util.reflection.SecureReflections.getDeclaredFields(SecureReflections.java:99)
[weld-core-1.1.4.Final.jar:]
at org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:153)
[weld-core-1.1.4.Final.jar:]
at org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:118)
[weld-core-1.1.4.Final.jar:]
at
org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:49)
[weld-core-1.1.4.Final.jar:]
at
org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:40)
[weld-core-1.1.4.Final.jar:]
at
com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:355)
at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184)
at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)
at
com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69)
at
com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393)
at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:149)
[weld-core-1.1.4.Final.jar:]
... 11 more
Caused by: java.lang.ClassNotFoundException: org.drools.KnowledgeBase from [Module
"deployment.teamgol.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:485)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:444)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:421)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:143)
... 29 more
13:22:56,995 INFO [org.jboss.weld.ClassLoading] (MSC service thread 1-3) WELD-000119 Not
generating any bean definitions from
org.jboss.seam.security.permission.RuleBasedPermissionResolver because of underlying class
loading error
13:22:56,995 INFO [org.jboss.weld.ClassLoading] (MSC service thread 1-3) catching:
org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class
org.jboss.seam.security.permission.RuleBasedPermissionResolver
at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:152)
[weld-core-1.1.4.Final.jar:]
at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:86)
[weld-core-1.1.4.Final.jar:]
at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:115)
[weld-core-1.1.4.Final.jar:]
at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:171)
[weld-core-1.1.4.Final.jar:]
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:336)
[weld-core-1.1.4.Final.jar:]
at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:81)
[jboss-as-weld-7.1.0.Beta1.jar:]
at org.jboss.as.weld.services.WeldService.start(WeldService.java:89)
[jboss-as-weld-7.1.0.Beta1.jar:]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_21]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_21]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
Caused by: java.lang.NoClassDefFoundError: org/drools/runtime/ObjectFilter
at java.lang.Class.getDeclaredFields0(Native Method) [:1.6.0_21]
at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [:1.6.0_21]
at java.lang.Class.getDeclaredFields(Class.java:1743) [:1.6.0_21]
at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:102)
[weld-core-1.1.4.Final.jar:]
at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:99)
[weld-core-1.1.4.Final.jar:]
at
org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
[weld-core-1.1.4.Final.jar:]
at
org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:63)
[weld-core-1.1.4.Final.jar:]
at
org.jboss.weld.util.reflection.SecureReflections.getDeclaredFields(SecureReflections.java:99)
[weld-core-1.1.4.Final.jar:]
at org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:153)
[weld-core-1.1.4.Final.jar:]
at org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:118)
[weld-core-1.1.4.Final.jar:]
at
org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:49)
[weld-core-1.1.4.Final.jar:]
at
org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:40)
[weld-core-1.1.4.Final.jar:]
at
com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:355)
at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184)
at
com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)
at
com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69)
at
com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393)
at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:149)
[weld-core-1.1.4.Final.jar:]
... 11 more
Caused by: java.lang.ClassNotFoundException: org.drools.runtime.ObjectFilter from [Module
"deployment.teamgol.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:485)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:444)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:421)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:143)
... 29 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira