Home » Developer & Programmer » Forms » Oracle 9iDS
Oracle 9iDS [message #83704] Tue, 02 December 2003 10:50 Go to next message
madhuri
Messages: 12
Registered: August 2001
Junior Member
I have built a form using Oracle 9iDS form builder. I am able to compile it successfully. But when I run it I am getting an error in MS IE saying "Page can not be displayed". The title of the age is "Invalid syntax error- Microsoft Internet explorer". What should I do to run my form?
Re: Oracle 9iDS [message #83705 is a reply to message #83704] Tue, 02 December 2003 12:50 Go to previous messageGo to next message
ram kumar
Messages: 113
Registered: August 2002
Senior Member
did u start u'r ocb4j.
if should be running in order for u to see run time of forms in 9i
Thanks
Ram
Re: Oracle 9iDS [message #83710 is a reply to message #83704] Wed, 03 December 2003 00:32 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
Just my 2 cents:
1. Be careful when using long filenames or paths (like 'My Personal Directorysome other namemy first form.fmx').
2. Try assigning a different port to the OC4J:
----------------------------------------------------------------------
To Change the OC4J default Port number for Forms 9i ( IDS 9i Release 2)
-----------------------------------------------------------------------------

1. Open the file <IDS_R2_HOME>j2eeOracle9iDSconfigdefault-web-site.xml
2. Edit the line 'web-site port="8888"' to reflect the port number you wish to use
3. Save the file.
4. Stop and Restart OC4J.

Once this has been done then you will be able to run a form from the OC4J servelet
engine directly from a URL in the browser using the new port number. However, if
you wish to run the form from the builder additional changes still be need to be
made.

When running the a form from the the builder, is always uses the default port of 8888
and does not pickup the new port number. If you tried to run a form against a non
default port number, you are most likely to get a FRM-10142. Basically Forms Builder
still thinks that the port to be used is Port 8888, the default one and not the
new port Number. To get it to pick up the new port number, follow the following
steps

1. Edit --> Preferences (from within Forms Builder)
2. Click on the "Runtime" Tab.
3. Enter <machine_name><domain>:<new port number>/forms90/servlet? in the
"Application Server URL" field. Eg, http://mymachine.uk.oracle.com:8899/forms90/f90servlet?
4. Rerun form.

----------------------------------------------------------------------
MHE
Re: Oracle 9iDS [message #83718 is a reply to message #83705] Wed, 03 December 2003 07:28 Go to previous messageGo to next message
madhuri
Messages: 12
Registered: August 2001
Junior Member
Yes. I did start the OC4J and kept it running in the background.
Re: Oracle 9iDS [message #83719 is a reply to message #83710] Wed, 03 December 2003 07:50 Go to previous messageGo to next message
madhuri
Messages: 12
Registered: August 2001
Junior Member
I tried changing the port number as you suggested but it did not help me. I am trying to run the form from the form builder. I also set the runtime prefereces inside the form builder. I don't know whats wrong.
when I run the form from the form builder this is the text I am getting in the URL filed of the IE.

http://%%20"http://madhuri:8899/forms90/f90servlet?%20&form=C:oracle9iDSHomeforms90TEST_1.fmx&userid=MADHU/KOLLU@orcl&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES"
Re: Oracle 9iDS [message #83720 is a reply to message #83719] Wed, 03 December 2003 08:15 Go to previous messageGo to next message
madhuri
Messages: 12
Registered: August 2001
Junior Member
However when I opened the IE page using the url

http://madhuri:8899/forms90/f90servlet?%20&form=C:oracle9iDSHomeforms90TEST_1.fmx&userid=MADHU/KOLLU@orcl&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES"

instead of the default one

http://%%20"http://madhuri:8899/forms90/f90servlet?%20&form=C:oracle9iDSHomeforms90TEST_1.fmx&userid=MADHU/KOLLU@orcl&buffer_records=NO&debug_messages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES"

I am able to run my form. So i feel the default url the is being generated has a problem. Which file generates this URL? Do you know which file should I be tweeking?

Thank you very much for your help. I appreciate it.
Re: Oracle 9iDS [message #83758 is a reply to message #83720] Mon, 08 December 2003 07:01 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
I came across this post:

Quote:
----------------------------------------------------------------------
Hello,
I have also run against this problem.
The solution is:
In the Runtime options tab, specify not only the URL, but also the web Browser location, i.e.
C:Program FilesInternet ExplorerIEXPLORE.EXE
It worked for me -

----------------------------------------------------------------------
End Quote.

MHE
Re: Oracle 9iDS [message #84263 is a reply to message #83720] Sun, 22 February 2004 07:12 Go to previous messageGo to next message
Ram Kaarthik
Messages: 1
Registered: February 2004
Junior Member
I have my HTTP server running for Oracle 9iDatabase at port 7778
I would like to know how to find out the port number for Oracle 9iDS so that I can change the congig.xml from port 8888 to the new one.
8888 currently throws FRM 10142 error.
Re: Oracle 9iDS [message #84686 is a reply to message #83720] Sat, 17 April 2004 01:43 Go to previous messageGo to next message
madhuri
Messages: 12
Registered: August 2001
Junior Member
Hi! Madhuri,

I am facing a problem in 9iDS when I am creating a menu item in a form.I am getting them[[menu icon]] in layout editor but not in at run time.I specified fully path of that icon filename.Another thing is that when I am trying to get photo corresponding Id [[By using read Image Id in post query trigger]], I am always getting exception, no any error, but the image button is not getting photo.

Would you please inform me the way to solve that.

Thanking you.

Monowar Mukul
monowar94ru@yahoo.com
Re: Oracle 9iDS [message #84785 is a reply to message #84686] Mon, 26 April 2004 09:03 Go to previous message
Arun Rathod
Messages: 1
Registered: April 2004
Junior Member
Hi,madhuri!am facing the same problem as mukul except that its showing error....plz help me with that ..thanking u ..
Arun.
Previous Topic: calling files by relative addressing
Next Topic: Navigating on records .
Goto Forum:
  


Current Time: Fri Apr 19 22:26:42 CDT 2024