Wednesday, August 24, 2011

REP-56105: Engine rwEng-0 died with Error


Hello Everyone,

We faced one more severity one issue after restarting Windows server, we unable to start report services on Oracle Application Server. Other services were up but report service is in INIT state for some time and then it gets crashes.

After checking all the logs and trace file , I have found below error/exception :

logged in the rwserver.trc file:

Exception 56105 (): Engine rwEng-0 died with error:
oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
at oracle.reports.utility.Utility.newRWException(Utility.java:758)
at oracle.reports.server.EngineManager.manage(EngineManager.java:344)
at oracle.reports.server.IdleThread.run(IdleThread.java:88)

and the following errors are logged in rwEng-0.trc file:

Exception 50125 (org.omg.CORBA.DATA_CONVERSION: vmcid: SUN minor code: 202 completed: No
at com.sun.corba.se.internal.corba.ORB.string_to_object(ORB.java:2038)
at oracle.reports.engine.RWEngine.init(RWEngine.java:290)
at oracle.reports.engine.RWEngine.main(RWEngine.java:60)
): Internal error org.omg.CORBA.DATA_CONVERSION: vmcid: SUN minor code: 202 completed: No


After researching on google and Metalink, I have found cause and resolution for the same;


Cause

Reports server uses the folder mentioned in REPORTS_TMP to create temporary files while starting up.

If the directory name mentioned in the REPORTS_TMP is not valid or if it contains spaces or if it is in a mapped drive where the logged in user does not have rights or if the drive allocated does not contain enough memory space, these errors will be shown.
Solution

Steps to Resolve:

  STEP 1. Edit the Windows registry using a registry editor

      Note:  Before you edit the registry, back it up.

   STEP 2. Navigate to the following key:

      HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEn

      Where n is the number of the ORACLE_HOME containing the installation
      (You can find the ORACLE key name in the file <ORACLE_HOME>\bin\oracle.key)

 STEP 3. Add a new String value named REPORTS_TMP and set the value to a valid directory without spaces and set it to a local drive.(for example: D:\reportstmp)


      Note: Its always recommended to set the REPORTS_TMP to C:\windows\temp.

You can also check following Metalink article for the same:

REP-56105: Engine rwEng-0 died with Error, when starting the Reports Server in Windows [ID 400855.1]

It helps me a lot; I hope it will help you too

Enjoy working with Middleware…

Regards,
Ajinkya Vichare
ajinkya-vichare.blogspot.com

10 comments:

  1. Thanks mate. I was having a similar problem. This seems to have fixed it. Jim

    ReplyDelete
  2. Thanks a lot. It was great help!!!
    Jose

    ReplyDelete
  3. Many Thanxs, its resolve my same issue too...

    ReplyDelete
  4. I hate reports, the error-message is NULL pointer exception, no useful tracing...

    This solved my problem, many thanks!

    ReplyDelete
  5. Problem resolved you are my star

    ReplyDelete
  6. Thank u very much. It was great help!!!

    ReplyDelete
  7. Thank u very muck. It was a help full article!

    ReplyDelete
  8. Thanks Buddy, it helped me a lot.

    ReplyDelete
  9. Thank you! It helps me a lot today. Nice issue, brief and full.

    ReplyDelete
  10. Thank u very much. It was great help!!!
    but it not working with HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb10g_home1
    but it done when i act on
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_DevSuiteHome1

    ReplyDelete