R12 E-Business Suite Mobile Web Applications (MWA) Server Processes Not Starting Using Wrapper Scripts Adstrtal.sh / Mwactlwrpr.sh Due To Error 'PortNumber: 10860 is not free to start the server. Please specify a different port'

(Doc ID 1515211.1)

Last updated on APRIL 02, 2018

Applies to:

Oracle Mobile Application Server - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

E-Business Suite 12.2 Mobile Applications Sever, MWA related issues

 

 

 

The administrator reports the script adstrtal.sh fails during mwactlwrpr.sh when Mobile Web Applications Server (MWA) is configured.

The lsof command will not cause an issue if the port 10860 is NOT used or if no file is open on the OS with this name.

However, if the port is used or a file is open on the OS with this name the scripts will fail.

The script adstrtal.sh fails with the following error during execution and it caused by mwactlwrpr.sh for MWA:
/admin/scripts/mwactlwrpr.sh start
Timeout specified in context file: 100 second(s)

script returned:
****************************************************

Starting MWA Wrapper script. Checking if all ports are free to start the servers and dispatcher...
Starting MWA Server on Port number: 10320
Starting MWA Server on Port number: 10322
<… snip…>
Starting MWA Server on Port number: 10376
Starting MWA Server on Port number: 10378
Starting MWA Dispatcher on Port number: 10860,ora

.end std out.
lsof: unknown service ora for tcp in: -i TCP:10860,ora


The script 'mwactlwrpr.sh start' reports the port is used although it is not (lsof output issue) if a file is open on the system with a similar name and the following error results:

Starting MWA Wrapper script. Checking if all ports are free to start the servers and dispatcher...

PortNumber: 10860 is not free to start the server. Please specify a different port in the configuration file (or) end the process using this port.

However nothing is running on the port:

The issue can be reproduced at will with the following steps:
1. Start MWA with adstrtal.sh which calls mwactlwrpr.sh

The issue has the following business impact:
Due to this issue, MWA unable to start with the Wrapper script.

Changes

Issue was reported on mwactlwrpr.sh (120.5.12000000.3 120.6.12010000.2).

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms