Announcement

Collapse
No announcement yet.

Mirth Installation

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

  • Mirth Installation

    How do you install the program once you download the zip? I'm not familiar with Java apps.

    Chris

  • #2
    Re: Mirth Installation

    Chris,

    After you download and unzip Mirth, simply run "Mirth.bat" (if you are on Windows) or chmod +x Mirth.sh then ./Mirth.sh if you are on Linux/Unix/OS X.

    Once the Mirth server has started, you can start the client GUI by going to http://localhost:8080.

    -Chris
    Chris Lang

    Comment


    • #3
      Re: Mirth Installation

      I am trying to run Mirth on Fedora Core 6 with JRE version 1.5.0_07-b03.

      I untarred the distribution and ran the 'shell.sh' script which produced the following message on the console;
      Code:
      com.webreach.mirth.client.core.ClientException: java.net.ConnectException: Connection refused
      	at com.webreach.mirth.client.core.ServerConnection.executePostMethod(ServerConnection.java:89)
      	at com.webreach.mirth.client.core.Client.login(Client.java:86)
      	at com.webreach.mirth.server.tools.Shell.run(Shell.java:108)
      	at com.webreach.mirth.server.tools.Shell.main(Shell.java:76)
      Caused by: java.net.ConnectException: Connection refused
      	at java.net.PlainSocketImpl.socketConnect(Native Method)
      	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
      	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
      	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
      	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
      	at java.net.Socket.connect(Socket.java:516)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:549)
      	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:392)
      	at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:121)
      	at com.webreach.mirth.client.core.ssl.EasySSLProtocolSocketFactory.createSocket(EasySSLProtocolSocketFactory.java:179)
      	at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
      	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
      	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
      	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
      	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
      	at com.webreach.mirth.client.core.ServerConnection.executePostMethod(ServerConnection.java:71)
      	... 3 more
      I checked that there were no other ports listening on 8443, which appears to be the port that the server listens.

      The content of the 'shell.sh' script is;
      Code:
      #!/bin/sh
      java -jar shell.jar -a https://127.0.0.1:8443 -u admin -p admin

      Comment


      • #4
        Re: Mirth Installation

        Hey gturrill,

        What are you trying to do? If you are trying to start "Mirth", in which case I am referring to the server-side app, you need to run "mirth.sh", NOT "shell.sh". When you run "shell.sh", it is trying to connect to the server, and if you haven't already started the server with "mirth.sh", it is unable to connect, so your connection will be "refused".

        Hope that helps.

        Cheers,
        Aaron.

        Comment


        • #5
          Re: Mirth Installation

          Hi aaron,

          Thanks for the quick response. Yes it was the case that I was putting the cart before the horse. It must have been the lateness of the day.

          Unfortunately, when I now run 'mirth.sh', I am getting the following error;
          Code:
          Exception in thread "main" java.lang.NoSuchMethodError: org.apache.log4j.Logger.trace(Ljava/lang/Object;«»)V
                  at com.webreach.mirth.server.launcher.ClasspathBuilder.getClasspath(ClasspathBuilder.java:77)
                  at com.webreach.mirth.server.launcher.Launcher.main(Launcher.java:36)
          I have checked that
          log4j-1.2.13.jar
          is in the
          lib
          directory and that the CLASSPATH variable is pointing to it.

          I'm obviously missing something and the JVM is somehow not locating the log4j jar file. Permissions aren't an issue, so it must be something else. Any ideas !!

          Comment


          • #6
            Re: Mirth Installation

            I'm obviously missing something and the JVM is somehow not locating the log4j jar file. Permissions aren't an issue, so it must be something else. Any ideas !!
            The problem is now resolved. I downloaded the latest JRE (1.6.0_01) and installed it in a directory immediately below the base mirth install and modified the 'mirth.sh' script to explicitly run the JRE from this installation.

            There is obviously an incompatibility with the JRE I was trying to use.

            Comment


            • #7
              Re:Mirth Installation

              What was the JVM which you was trying to run Mirth?

              Comment


              • #8
                Re:Mirth Installation

                What was the JVM which you was trying to run Mirth?
                java -version

                java version "1.5.0_07"
                Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
                Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)

                Running on Fedora Core 6

                Comment

                Working...
                X