Reports Server Jobs Hang or Fails with REP-56048 on Windows Machine (Doc ID 807926.1)

Last updated on NOVEMBER 21, 2016

Applies to:

Oracle Reports Developer - Version 10.1.2.0.2 to 11.1.2.0.0 [Release Oracle10g to 11g]
z*OBSOLETE: Microsoft Windows Server 2003 R2 (32-bit)
Microsoft Windows Server 2003 R2 (32-bit)

***Checked for relevance on 19-Jun-2015***

Symptoms


Any report job request hangs when submitted to Reports Server. Showjobs command or any other webcommand works.

Running test.rdf report hangs and after sometime it displays the following error on the browser

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, you@your.address and inform them of the time the error
occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

In other Windows environment the same report fails with the following error.

 

REP-56048: Engine rwEng-0 crashed, job Id: X

 

 

Report trace was enabled and the following behavior is seen when hanging:

rwserver.trc

[2009/X/X XX:X:X:XXX] Info 50132 (JobObject:reset): jobid = X Get command line: ...<whole command>..................
.
[2009/X/X XX:X:X:XXX] Debug 50103 (ConnectionImpl:runJob): Job X is Enqueued
.
[2009/X/X XX:X:X:XXX] Debug 50103 (EngineManager:getIdleEngine): rwEng-0 state is 1
.
[2009/X/X XX:X:X:XXX] Debug 50103 (JobManager.runJobLocal): Job X got Engine rwEng-0
.
[2009/X/X XX:X:X:XXX] Debug 50103 (EngineManager:updateEngineState): Engine rwEng-0 status is 3
[2009/X/X XX:X:X:XXX] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Running
[2009/X/X XX:X:X:XXX] Debug 50103 (EngineManager:updateEngineState): Engine rwEng-0 status is 5
[2009/X/X XX:X:X:XXX] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Idle
[2009/X/X XX:X:X:XXX] Debug 50103 (JobManager:runJobInEngine): Send Job X to engine rwEng-0
[2009/X/X XX:X:X:XXX] Debug 50103 (EngineManager:updateEngineState): Engine rwEng-0 status is 3
[2009/X/X XX:X:X:XXX] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Running


When failing with REP-56048 the following is recorded in rwserver.trc file.

 

[2009/X/X XX:X:X:XXX] Info 50132 (JobObject:reset): ...<whole command>..................
.
[2009/X/X XX:X:X:XXX] Debug 50103 (ConnectionImpl:runJob): Job X is Enqueued
.
[2009/X/X XX:X:X:XXX] Debug 50103 (EngineManager:updateEngineState): Engine rwEng-0 status is 1
.
[2009/X/X XX:X:X:XXX] Debug 50103 (JobManager.runJobLocal): Job X got Engine rwEng-0
.
[2009/X/X XX:X:X:XXX] Debug 50103 (EngineManager:updateEngineState): Engine rwEng-0 status is 3
[2009/X/X XX:X:X:XXX] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Running
[2009/X/X XX:X:X:XXX] Exception 50125 (org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe
at com.sun.corba.se.internal.iiop.IIOPConnection.purge_calls(IIOPConnection.java:438)
at com.sun.corba.se.internal.iiop.ReaderThread.run(ReaderThread.java:70)
): Internal error org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 208 completed: Maybe
[2009/X/X XX:X:X:XXX] Info 56029 (EngineManager:shutdownEngine): Shutting down engine rwEng-0
[2009/X/X XX:X:X:XXX] Exception 50125 (org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:148)
at com.sun.corba.se.internal.iiop.ConnectionTable.getConnection(ConnectionTable.java:65)
at com.sun.corba.se.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:67)
at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:652)
at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java:594)
at com.sun.corba.se.internal.corba.ClientDelegate.request(ClientDelegate.java:886)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
at oracle.reports.engine._EngineClassStub.shutdown(_EngineClassStub.java:173)
at oracle.reports.server.EngineManager.shutdownEngine(EngineManager.java:1473)
at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:1033)
at oracle.reports.server.JobManager.runJobLocal(JobManager.java:1912)
at oracle.reports.server.JobManager.dispatch(JobManager.java:1152)
at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1285)
at oracle.reports.server._ConnectionImplBase._invoke(_ConnectionImplBase.java:401)
at com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:280)
at com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81)
at com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:106)
): Internal error org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
[2009/X/X XX:X:X:XXX] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Shutdown
[2009/X/X XX:X:X:XXX] Info 56047 (EngineManager:remove): Reports Server shut down engine rwEng-0
[2009/X/X XX:X:X:XXX] State 56016 (JobManager:updateJobStatus): Job X status is: Terminated with error:
REP-56048: Engine rwEng-0 crashed, job Id: X
[2009/X/X XX:X:X:XXX] Debug 50103 (JobObject:writeLongUTF): Number of Break Index values=0
[2009/X/X XX:X:X:XXX] Debug 50103 (JobObject:writeLongUTF): String= Engine rwEng-0 crashed, job Id: X strlen=33 utflen=33
[2009/X/X XX:X:X:XXX] Debug 50103 (JobManager:notifyWaitingJobs): Master Job X notify its duplicated jobs.
[2009/X/X XX:X:X:XXX] Debug 50103 (JobManager:updateJobStatus): Finished updating job: X
[2009/X/X XX:X:X:XXX] Exception 56048 (): Engine rwEng-0 crashed, job Id: X
oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:1116)
at oracle.reports.server.JobManager.runJobLocal(JobManager.java:1912)
at oracle.reports.server.JobManager.dispatch(JobManager.java:1152)
at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1285)
at oracle.reports.server._ConnectionImplBase._invoke(_ConnectionImplBase.java:401)
at com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:280)
at com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81)
at com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:106)

[2009/X/X XX:X:X:XXX] Debug 50103 (JobManager:runJobInEngine): Encounted exception in Job X
[2009/X/X XX:X:X:XXX] Debug 50103 (ConnectionImpl:runJob): jobid = X Failed with exceptionoracle.reports.RWException: IDL:oracle/reports/RWException:1.0

 

 

 

rwEng-0.trc

[2009/X/X XX:X:X:XXX] Info 50132 (EngineImpl:setCommandLine): Get command line: ... <whole command> ......
[2009/X/X XX:X:X:XXX] Debug 50103 (EngineImpl:setCommandLine): Quit
[2009/X/X XX:X:X:XXX] Debug 50103 (EngineImpl:run): Running Jobid=X

Advanced trace option (c.dig file)

[2009/X/X XX:X:X:XXX] Diagnosis (rwsjni:CInitEngine): Diagnosis system is initialized...
[2009/X/X XX:X:X:XXX] Diagnosis (rwsjni:CInitEngine): Before calling rwsjnist_Startup()
[2009/X/X XX:X:X:XXX] Diagnosis (rwsjni:CInitEngine): After calling rwsjnist_Startup()
[2009/X/X XX:X:X:XXX] Diagnosis (rwsjni:CInitEngine): Exit
[2009/X/X XX:X:X:XXX] Diagnosis (rwsjni:CRunReport): Enter
[2009/X/X XX:X:X:XXX] Diagnosis (rxsjni:CRunReport): Run Reports ...
[2009/X/X XX:X:X:XXX] Diagnosis (rxsjni:CRunReport): Before calling CheckDirectories
[2009/X/X XX:X:X:XXX] Diagnosis (rxsjni:CRunReport): After calling CheckDirectories
[2009/X/X XX:X:X:XXX] Diagnosis (rwsjni:CRunReport): Before calling riulgf() & riulgo()
[2009/X/X XX:X:X:XXX] Diagnosis (riul:riulgf): Enter
[2009/X/X XX:X:X:XXX] Diagnosis (riul:riulgo): Enter
[2009/X/X XX:X:X:XXX] Diagnosis (riul:riulgo): Before calling rolgin()
[2009/X/X XX:X:X:XXX] Diagnosis (riul:riulgo): After calling rolgin(), succeed in logging on
[2009/X/X XX:X:X:XXX] Diagnosis (riul:riulrg): Enter
[2009/X/X XX:X:X:XXX] Diagnosis (riul:riulrg): Exit, ecod: 0
[2009/X/X XX:X:X:XXX] Diagnosis (riul:riulgo): Exit, ecod: 1
[2009/X/X XX:X:X:XXX] Diagnosis (rwsjni:CRunReport): After calling riulgf() & riulgo()
[2009/X/X XX:X:X:XXX] Diagnosis (rwsjni:CRunReport): Before calling rwsjnirr_RunReport()

or

[2009/X/X XX:X:X:XXX] Diagnosis (rwsjni:CInitEngine): Diagnosis system is initialized...
[2009/X/X XX:X:X:XXX] Diagnosis (rwsjni:CInitEngine): Before calling rwsjnist_Startup()
[2009/X/X XX:X:X:XXX] Diagnosis (rwsjni:CInitEngine): After calling rwsjnist_Startup()
[2009/X/X XX:X:X:XXX] Diagnosis (rwsjni:CInitEngine): Exit
[2009/X/X XX:X:X:XXX] Diagnosis (rwsjni:CRunReport): Enter
[2009/X/X XX:X:X:XXX] Diagnosis (rxsjni:CRunReport): Run Reports ...
[2009/X/X XX:X:X:XXX] Diagnosis (riul:riulgf): Enter
[2009/X/X XX:X:X:XXX] Diagnosis (rwsjni:CRunReport): Before calling rwsjnirr_RunReport()

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