Announcement

Collapse

NextGen (Mirth) Connect 3.10.0 Released!

NextGen (Mirth) Connect 3.10.0 is now available as an appliance update and on our GitHub page. This release includes better SQL Server database support, security improvements through fixes and library updates, and improvements for the Advanced Clustering plugin with a focus on improving performance of many of the tasks that are carried out on a frequent interval. 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

mirth 1.5 as vista service

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

  • mirth 1.5 as vista service

    Has anyone had issues running mirth 1.5 as a service on vista. It seems to run fine when I start it from the command line. But the jetty web server seems to have issues when run as a service. Here is the wrapper log:

    Code:
    STATUS | wrapper  | 2007/06/14 16:30:43 | --> Wrapper Started as Service
    STATUS | wrapper  | 2007/06/14 16:30:43 | Launching a JVM...
    INFO   | jvm 1    | 2007/06/14 16:30:44 | Wrapper (Version 3.2.1) http://wrapper.tanukisoftware.org
    INFO   | jvm 1    | 2007/06/14 16:30:44 | 
    INFO   | jvm 1    | 2007/06/14 16:30:54 | WARN  2007-06-14 16:30:54,306 [Thread-0] org.mortbay.jetty.servlet.WebApplicationContext: Configuration error on jar:file:/C:/dev/Mirth-1.5/web/webapps/mirth.war!/
    INFO   | jvm 1    | 2007/06/14 16:30:54 | java.io.IOException: The system cannot find the path specified
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at java.io.WinNTFileSystem.createFileExclusively(Native Method)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at java.io.File.checkAndCreate(Unknown Source)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at java.io.File.createTempFile(Unknown Source)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at org.mortbay.http.ContextLoader.<init>(ContextLoader.java:111)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at org.mortbay.http.HttpContext.initClassLoader(HttpContext.java:1199)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:456)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at org.mortbay.util.Container.start(Container.java:72)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at org.mortbay.util.Container.start(Container.java:72)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at com.webreach.mirth.server.Mirth.startWebServer(Mirth.java:262)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at com.webreach.mirth.server.Mirth.run(Mirth.java:89)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | WARN  2007-06-14 16:30:54,899 [Thread-0] com.webreach.mirth.server.Mirth: Could not start web server.
    INFO   | jvm 1    | 2007/06/14 16:30:54 | org.mortbay.util.MultiException[java.io.IOException: The system cannot find the path specified]
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at org.mortbay.http.HttpServer.doStart(HttpServer.java:686)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at org.mortbay.util.Container.start(Container.java:72)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at com.webreach.mirth.server.Mirth.startWebServer(Mirth.java:262)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at com.webreach.mirth.server.Mirth.run(Mirth.java:89)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | java.io.IOException: The system cannot find the path specified
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at java.io.WinNTFileSystem.createFileExclusively(Native Method)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at java.io.File.checkAndCreate(Unknown Source)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at java.io.File.createTempFile(Unknown Source)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at org.mortbay.http.ContextLoader.<init>(ContextLoader.java:111)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at org.mortbay.http.HttpContext.initClassLoader(HttpContext.java:1199)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:456)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at org.mortbay.util.Container.start(Container.java:72)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at org.mortbay.util.Container.start(Container.java:72)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at com.webreach.mirth.server.Mirth.startWebServer(Mirth.java:262)
    INFO   | jvm 1    | 2007/06/14 16:30:54 | 	at com.webreach.mirth.server.Mirth.run(Mirth.java:89)
    INFO   | jvm 1    | 2007/06/14 16:31:10 | Mirth 1.5.0.2272 (May 24, 2007) server successfully started: Thu Jun 14 16:31:10 EDT 2007
    INFO   | jvm 1    | 2007/06/14 16:31:10 | This product includes software developed by SymphonySoft Limited (http://www.symphonysoft.com) and its contributors.
    INFO   | jvm 1    | 2007/06/14 16:31:10 | Running Java 1.5.0_11 on Windows Vista (6.0, x86)
    STATUS | wrapper  | 2007/06/14 16:31:57 | <-- Wrapper Stopped

  • #2
    Re:mirth 1.5 as vista service

    Sorry this is a known issue: http://www.mirthproject.org/communit...owse/MIRTH-384

    The wrapper libraries we use for the service are not yet compatible with Vista.
    Chris Lang

    Comment


    • #3
      Re:mirth 1.5 as vista service

      Thanks for the quick reply.

      Comment


      • #4
        Re:mirth 1.5 as vista service

        Hello,

        I'm having exactly the same problem. When you started from the cmd-line, did you just run the mirth.bat script? I tried this (in an Administrator shell) but it still didn't work for me - I'm getting errors from Jetty:

        WARN 2008-01-28 12:46:06,466 [Thread-0] org.mortbay.util.ThreadedServer: Failed to start: [email protected]:8080
        WARN 2008-01-28 12:46:06,467 [Thread-0] com.webreach.mirth.server.Mirth: Could not start web server.
        org.mortbay.util.MultiException[java.net.BindException: Address already in use: JVM_Bind]
        at org.mortbay.http.HttpServer.doStart(HttpServer.jav a:686)
        at org.mortbay.util.Container.start(Container.java:72 )
        at com.webreach.mirth.server.Mirth.startWebServer(Mir th.java:375)
        at com.webreach.mirth.server.Mirth.startup(Mirth.java :144)
        at com.webreach.mirth.server.Mirth.run(Mirth.java:109 )
        java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        (snip)

        etc. etc.

        Can you tell me how you managed to get Mirth to run on Vista?

        Thanks,
        Roger.

        Comment


        • #5
          Re:mirth 1.5 as vista service

          Roger,

          You might have another service using port 8080. Perhaps, you want to change mirth's config to use another port.

          Comment


          • #6
            Re:mirth 1.5 as vista service

            Thanks. I did check, but nothing was using 8080 as far as I could see (using netstat) but perhaps netstat doesn't reveal all.

            I think the problem may be Java 1.6, because I uninstalled that and went back to Java 1.5.0.14, and now the service starts perfectly well.

            Next problem is getting the administrator to run - the Jetty process is OK because I can browse to localhost:8080 and I see the Launch Mirth Administrator screen, but the jnlp fails with this error:

            JNLPException[category: Download Error : Exception: java.io.IOException: HTTP response 404 : LaunchDesc: null ]
            at com.sun.javaws.cache.DownloadProtocol.doDownload(U nknown Source)
            at com.sun.javaws.cache.DownloadProtocol.isLaunchFile UpdateAvailable(Unknown Source)
            at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc (Unknown Source)
            at com.sun.javaws.Launcher.downloadResources(Unknown Source)
            at com.sun.javaws.Launcher.handleApplicationDesc(Unkn own Source)
            at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
            at com.sun.javaws.Launcher.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)

            As this is Vista, I have disabled UAC and the Windows firewall, but still I have this problem.

            Any ideas?

            Roger.

            Comment


            • #7
              Re:mirth 1.5 as vista service

              Ah, my bad. Oracle Express 10g was running...
              Stopped the Oracle services, restarted Mirth, all is OK.
              I probably will change the default port, as you suggested.

              Thanks again for the reply.

              Comment

              Working...
              X