Saturday, November 20, 2010

APPS Issue: >> FRM-92050 Failed to connect to the server

Forms interface was not launching with this error:
FRM-92050: Failed to connect to the Server: kiranginni.working.com:8000
Details:
Java Exception:
java.io.EOFException
at java.io.DataInputStream.readInt(Unknown Source)
at oracle.forms.net.SocketConnection.connect(Unknown Source)
at oracle.forms.engine.Runform.initConnection(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I tried doing a telnet kiranginni.working.com 8000. This is a good test to see if the service is running. The service was not running. It was started through adfrmctl.sh. When I tried again, it connected but on pressing enter the connection was broken, which should not happen.
I found a direct hit in Metalink Note: 438231.1
Forms Server is up (f60webmx process is shown as a result of "ps -ef | grep f60" command) but when starting the forms server with the following command instead of adfrmctl.sh:
f60srvm em=__QA port= log=forms_log.txt mode=socket exe=f60webmx 2>&1 | tee forms_out.txt &
It returns
Failed to exec runform f60webmx
Cause
The issue is caused by the following setup: $FND_TOP/bin/f60webmx is renamed (e.g. to $FND_TOP/bin/f60webmx.sav) or removed and thus is inaccessible.
A similar issue is described in Metalink Note 1079806.6: Failed to Exec Runform when Starting Forms Server.
To relink f60webmx, I executed:
adrelink.sh force=y ranlib=y "fnd f60webmx"
It errored out with:
make -f $APPL_TOP/admin/out/link_fnd_21892.mk $FND_TOP/bin/f60webmx
Starting link of fnd executable 'f60webmx' on Fri Mar 27 16:02:14 EDT 2009
make: Fatal error: Don't know how to make target `$FND_TOP/lib/xitiap.o'
Done with link of fnd executable 'f60webmx' on Fri Mar 27 16:02:14 EDT 2009
Metalink Note 178919.1 describes this problem and sites missing file as the cause.
When I checked for $FND_TOP/lib/xitiap.o, it was indeed missing.
So I compared the number of files in $FND_TOP/lib in this instance and another instance. Total of 4 files were missing in this instance:
afpwrr.o
fdrrun.o
xitfnd.o
xitiap.o
These 4 files were copied from a working instance, and ran:
adrelink.sh force=y ranlib=y "fnd f60webmx"
f60webmx got created without any errors this time.
FRM-92050 error also disappeared as forms was able to locate f60webmx.

No comments:

Post a Comment