Announcement

Collapse
No announcement yet.

Installing Mirth on a machine w/o internet connection

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

  • Installing Mirth on a machine w/o internet connection

    Mirth has already proven itself on my local machine, but I want to enable my fellow developers to use it as well. So I placed it on our development server. I get to the point where I click 'Launch Mirth Administrator', but then Mirth wants to connect to the internet to get JRE 1.5. This is not possible, this machine is not registered on the domain, so I can't use the proxy to go to the internet. Also I can't register it on the domain myself, not being a domain admin and all.

    I compare my machines Java installation (JRE 1.5 update 6, 9 and 10) and mimicked this on the server (USB-stick with each update on it), but no result. Can Mirth be started w/o an internet connection? Is there a way to stop Mirth from downloading JRE 1.5 (it's on that machine already)

    I'm running the latest Mirth (1.3.2) and my server is a Microsoft Windows 2003 Enterprise Edition (SP 1)

  • #2
    Re: Installing Mirth on a machine w/o internet connection

    Mirth probably isn't downloading the JRE it is downloading its own webstart JNLP.

    You should be able to run the Mirth-client.jnlp directly from your usb stick by double clicking it.
    Jon Bartels

    Zen is hiring!!!!
    http://consultzen.com/careers/
    Talented healthcare IT professionals wanted. Engineers to sales to management.
    Good benefits, great working environment, genuinely interesting work.

    Comment


    • #3
      Re: Installing Mirth on a machine w/o internet connection

      I&#039;ve tried to run Mirth-Client.jnlp, but it reports &#039;The field <icon> href has an invalid value: &#039;Mirth_Logo_64.jpg&#039;. I&#039;ve tried running it from an USB-stick and from the folder where Mirth is installed same result.

      Below you&#039;ll find the complete error text, it&#039;s long but just to be thorough.
      Code:
      General:
      ========
      An error occurred while launching/running the application.
      
      Title: Mirth Administrator
      Vendor: WebReach, Inc.
      Category: Download Error
      
      Unable to load resource: (http://java.sun.com/products/autodl/j2se, 1.5)
      
      Launch File:
      ============
      <?xml version="1.0" encoding="UTF-8"?>
      <jnlp
                  codebase="http://127.0.0.1:8080">
      	<information>
      		<title>Mirth Administrator</title>
      		<vendor>WebReach, Inc.</vendor>
      		<homepage
                  href="http://www.mirthproject.org"/>
      		<description>Open source HL7 integration engine.</description>
      		
      		<icon
                  href="mirth_logo_64.jpg"/>
      		<offline-allowed/>
      		<shortcut
                      online="false">
      		
      		            <!-- put a shortcut on the desktop -->
      		            <desktop/>
      		            <!-- put shortcut in start menu too -->
      		            <menu
                  submenu="Mirth Project"/>
              	</shortcut>
      	</information>
      	
      	
      	
      	<security>
      		<all-permissions/>
      	</security>
      	
      	<resources>
      		<j2se
                  href="http://java.sun.com/products/autodl/j2se"
                  version="1.5"/>
      		<jar download="eager"
                  href="lib/mirth-client.jar" main="true"/>
      		<jar
                  download="eager" href="lib/mirth-client-core.jar"/>
      		<jar
                  download="eager" href="lib/commons-codec-1.3.jar"/>
      		<jar
                  download="eager"
                  href="lib/commons-httpclient-3.0.1.jar"/>
      		<jar
                  download="eager" href="lib/commons-logging-1.1.jar"/>
      		<jar
                  download="eager" href="lib/databinding-0.8.0.jar"/>
      		<jar
                  download="eager" href="lib/hapi-0.5.jar"/>
      		<jar
                  download="eager" href="lib/jdic-0.8.0.jar"/>
      		<jar
                  download="eager"
                  href="lib/l2fprod-common-sheet.jar"/>
      		<jar
                  download="eager" href="lib/log4j-1.2.14.jar"/>
      		<jar
                  download="eager" href="lib/looks-2.1.1.jar"/>
      		<jar
                  download="eager" href="lib/qname.jar"/>
      		<jar
                  download="eager" href="lib/rhino-1.6r2.jar"/>
      		<jar
                  download="eager" href="lib/swing-layout-1.0.1.jar"/>
      		<jar
                  download="eager" href="lib/swingworker-0.8.0.jar"/>
      		<jar
                  download="eager" href="lib/swingx-0.8.0.jar"/>
      		<jar
                  download="eager" href="lib/wsdl4j.jar"/>
      		<jar
                  download="eager" href="lib/wsif.jar"/>
      		<jar
                  download="eager" href="lib/xercesImpl.jar"/>
      		<jar
                  download="eager" href="lib/xpp3_min-1.1.3.4.O.jar"/>
      		<jar
                  download="eager"
              href="lib/xstream-1.2.jar"/>
      	</resources>
      	
      	<application-desc main-class="com.webreach.mirth.client.ui.Mirth"><argument>https://127.0.0.1:8443</argument></application-desc>
      </jnlp>
      
      Exception:
      ==========
      JNLPException[category: Download Error : Exception: java.net.ConnectException: Connection refused: connect : LaunchDesc: null ]
      	at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
      	at com.sun.javaws.cache.DownloadProtocol.getJRE(Unknown Source)
      	at com.sun.javaws.LaunchDownload.downloadJRE(Unknown Source)
      	at com.sun.javaws.Launcher.downloadResources(Unknown Source)
      	at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
      	at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
      	at com.sun.javaws.Launcher.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      
      Wrapped Exception:
      ==================
      java.net.ConnectException: Connection refused: connect
      	at java.net.PlainSocketImpl.socketConnect(Native Method)
      	at java.net.PlainSocketImpl.doConnect(Unknown Source)
      	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      	at java.net.PlainSocketImpl.connect(Unknown Source)
      	at java.net.Socket.connect(Unknown Source)
      	at java.net.Socket.connect(Unknown Source)
      	at sun.net.NetworkClient.doConnect(Unknown Source)
      	at sun.net.www.http.HttpClient.openServer(Unknown Source)
      	at sun.net.www.http.HttpClient.openServer(Unknown Source)
      	at sun.net.www.http.HttpClient.<init>(Unknown Source)
      	at sun.net.www.http.HttpClient.New(Unknown Source)
      	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
      	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
      	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
      	at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)
      	at com.sun.javaws.net.BasicNetworkLayer.doGetRequest(Unknown Source)
      	at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
      	at com.sun.javaws.cache.DownloadProtocol.getJRE(Unknown Source)
      	at com.sun.javaws.LaunchDownload.downloadJRE(Unknown Source)
      	at com.sun.javaws.Launcher.downloadResources(Unknown Source)
      	at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
      	at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
      	at com.sun.javaws.Launcher.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      Any thoughts?

      Comment

      Working...
      X