Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-11768

Reload CLI operation cause XNIO007007 on server intermittently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 7.1.0.ER1
    • Remoting
    • None
    • I was able to reproduce this issue initially but now with the latest state of wildfly and eap 7 master it can't be reproduced.

      Reload CLI operation cause XNIO007007 on server intermittently

      Reproducer (reproducer always reproduce the issue, it contains a loop):

      #=================================================================================================================================
      # first terminal
      #=================================================================================================================================
      ./standalone.sh
      
      #=================================================================================================================================
      # second terminal
      #=================================================================================================================================
      
      cat > test.cli << EOF
      /core-service=management/security-realm=ManagementRealm/server-identity=ssl:add(keystore-path=management.keystore,keystore-relative-to=jboss.server.config.dir,keystore-password=password,alias=server,key-password=password,generate-self-signed-certificate-host=localhost)
      /core-service=management/management-interface=http-interface:write-attribute(name=secure-socket-binding,value=management-https)
      reload
      /core-service=management/management-interface=http-interface:write-attribute(name=secure-socket-binding)
      /core-service=management/security-realm=ManagementRealm/server-identity=ssl:remove()
      reload
      EOF
      
      
      
      cat > test.sh <<EOF
      for i in {1..10} ; do
        echo "##################################"
        echo "#### Run test for the \$i time."
        echo "##################################"
      
        ./jboss-cli.sh -c --file=test.cli <<< "P" > log
      
        export COUNT=\`grep success log | wc -l\`
        echo "Successfully executed management operations: \$COUNT"
        if [  "x\$COUNT" != "x4" ] ; then
          echo "Breaking the loop - there is a failure"
          exit 1
        fi
      done
      exit 0
      EOF
      bash test.sh
      

      Actual results:

      16:12:45,844 ERROR [stderr] (management task-5) Exception in thread "management task-5" java.util.concurrent.RejectedExecutionException: XNIO007007: Thread is terminating
      16:12:45,845 ERROR [stderr] (management task-5) 	at org.xnio.nio.WorkerThread.execute(WorkerThread.java:600)
      16:12:45,845 ERROR [stderr] (management task-5) 	at io.undertow.protocols.ssl.SslConduit$5.run(SslConduit.java:1038)
      16:12:45,845 ERROR [stderr] (management task-5) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      16:12:45,845 ERROR [stderr] (management task-5) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      16:12:45,845 ERROR [stderr] (management task-5) 	at java.lang.Thread.run(Thread.java:745)
      

              fedor.gavrilov Fedor Gavrilov (Inactive)
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: