Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4447

Configuring transport thread pool results in NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Beta1
    • 9.0.0.Alpha1
    • Clustering
    • None

      One line fix to use correct builder method.

      /extension=org.jboss.as.threads:add
      /subsystem=threads:add
      /subsystem=threads/bounded-queue-thread-pool=transport:add(max-threads=20,queue-length=1000)
      /subsystem=infinispan/cache-container=web/transport=TRANSPORT:write-attribute(name=executor,value=transport)
      deploy /home/rhusar/git/clusterbench/clusterbench-ee7-ear/target/clusterbench-ee7.ear
      

      yields

      12:37:30,142 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.infinispan.web.config: org.jboss.msc.service.StartException in service jboss.infinispan.web.config: Failed to start service
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      	at org.jboss.as.clustering.infinispan.subsystem.CacheContainerConfigurationBuilder.getValue(CacheContainerConfigurationBuilder.java:144)
      	at org.jboss.as.clustering.infinispan.subsystem.CacheContainerConfigurationBuilder.getValue(CacheContainerConfigurationBuilder.java:65)
      	at org.jboss.msc.service.ValueService.start(ValueService.java:49)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
      	... 3 more
      

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: