Hi,
Try this -- in the Forms Builder menu select Edit > Preferences. Click the Runtime tab. Click Set Default, then click OK. Try running the form again.
It's possible that for some reason your OC4J is not running on port 8888. I'm not at work right now, and I don't remember how to tell what port OC4J is running on -- perhaps someone else could help out with that info.
But if it's running on a different port, correct it in your runtime preferences, in the URL that gets entered when you click Set Default. You could try using 8889 or 8890.
And....
You only get this error message if you either install Oracle 9iAS Release 2 or Oracle 9iDS on your windows machine.
Unlike Forms 6i, Forms 9i does not support client-server. A "FMB" run from the Forms Builder is a 'web deployed form.' To do this Forms 9i Builder needs to integrate with some form of HTTP Listener. This is provided by another component of the Oracle 9iDS Release 2 install - the OC4J (Oracle Container For J2EE).
If there is no HTTP Listener started FRM- 10142 occurs Once an OC4J instance has been started it acts as lightweight HTTP Listener enabling the developer to test the forms / reports application modules in a true web (even if only intranet) architecture.
If you install Oracle9iAS Release 2, then you are using the HTTP listener. Make sure that the HTTP server is on and test the listener. To test the HTTP listener, open your browser and type: http://machine_name.your_d
If you install Oracle9iDS, then you are not using the HTTP server. You will be using an OC4J instance which will act as a listener. In order to start the OC4J instance (listener) do the following:
Click on Start > Program > Oracle9i Developer Suite > FORMS Developer > Start OC4J Instance or you can find and run the "startinst.bat" file in the Developer 9i home.
Good Luck!
R.K
Main Topics
Browse All Topics





by: baonguyen1Posted on 2004-05-19 at 19:45:38ID: 11114040
Hope this helps you:
fact: Oracle Forms Developer 9.0.2
fact: Oracle Forms 9i Builder
symptom: Running forms fails
symptom: FRM-10142: The HTTP Listener is not running on <host> at
port 8888
symptom: Please start the listener or check your runtime preferences
cause: Unlike Forms 6i, Forms 9i does not support client-server. A fmb run
from the Forms Builder is a 'web deployed form.'
To do this Forms 9i Builder needs to integrate with some form of HTTP Listener.
This is provided by another component of the Oracle 9iDS Rel 2 install - the
OC4J (Oracle Container For J2EE). If there is no HTTP Listener started FRM-
10142 occurs
Once an OC4J instance has been started it acts as lightweight HTTP Listener
enabling the developer to test the forms / reports application modules in a
true web (even if only intranet) architecture.
fix:
1. Start the OC4J instance:
-> In the Start menu click,
Start\Programs\Oracle 9i Developer Suite\Reports Developer\Start OC4J Instance.
OR
-> Find and run the startinst.bat file in your Dev 9i home.
It is usually in
Dev9i home\j2ee\Oracle9iDS\
On MS Windows an MS DOS dialogue should appear indicating that an OC4J instance
has been started, simply minimize this DOS window to the taskbar
2. Then try running the form again from Forms Builder
3. Having finished with Forms Builder, to stop the OC4J instance:
- use the Stop OC4J Instance shortcut, located in same place as the Start
shortcut
or shut the DOS window)