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

Administrator Launcher 1.2.0 - stucks 5 Mintues at "verifying lib: ..."

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

  • Administrator Launcher 1.2.0 - stucks 5 Mintues at "verifying lib: ..."

    Hello all,

    I have the following problem.
    I have a Mirth 3.10.1 with AdoptOpenJDK 11 on a Windows Server 2012 R2 Standard. Since Java Webstart is deprecated, I am using the Administrator Launcher version 1.2.0.

    If I don't have custom extents installed, the launcher starts relatively fast.
    As soon as I install an own extention the launcher hangs for about 5 minutes at "verifying lib: ...".

    What can I do to make the launcher launched faster?

    I have already checked other forum posts, but they didn't help me:

    - https://forums.mirthproject.io/forum...y-slow-to-load
    - https://github.com/nextgenhealthcare...ct/issues/4379
    - https://forums.mirthproject.io/forum...-administrator
    - https://forums.mirthproject.io/forum...fying-codebase
    - https://github.com/nextgenhealthcare/connect/issues/5

    I hope someone can help me.

  • #2
    Try to explicitly clear Java cache.

    Comment


    • #3
      The launcher has its own cache area since it has its own jre. Clear that one out.
      Diridium Technologies, Inc.
      https://diridium.com

      Comment


      • #4
        If it's only sticking after adding a custom extension, it is probably related to trying to verify that the certificate used to sign the libraries contained in that extension has not been revoked.

        Comment


        • #5
          We've had this issue for well over a year. We support about several mirth environments that are all kubernetes up in Google Cloud. The administrator lives on a bastion host / reverse proxy. When I was setting the server up, it flew. From the time I'd click on the Launcher to the time I'd get to a login screen was about 5 seconds. As soon as I added other users to the bastion host (we've tried Windows 2016, Windows 2019, and Ubuntu 20.x) the machine comes to a crawl. CPU and Memory are barely touched...so...it isn't a resource issue. And, I can be the only person on the server (everyone logged out) and it still takes 10 minutes to get to the login screen. The ONLY thing that is different from when it was lighting quick to when it slowed down was adding additional users.

          Comment


          • #6
            Probably caused by Mirth Connect Administrator launcher that is sending hundreds of OCSP HTTP requests (and some firewalls see these as attacks).

            Add the lines below to your hosts file (linux: /etc/hosts, Windows: C:\Windows\System32\drivers\etc\hosts)

            # hosts file - Required for Mirth Connect Administrator Launcher on a server without internet connection (amaron.be)
            127.0.0.1 ocsp.digicert.com
            127.0.0.1 crl1.digicert.com
            127.0.0.1 crl2.digicert.com
            127.0.0.1 crl3.digicert.com
            127.0.0.1 crl4.digicert.com
            Nico Vannieuwenhuyze

            Amaron.be

            Comment


            • #7
              nicovn that’s interesting. Have you confirmed it fixes the delay? Mostly curious If perhaps a bug or feature might be suggested to identify that condition and present a warning and bypass the check.
              Diridium Technologies, Inc.
              https://diridium.com

              Comment


              • #8
                nicovn, indeed an interesting approach but still several minutes of waiting time ... more and more Belgian hospitals are completely isolated - no internet access.

                So I completely abandoned MC Administrator Launcher. Try this:
                - download a portable Java 1.8 from https://portableapps.com/apps/utilities/java_portable
                - ask your Sys Admin to ship it over to your isolated server
                - cmd into ...\Java\bin
                - type javaws https://localhost:8443/webstart
                Should launch your MC Admin within a minute

                Feedback welcome ...

                Comment


                • #9
                  discofris, thanks for the tip ! However we can't use this java_portable because this requires a (paying) Oracle license.
                  Nico Vannieuwenhuyze

                  Amaron.be

                  Comment


                  • #10
                    nicovn, oops forgot about that one ...

                    dva-1646.png

                    I've also been playing with OpenWebStart (formerly IcedTea-Web), it is like a JNLP launcher which uses your current (installed) JVM.
                    - Get it from https://openwebstart.com/download
                    - Install it on your server (you can even make it portable, just copy C:\Program Files\OpenWebStart to your server)
                    - Launch "C:\Program Files\OpenWebStart\itw-settings.exe"
                    - Define your JVM (bring your own or use the one you installed for your MC)
                    - Apply these settings:
                    dva-1648.png
                    - Start MC Administrator with ..\OpenWebStart\javaws.exe https://localhost:8443/webstart
                    (only 2 confirmation boxes are shown)

                    Takes about a minute before I have my MC login window.

                    Curious about the licensing though ...
                    Attached Files

                    Comment

                    Working...
                    X