My Oracle Support Banner

Some Mobile Users Getting Error Connecting to Dispatcher: 'Connection Lost By Foreign Host' (Doc ID 743275.1)

Last updated on JANUARY 03, 2023

Applies to:

Oracle Mobile Application Server - Version 11.5.10.0 to 11.5.10.2 [Release 11.5 to 11.5.10]
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

Some of the mobile users are not able to connect using the Dispatcher. Same users are able to login directly to the MWA server.
When attempting to login with the dispatcher, the following error occurs:


Connection lost by foreign host

MWA system.log showing error:

[Tue Oct 14 16:08:08 GMT 2008] (Thread-11) DispatcherRegistrarThread: dispatcher response from mymachine:myport was 'ALREADY_REGISTERED'
[Tue Oct 14 16:08:22 GMT 2008] (Thread-8) SSR thread starts running...
[Tue Oct 14 16:08:22 GMT 2008] (Thread-8) Setting destroy to true, will kill stale session for username 10272
[Tue Oct 14 16:08:22 GMT 2008] (Thread-8) Destroy is true, calling session.destroySession()
[Tue Oct 14 16:08:22 GMT 2008] (Thread-8) getConnection is called with userName:10272
[Tue Oct 14 16:08:22 GMT 2008] (Thread-26) PH: User 10272 got disconnected...
[Tue Oct 14 16:08:22 GMT 2008] (Thread-26) PH: caught IOException Socket closed
[Tue Oct 14 16:08:22 GMT 2008] (Thread-26) PH: caught IOException
java.net.SocketException: Socket closed
at java.net.SocketInputStream.read(SocketInputStream.java:162)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
at java.io.FilterInputStream.read(FilterInputStream.java:66)
at java.io.PushbackInputStream.read(PushbackInputStream.java:120)
at oracle.apps.mwa.presentation.telnet.ProtocolHandler.readChar(ProtocolHandler.java:1238)
at oracle.apps.mwa.presentation.telnet.ProtocolHandler.enterHighlight(ProtocolHandler.java:1869)
at oracle.apps.mwa.presentation.telnet.ProtocolHandler.run(ProtocolHandler.java:703)

Dispatcher log file showing:

[Tue Oct 14 16:08:22 2008] runWorker: worker #6, disconnecting pair #2 (StoC)
[Tue Oct 14 16:08:22 2008] runRegistrar: logout for user '10272'
[Tue Oct 14 16:08:24 2008] main: client dispatched to worker #6, slot #0, server #3

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.