Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5811

NoSuchElementException during resource adapter shutdown in EAP 6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.11.1
    • 5.12.0
    • RAR
    • None

    Description

      After deploying activemq-rar to EAP 6 and starting the server, it sometimes gives NoSuchElementException during shutdown, like:

      17:06:12,471 ERROR [stderr] (ResourceAdapterDeploymentService Thread Pool – 1) Exception in thread "ResourceAdapterDeploymentService Thread Pool – 1" java.util.NoSuchElementException
      17:06:12,475 ERROR [stderr] (ResourceAdapterDeploymentService Thread Pool – 1) at java.util.HashMap$HashIterator.nextEntry(HashMap.java:925)
      17:06:12,475 ERROR [stderr] (ResourceAdapterDeploymentService Thread Pool – 1) at java.util.HashMap$KeyIterator.next(HashMap.java:956)
      17:06:12,475 ERROR [stderr] (ResourceAdapterDeploymentService Thread Pool – 1) at org.apache.activemq.ra.ActiveMQResourceAdapter.stop(ActiveMQResourceAdapter.java:152)
      17:06:12,478 ERROR [stderr] (ResourceAdapterDeploymentService Thread Pool – 1) at org.jboss.as.connector.services.resourceadapters.deployment.AbstractResourceAdapterDeploymentService.unregisterAll(AbstractResourceAdapterDeploymentService.java:188)
      17:06:12,478 ERROR [stderr] (ResourceAdapterDeploymentService Thread Pool – 1) at org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterXmlDeploymentService.unregisterAll(ResourceAdapterXmlDeploymentService.java:155)
      17:06:12,479 ERROR [stderr] (ResourceAdapterDeploymentService Thread Pool – 1) at org.jboss.as.connector.services.resourceadapters.deployment.AbstractResourceAdapterDeploymentService$2.run(AbstractResourceAdapterDeploymentService.java:299)
      17:06:12,480 ERROR [stderr] (ResourceAdapterDeploymentService Thread Pool – 1) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      17:06:12,480 ERROR [stderr] (ResourceAdapterDeploymentService Thread Pool – 1) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      17:06:12,480 ERROR [stderr] (ResourceAdapterDeploymentService Thread Pool – 1) at java.lang.Thread.run(Thread.java:745)
      17:06:12,480 ERROR [stderr] (ResourceAdapterDeploymentService Thread Pool – 1) at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Attachments

        Activity

          People

            Unassigned Unassigned
            gaohoward Howard Gao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: