Mirth Connect версии 3.5.0.8232 не может запустить службу
Я установил Mirth Connect версии 3.5.0.8232 в 64-битной ОС Windows 7 Ultimate. Оказалось, был успешно установлен. Однако я нажал на кнопку "Пуск", чтобы запустить службу Mirth Connect, и она выдала сообщение об ошибке "Служба Mirth Connect не может быть запущена". Я проверил файл журнала, и в нем было сообщение об исключении. Глядя на Диспетчер серверов, выглядело, как будто служба действительно запустилась, потому что кнопка запуска отключена, а перезагрузка, остановка, обновление и администратор включены. У кого-нибудь есть идеи, как решить эту проблему?
Если я нажал на кнопку "Администратор", он выдал следующее сообщение (в самом низу появится сообщение об исключении для экрана администратора):
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
Когда я нажал на вкладку Wrapped Exception, она показала это исключение:
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)
1 ответ
Это может быть связано с использованием несовместимой JRE. Убедитесь, что вы используете официальную версию Oracle JRE 8 или выше. Какую конкретную версию вы используете сейчас?
Также убедитесь, что если вы используете 64-битный дистрибутив Mirth Connect, используйте 64-битную версию Java.