Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

FRM-92102 - A network error has occured

451826Aug 30 2005 — edited Sep 9 2005
Hi,
I'm deploying a forms 9i application on the intranet. I'm using Oracle Application Server Forms and Reports Services 9.0.4 under Red Hat Linux AS 4.0, along with an Oracle 9i Database on another server (actually multiple databases, used for benchmarking). Every time I connect from a remote PC on the network under Windows XP Pro or Windows 2003 Server, after a few seconds or minutes, I get the error message: FRM-92102 - A network error has occured after ...
I did a lot of research on the internet. I'm using Internet Explorer 6.0, so I tried from Netscape 8.0 and Netscape 7.0, but I got the same problem. I changed the networkRetries in the formsweb.cfg to 5, but it didn't change anything.
On the other hand, I installed the Oracle Application Server Forms and Reports 9.0.4 on a Windows platform and it works perfectly, with no network error problems.
Also note that the Forms 9i application uses Webutil.
So, right now, I'm a bit lost. Can anyone please tell me if there is some parameter I have to set, or something I should do to make it work?
Thanks a lot

Comments

451826
And one more thing.
I'm not using neither a firewall, nor a proxy on the Linux Server or on the client side.
orafad
Did you make sure you followed every item on the long list of pre-requisites?
451826
Hi orafad,
if you mean the list of prerequisites for the installation of the Oracle Application Server 10g under Linux, yes I did. I was having some troubles in the beginning, but then it worked fine. I installed all the necessary packages, changed all the kernel parameters, the environment variables, ... The installation was totally successful. I then configured the application server (made changes in default.env, formsweb.cfg, forms90.conf, registry.dat, webutil.cfg, ...), compiled the forms I will need for my application, along with the libraries.
And now, I'm stuck with this network error.

Thanks
orafad
What is the full FRM-92102 message?

Do you get any related errors in the server side logs?

You may want to try the Forms forum, which may be more suitable when it comes to Forms applications.
451826
Hi,
this is the full FRM-92103 message:

FRM-92102: A network error has occurred.
The Forms Client has attempted to reestablish its connection to the Server 5
time(s) without success.
Please check the network connection and try again later.
Details...
Java Exception:
oracle.forms.net.ConnectionException:500
at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
at oracle.forms.net.HTTPNStream.flush(Unknown Source)
at java.io.DataOutputStream.flush(Unknown Source)
at oracle.forms.net.StreamMessageWriter.run(Unknown Source)

On the server, no error is recorded
It is more an application server error, because it is not related to a particular form, but to any form that is loaded.
Thanks
449460
how does your .env file looks like or are you using the default.env.

In the env file you need to use the absolute path's .

Regards,

Lia
451826
Hi Lia,
I'm using the default.env file. All the path I set there are absolute paths.
I set the FORMS90_PATH to the libs and the fmx of my application (along with the forms90 path), I set the WEBUTIL_CONFIG variable to the path of th webutil.cfg file and I added to the beginning of the CLASSPATH the path to the files webutil.jar and rt.jar

Thanks
jy

Message was edited by:
user448823
449460
Have you tried Note:330165.1 from metalink.

It looks like your problem.

Lia
451826
Lia,
I already checked the note 330165.1
Its almost like my case, because in their case, they wait for about 15 to 20 minutes before they get the error. In my case, almost a soon as I login, I get the error (when I can login of course). Anyway, I tried to set the parameter session-timeout to 60 and restarted the application server but it didn't change anything.

Thanks
jy
orafad
Hmm, error code 500 should leave something in the oc4j and/or ohs logs. Also check opmn logs.

If no log info, you might want to enable session tracing (se Forms docu).

When you get the error, what does url to forms listener (/forms90/l90servlet?) produce?

Have you tried increasing retries even more? (for debugging)
451826
It's weird
I tried to set the network retries to 25, restarted the application server listener, but when the error occurred, it only retried 5 times.

I tried to look into the logs but couldn't really see what might be interesting. i checked the opmn logs. As for the oc4j and the ohs logs, where do i look for them?

I didnt understand what you meant about the url that should be produced.

Thanks
451826
It's weird
I tried to set the network retries to 25, restarted the application server listener, but when the error occurred, it only retried 5 times.

I tried to look into the logs but couldn't really see what might be interesting. i checked the opmn logs. As for the oc4j and the ohs logs, where do i look for them?

I didnt understand what you meant about the url that should be produced.

Thanks
orafad
On linux you can use
$ find /u00 -cmin -1
to see what under /u00 has changed within the minute.

When "network error" occurs, try http://srvname:7778/forms90/l90servlet or the corresponding on your site/installation.
451826
First, when the network error occurred, I ran the url on the site server. It gave me the following page:
Oracle Application Server 10g Forms Services

The Forms Listener servlet is up and running

as for the modified files during the last minute, here is what I got:

[oracle@bmlps-appser bin]$ find /u01 -cmin -1
/u01/app/oracle/product/9.0.4/reports/logs/rep_bmlps-appser
/u01/app/oracle/product/9.0.4/reports/logs/rep_bmlps-appser/rwserver.log
/u01/app/oracle/product/9.0.4/reports/server
/u01/app/oracle/product/9.0.4/reports/server/rep_bmlps-appser.dat
/u01/app/oracle/product/9.0.4/sysman/log/em-web-access.log
/u01/app/oracle/product/9.0.4/sysman/emd/state
/u01/app/oracle/product/9.0.4/sysman/emd/state/0013.dlt
/u01/app/oracle/product/9.0.4/j2ee/OC4J_BI_Forms/log/OC4J_BI_Forms_default_island_1/server.log
/u01/app/oracle/product/9.0.4/j2ee/OC4J_BI_Forms/log/OC4J_BI_Forms_default_island_1/rmi.log
/u01/app/oracle/product/9.0.4/j2ee/OC4J_BI_Forms/log/OC4J_BI_Forms_default_island_1/default-web-access.log
/u01/app/oracle/product/9.0.4/j2ee/OC4J_BI_Forms/log/OC4J_BI_Forms_default_island_1/jms.log
/u01/app/oracle/product/9.0.4/j2ee/OC4J_BI_Forms/log/OC4J_BI_Forms_default_island_1/global-application.log
/u01/app/oracle/product/9.0.4/j2ee/OC4J_BI_Forms/application-deployments/reports/OC4J_BI_Forms_default_island_1/application.log
/u01/app/oracle/product/9.0.4/j2ee/OC4J_BI_Forms/application-deployments/forms90app/OC4J_BI_Forms_default_island_1/application.log
/u01/app/oracle/product/9.0.4/j2ee/OC4J_BI_Forms/persistence/OC4J_BI_Forms_default_island_1
/u01/app/oracle/product/9.0.4/j2ee/OC4J_BI_Forms/persistence/OC4J_BI_Forms_default_island_1/transaction.state
/u01/app/oracle/product/9.0.4/j2ee/home/log/home_default_island_1/default-web-access.log
/u01/app/oracle/product/9.0.4/webcache/logs/access_log
/u01/app/oracle/product/9.0.4/opmn/logs/states
/u01/app/oracle/product/9.0.4/opmn/logs/states/p1151074367
/u01/app/oracle/product/9.0.4/opmn/logs/states/.opmndat
/u01/app/oracle/product/9.0.4/opmn/logs/OC4J~OC4J_BI_Forms~default_island~1
/u01/app/oracle/product/9.0.4/opmn/logs/ipm.log
/u01/app/oracle/product/9.0.4/Apache/Apache/logs/access_log.1125489600
/u01/app/oracle/product/9.0.4/Apache/Apache/logs/dms_metrics.28383.shm.mem
/u01/app/oracle/product/9.0.4/Apache/Apache/logs/error_log.1125489600

Thanks
orafad
Well, reproduce the error, note the time (on the server machine) and check every log file. If you dont find any errors, still you will have learned more about the info ouput to the logs :-)
451826
Hi,
after a long week of communication with Oracle Support, we finally nailed the problem and solved it.
To stop the error from occurring, I had to do the following changes to opmn.xml (under $ORACLE_HOME/opmn/conf/):

Go to the process-type tag with id="OC4J_BI_FORMS" module-id="OC4J". Under this process-type tag, go to the category tag with the id="urlping-parameters".
Replace the line <data id="/reports/rwservlet/pingserver?start=auto" value="200"/>
with <data id="/forms90/l90servlet" value="200"/>.

Then, under the line <restart timeout="720" retry="2"/>
add: <ping timeout="300" interval="20"/>

You could do all these changes through the Enterprise Manager site, under the Process Management link.

After doing the changes, restart the opmn.
That's it.
1 - 16
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 7 2005
Added on Aug 30 2005
16 comments
85,016 views