Tuesday, July 3, 2012



Forms Server Not Starting Up / Forms Server Start Up Issue



Sometimes after installing E-Business Suite R12.1.x OR after patching of R12.1.x, when one tries to access system by Forms, the following error is displayed :
FRM-92101: Forms Server
Java Exception:
oracle.forms.net.ConnectionException: Forms session <1> failed during startup: no response from runtime process
at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
In $LOG_HOME/ora/10.1.3/j2ee/<oacore, forms, oafm>/<oacore,forms,oafm>_<default_group_1>/application.log next error is displayed:

12/07/03 08:22:40.253 formsweb: Forms session <2> exception stack trace:
oracle.forms.engine.RunformException: Forms session <2> failed during startup: no response from runtime process
        at oracle.forms.servlet.RunformProcess.connect(Unknown Source)
        at oracle.forms.servlet.RunformProcess.dataToRunform(Unknown Source)
12/07/03 08:25:20.64 formsweb: Forms session <3> aborted: runtime process failed during startup with errors /u01/app/oracle/visr12/apps/tech_st/10.1.2/bin/frmweb: error while loading shared libraries: libXm.so.2: cannot open shared object file: No such file or directory
12/07/03 08:25:20.64 formsweb: Forms session <3> exception stack trace:
oracle.forms.engine.RunformException: Forms session <3> failed during startup: no response from runtime process
OR

IAS Cache initialization failed. The Distributed Caching System failed to initialize on port: 12345. The list of hosts in the distributed caching system is: 172.168.0.84 . The port 12345 should be free on each host running the JVMs.


In formsstd.out next error is displayed:
$ORACLE_HOME/bin/frmweb: error while loading shared
libraries: libXm.so.2: cannot open shared object file: No such file or directory


Cause
The issue is caused by the openmotif21 package which is missing from the system.
For example, for Oracle Enterprise Linux 5 or Red Hat Enterprise Linux 5 the missing package is:
openmotif21-2.1.30-11.EL5.i386.rpm.
Please check Note 402310.1 Oracle Applications Installation and Upgrade Notes Release 12 (12.0.4) for Linux (32-bit) in order to identify the missing RPM.


Note: Be sure you have all rpms displayed in Note 402310.1 Oracle Applications Installation and Upgrade Notes Release 12 (12.0.4) for Linux (32-bit).


Solution
To implement the solution, please execute the following steps:
1. Install package openmotif rpm.
For example, for Oracle Enterprise Linux 5 or Red Hat Enterprise Linux 5 the missing package is:
openmotif21-2.1.30-11.EL5.i386.rpm.
Download Location - 
https://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux/



openmotif21-2.1.30-11.EL5.i386.rpm2008.04.07929781fe3ecd8c86a4aad4a3a514a780
 OpenMotif 2.1 package built on and for Enterprise Linux 5 (EL5). This can also be used for RHEL5.

2. Bounce the services.
3. Retest.


Your forms application should be accessible now...