1 Reply Latest reply on Feb 25, 2018 3:05 PM by Paul Ferraro

    Configuring thread-factory and executor for jgroups in WF11

    Hannes Bjurek Newbie

      I'm trying to configure the thread-factory and executors for jgroups but I still get the default threads. My config looks likes this:

       

      <managed-thread-factory name="jgroups-thread-factory" jndi-name="java:jboss/ee/concurrency/factory/jgroups" context-service="default"/>

       

      ...

      <managed-executor-service
         name="jgroupsmes"
         jndi-name="java:jboss/ee/concurrency/executor/jgroups"
         context-service="default"
         thread-factory="jgroups-thread-factory"
         hung-task-threshold="60000"
         core-threads="3"
         max-threads="30"
         keepalive-time="5000"
         queue-length="1000000"
         reject-policy="RETRY_ABORT" />

      ...

      <subsystem xmlns="urn:jboss:domain:jgroups:5.0">

        <channels default="ee">
        <channel name="ee" stack="tcp" cluster="ejb" statistics-enabled="true"/>
        </channels>
        <stacks>

         <!--http://www.jgroups.org/manual/html/protlist.html-->
         <stack name="tcp">
        <transport type="TCP" socket-binding="jgroups-tcp"
         default-executor="jgroupsmes"
         oob-executor="jgroupsmes"
         timer-executor="jgroupsmes"
         thread-factory="jgroups-thread-factory"
         >

       

      Any ideas?