我目前在Windows XP SP3上運行JDK 1.6 update 10的Mirth 2.0.1.5164。每次我想部署Web Service偵聽器/發件人通道時,我都會收到此錯誤:無法在Mirth Connect 2.0中部署Web Service偵聽器/發件人
[2011-04-11 09:31:11,947] ERROR(com.mirth.connect.server.controllers.MuleEngineController:207 ):註冊頻道出錯。 org.mule.providers.FatalConnectException:ReconnectStrategy 「org.mule.providers.SingleAttemptConnectionStrategy」 無法重新連接端點接收器 「WS://127.0.0.1:8041」 在org.mule.providers.SingleAttemptConnectionStrategy.doConnect(SingleAttemptConnectionStrategy。的java:34) 在org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:67) 在org.mule.providers.AbstractMessageReceiver.start(AbstractMessageReceiver.java:391) 在org.mule.providers.AbstractConnector。 registerListener(AbstractConnector.java:508) 在org.mule.impl.model.AbstractModel.registerListeners(AbstractModel.java:231) 在org.mule.impl.model.AbstractModel.registerComponent(AbstractModel.java:187) 在com.mirth.connect.server.contro llers.MuleEngineController.registerChannel(MuleEngineController.java:327) at com.mirth.connect.server.controllers.MuleEngineController.deployChannels(MuleEngineController.java:201) at com.mirth.connect.server.servlets.EngineServlet.doPost( EngineServlet.java:46) at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.mortbay.jetty。 servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:677) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) at org.mortbay.http.Htt (org.mortbay.http.HttpConnection.service(HttpConnection.java:820) at org。 mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool $ PoolThread.run(ThreadPool.java:534)引起的:org.mule.providers.FatalConnectException:ReconnectStrategy 「org.mule.providers.SingleAttemptConnectionStrategy」無法在org.mule.providers.SingleAttemp的端點「ws://127.0.0.1:8041」 上重新連接接收器tConnectionStrategy.doConnect(SingleAttemptConnectionStrategy.java:34) 在org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:67) 在org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:348) 在有機mule.providers.SingleAttemptConnectionStrategy.doConnect(SingleAttemptConnectionStrategy.java:32) ... 22更多出錯人:org.mule.providers.ConnectException:初始化失敗:運行時建模師錯誤:Wrapper類com.mirth.connect.connectors.ws.jaxws .AcceptMessage未找到。你運行APT來生成它們嗎?了com.sun.xml: 在org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:362) 在org.mule.providers.SingleAttemptConnectionStrategy.doConnect(SingleAttemptConnectionStrategy.java:32) ... 25 moreCaused。 internal.ws.model.RuntimeModelerException:運行時建模器錯誤:未找到包裝類com.mirth.connect.connectors.ws.jaxws.AcceptMessage。你運行APT來生成它們嗎? at com.sun.xml.internal.ws.model.RuntimeModeler.getClass(Unknown Source) at com.sun.xml.internal.ws.model.RuntimeModeler。processDocWrappedMethod(Unknown Source) at com.sun.xml.internal.ws.model.RuntimeModeler.processMethod(Unknown Source) at com.sun.xml.internal.ws.model.RuntimeModeler.processClass(Unknown Source) at com .sun.xml.internal.ws.model.RuntimeModeler.buildRuntimeModel(Unknown Source) at com.sun.xml.internal.ws.server.EndpointFactory.createSEIModel(Unknown Source) at com.sun.xml.internal.ws .server.EndpointFactory.createEndpoint(Unknown Source) at com.sun.xml.internal.ws.api.server.WSEndpoint.create(Unknown Source) at com.sun.xml.internal.ws.api.server.WSEndpoint .create(Unknown Source) at com.sun.xml.internal.ws.transport.http.server.EndpointImpl.createEndpoint(Unknown Source) at com.sun.xml.internal.ws。 transport.http.server.EndpointImpl.publish(Unknown Source) at com.mirth.connect.connectors.ws.WebServiceMessageReceiver.doConnect(WebServiceMessageReceiver.java:125) at org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java :355) ... 26更多
我使用的通道在Mirth 1.8上完美工作,但是當我將它部署到2.0時,它一直出現此錯誤,並且我使用netstat進行了檢查以確保我使用的端口不是沒有佔用。我已經嘗試將JAXWS和JAXB添加到自定義庫中,但它也無法正常工作(嘗試使用Mirth Support論壇的此解決方案)。還有一件事,我使用了Web Service Listener的默認服務。任何想法如何解決這個問題?
在此先感謝
額外注:我沒有卸載1.8版本還沒有,因爲它仍然使用當前程序我公司開發的。