JBAS011006: Not installing optional component org.apache.struts.tiles.taglib in JBoss EAP 6
Issue
- Migrating our application JBoss EAP 6.x, we are seeing messages like these ClassNotFoundExceptions in our log for the following classes:
org.apache.struts.tiles.taglib.UseAttributeTag
org.apache.struts.tiles.taglib.GetAttributeTag
org.apache.struts.taglib.html.ParamTag
org.apache.struts.tiles.taglib.InsertTag
org.apache.struts.tiles.taglib.InitDefinitionsTag
org.apache.struts.tiles.taglib.PutTag
org.apache.struts.tiles.taglib.AddTag
org.apache.struts.tiles.taglib.PutListTag
org.apache.struts.tiles.taglib.GetTag
org.apache.struts.tiles.taglib.DefinitionTag
org.apache.struts.tiles.taglib.ImportAttributeTag
We are packaging struts.jar which is Apache Struts 1.1 or 1.2 and the exception is:
17:45:40,218 WARN [org.jboss.as.ee] (MSC service thread 1-1) JBAS011006: Not installing optional component org.apache.struts.tiles.taglib.UseAttributeTag due to exception: java.lang.ClassNotFoundException: org.apache.struts.tiles.taglib.UseAttributeTag from [Module "deployment.example.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
at java.lang.Class.forName0(Native Method) [rt.jar:1.7.0]
at java.lang.Class.forName(Unknown Source) [rt.jar:1.7.0]
at org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:54)
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:81) [jboss-as-ee-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0]
at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0]
Environment
- JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
