My Oracle Support Banner

REP-50125 : Java.io.IOException: Error=11, Resource Temporarily Unavailable (Doc ID 2857043.1)

Last updated on MARCH 26, 2022

Applies to:

Oracle Reports Developer - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Running reports with heavy load and simultanious reports queued shows below errors in the logs.

rwserver_diagnostic.log

[<timestamp>] [WLS_REPORTS] [INCIDENT_ERROR] [REP-50125] [oracle.reports.server] [tid: 276] [userId: <anonymous>] [ecid: <ecid>] [APP: reports] [partition-name: DOMAIN] [tenant-name: GLOBAL] REP-50125 : java.io.IOException: Cannot run program "<DOMAIN_HOME>/reports/bin/rwengine.sh": error=11, Resource temporarily unavailable [[
java.io.IOException: Cannot run program "<DOMAIN_HOME>/reports/bin/rwengine.sh": error=11, Resource temporarily unavailable
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:621)
at java.lang.Runtime.exec(Runtime.java:451)
at java.lang.Runtime.exec(Runtime.java:389)
at oracle.reports.server.EngineManager.spawnEngine(EngineManager.java:1341)
at oracle.reports.server.EngineManager.getIdleEngine(EngineManager.java:911)
at oracle.reports.server.JobManager.runJobLocal(JobManager.java:2187)
at oracle.reports.server.JobManager.dispatch(JobManager.java:1472)
at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1538)
at oracle.reports.server.ConnectionPOA._invoke(ConnectionPOA.java:460)
at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:654)
at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:205)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1700)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1558)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:940)
at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:198)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:712)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:474)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1237)
at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:490)
at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:519)
Caused by: java.io.IOException: error=11, Resource temporarily unavailable
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 20 more
]]

rwEng-0_diagnostic.log

[<timestamp> [reports] [NOTIFICATION] [] [oracle.reports.engine] [tid: 22] [ecid: <ecid>] [EngineName: rwEng-0] EngineImpl:run oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
[<timestamp>] [reports] [ERROR] [] [oracle.reports.engine] [tid: 21] [ecid: <ecid>] [EngineName: rwEng-0] C Engine Job ID = <Job ID> ERR java.lang.OutOfMemoryError: unable to create new native thread
[<timestamp>] [reports] [ERROR] [] [oracle.reports.engine] [tid: 21] [ecid: <ecid>] [EngineName: rwEng-0] C Engine Job ID = <Job ID> ERR java.lang.NoClassDefFoundError: Could not initialize class sun.java2d.Disposer
[<timestamp>] [reports] [ERROR] [] [oracle.reports.engine] [tid: 21] [ecid: <ecid>] [EngineName: rwEng-0] C Engine Job ID = <Job ID> ERR java.lang.NoClassDefFoundError: Could not initialize class sun.java2d.Disposer
[<timestamp>] [reports] [ERROR] [] [oracle.reports.engine] [tid: 21] [ecid: <ecid>] [EngineName: rwEng-0] C Engine Job ID = <Job ID> ERR java.lang.NoClassDefFoundError: Could not initialize class sun.java2d.Disposer
[<timestamp>] [reports] [ERROR] [] [oracle.reports.engine] [tid: 21] [ecid: <ecid>] [EngineName: rwEng-0] C Engine Job ID = <Job ID> ERR REP-0069: An internal error occurred[[]]

[<timestamp>] [reports] [ERROR] [] [oracle.reports.engine] [tid: 21] [ecid: <ecid>] [EngineName: rwEng-0] C Engine Job ID = <Job ID> ERR java.lang.OutOfMemoryError: unable to create new native thread
[<timestamp>] [reports] [ERROR] [] [oracle.reports.engine] [tid: 21] [ecid: <ecid>] [EngineName: rwEng-0] rwfdt:rwfdtprint Job ID = <Job ID> ERR Error occurred sending Job output to cache
[<timestamp>] [reports] [ERROR] [] [oracle.reports.engine] [tid: 21] [ecid: <ecid>] [EngineName: rwEng-0] C Engine Job ID = <Job ID> ERR REP-3316: Too many errors pushed on the stack
[<timestamp>] [reports] [INCIDENT_ERROR] [REP-3316] [oracle.reports.engine] [tid: 21] [ecid: <ecid>] [EngineName: rwEng-0] REP-3316 : unable to create new native thread[[
java.lang.NoClassDefFoundError: Could not initialize class sun.java2d.Disposer
java.lang.NoClassDefFoundError: Could not initialize class sun.java2d.Disposer
java.lang.NoClassDefFoundError: Could not initialize class sun.java2d.Disposer
REP-0069: An internal error occurred

java.lang.OutOfMemoryError: unable to create new native thread
REP-3316: Too many errors pushed on the stack

oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
at oracle.reports.engine.EngineImpl.run(EngineImpl.java:553)
at oracle.reports.engine.EngineClassPOA._invoke(EngineClassPOA.java:104)
at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:654)
at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:205)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1700)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1558)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:940)
at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:198)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:712)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:474)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1237)
at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:490)
at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:519)

]]

Changes

 Performing load testing by submitting simultaneous multiple Reports to the Reports server.

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
Changes
Cause
Solution
References


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