R12 E-Business Suite Moble Web Applications Server Restart Fails With Error 'Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2000)' When Bouncing MWA Ports (Doc ID 2303307.1)

Last updated on SEPTEMBER 07, 2017

Applies to:

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

Symptoms

E-Business Suite R12 Mobile Application Server, Mobile Applications Related issues

 

 

Bouncing the MWA port returns the following error:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

$ mwactl.sh -login ****/**** stop_force port 10000 &
[1] 17000
$ MWA Telnet Server Release: 1.0.8.4 [December 12th 2002]
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
  at java.util.Arrays.copyOf(Arrays.java:2367)
  at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
  at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
  at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:587)
  at java.lang.StringBuffer.append(StringBuffer.java:332)
  at oracle.apps.mwa.tools.ShutdownServer.main(ShutdownServer.java:136)
mwactl: Error shutting down Telnet server

[1]+ Exit 1 mwactl.sh -login *****/***** stop_force port 10000

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