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 to [Release 11.5 to 11.5.10]
Information in this document applies to any platform.
This problem can occur on any platform.


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 Socket closed
at oracle.apps.mwa.presentation.telnet.ProtocolHandler.readChar(
at oracle.apps.mwa.presentation.telnet.ProtocolHandler.enterHighlight(

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


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

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