web stats
Cannot start LLP Listener on specific Port - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 12-03-2014, 12:15 AM
gkittlaus gkittlaus is offline
OBX.3 Kenobi
 
Join Date: Jan 2012
Posts: 104
gkittlaus is on a distinguished road
Default Cannot start LLP Listener on specific Port

Hi,

I try to start an LLP Listener on Port 7200.
Unfortunately the channel won't start:
Code:
[2014-12-03 09:08:03,904]  ERROR (org.mule.impl.model.seda.SedaModel:194): Error encountered starting channel: 5d40ff2f-e3f8-406b-899f-663b1df0a42d
org.mule.providers.FatalConnectException: ReconnectStrategy "org.mule.providers.SingleAttemptConnectionStrategy" failed to reconnect receiver on endpoint "mllp://127.0.0.1:7200"
	at org.mule.providers.SingleAttemptConnectionStrategy.doConnect(SingleAttemptConnectionStrategy.java:34)
	at org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:67)
	at org.mule.providers.AbstractMessageReceiver.start(AbstractMessageReceiver.java:391)
	at org.mule.providers.AbstractConnector.registerListener(AbstractConnector.java:508)
	at com.mirth.connect.connectors.mllp.MllpConnector.registerListener(MllpConnector.java:360)
	at org.mule.impl.model.AbstractModel.registerListeners(AbstractModel.java:240)
	at org.mule.impl.model.AbstractModel.registerComponent(AbstractModel.java:190)
	at com.mirth.connect.server.controllers.MuleEngineController.registerChannel(MuleEngineController.java:382)
	at com.mirth.connect.server.controllers.MuleEngineController.deployChannels(MuleEngineController.java:224)
	at com.mirth.connect.server.servlets.EngineServlet.doPost(EngineServlet.java:63)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:480)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
	at org.eclipse.jetty.server.Server.handle(Server.java:349)
	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
	at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224)
	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
	at java.lang.Thread.run(Unknown Source)Caused by: org.mule.providers.FatalConnectException: ReconnectStrategy "org.mule.providers.SingleAttemptConnectionStrategy" failed to reconnect receiver on endpoint "mllp://127.0.0.1:7200"
	at org.mule.providers.SingleAttemptConnectionStrategy.doConnect(SingleAttemptConnectionStrategy.java:34)
	at org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:67)
	at org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:348)
	at org.mule.providers.SingleAttemptConnectionStrategy.doConnect(SingleAttemptConnectionStrategy.java:32)
	... 32 moreCaused by: org.mule.providers.ConnectException: Failed to bind to uri "mllp://127.0.0.1:7200"
	at com.mirth.connect.connectors.mllp.MllpMessageReceiver.doConnect(MllpMessageReceiver.java:130)
	at org.mule.providers.AbstractMessageReceiver.connect(AbstractMessageReceiver.java:355)
	at org.mule.providers.SingleAttemptConnectionStrategy.doConnect(SingleAttemptConnectionStrategy.java:32)
	... 35 moreCaused by: java.net.BindException: Address already in use: JVM_Bind
	at java.net.DualStackPlainSocketImpl.bind0(Native Method)
	at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
	at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
	at java.net.PlainSocketImpl.bind(Unknown Source)
	at java.net.ServerSocket.bind(Unknown Source)
	at java.net.ServerSocket.<init>(Unknown Source)
	at java.net.ServerSocket.<init>(Unknown Source)
	at com.mirth.connect.connectors.mllp.MllpMessageReceiver.createServerSocket(MllpMessageReceiver.java:173)
	at com.mirth.connect.connectors.mllp.MllpMessageReceiver.doConnect(MllpMessageReceiver.java:124)
	... 37 more
According to "netstat -a -n -o" the port is not in use.
If I change it to 7201 or 7199 it works just fine.

I already stopped mirth, cleared the java cache, started mirth again and started all over.

Am I missing something?

I am ussing MirthConnect 2.2.3 and Java 7u45

EDIT: A java update to 7u71 changed nothing.

EDIT 2: After the update to 7u71 I restarted the machine and now it works... I don't know why.

Last edited by gkittlaus; 12-03-2014 at 01:14 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 09:25 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation