2017-05-04 76 views
0

我在Windows 7旗艦版64位操作系統上安裝了Mirth連接版本3.5.0.8232。它似乎安裝成功。但是,我點擊開始啓動Mirth Connect服務,並且它給出錯誤信息「The Mirth Connect Service無法啓動。」我檢查了日誌文件,它有異常消息。查看服務器管理器,看起來服務確實啓動,因爲啓動按鈕被禁用,啓用了重新啓動,停止,刷新和管理員。有沒有人有一個想法如何解決這個問題?歡樂連接版本3.5.0.8232無法啓動服務

如果我點擊管理員按鈕,它提供了以下消息(會後管理員屏幕異常消息在最底層):

Could not load file/URL specified: http://localhost:8080/webstart.jnlp?maxHeapSize=512m 

日誌文件的錯誤消息

ERROR 2017-05-04 13:14:44,608 [Main Server Thread] Server: Exception in thread "Main Server Thread" java.lang.IncompatibleClassChangeError 
ERROR 2017-05-04 13:14:44,610 [Main Server Thread] Server: at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(MethodHandleNatives.java:384) 
ERROR 2017-05-04 13:14:44,611 [Main Server Thread] Server: at org.eclipse.jetty.util.statistic.CounterStatistic.<init>(CounterStatistic.java:35) 
ERROR 2017-05-04 13:14:44,611 [Main Server Thread] Server: at org.eclipse.jetty.server.session.AbstractSessionManager.<init>(AbstractSessionManager.java:136) 
ERROR 2017-05-04 13:14:44,611 [Main Server Thread] Server: at org.eclipse.jetty.server.session.HashSessionManager.<init>(HashSessionManager.java:124) 
ERROR 2017-05-04 13:14:44,611 [Main Server Thread] Server: at org.eclipse.jetty.server.session.SessionHandler.<init>(SessionHandler.java:70) 
ERROR 2017-05-04 13:14:44,611 [Main Server Thread] Server: at org.eclipse.jetty.servlet.ServletContextHandler.newSessionHandler(ServletContextHandler.java:297) 
ERROR 2017-05-04 13:14:44,612 [Main Server Thread] Server: at org.eclipse.jetty.servlet.ServletContextHandler.getSessionHandler(ServletContextHandler.java:392) 
ERROR 2017-05-04 13:14:44,612 [Main Server Thread] Server: at org.eclipse.jetty.servlet.ServletContextHandler.relinkHandlers(ServletContextHandler.java:200) 
ERROR 2017-05-04 13:14:44,612 [Main Server Thread] Server: at org.eclipse.jetty.servlet.ServletContextHandler.<init>(ServletContextHandler.java:172) 
ERROR 2017-05-04 13:14:44,612 [Main Server Thread] Server: at org.eclipse.jetty.webapp.WebAppContext.<init>(WebAppContext.java:266) 
ERROR 2017-05-04 13:14:44,612 [Main Server Thread] Server: at org.eclipse.jetty.webapp.WebAppContext.<init>(WebAppContext.java:211) 
ERROR 2017-05-04 13:14:44,612 [Main Server Thread] Server: at com.mirth.connect.server.MirthWebServer.<init>(MirthWebServer.java:202) 
ERROR 2017-05-04 13:14:44,613 [Main Server Thread] Server: at com.mirth.connect.server.Mirth.startWebServer(Mirth.java:376) 
ERROR 2017-05-04 13:14:44,613 [Main Server Thread] Server: at com.mirth.connect.server.Mirth.startup(Mirth.java:252) 
ERROR 2017-05-04 13:14:44,613 [Main Server Thread] Server: at com.mirth.connect.server.Mirth.run(Mirth.java:153) 
ERROR 2017-05-04 13:14:44,614 [Main Server Thread] Server: Caused by: java.lang.NoSuchMethodException: no such method: java.lang.invoke.LambdaMetafactory.metafactory(Lookup,String,MethodType,MethodType,MethodHandle,MethodType)CallSite/invokeStatic 
ERROR 2017-05-04 13:14:44,614 [Main Server Thread] Server: at java.lang.invoke.MemberName.makeAccessException(MemberName.java:763) 
ERROR 2017-05-04 13:14:44,614 [Main Server Thread] Server: at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:880) 
ERROR 2017-05-04 13:14:44,615 [Main Server Thread] Server: at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1037) 
ERROR 2017-05-04 13:14:44,615 [Main Server Thread] Server: at java.lang.invoke.MethodHandles$Lookup.linkMethodHandleConstant(MethodHandles.java:1341) 
ERROR 2017-05-04 13:14:44,615 [Main Server Thread] Server: at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(MethodHandleNatives.java:382) 
ERROR 2017-05-04 13:14:44,615 [Main Server Thread] Server: ... 14 more 
ERROR 2017-05-04 13:14:44,615 [Main Server Thread] Server: Caused by: java.lang.NoSuchMethodError: java.lang.invoke.LambdaMetafactory.metafactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; 
ERROR 2017-05-04 13:14:44,616 [Main Server Thread] Server: at java.lang.invoke.MethodHandleNatives.resolve(Native Method) 
ERROR 2017-05-04 13:14:44,616 [Main Server Thread] Server: at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:852) 
ERROR 2017-05-04 13:14:44,616 [Main Server Thread] Server: at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:877) 
ERROR 2017-05-04 13:14:44,616 [Main Server Thread] Server: ... 17 more 

管理員錯誤:

CouldNotLoadArgumentException[ Could not load file/URL specified: http://localhost:8080/webstart.jnlp?maxHeapSize=512m] 
    at com.sun.javaws.Main.launchApp(Unknown Source) 
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source) 
    at com.sun.javaws.Main.access$000(Unknown Source) 
    at com.sun.javaws.Main$1.run(Unknown Source) 
    at java.lang.Thread.run(Unknown Source) 
Caused by: java.net.ConnectException: Connection refused: connect 
    at java.net.DualStackPlainSocketImpl.connect0(Native Method) 
    at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) 
    at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) 
    at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) 
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source) 
    at java.net.PlainSocketImpl.connect(Unknown Source) 
    at java.net.SocksSocketImpl.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.getNewHttpClient(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) 
    at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source) 
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source) 
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source) 
    at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source) 
    at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source) 
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) 
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) 
    ... 5 more 

當我打開包裝的異常選項卡上,這表明此異常:

java.net.ConnectException: Connection refused: connect 
    at java.net.DualStackPlainSocketImpl.connect0(Native Method) 
    at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) 
    at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) 
    at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) 
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source) 
    at java.net.PlainSocketImpl.connect(Unknown Source) 
    at java.net.SocksSocketImpl.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.getNewHttpClient(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) 
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) 
    at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source) 
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source) 
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source) 
    at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source) 
    at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source) 
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) 
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source) 
    at com.sun.javaws.Main.launchApp(Unknown Source) 
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source) 
    at com.sun.javaws.Main.access$000(Unknown Source) 
    at com.sun.javaws.Main$1.run(Unknown Source) 
    at java.lang.Thread.run(Unknown Source) 

回答

2

這可能是由於使用不兼容的JRE。確保您使用的是正式的Oracle JRE版本8或更高版本。你現在使用什麼特定的版本?

請確保如果您正在運行Mirth Connect的64位版本,請使用64位版本的Java。

+0

就是這樣。它從未想過要確保JRE是64位版本。它現在按預期工作。 –