Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-90391

Warning thrown on JBoss/WildFly for asm-* jars

    Details

    • Fix Priority:
      4
    • Application Servers:
      JBoss App Server 7.1, Wildfly 11.0

      Description

      Steps to reproduce issue:

      1. Build portal on Wildfly or JBoss
      2. Start up app server

      Expected result: No warnings are thrown when starting up app server
      Actual result: Warnings are thrown for asm-* jars:

           [exec] [0m[33m21:18:25,435 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0003: Could not index class module-info.class at /opt/dev/projects/github/liferay-portal/bundles/wildfly-11.0.0/standalone/deployments/ROOT.war/WEB-INF/lib/asm.jar: java.lang.IllegalStateException: Unknown tag! pos=3 poolCount = 12
           [exec] 	at org.jboss.jandex.Indexer.processConstantPool(Indexer.java:1417)
           [exec] 	at org.jboss.jandex.Indexer.index(Indexer.java:1451)
           [exec] 	at org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:99)
           [exec] 	at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51)
           [exec] 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec] 	at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec] [0m[33m21:18:27,311 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0003: Could not index class module-info.class at /opt/dev/projects/github/liferay-portal/bundles/wildfly-11.0.0/standalone/deployments/ROOT.war/WEB-INF/lib/asm-commons.jar: java.lang.IllegalStateException: Unknown tag! pos=3 poolCount = 16
           [exec] 	at org.jboss.jandex.Indexer.processConstantPool(Indexer.java:1417)
           [exec] 	at org.jboss.jandex.Indexer.index(Indexer.java:1451)
           [exec] 	at org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:99)
           [exec] 	at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51)
           [exec] 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec] 	at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec] [0m[33m21:18:27,988 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0003: Could not index class module-info.class at /opt/dev/projects/github/liferay-portal/bundles/wildfly-11.0.0/standalone/deployments/ROOT.war/WEB-INF/lib/asm-tree.jar: java.lang.IllegalStateException: Unknown tag! pos=3 poolCount = 12
           [exec] 	at org.jboss.jandex.Indexer.processConstantPool(Indexer.java:1417)
           [exec] 	at org.jboss.jandex.Indexer.index(Indexer.java:1451)
           [exec] 	at org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:99)
           [exec] 	at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51)
           [exec] 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec] 	at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec] [0m[33m21:18:28,974 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0003: Could not index class module-info.class at /opt/dev/projects/github/liferay-portal/bundles/wildfly-11.0.0/standalone/deployments/ROOT.war/WEB-INF/lib/asm-util.jar: java.lang.IllegalStateException: Unknown tag! pos=3 poolCount = 16
           [exec] 	at org.jboss.jandex.Indexer.processConstantPool(Indexer.java:1417)
           [exec] 	at org.jboss.jandex.Indexer.index(Indexer.java:1451)
           [exec] 	at org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:99)
           [exec] 	at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51)
           [exec] 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec] 	at java.lang.Thread.run(Thread.java:745)
           [exec] 
           [exec] [0m[33m21:18:29,636 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0003: Could not index class module-info.class at /opt/dev/projects/github/liferay-portal/bundles/wildfly-11.0.0/standalone/deployments/ROOT.war/WEB-INF/lib/asm-analysis.jar: java.lang.IllegalStateException: Unknown tag! pos=3 poolCount = 12
           [exec] 	at org.jboss.jandex.Indexer.processConstantPool(Indexer.java:1417)
           [exec] 	at org.jboss.jandex.Indexer.index(Indexer.java:1451)
           [exec] 	at org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:99)
           [exec] 	at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51)
           [exec] 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
           [exec] 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec] 	at java.lang.Thread.run(Thread.java:745)
      

      Reproduced on:
      WildFly 11.0 + MySQL 5.7
      Portal master GIT ID: 3a427b0250f58c4c0a01003a224cfca83e1875d2

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  19 weeks, 2 days ago

                  Packages

                  Version Package