Announcement

Collapse
No announcement yet.

Unable of start Mirth 1.3

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

  • Unable of start Mirth 1.3

    I've just download 1.3, but I can't start it. I'm getting the next exception:

    (I'm usigin W2k) I've set the log level to trace, but I'm without a clue.

    Code:
    Exception in thread "main" java.lang.ExceptionInInitializerError
    	at com.webreach.mirth.server.controllers.SystemLogger.<init>(SystemLogger.java:43)
    	at com.webreach.mirth.server.Mirth.<init>(Mirth.java:65)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    	at java.lang.Class.newInstance0(Class.java:350)
    	at java.lang.Class.newInstance(Class.java:303)
    	at com.webreach.mirth.server.launcher.Launcher.main(Launcher.java:38)
    Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Error occurred.  Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: java.net.ConnectException: Connection timed out: connect
    	at com.webreach.mirth.server.util.SqlConfig.<clinit>(SqlConfig.java:24)
    	... 9 more
    Caused by: java.lang.RuntimeException: Error occurred.  Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: java.net.ConnectException: Connection timed out: connect
    	at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java:84)
    	at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.java:62)
    	at com.webreach.mirth.server.util.SqlConfig.<clinit>(SqlConfig.java:22)
    	... 9 more
    Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause: java.net.ConnectException: Connection timed out: connect
    	at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:52)
    	at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java:81)
    	... 11 more
    Caused by: java.net.ConnectException: Connection timed out: connect
    	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.Socket.connect(Socket.java:516)
    	at java.net.Socket.connect(Socket.java:466)
    	at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
    	at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
    	at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
    	at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
    	at sun.net.www.http.HttpClient.New(HttpClient.java:287)
    	at sun.net.www.http.HttpClient.New(HttpClient.java:299)
    	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:796)
    	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:748)
    	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:673)
    	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:917)
    	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:973)
    	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:905)
    	at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:872)
    	at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:282)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:1021)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250)
    	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
    	at com.ibatis.common.xml.NodeletParser.createDocument(NodeletParser.java:147)
    	at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:49)
    	... 12 more

  • #2
    Re: Unable of start Mirth 1.3

    I got the same exception. My operating system is xp and I canĀ“t start it either.



    Exception in thread "main" java.lang.ExceptionInInitializerError
    at com.webreach.mirth.server.controllers.SystemLogger .<init>(SystemLogge
    r.java:43)
    at com.webreach.mirth.server.Mirth.<init>(Mirth.java: 65)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at com.webreach.mirth.server.launcher.Launcher.main(L auncher.java:38)
    Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Error occurre
    d. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: ja
    va.net.ConnectException: Connection timed out: connect
    at com.webreach.mirth.server.util.SqlConfig.<clinit>( SqlConfig.java:24)
    ... 9 more
    Caused by: java.lang.RuntimeException: Error occurred. Cause: com.ibatis.common
    .xml.NodeletException: Error parsing XML. Cause: java.net.ConnectException: Con
    nection timed out: connect
    at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigP arser.parse(SqlMapC
    onfigParser.java:84)
    at com.ibatis.sqlmap.client.SqlMapClientBuilder.build SqlMapClient(SqlMap
    ClientBuilder.java:62)
    at com.webreach.mirth.server.util.SqlConfig.<clinit>( SqlConfig.java:22)
    ... 9 more
    Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: ja
    va.net.ConnectException: Connection timed out: connect
    at com.ibatis.common.xml.NodeletParser.parse(NodeletP arser.java:52)
    at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigP arser.parse(SqlMapC
    onfigParser.java:81)
    ... 11 more
    Caused by: java.net.ConnectException: Connection timed out: 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.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getNew HttpClient(Unknown
    Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainC onnect(Unknown Sour
    ce)
    at sun.net.www.protocol.http.HttpURLConnection.connec t(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInp utStream(Unknown So
    urce)
    at com.sun.org.apache.xerces.internal.impl.XMLEntityM anager.setupCurrent
    Entity(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLEntityM anager.startEntity(
    Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLEntityM anager.startDTDEnti
    ty(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDTDScan nerImpl.setInputSou
    rce(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumen tScannerImpl$DTDDis
    patcher.dispatch(Unknown Source)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumen tFragmentScannerImp
    l.scanDocument(Unknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Co nfiguration.parse(U
    nknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XML11Co nfiguration.parse(U
    nknown Source)
    at com.sun.org.apache.xerces.internal.parsers.XMLPars er.parse(Unknown So
    urce)
    at com.sun.org.apache.xerces.internal.parsers.DOMPars er.parse(Unknown So
    urce)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBu ilderImpl.parse(Unk
    nown Source)
    at com.ibatis.common.xml.NodeletParser.createDocument (NodeletParser.java
    :147)
    at com.ibatis.common.xml.NodeletParser.parse(NodeletP arser.java:49)
    ... 12 more

    Comment


    • #3
      Re: Unable of start Mirth 1.3

      I did a quick test (File reader to database) and Mirth v1.3 worked fine (Windows 2000 SP4 w/ current updates, Java Runtime Version 1.5.0 Update 9 [ build 1.5.0_09-b03 ] ).

      Here&#039;s what I did:

      1. Cleared Temporary Internet Files (Control Panel / Java / General tab / Delete Files)
      2. Cleared Temporary Internet Files from Internet Explorer
      3. Downloaded and extracted Mirth-v1.3 zip file
      4. Started Mirth.bat
      5. Launched http:localhost:8080 from Internet Exporer
      Got prompted to save webstart / Saved to a local folder / Accepted prompt to trust mirth.org (don&#039;t remember exact name) /

      6. Logged in Mirth admin using admin/admin
      7. Imported channel from v1.1 / Accepted prompt to convert the channel to v1.3
      8. Modified Directory-to-read and Move-to-directory
      9. Copied 10 HL7 message files in INBOUND folder (S12, S14, A31)
      10. All 10 files were processed successfully
      11. Patient and Appointment table in the database had correct data.

      Comment


      • #4
        Re: Unable of start Mirth 1.3

        We&#039;ve tested on several different systems and that is the first we&#039;ve heard of that error. We will look into it ASAP and have a resolution shortly.
        In the meantime, make sure you have the latest Java5 (1.5) JRE installed and updated, and clear your Java temporary files.
        Sorry about that!
        -Chris
        Chris Lang

        Comment


        • #5
          Re: Unable of start Mirth 1.3

          Strange - this issue seems to be due to not being able to reach the apache.org site to resolve the ibatis DTD:

          http://www.mail-archive.com/[email protected]/msg01758.html

          It should use the DTD from the JAR (as specified by the Apache developers) but we&#039;ll look into this.

          -Chris
          Chris Lang

          Comment


          • #6
            Re: Unable of start Mirth 1.3

            Alberto - can you add this to the issue tracker? Thanks!
            -Chris
            Chris Lang

            Comment


            • #7
              Re: Unable of start Mirth 1.3

              Another (bad) thing

              I&#039;ve just installed the JVM 1.6

              There is no error, no problem,.. and no Mirth.

              Starting with JVM 1.6 (from Sun), Mirth doesn&#039;t start. I can see how the tracer loads all of the classes (I have the log setting to TRACE), and then, it finish with no message at all.

              Comment


              • #8
                Re: Unable of start Mirth 1.3

                Very interesting, thanks for the report! We are thinking about creating an "experimental" branch from the trunk that migrates Mirth to:

                1) JVM 1.6
                2) Mule 1.3 or 2.0
                3) New internal db (possibly JavaDB from 1.6 - which I guess is Derby?)

                -Chris
                Chris Lang

                Comment

                Working...
                X