EAP 7 deployment spends a lot of time in weld deployment processing

Solution Unverified - Updated -

Issue

  • Our deployment is slower moving to EAP 7. Thread dumps show a lot of time here in ExternalBeanArchiveProcessor:
"MSC service thread 1-8" #30 prio=5 os_prio=0 tid=0x00000000024ec000 nid=0x173 runnable [0x00007f984e2c3000]
   java.lang.Thread.State: RUNNABLE
    at java.security.AccessController.doPrivileged(Native Method)
    at org.jboss.as.server.deployment.module.VFSResourceLoader.getResource(VFSResourceLoader.java:247)
    at org.jboss.modules.ModuleClassLoader.loadResourceLocal(ModuleClassLoader.java:410)
    at org.jboss.modules.ModuleClassLoader$1.loadResourceLocal(ModuleClassLoader.java:144)
    at org.jboss.modules.Module.getResources(Module.java:861)
    at org.jboss.modules.Module.getExportedResources(Module.java:904)
    at org.jboss.as.weld.deployment.processors.ExternalBeanArchiveProcessor.findExportedResource(ExternalBeanArchiveProcessor.java:330)
    at org.jboss.as.weld.deployment.processors.ExternalBeanArchiveProcessor.findExportedResources(ExternalBeanArchiveProcessor.java:309)
    at org.jboss.as.weld.deployment.processors.ExternalBeanArchiveProcessor.deploy(ExternalBeanArchiveProcessor.java:169)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:144)

Environment

  • JBoss Enterprise Application Platform (EAP) 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In