Configuring Forms Builder 10g to run (Ctrl-R) against application server

I would like to run forms from my working directory against our development application server and config, rather than having a local OC4J running. I have configured this by setting the application server URL runtime preference to "http://<server>.<domain>:80/forms/frmservlet?config=dev". This works fine.
However, when I run the Form, I get "FRM-40010: Cannot read form H:\Neil\TAF00180.fmx". This is because we open our FMBs from a locally mapped drive (i.e. I opened the FMB from H:\Neil\TAF00180.fmb). When run against the application server it seems Forms Builder trys to run an executable with the same path as the FMB - H:\Neil\TAF00180.fmx, but the application server has no knowledge of a mapped H-drive.
The only solution I can think of is to have an H-drive mapped on the application server to the same location as our locally mapped network drive.
This doesn't seem like the correct solution to me. How should we configure Oracle Forms 10g and the application server to allow us to run our own working versions against the applications server and config?

Slava Natapov wrote:
I guess Neil concern is that OC4J and Forms Server are using own formsweb.cfg and .env files
And settings can be different.
For example what if local formsweb.cfg configured to run Jinitiator, but server formsweb.cfg configured for JPI, or they configured with different lookandfeel parameter, or local and server default.env use different NLS_DATE_FORMAT?Hi Slava, Hi Neil
I think this is more related to "discipline" for the developers....
@ Neil : How many developers do you have in your team ?
Are developers allowed to "customize" their formsweb.cfg and .env files ?
or more customized basejinit.htm, registry.dat, additional jar files ... etc
or more using different oracle_home for their installation of Developer Suite.
@ Slava : Using local formsweb.cfg and .env files might not be a problem if every developer machine is installed the same way (i.e. the same oracle_home).
Also, I don't think that using workingDirectory to network shared connection for each developer is a solution
[dev1]
workingDirectory= H:/dev1
[dev2]
workingDirectory= H:/dev2
And at least this is requiring customized *.env files ! as the forms_path should be set for runtime in it for each developer.
The registry entry is only for the builder to find the path to mmb and pll files for example, and compile well, but the runtime is using *.env files.
And what about developing in windows and deploy it to linux ?
I recently managed a project with junior and undisciplined developers. The boss had the same concern about each network drive per developer.
My concern was how to eliminate all subjective considerations..
And my answer was "Subversion" no mess with local or network version with the "copy of the copy of the copy of the fmb files".
So all forms_path were set to C:\myApp\forms etc and each developer made a checkout and commit versions twice a day.
And the Application Server was also "checked out" to have the latest revision and then ran it into a pre-version for production.
If I had to make some important changes in the *.olb file or the *.pll files then I made a commit for all developers and then re-compile all *.fmb and re-commit and checkout again.
I really don't matter if the developer used jinitiator or jpi but the right working copy.
And standalone OC4J was enough to make basics tests for each developer.
More tests were made by project managers at the application server level and then adjustments (if required) where sent to developers.
Hope this helps.
Regards,
Jean-Yves

Similar Messages

  • HOST IN 10g to run batch file on application server

    Hi,
    I am trying to deploy a form from 6i to 9i. the form use Host builtin to run batch file on machine. this works fine when i run form on client server environment. but when i run the same form after compiling in 9i and run on 3 tier model and try to run batch file from form it give me error that
    'ftp' is not recognized as an internal or external command,
    operable program or batch file.
    any suggestion?

    It could be because the Host session doesn't have any environment variables set i.e. there is no PATH variable, so it simply doesn't know where to look to find the 'ftp' executable. You could try supplying the explicit path of the ftp executable and see if that works. (This was a problem I had running Host commands on a Unix application server.)
    James

  • Can't run form from Form Builder 10g - Port configuration problem?

    Hi,
    I have installed the Database (10.2.0.1.0) and the Developer Suite (10.1.2.0.2) on two Linux machines (Red Hat Enterprise Linux ES 4 Basic).
    If I enter the frmservlet-URL manually everything seems to be fine.
    In one case I enter http://127.0.0.1:8890/forms/frmservlet, in the other http://127.0.0.1:8889/forms/frmservlet; in BOTH cases I get eventually a dark square and the status bar says "Applet oracle.forms.engine.Main started".
    HOWEVER, if I create a simple form with Form Builder and click on the Button with the green traffic light ("Run Form"), the form runs only on the machine where frmservlet listens on port 8890.
    On the other machine (frmservlet configured to listen on port 8889) Firefox pops up, the URL "http://127.0.0.1:32979/6dOrpwghCqnp8PhMT7KVT533m3IaArqFbPqPBOztZXWYSsNy" gets called, and nothing else happens. The screen displays the string "ORACLE FORMS." and the status bar says "Waiting for 127.0.0.1...", and it stays like this forever.
    I assume this is a port configuration problem, but I don't have a clue where to start.
    Any suggestions how I should proceed are greatly appreciated.
    Thank you very much in advance!

    Hi Frank,
    Thank you for your reply.
    I doublechecked my configuration.
    In the dialog Edit --> Preferences --> Runtime the Application Server URL is set to "127.0.0.1:8889/forms/frmservlet".
    However, when I attempt to run the form, the URL "http://127.0.0.1:33140/W2dwbV9eXS2fPkuKlxNhCxFWdEihwDviat2uV7ycrSotqwDN" gets called.
    The screen displays the string "ORACLE FORMS." and the status bar says "Waiting for 127.0.0.1...", and that's it.
    I wonder how the port number 33140 got selected. Interestingly, this time it is a different number; last time it was port 32979. In fact, the port number seems to change each time; I tried again and now it is 33189.
    I will now try to set the port number for the frmservlet to 8890.
    I choose Edit --> Preferences --> Runtime and set the application server URL to "127.0.0.1:8890/forms/frmservlet".
    I stop the container, open /home/oracle/OraHome_1/j2ee/DevSuite/config/default-web-site.xml and change the port number to 8890:
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE web-site PUBLIC "Oracle Application Server 10g XML Web-site" "http://xmlns.oracle.com/ias/dtds/web-site.dtd">
    <!-- change the host name below to your own host name. Localhost will -->
    <!-- not work with clustering -->
    <!-- also add cluster-island attribute as below
    <web-site host="localhost" port="0" protocol="ajp13"
    display-name="Default Oracle Application Server 10g Java WebSite" cluster-island="1" >
    -->
    <web-site port="8890" protocol="http"
    display-name="Oracle Developer Suite 10g instance of Oracle Containers for J2EE Web Site">
    <!-- Uncomment the following line when using clustering -->
         <!-- <frontend host="your_host_name" port="80" /> -->
         <!-- The default web-app for this site, bound to the root -->
         <default-web-app application="default" name="defaultWebApp" root="/j2ee" />
    <!-- Do not delete this line. -->
    <web-app application="forms" name="formsweb" root="/forms" />
    <!-- -->
    <!-- <web-app application="forms" name="formsweb" root="/forms" /> -->
    <web-app application ="reports" name="web" root="/reports" />
    <web-app application = "reports" name="demo" root="/repdemo" />
         <!-- Access Log, where requests are logged to -->
         <access-log path="../log/default-web-access.log" />
    </web-site>
    I restart the container, start Form Builder, connect to the database, and open my test form.
    When attempting to run the form, the URL "http://127.0.0.1:33437/Pl0n3ky9vmU5z37A7ScBnQhsGwq3jwuzJpgTAKWPMOYIzT8K" gets called (again a new port number, apparently picked radomly within a certain range) and nothing happens: "Waiting for 127.0.0.1...".
    However, when I enter the URL http://127.0.0.1:8890/forms/frmservlet I do (eventually, after confirming that I trust the certificate etc.) get a darc rectangle and the status message "Applet oracle.forms.engine.Main started", which tells me that my setup can't be that far off target.
    Here is the output of netstat:
    [[email protected] ~]# netstat -anp --tcp
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:32769 0.0.0.0:* LISTEN 2779/rpc.statd
    tcp 0 0 0.0.0.0:23910 0.0.0.0:* LISTEN 5269/java
    tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2759/portmap
    tcp 0 0 0.0.0.0:1521 0.0.0.0:* LISTEN 4265/tnslsnr
    tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN 2983/xinetd
    tcp 0 0 127.0.0.1:7830 0.0.0.0:* LISTEN 4429/spamd --port 7
    tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2928/cupsd
    tcp 0 0 0.0.0.0:9240 0.0.0.0:* LISTEN 5269/java
    tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3002/sendmail: acce
    tcp 0 0 0.0.0.0:8890 0.0.0.0:* LISTEN 5269/java
    tcp 0 0 0.0.0.0:32795 0.0.0.0:* LISTEN 4231/ora_d000_orcl
    tcp 0 0 127.0.0.1:1521 127.0.0.1:32817 ESTABLISHED 4265/tnslsnr
    tcp 0 0 127.0.0.1:32817 127.0.0.1:1521 ESTABLISHED 4209/ora_pmon_orcl
    tcp 0 0 127.0.0.1:33425 127.0.0.1:1521 ESTABLISHED 5298/frmbld
    tcp 0 0 127.0.0.1:1521 127.0.0.1:33425 ESTABLISHED 5311/oracleorcl
    tcp 1 0 80.133.127.83:33485 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 1 0 80.133.127.83:33484 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 1 0 80.133.127.83:33494 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 1 0 80.133.127.83:33520 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 0 0 80.133.127.83:33529 209.132.177.100:443 ESTABLISHED 4060/python
    tcp 0 0 80.133.127.83:33528 209.132.177.100:443 ESTABLISHED 4060/python
    tcp 1 0 80.133.127.83:33460 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 1 0 80.133.127.83:33470 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 0 0 :::22 :::* LISTEN 2968/sshd
    tcp 0 0 ::ffff:127.0.0.1:33437 :::* LISTEN 5298/frmbld
    tcp 697 0 ::ffff:127.0.0.1:33437 ::ffff:127.0.0.1:33439 CLOSE_WAIT -
    tcp 348 0 ::ffff:127.0.0.1:33437 ::ffff:127.0.0.1:33440 CLOSE_WAIT -
    [[email protected] ~]#
    The question remains: Where do those port numbers come from?
    Regards,
    jme

  • Facing Issue while running from on desktop through oracle form builder 10g.

    Dear All,
    I am facing No plugin to show content error while trying to run oracle from on desktop through form builder 10g. please help.
    Thanks,
    Pradeep

    I am facing No plugin to show content error while trying to run oracle from on desktop through form builder 10g. What is your OS version?
    What Java version are you using?
    Have you configured your Oracle Developer Suite (ODS) 10g to run forms from the Forms Builder?
    Craig...

  • Unable to run the form from Form Builder 10g

    HI,
    I am having a problem with running a form with form builder 10g.
    I have create a form with some text boxes to display values in a table.
    When i compile and run the form it does not run The error shown is
    HTTP 403(Forbidden) You are not authorised to view this page.
    The Link used for the above is:
    http://127.0.0.1:1740/sWuCqhMKUT1btA1N5cXLCRshkJzmgKRIlCEUFd9RL520LVq0
    The port number 1740 changes everytime. I dont know why.
    I have started the OC4J instance before starting the Form Builder.
    I have made the changes to the runtime preferences in the form builder.
    http://localhost:8889/forms/frmservlet
    But it doesn't work when i try to run the form from Form Builder.
    ie Program-->Run Form
    The form works properly when using the 'Run a form on the Web Utility' provided with Developer Suite.
    Can anyone please suggest a solution. I have searched the forum but didnot find a solution.
    Thanks
    V.S.

    One of our DBAs has installed the software.
    It was a default installation, I believe, as no configuration was done during the installation except for increasing the virtual memory size.
    Post installation we changed the tnsnames.ora file and the sqlnet.ora file.
    Do i need to configure something ?
    Thanks,
    V.S.

  • Running first Form from Form Builder 10g

    Hi. I've upgraded my first 6i form to 10g. In Form Builder 10g (for Windows) I execute the form and it opens it in my Internet Explorer (IE) window instead of the traditional Oracle Run-time window.
    This is fine, except IE has a large header area that includes items like the Internet Address Field, the Search Field, the Back and Forward buttons, various icon buttons for printing, finding, the Tabbed Windows, the home button, etc.... With all this additional space taken up in the browser I don't have as much room for my canvas to display.
    Does this mean I have to adjust the canvas size for all my existing forms to fit this smaller IE area or can I somehow free up more space in the IE window by hidding all these default IE items?
    Any help would be greatly appreciated! Thanks in advance.

    Add these to your WHEN-NEW-FORM_INSTANCE trigger:
    -- browser (main) window
    set_window_property(forms_mdi_window, window_state, maximize);
    --inner window
    set_window_property('YOUR_WINDOW', window_state, maximize);

  • How to insert special character from Oracle form builder 10g

    Dear all,
    I need help. how to insert special character like 'Superscript or Subscript ' from oracle form builder 10g. I had try in Oracle form builder 6i with press ALT+ASCII code in the text item and it work, but in the oracle form builder 10g this method doesn't work... would you like to help me...somebody please...
    Best Regard,
    Dedy P.T.

    What do you mean by insert ... from Forms Builder? Do you mean you want to add it as text in a string of pl/sql code or as part of boiler plate text (label) or a value on the Property Palette?
    For special characters you would need set NLS_LANG to something that would support the characters you want to use. For the Builder to see the change, you would need to set NLS_LANG to something like:
    NLS_LANG=AMERICAN_AMERICA.UTF8
    This can be done in the Windows Registry or system. As I mentioned, this will only apply to the Builder and will have nothing to do with a running form. For running forms you would need to set this in default.env. As for things like super and sub scripts, these are font formats and not necessarily characters. For the most part, I don't believe these are supported in Forms.

  • Oracle Forms Builder 10g Questions

    Good day everyone,
    I want to start off by saying that I'm very new to Oracle Forms Builder (it was dumped on my table about a month ago) and I'm having some issues I need resolved in order to complete a project for a client.
    I'm looking mainly for documentation or resources that will show me how to do the following in Oracle Forms Builder 10g:
    * Use either the ENTER button or mouse click to navigate between mandatory fields in a form (currently only TAB works)
    * Populate a field[s] after pressing a search button based on a SQL query
    * Populate a field[s] on launch based on a SQL query
    * Throw a warning message if an SQL query returns with a specific result
    * Populate a drop down menu based on a SQL query (ie only show valid options to user)
    * Remove static highlighting (fields should only be highlighted if necessary, which is never on this particular form)

    I've been able to reduce my problem down to the fact that Oracle Forms Builder 10g is not configured correctly on my machine for my environment. I can seem to get Oracle Forms Builder to see my libraries. When I load the form I'm working on I get the following error:
    FRM-18108: Failed to load the following objects.
    Source Module:utlf_gui
    Source Object: TOOLBAR_MDI
    +... (many more of the one above)+
    I press ok and get the following error:
    FRM-10102: Cannot attach PL/SQL library sdsl. This library attachment will be lost if the module is saved.
    +... (many more of the one above)+
    From my various searches on the internet I've learned that this is because Oracle Forms Developer can not find the listed PL/SQL libraries and I should check my Environmental variables. I've set up two Environmental variables with the following:
    Forms_Path = C:\<project path>\Lib\   (This is the folder in the project folder where all the PL/SQL libraries are stored)
    Forms90_Path = C:\<project path>\Lib\   (This is the folder in the project folder where all the PL/SQL libraries are stored)
    I created both Environmental variables because there wasn't any consistency on the sites I was checking to which was needed.
    Also if I try to attack a PL/SQL library I get the following error:
    Attached library name <name> contains a non-portable directory specification. Remove path?
    I press yes or no and get the following error:
    PDE-PLI038 Cannot open file for use as a PL/SQL library.
    Any help is much appreciated.
    Edited by: ThomasBoxall on 12-Dec-2011 12:18

  • The NLS_LANG environment variable for Form Builder 10g on Linux

    Hi,
    I have installed Oracle Developer Suite 10g on Linux Enterprise AS4 successfully,and set environment variable NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK",LANG="zh_CN.UTF-8".When i executed the following: /home/oracle/Orant/bin/frmbld
    I got the error as:
    X Error of failed request:BadFont(invalid Fond parameter)
    Major opcode of failed request:56(X_ChangeGC)
    Resource id in failed request:Ox2c000af
    Serial number of failed request:3376
    Current serial number in output stream 3517
    FRM-18122: ’Form Builder Debugger.
    If i delete the NLS_LANG environment variable,the Form Builder can be running,but i can't keyboard input[b] chinese characters in the PL/SQL Editor.
    I don't know how to solve the problem,anybody can help me?

    Hello Howard,
    Check out the following link here you can find your desired NLS parameters.
    http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    And about the NLS_LANG for developer why you want to create for developer. Its is already there in REGISTRY. Just seaching in developer registry you can find there.
    how do I set more than 1 at a time.
    You can set only one NLS_LANG parameter at a time.
    -Ammad
    Edited by: Ammad Ahmed on Apr 15, 2010 8:52 PM

  • Variables Declaration in ORACLE Forms Builder 10g

    Dear Sir/Madam.
    I am new in Oracle developer suit(Forms builder 10g) .
    I want to declare three variables in Forms builder and when I press the button it will execute the querey/ retrieve data from the specific table.
    Table name= department
    Column names : dept_code number(5), dept_name varchar2(20), dept_location varchar2(25)
    Database User name; yassen
    database : test.
    Please help me to understand this problem.
    Thanks and regards,
    Ghulam Yassen
    Edited by: Ghulam Yassen on Oct 6, 2011 3:46 PM

    Yassen,
    Try,
    DECLARE
      Num_Code DEPARTMENT.DEPT_CODE%TYPE;
      Str_name  DEPARTMENT.DEPT_NAME%TYPE;
      Str_Location DEPARTMENT.DEPT_LOCATION%TYPE;
    BEGIN
       SELECT DEPT_CODE, DEPT_NAME, DEPT_LOCATION INTO Num_Code, Str_name, Str_Location FROM DEPARTMENT WHERE DEPT_CODE = <your_value>;
    END;Hope this helps.
    Regards,
    Manu.

  • Facing Problem While Opening the Form Builder 10g

    Hi Experts,
    I am Facing below Error while opening one of the developed forms in the form builder 10g. Operating system of my laptop is Window 7.
    Oracle Forms Designer Has stopped Working
    Windows can check online for a solution to the problem.
    ---> Check online for a solution and close the program
    ----> close the program
    Please provide any tips or solutions to resolve above Error.
    Thanks in advance

    Meher Irk wrote:
    Hi Experts,
    I am Facing below Error while opening one of the developed forms in the form builder 10g. Operating system of my laptop is Window 7.
    Oracle Forms Designer Has stopped Working
    Windows can check online for a solution to the problem.
    ---> Check online for a solution and close the program
    ----> close the program
    Try this..
    Open form builder.
    Make connection with database.
    Now open the form.
    Hope this works..

  • How to make Form builder 10g step into libraries *.pll while remote debug

    How to make Form builder 10g step into libraries *.pll while remote debug. It attaches fine and goes through code located in form but skips pll's. In this case I am interested in debuging CUSTOM.pll. How to step into pll's and is it possible at all?

    Is the library in the same directory or within your FORMS_PATH? Note that the runtime setting in the default.env doesn't work for the builder.
    cheers

  • Oracle Forms Builder 10g release 2 documentation?

    I'm trying to locate a book about Oracle Forms Builder 10g release 2. I'm needing a beginner's guide. I've seen the advanced techniques one, but I can't seem to find one for someone that is just starting out. Does anyone have any suggestions?

    There are a couple of books by Albert Lulushi that will give you the basics you can build upon. These are older books, but the concepts they present are still valid.
    <ul>
    <li>Developing Oracle Forms Applications (Aug 1996)
    <li>Oracle Forms Developer's Handbook (Dec 2000)
    </ul>
    Probably more helpful would be some online tutorials. Again, some of these are a little old, but the concepts are still valid for Forms 10g and 11g.
    Although a few of the following links are for older Forms versions, the concepts are still valid across all Forms versions.
    <ul>
    <li>A Tutorial on Oracle9i Forms and Reports
    <li>Tutorial for Oracle10g Forms / Reports
    <li>iSelfSchooling - Basic Introduction to Forms
    <li>Oracle Forms 10g: Demos, Tips and Techniques
    </ul>
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Can Forms 9i run on a different Application Server, e.g. Apache?

    Can Forms/Reports 9i run on a different Application Server, e.g. Apache? i.e. without needing to use 9iAS.
    It is quoted in the document "Migrating Client/Server to the web" that it may be possible, but will not be supported. Is this possible?
    The reason I ask this is due to the costs involved of 9iAS. If I can use an alternative route like Apache / Tomcat, it's free. Then I only need the developer suite licensing.
    Thanks,
    Jacques

    Just so you'll know Oracle9iAS also includes apache as the HTTP server.
    As Suncan said, if you want to use Forms on the Web you need the Forms Server engine, and it comes bundled in Oracle9iAS. You'll save yourself a lot of headache if you just install Oracle9iAS and have everything pre-configured for you thus reducing maintanance costs.

  • How to configure oracle 6i report server run time component with application server

    we got oracle 6i report server for developing the web based reports for our undergoing product. we r succesed in developing the web based reports using oracle 6i report server.But we r facing problems while deploying the product with oracle reports at clients place,why because the client does not have the oracle 6i report server. To solve this problem we have to configure the oracle 6i report server run time component with application server at client side , but we are unable to configure this component(that is CGI handler).

    You can run multiple instances of Reports Server in 6i.
    In tnsnames.ora, for each server, have a different name and each listening to different port.
    For example,
    server1.world = (ADDRESS = (PROTOCOL = TCP)(Host = myhost.mydomain.com)(Port = 1949))
    server2.world = (ADDRESS = (PROTOCOL = TCP)(Host = myhost.mydomain.com)(Port = 1950))
    Also, if you want to know about Reports Server Clustering, you may refer to "Publishing Reports" document on OTN:
    http://otn.oracle.com/docs/products/reports/pdf/A73173_01.pdf

Maybe you are looking for

  • T410 Screen/gra​phics issue

    Hi! My T410 has begun acting up a bit. The screen turns itself off after approx. 10 minutes of inactivity, even if my settings have been set to wait longer. This also occurs while viewing movies/shows in VLC, which is highly annoying (having to tap t

  • Burn playlist to disc not highlighted

    I can't click on "burn to playlist" tab in file menu. how can i get it to where I can burn to a cd?

  • I am using a 5d mark iii canon and I an unable to obtain the raw file.

    What do I need to do to be able to view and edit RAW images?

  • Where to download OCF ?

    Hi friends, I�m very excited about starting to develop smart card applications with JAVA CARD for the applets and OCF for the PC soft. I�ve bought a very interesting book which indicates i have to download the Open Card Framework (OCF) from the inter

  • HT2736 i cant buy coin in battle camp apps

    When I try to buy coin in Battle Camps apps theres a notification that the transaction failed. But when I use to buy an apps at Apps store it working correctly