Announcement

Collapse

Mirth Connect 3.12.0 Released!

Mirth Connect 3.12.0 is now available as an appliance update and on our GitHub page. This release includes database performance improvements, improves visual HL7 representation, message pruning, keystore handling, PDF generation, community contributions, and fixes several security vulnerabilities. This release also contains many improvements to commercial extensions. See the release notes for the list of fixes and updates.

Download | See What's New | Upgrade Guide | Release Notes

For discussion on this release, see this thread.
See more
See less

ConcurrentModificationException

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ConcurrentModificationException

    I am thinking about using Mirth in JBoss in a production environment.

    However, I'm worried about exceptions like the one below. What causes this? There should be no problems with concurrency while running Mirth in JBoss?

    ------------------------------------------------------------------------
    15:23:04,774 WARN [/] /extensions:
    java.util.ConcurrentModificationException
    at java.util.LinkedList$ListItr.checkForComodificatio n(LinkedList.java:761)
    at java.util.LinkedList$ListItr.next(LinkedList.java: 696)
    at com.webreach.mirth.plugins.serverlog.ServerLogProv ider.invoke(ServerLogProvider.java:67)
    at com.webreach.mirth.server.controllers.ExtensionCon troller.invoke(ExtensionController.java
    :170)
    at com.webreach.mirth.server.servlets.ExtensionServle t.doPost(ExtensionServlet.java:109)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:428)
    at org.mortbay.jetty.servlet.ServletHandler.dispatch( ServletHandler.java:666)
    at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:568)
    at org.mortbay.http.HttpContext.handle(HttpContext.ja va:1530)
    at org.mortbay.http.HttpContext.handle(HttpContext.ja va:1482)
    at org.mortbay.http.HttpServer.service(HttpServer.jav a:909)
    at org.mortbay.http.HttpConnection.service(HttpConnec tion.java:816)
    at org.mortbay.http.HttpConnection.handleNext(HttpCon nection.java:982)
    at org.mortbay.http.HttpConnection.handle(HttpConnect ion.java:833)
    at org.mortbay.http.SocketListener.handleConnection(S ocketListener.java:244)
    at org.mortbay.util.ThreadedServer.handle(ThreadedSer ver.java:357)
    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadP ool.java:534)
    15:23:04,774 WARN [ServletHandler] /extensions:
    java.util.ConcurrentModificationException
    at java.util.LinkedList$ListItr.checkForComodificatio n(LinkedList.java:761)
    at java.util.LinkedList$ListItr.next(LinkedList.java: 696)
    at com.webreach.mirth.plugins.serverlog.ServerLogProv ider.invoke(ServerLogProvider.java:67)
    at com.webreach.mirth.server.controllers.ExtensionCon troller.invoke(ExtensionController.java
    :170)
    at com.webreach.mirth.server.servlets.ExtensionServle t.doPost(ExtensionServlet.java:109)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:428)
    at org.mortbay.jetty.servlet.ServletHandler.dispatch( ServletHandler.java:666)
    at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:568)
    at org.mortbay.http.HttpContext.handle(HttpContext.ja va:1530)
    at org.mortbay.http.HttpContext.handle(HttpContext.ja va:1482)
    at org.mortbay.http.HttpServer.service(HttpServer.jav a:909)
    at org.mortbay.http.HttpConnection.service(HttpConnec tion.java:816)
    at org.mortbay.http.HttpConnection.handleNext(HttpCon nection.java:982)
    at org.mortbay.http.HttpConnection.handle(HttpConnect ion.java:833)
    at org.mortbay.http.SocketListener.handleConnection(S ocketListener.java:244)
    at org.mortbay.util.ThreadedServer.handle(ThreadedSer ver.java:357)
    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadP ool.java:534)
    15:23:07,727 INFO [ServerImpl] handle - Socket[addr=/127.0.0.1,port=4318,localport=2575]
    15:23:07,743 INFO [HL7ServerService] Received HL7 message:
    15:23:07,743 INFO [HL7ServerService]
    ...

  • #2
    Re:ConcurrentModificationException

    Interesting.. Are you running multiple instances of Mirth Administrator? Can you reproduce this error, and if so, provide me with the steps? I'll try to reproduce it here as well. Thanks!
    Chris Ro
    Sr. Software Engineer | Mirth Corporation

    Comment


    • #3
      Re:ConcurrentModificationException

      I have a feeling where it could be wrong, but I am still unable to reproduce the error running 5+ Mirth Administrator instances and updating the server log table simultaneously.
      Chris Ro
      Sr. Software Engineer | Mirth Corporation

      Comment


      • #4
        Re:ConcurrentModificationException

        I was only running one instance.

        Comment

        Working...
        X