Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps

Friday, March 27, 2009

FRM-92050 Failed to connect to the server

Srinivas reported this error after converting an instance to shared application file system:

Forms interface was not launching with this error:

FRM-92050: Failed to connect to the Server: apps11i.justanexample.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 apps11i.justanexample.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 Srini 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.

14 comments:

Chandra R Matta said...

Hi Vikram,
I have a question on application connectivity.
How can I connect from one instance to another instance.

Say. I have DEV and UAT instances.
I have a UNIX script, which is in DEV instance.Inside this script, I need to connect to UAT instance(DB user: APPS/APPS) and run one select query.

Basically, guide me where to create my TNS entry for UAT on DEV server.?

Vikram Das said...

Hi Chandra,

This is simple. The TNS entry for UAT should be in DEV and vice versa. This should be present in the TNS_ADMIN directory of your RDBMS ORACLE_HOME.

You could create a database link between Dev and UAT after making the tnsnames entry.

- Vikram

sumit pawar said...

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)


on windows...XP
I am trying to adrelink.sh force=y ranlib=y "fnd f60webmx" but same error what i do?

sumit pawar said...

FRM-92050 Failed to connect to server: Vis.oracle.com:9000

in detail it tells me...

Java Exception:
oracle.forms.engine.RunformException: FRM-92050: Failed to connect to the server:Vis.oracle.com:9000 again all correct 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.JinitAppletPanel.run(Compiled Code).at java.lang.Thread.run(Thread.java:466).

I am trying this
adrelink.sh force=y ranlib=y "fnd f60webmx"
but problem is not solved . & f60webmx is not found on FND_TOP/Bin

Vikram Das said...

Hi Sumit,

Are you getting any error when you do this

adrelink.sh force=y ranlib=y "fnd f60webmx"

?

- Vikram

Unknown said...

FRM-92050: Failed to connect to the Server: apps.ora.com:9000

Details…
Java Exception:
Java.net.SocketException: Connection reset by peer: JVM_recv n socket input stream read
At java.net.SocketInutStream.socketRead(Native Method)
At java.net.SocketInputStream.read(Unknown Source)
At oracle.forms.net.EncryptedInputStream.fill(Unknown Source)
At oracle.forms.net.EncryptedInputStream.read(Unknown Source)
At java.io.DataInputStram.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)

Unknown said...

Hello,

I'm getting the following error which is slightly different from the one that is posted by others.
I'm using 11.5.10.2 version on WIN XP. Please suggest me on this.

FRM-92050: Failed to connect to the Server: apps.ora.com:9000

Details…
Java Exception:
Java.net.SocketException: Connection reset by peer: JVM_recv n socket input stream read
At java.net.SocketInutStream.socketRead(Native Method)
At java.net.SocketInputStream.read(Unknown Source)
At oracle.forms.net.EncryptedInputStream.fill(Unknown Source)
At oracle.forms.net.EncryptedInputStream.read(Unknown Source)
At java.io.DataInputStram.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)


Thanks,
Kranthi Kumar Kontham

Rahul Kumar said...

Hi,

I am using EBS 11.5.10.2, and when I try to open the concurrent requests in IE7, the following error occurs.

"FRM-92050:Failed to connect to the server".

I tried the same in many clients using IE7, the same error is occuring. And, it is working in IE6 and IE8 very fine.

This EBS 11.5.10.2 application is installed on Solaris 9 s9_58shwpl3 SPARC.

Please revert with a solution.

Your effort towards solving this issue is appreciated.

Regards,
Rahul Kumar.

Unknown said...

Hi Vikram,

This is Leo from Fosters Group. We are using application called MARC where backend is oracle 9i EE.

Basically Marc is build in java applet application but it requires oracle forms to be up always only then users can get the application when they login using an url. Now when we try to hit the url it says"FRM-92050 - Failed to connect to Server"

Please advise me and help me out.

Anonymous said...

Hi ALL,

The solution to this problème is at this link:

http://focusthread.com/blog/oracletraining/funcional/frm-92050-failed-to-connect-to-server-formsservlet-1-applet-forms-not-opening-on-ie8/

Kindly
Hedi

Unknown said...

hi Chandra,

I have installed apps r12.1.1 on IBM AIX 6.1 server.
When i try to open the forms, i am getting the following error

FRM-92101: There was a failure in the forms server during startup. This could happen due o invalid configuration. Please look into the webserver log for details.

Details:
Java Exception
oracle.forms.net.ConnectionException:Forms session <2> failed during startup: no response from runtime process ........and follows

Kindly look into the issue at the earliest.

thanks in advance,

Regards,
Vamshi

Naresh Kumar Katam said...

thanks i had the same problem and able to solve it ........ once again thanks a lot for the post
---------- Naresh Kumar Katam

PRAKASH said...

I'm getting the following error which is slightly different from the one that is posted by others.
I'm using 11.5.10.2 version on SERVWR2003. Please suggest me on this.

FRM-92050: Failed to connect to the Server: apps.ora.com:9000

PRAKASH.G

Unknown said...

frm 92050 failed to connect to server:/forms/lservelet:-1

Details:
Java Expection
.
.
.

the same error coming to me
I am using R12.1.1 and want to opening forms in IE9
some systems working fine but few systems got this error
what could be happen
anybody wil assist to me...
thank u...