Forms servelet listener

hi,
i am trying to access the forms from my browser. Could anyone plz tell me how to access the forms listener servlet.
The tutorial asked me to access in the following manner:
http://www.server:port/servlet/f60servlet?form=........
I have intalled oracle 11i on a linux environment and iam not able to find f60servlet.
Could some one plz help me.
thanks,
ash

Hi,
The Listener servlet can be accessed by:
http://servername:port/servlet/l60servlet
by this you can see if its running or not.
Ahmed

Similar Messages

  • How to start Forms Server listener automatically?

    hi...
    i use forms 5.0 on Windows NT for the web. i want to start forms
    server listenner automatic same as WWW listener. because i must
    logon on Windows NT before start forms server listener.
    thank you very much.
    jibjoi
    null

    Product you are looking for is called svrany.exe
    and comes with tge nt3.51 resource pack which can be used
    with nt4.0. I have used it and it works fine.
    M. Schulze (guest) wrote:
    : jibjoi (guest) wrote:
    : : hi...
    : : i use forms 5.0 on Windows NT for the web. i want to start
    : forms
    : : server listenner automatic same as WWW listener. because i
    : must
    : : logon on Windows NT before start forms server listener.
    : : thank you very much.
    : : jibjoi
    : I think a forms server version which comes as a NT service will
    : be (or perhaps already is) available from Oracle.
    : In the meantime you can use a tool from Microsoft which is
    : called service-it or something. This is also an NT-service
    which
    : only calls a custom executable. Check MS Technet for this
    one...
    null

  • Forms Server Listener

    Hi there,
    When I load Forms5.0 with Forms Server Listener on Windows 2000,
    then it gives an error message that Webforms being loaded is
    compatible with WinNT4.0. If there is any solution or workaround
    to it, then please let me know.
    Arvind Sareen
    null

    Arvind (guest) wrote:
    : Hi there,
    : When I load Forms5.0 with Forms Server Listener on Windows
    2000,
    : then it gives an error message that Webforms being loaded is
    : compatible with WinNT4.0. If there is any solution or
    workaround
    : to it, then please let me know.
    : Arvind Sareen
    There is no workaround, the listener checks for the version of
    the O/S being run for a specific reason.
    We do not currently support running ODS on W2000.
    JMP -- Oracle Enterprise Internet Tools Product Managment --
    null

  • Changing port that number Forms services listens on

    I currently starts my forms like follows:
    http://<computer name>:8889/forms/frmservlet?<cgicmd.dat map entry string>
    I would like to change the port to something other than 8889, what do I need to do to get this changed? Is it just changing it in a bunch of configuration files then shutting some services down and restarting them to get them to gather the new settings?
    FYI: I'm using OAS 10g v2 on XP Pro...
    Thank you in advance,
    Wes Gibbs
    [email protected]

    Yes.. that's the way in your deplyment.
    For others interested, when Apache/Webcache is the one that listen the requets, you should change the port via Enterprise Manager following this docs
    http://download-east.oracle.com/docs/cd/B14099_19/core.1012/b13995/ports.htm#i1032441

  • 9i Forms Developer Listener

    I recently loaded 9i Developer Suite. I can connect to my database no problem. When I try to compile a form I get an error saying HTTP listener not running on <computer_name> at port 8888. I'm a student and do not know alot about ports, but 9i is using port 1521 so what should the port be for Form Builder. I already started 0C4J Instance from the menu. HELP!!! Every student in my class has the same error.

    Frank:
    Thanks for your reply.
    I have pinged the server by name and it is working OK.
    As far as configuring the middle tier server,,,, I’m not sure. I do not recall there being a configuration setting for the middle tier server during the installation process.
    I have installed the 9iDS Developer only on the Workstation (nothing has been installed or configured on the Win2K3 server that has the DB). I followed the installer sequence designating the installation as a RAD (Rapid Application Development) type. The installation froze at the point where the installer starts the Oracle Net Configuration Assistant. After shutting down the installer I ran the Oracle Net Configuration Assist program and set up the default listener and the Local Net Service Name options. After completing the Net Service Names configuration I tested the configuration with successful results.
    After fussing around with the TNSnames file and the listener files I feel I have broken something because I can no longer create or edit Local Net Service Names with the assistant. As time permits I plan to uninstall 9iDS then re-install to attempt to fix this last problem.
    If you have other comments I will read them gratefully.
    Chris

  • Web Forms Not working on Client Machines with Separate Win

    Hi friends,
    We deployed all our Forms on web and we are using Developer
    Server 6.0 ,OAS 4.07, Oracle Jinitator 1.1.7.18 ,Netscape 4.7
    Browser
    My problem is we configured forms to open in a separate window
    this is giving problems on Client Machines they are getting a
    blank screen ,previously we used to open forms in the same window
    (browser ) at that time we didn't get any problem.
    We are using Oracle Jinitiator 1.1.7.18 & Netscape 4.7 as
    browser on Client Machines.
    Thanks in Advance...!
    Smita T
    null

    JInitiator will be downloaded only once - the first time when u connect to a web-forms application. After that - no problem. It is true that the first time it takes a little bit longer, but I think forms are working better using JInitiator. However - it is just a matter of settings how u will make your application to run. Oracle did great improvement of the speed introducing the forms servlet listener. I would expect even better performance with Forms9i. And Win2000 is not a problem, but combination between Win2000 and Pentium4 is. There is a way to avoid your (installation) problems however.

  • Forms Server Install on Redhat Linux 7.0

    I am attempting to install Forms6i/Reports6i/Graphics6i on my Linux Box.
    I already have a 8.1.6 Database configured and running.
    After downloading the tar file and extracting it I am having trouble with the installation of the software. The Guide refers to running the orainstal shell script in the orinstall directory. Well when I execute the script I get a Character Installer and I was expecting the Java based Gui Installer such as the one with Oracle 8i DB. I cannot get the oraviewer program to work either for I wanted to see if there were some other setting I am not executing correctly.
    When I continue with the Char Installer it has trouble finding a lib called X11m.a or something (Motif related).
    Does Forms 6i require Motif? If so where and how do I get it for my Linux box? Are there any work arounds for this.
    Any help is greatly apprecicated.
    Thanks

    Hello Shawn,
    Yes, you need motif libraries. You can obtain it for free from: http://www.metrolink.com/products/Motif/download.html
    I installed both runtime and development packages.
    Aditionally you may ned to have X-devel packages installed.
    After struggling with Forms installation on my linux machine I managed to do this, but let me tell you that it's not so simple. First of all please excuse my bad English, I'm not a native speaker. Anyway that's how I did it.
    I assume that you downloaded the file d2k6irelease2.tar from technet. This file includes Forms 6i rel. 2 Server and Developer.
    I managed to install this on my RedHat 7.1 machine having already installed Oracle 8.1.7 database Server.
    First of I created a separate user which owns Forms Server software. I set this user as belonging to the same group ("dba" in my case) as the oracle database software owner. (On my machine I have "oracle" user which owns databse server belonging to the "dba" group and "forms" user belonging also to the "dba" group). You must set your environment like this (in ".bash-profile" in my case):
    -- Begin .bash_profile file
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    unset LANG
    PATH=$PATH:$HOME/bin
    BASH_ENV=$HOME/.bashrc
    ORACLE_BASE=/oracle
    ORACLE_HOME=$ORACLE_BASE/product/forms
    ORACLE_SID=forms
    ORACLE_AUTOREG=$ORACLE_HOME/guicommon/tk60/admin
    TNS_ADMIN=$ORACLE_HOME/network/admin/tnsnames.ora
    ORACLE_TERM=vt220
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    TWO_TASK=oratest
    MMTK_AVIPLAYER="xanim %s &"
    PATH=$PATH:$ORACLE_HOME/bin
    DISPLAY=TEST_MACHINE:0.0
    export ORACLE_BASE ORACLE_HOME LD_LIBRARY_PATH TWO_TASK MMTK_AVIPLAYER
    export TNS_ADMIN DISPLAY ORACLE_AUTOREG ORACLE_TERM ORACLE_SID
    export BASH_ENV PATH
    unset USERNAME
    -- End .bash_profile file
    As you can see I set up ORACLE_BASE to the same ORACLE_BASE as database software ORACLE_BASE, a new ORACLE_HOME, a dummy ORACLE_SID, TWO_TASK to the sid of your 8.1.6 server instance, TNS_ADMIN pointing to a directory which I created manually before starting the installer (see below my "tnsnames.ora" file under this manually created directory), ORACLE_AUTOREG, ORACLE_TERM, DISPLAY set to your_hostname:0.0, LD_LIBRARY_PATH as seen, MMTK_AVIPLAYER is for playing ".avi' files (I didn't tried this). You may need to "chmod 775" on your $ORACLE_HOME directory from the database user account.
    -- Begin "tnsnames.ora" file
    ORATEST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = TEST_MACHINE)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = oratest)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    -- End "tnsnames.ora" file
    I untared d2k6irelease2.tar under a subdirectory created under "forms" home directory. In "unixdoc/Server" directory you will find linux_svr.pdf instructions for installation of Forms server and under "unixdoc/Developer" you will find linux_dev.pdf instructions for Developer Server. "oraview" didn't worked for me either. GUI installer didn't worked for me either. Chnaging to orainst you may issue ./orainst command and start the installation in character mode (I did not even started an X session). I choosed default install, do not create database objects (I think you will be able to install later this objects by running some sql scripts, I didn't). And I choosed all components presented and all options and default port parameters. You will also be prompted to confirm locations of the motif libraries. I choosed http mode for forms server. Do not install Reports security feature (I've heard that it's not working, this option will be presented to you somewhere at the end of installation). After finishing you may need to edit "forms60_server" file and some other files. For example I had to change my "host_name.domain_name" (in my case was "TEST_MACHINE.(none)") to my IP address as I don't have a DNS server here.
    That's what I did to test forms server:
    I wanted to test my Forms server by running Apache web server (the one that is installed by default by linux). (in the documetation you will find references to the WebDB listener which as far as I know is no longer installed in release 2, so the documentation is obsolete regarding this module). For this you will have to edit /etc/httpd/conf/httpd.conf file. Look for the section "Alias" and "AliasScript". under your forms $ORACLE_HOME/orainst you will find two files "forms6iconfig.txt" and "reports6iconfig.txt". You will find there actions to be performed by you manually. in "forms6iconfig.txt" file you will find virtual mappings for physical directories. You have to put this entries in "httpd.conf" file. You must edit this file as "root". For example 'Alias /dev60temp/ "/oracle/product/forms/tools/web60/temp/"'. The exception I made was for "/dev60cgi" virtaul mapping which I've put under ScriptAlias section 'ScriptAlias /dev60cgi/ "/oracle/product/forms/tools/web60/cgi/"'.
    After succesfully editing the file you will ned to restart http server:
    #/etc/rc.d/init.d/httpd restart
    Login again as "forms" user.
    In $ORACLE_HOME directory isuue:
    $./forms60_server start
    This will start your forms server listener.
    After that you can test your forms server running from an external machine by entering: http://ip_addres_of_linux_machine/dev60html/runform.htm
    and after completing parameters you will see "text.fmx" form applet saying that Forms server is installed corectlly or directly: http://ip_addres_of_linux_machine/dev60cgi/f60cgi
    You have to install Jinitiator to view the applet. It will be prompted for you to download it when accessing the above address.
    To be honest I was disapointed to see that forms server is very slow. And I mean very slow.
    In the end please let me excuse if I wasn't clear in some points. If you have any questions please post them on the list. I'm not an expert and I may have made mistakes, but in the same time I hope this will help you setting up forms server on your linux box.
    I forgot to mention that you will probably see a message saying that "formsweb.cfg was not found" when accesing "http://..../f60cgi". If you see this you have to options: either make a symlink "forms60" in the root directory to $ORACLE_HOME/forms60 directory or add a line in your "httpd.conf" file (I put this lines the last ones):
    #Include 6iserver configuration file for setting formsweb.cfg path
    include "/developer_home/conf/6iserver.conf"
    And in $ORACLE_HOME create a directory named "conf". In this directory create a file named "6iserver.conf" and put the following line in it:
    SetEnv FORMS60_WEB_CONFIG_FILE /developer_home/forms60/server/formsweb.cfg
    This will set your environment correctly and you will be able to see the test form. Don't forget to restart apache web server and forms listener.
    Kindly,
    Codrut Octavian Popescu

  • New on forms server 6i : need help

    Hi,
    I have installed a web sever that have to use Form Server Listener to read .fmx file on the website.
    When I launch my web page, all the classes are founded and imported, IExplorer indicate applet initialized, But I have no picture from the applet... the form where the applet have to be executed is a white page and the server isn't displaying any error.
    - My web server is correctly configured (I've tried with OAS and IIS)
    - The HTML pages are correct (website is running on an other server)
    - Ifsrv60 and Ifweb60 are running
    - My environement variables seems to be correct and my registry entries too.
    - No problem with the database connection
    I also got this error on Java Console
    Following Exception occured: sun.applet.AppletSecurityException: checkconnect.networkhost3
    sun.applet.AppletSecurityException: checkconnect.networkhost3
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(RuntimeException.java:50)
    at java.lang.SecurityException.<init>(SecurityException.java:42)
    at sun.applet.AppletSecurityException.<init>(AppletSecurityException.java:29)
    at sun.applet.AppletSecurityException.<init>(AppletSecurityException.java:34)
    at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:643)
    at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:666)
    at sun.applet.AppletSecurity.checkConnect(AppletSecurity.java:566)
    at sun.plugin.ActivatorAppletContext.getImage(ActivatorAppletContext.java:65)
    at java.applet.Applet.getImage(Applet.java:197)
    at oracle.forms.engine.FormsImageLoader.loadFormsImage(Unknown Source)
    at oracle.forms.engine.FormsImageLoader.getDefaultImage(Unknown Source)
    at oracle.forms.engine.Main.getDefaultImage(Unknown Source)
    at oracle.forms.engine.Main.getParamImage(Unknown Source)
    at oracle.forms.engine.Main.getLogo(Unknown Source)
    at oracle.forms.engine.Main.initDesktop(Compiled Code)
    at oracle.forms.engine.Main.start(Unknown Source)
    at sun.applet.JinitAppletPanel.run(Compiled Code)
    at java.lang.Thread.run(Thread.java:466)
    Does anyone Knows where the problem could come from. Any suggestion will be welcomed.
    null

    Hi,
    it seems that you Java VM doesn't allow a connection to a server on you network.
    You'd better try to configure your HTML file or CGI environment to use Oracle JInitiator.
    Otherwise you need to use IE 5.0 and configure it's security so that it allows you to connect to the correct host.
    HTH,
    Michael

  • Dreaded forms web deployment...

    Conf -
    Oracle 8i, diffent home.
    OAS 4.0.8, differet home.
    Dev6 different home.
    Has anyone successfully implemented the CWEB Cartridge on OAS 4.0.8. and managed to call their forms from a Netscapre browser. I have followed the documentation from the On-line manual and other books but no joy.
    I have however noticed that, under the "Web Parameters" node in the "Configuration" section of my cartridge, there is no Listener selection box even though the doucumentation states there is.
    I have configured a listener and the status is UP.
    I am new to the forum so maybe this has been dealt with already. Can anyone shed some light.
    Thanks

    For Jinitiator, you should also modify the jinit_download.htm. Make sure that it is points to the correct jinit.exe file. Or if don't want to modify the html file, you can just ftp the jinit.exe file to the client and install it there by just executing the jinit.exe file.
    I used 90 for the webserver port number because there was another non-ORACLE process that was using 80. If you're using 80 which is the default port of the webserver(WWW HTTP listener in OAS Manager) make sure that it is up and running. Also make sure that you turn on the forms server listener process, you can do this by running this command 'ifsrv60 -listen [port_number]'. If you don't specify the a port number it will default to port 9000. So to access your web apps you will type something like this in you browser
    'http://www.abc.com:80/web_html/static_jinit.html'.
    Also try adding a userid=user/password@datasource in your static_jinit.html.
    Example:
    serverArgs="module=d:\gcrs_dev\formsdev\gcrsmain.fmx userid=scott/tiger@orcl"
    Good luck.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Zeuser:
    Roncab,
    Thanks for the reply. I have carried out the static immplementation but after the clicking the download button for the JInitiator, the environment window appears with a button requesting to "Click after download". On clicking this button nothing happens.
    Secondly, I am able to add & configure a new listener but unable to call it. Are you using a port other than 80? If you are then you might have problems. The other strange thing is I cannnot access my page configured for port 80 from another machine.
    I haven't installed patch 6a yet, so maybe this might fix my problems. However I am using Dev6 downloaded from technet and the readme notes mention that the patch may work only on production versions, hence my reluctance.
    Below is the start page I am using. Maybe you can spot any errors.
    Cheers
    <HTML>
    <!-- FILE: static_jinit.html -->
    <!-- Oracle Static (Non-Cartridge) HTML File Template (Windows NT) -->
    <!-- Tags and parameters have been modified for Oracle JInitiator -->
    <HEAD><TITLE>Developer Server and Oracle JInitiator</TITLE></HEAD>
    <BODY>
    <P>
    <OBJECT classid="clsid:020f6116-407b-11d3-a3bb-00c04fa32518"
    <EMBED type="application/x-jinit-applet;version=1.1.7.18"
    java_CODE="oracle.forms.engine.Main"
    java_CODEBASE="/web_code60/"
    java_ARCHIVE="/web_jars60/f60all.jar, /web_jars60/oracle_ice-4_03_1.jar"
    WIDTH=800
    HEIGHT=600
    serverPort="9000"
    serverArgs="module=d:\gcrs_dev\formsdev\gcrsmain.fmx running_mode='WEB'"
    serverApp="default"
    separateFrame="true"
    lookAndFeel="Oracle"
    pluginspage="http://acme.com/web_code60/jinit_download.htm">
    <NOEMBED>
    </NOEMBED></EMBED>
    </BODY>
    </HTML>>>></EMBED>
    </OBJECT>
    </BODY><HR></BLOCKQUOTE>
    null

  • ERROR FRM-99999 USING FORMS SERVER

    I'm trying to deploy new applications on the Web using OAS and
    Developer Server. When I am trying to connect via the browser or
    via the appletviewer to a simple form in Developer Server I get
    this error in the Oracle Developer Forms Runtime - Web window:
    FRM-99999: A network error ocurred, the client will not be able
    to continue
    Details...
    Java Exception:
    java.net.SocketException: Connection reset by peer
    at java.net.SocketInputStream.read(Compiled Code)
    at oracle.forms.net.EncryptedInputStream.fill(Compiled Code)
    at
    oracle.forms.net.EncryptedInputStream.read(EncryptedInputStream.j
    ava)
    at java.io.DataInputStream.readUnsignedByte(Compiled Code)
    at oracle.forms.engine.Message.readDetails(Compiled Code)
    at oracle.forms.engine.Message.readDetails(Message.java)
    at oracle.forms.net.StreamMessageReader.run(Compiled Code)
    I've installed and configurated the next two differents
    environments:
    OPTION #1
    Windows NT 4.0 with Service Pack 3
    Oracle RDBMS 7.3.4
    Oracle Application Server 4.0.7.0.0
    Oracle Developer 6.0.5.0.2
    Netscape 4.5 and Explorer 5
    Jinititator 1.1.7.11 and Jinitiator 1.1.5.3
    JDK Applet Viewer 1.1.7.11
    OPTION #2
    Windows NT 4.0 with Service Pack 5
    Patch for OAS (OAS_40710_Patch_40bit)
    Oracle RDBMS 8.0.5
    Oracle Application Server 4.0.7.0.0
    Oracle Developer 6.0.5.0.2
    Netscape 4.5 and Explorer 5
    Jinititator 1.1.7.11 and Jinitiator 1.1.5.3
    JDK Applet Viewer 1.1.7.11
    I've tried sockets and http-sockets for the Forms Server
    Listener, but I always get that error and sometimes the Applet
    window doesn3t respond and nothing seems to happen.
    I would like to know if somebody has go this situation throw.
    Thank you very much in advance.
    null

    Hi,
    To use the Webutil, you must sign the WEBUTIL.JAR and JACOB.JAR.
    Using Jarsigner, you have to define the JDK Home and the Jinitiator home.
    I used whe jdk version 1.4.2 and the Jinitiator version 1.3.1.17
    Don't forget to apply this modification.
    Insert the line
    <virtual-directory virtual-path="/webutil" real-path="D:\Forms9i\forms90\webutil" />
    in the file
    $ORACLE_HOME$\j2ee\Oracle9iDS\application-deployments\forms\forms90web\orion-web.xml
    Insert the line
    AliasMatch ^/forms90/webutil/(..*) "D:\Forms9i\forms90\webutil/$1"
    in the file
    $ORACLE_HOME$/forms90/server/forms90.conf
    Of course You have to replace D:\forms9i with your Oracle Home.
    L.

  • Starting Oracle 8i listener when under stand alone Windows NT 4.0 workstation.

    Hi,
    I am finding it difficult to start oracle listener under a stand alone Windows NT4.0 workstation. My NT machine is stand alone and not connected to any n/w. Since I was not able to bring up listener, I was not able to create any database. I have installed Oracle8i Enterprise Edition on my machine. Please help.
    -- Shesha

    Dear Philip,
    I have attached the listener.ora and tnsnames.ora.
    listener.ora
    # LISTENER.ORA Network Configuration File: D:\Oracle\Ora81\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS = (KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ASHWIN)(PORT = 1521))
    (DESCRIPTION =
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    (ADDRESS = (PROTOCOL = TCP)(HOST = ASHWIN)(PORT = 2481))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ashwin.sheernali)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (SID_NAME = ashwin)
    tnsnames.ora
    ASHWIN.SHEERNALI =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ASHWIN)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ashwin.sheernali)
    Also, I am getting the following error messages when tried with "lsnrctl start" command at command prompt.
    TNSLSNR for 32 bit Windows version 8.1.6.00 - Production
    System parameter file is D:\Oracle\Ora81\network\admin\listener.ora
    Log Message written to D:\Oracle\Ora81\network\log\listener.log
    Listening on (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0IPC)))
    Attempted to listen on (DESCRIPTION=(ADDRESS=(KEY=EXTPROC0)))
    TNS-12538: TNS: no such protocol adapter
    TNS-12560: TNS: protocol adapter error.
    TNS-00508: No such protocol adapter.
    Thanks for everything.
    I will use the simplest forms of listener.ora and tnsnames.ora, as suggested in your mail and try tonight.
    -Shesha
    null

  • ADF Forms Issue

    Hi All,
    I am fairly new to JDeveloper so please bear with me.
    Based on the ADF Tutorial for Forms/4GL developers I have developed a simple ADF form that edits data on a database table. The table is built from a data control, has bound managed session beans for each of the editable items and has 2 simple command buttons - 1 to submit changes to the form (action listener -> commit), the other to rollback (action listener - rollback)
    The form compiles OK and then runs OK via the OC4J Embedded Server.
    However when trying to use the command buttons to perform a submit changes or to rollback the operation is not performed and it also looks as though the resulting redirecting URL is not correct. The original URL appears on the link with just the # (hash) sign appearing after it e.g.
    http://10.101.7.34:8989/Data_Maintenance-Data_Maintenace-context-root/faces/app/grademaintain.jspx
    becomes after clicking on a command button -
    http://10.101.7.34:8989/Data_Maintenance-Data_Maintenace-context-root/faces/app/grademaintain.jspx#
    I have also noticed that the range selector on the table is also not working and displays the second URL above.
    Can anyone advise what I am doing wrong and why JDeveloper may be doing this ?
    Please find source for the page below :-
    ============================================================
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <afh:html>
    <afh:head title="grademaintain_edit">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
    <h:form>
    <af:messages/>
    <h:form>
    <h:form>
    <af:panelPage title="#{res['fpgrademaintain.pageTitle']}">
    <f:facet name="menu1"/>
    <f:facet name="menuGlobal"/>
    <f:facet name="branding">
    <h:graphicImage height="85" width="137"
    url="/images/ids_logo2.JPG"/>
    </f:facet>
    <f:facet name="brandingApp"/>
    <f:facet name="appCopyright"/>
    <f:facet name="appPrivacy"/>
    <f:facet name="appAbout"/>
    <af:table value="#{bindings.GradeVwView1.collectionModel}"
    var="row" rows="#{bindings.GradeVwView1.rangeSize}"
    first="#{bindings.GradeVwView1.rangeStart}"
    emptyText="#{bindings.GradeVwView1.viewable ? 'No rows yet.' : 'Access Denied.'}">
    <af:column sortProperty="GradeId" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.GradeId}">
    <af:inputText value="#{row.GradeId}"
    required="#{bindings.GradeVwView1.attrDefs.GradeId.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.GradeId.displayWidth}"
    autoSubmit="true"
    binding="#{backing_app_grademain_edit.inputText1}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.GradeVwView1.formats.GradeId}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="ChannelId" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.ChannelId}">
    <af:inputText value="#{row.ChannelId}"
    required="#{bindings.GradeVwView1.attrDefs.ChannelId.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.ChannelId.displayWidth}"
    autoSubmit="true" disabled="true">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.GradeVwView1.formats.ChannelId}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="Channel" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.Channel}">
    <h:inputText value="#{row.Channel}"
    binding="#{backing_app_grademain_edit.inputText3}"/>
    </af:column>
    <af:column sortProperty="Grade" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.Grade}">
    <af:inputText value="#{row.Grade}"
    required="#{bindings.GradeVwView1.attrDefs.Grade.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.Grade.displayWidth}"
    autoSubmit="true"
    binding="#{backing_app_grademain_edit.inputText4}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.GradeVwView1.formats.Grade}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="ValueFrom" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.ValueFrom}">
    <af:inputText value="#{row.ValueFrom}"
    required="#{bindings.GradeVwView1.attrDefs.ValueFrom.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.ValueFrom.displayWidth}"
    binding="#{backing_app_grademain_edit.inputText5}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.GradeVwView1.formats.ValueFrom}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="ValueTo" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.ValueTo}">
    <af:inputText value="#{row.ValueTo}"
    required="#{bindings.GradeVwView1.attrDefs.ValueTo.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.ValueTo.displayWidth}"
    autoSubmit="true"
    binding="#{backing_app_grademain_edit.inputText6}">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.GradeVwView1.formats.ValueTo}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="EffFromDate" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.EffFromDate}">
    <af:inputText value="#{row.EffFromDate}"
    required="#{bindings.GradeVwView1.attrDefs.EffFromDate.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.EffFromDate.displayWidth}"
    autoSubmit="true"
    binding="#{backing_app_grademain_edit.inputText7}">
    <f:convertDateTime pattern="#{bindings.GradeVwView1.formats.EffFromDate}"/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="EffToDate" sortable="true"
    headerText="#{bindings.GradeVwView1.labels.EffToDate}">
    <af:inputText value="#{row.EffToDate}"
    required="#{bindings.GradeVwView1.attrDefs.EffToDate.mandatory}"
    columns="#{bindings.GradeVwView1.attrHints.EffToDate.displayWidth}"
    autoSubmit="true"
    binding="#{backing_app_grademain_edit.inputText8}">
    <f:convertDateTime pattern="#{bindings.GradeVwView1.formats.EffToDate}"/>
    </af:inputText>
    </af:column>
    </af:table>
    <af:commandButton actionListener="#{bindings.Commit.execute}"
    text="Submit Changes"
    action="Home"
    binding="#{backing_app_grademain_edit.commandButton1}"/>
    <af:commandButton actionListener="#{bindings.Rollback.execute}"
    text="Rollback"
    immediate="true" action="Home"
    binding="#{backing_app_grademain_edit.commandButton2}">
    <af:resetActionListener/>
    </af:commandButton>
    </af:panelPage>
    </h:form>
    </h:form>
    </h:form>
    </afh:body>
    </afh:html>
    </f:view>
    </jsp:root>
    ===========================================================
    Many thanks for your help in advance.
    Cheers,
    Gary

    Hi Gary,
    I'll just clear a couple of things up first.
    Both the command buttons and the range selector on the table should be pointing to that URL you mention (with the hash). This is the way that JSF/ADF works. Even if you have specified that a navigation case should redirect, it still first fires a request to the current page.
    As far as I can see, there is no obvious problem with your page code. There are some things I would do.
    1. You have three h:form components in your page. Remove the two below the af:messages component. You only need one form.
    2. Check that there exist Commit and Rollback executables in the page definition file (right-click on page and select Go to Page Definition).
    3. Check that there exists a navigation case from this page to the home page and that it is named Home (Look in the faces-config.xml file).

  • Forms Services for 6i

    Hi,
    I m using Oracle Forms 6i. The Forms services stops automatically without throwing any error. The no. of connections are also not very high. The CPU usage is not more than 26%. The event viewer says the following:
    'The Oracle Forms Server [Forms60Server] service terminated unexpectedly. It has done this 1 time(s). The following corrective action will be taken in 0 milliseconds: No action.' or
    'The Oracle Forms Server service terminated with service specific error 2'
    On the application end I get the following error:
    'FRM-92050: Failed to connect to the server: frmappint.us.ul.com:9000'
    Please advise what can I do to resolve this issue.

    Hi,
    the best advice I can give is to upgrade to anything newer that supports the Forms Servlet listener architecture (since Forms 6i patch 4 and Oracle Application Server 9.0.1)
    Frank

  • Using JMS and Advanced Queuing within forms.

    I am wondering if anyone can forsee problems with embedding a javabean inside a form that:
    listens to an Oracle queue.
    Do you think there would be some type of problem with a connection factory trying to create a connection and a session from within forms using JDBC?
    Thanks in advance

    Sandu,you are right.
    A Forms timer with status polling is a good and stabil solution .
    But we are connected on a database and a polling of a database event - Job is finished, or a reply received in a Queue -
    is always a network traffic and overhead when we use polling times < 1 min ..
    It would be also a good solution and interesting feature of Forms that the database event sends a message to the waiting client (process ?) ..

  • What am I doing wrong here trying to deploy forms?

    I am trying to deploy forms for the first time, but it's not
    working. I would love to hear anyone's advice on what I am
    doing wrong. Here are the steps that I did to try to get them
    deployed using OAS 4.0.7.1.0 and Developer 6 Server. Please let
    me know if I missed steps or have unecessary ones.
    1) created Forms listener in OAS Manager with port 5555. (is
    this unecessary)
    2) created forms web cartridge with virtual path = webcart
    3) configured the cartridge configuration code =
    oracle.forms.engine.Main , codebase=forms60code, baseHTML = c:
    \orant\webhtml\forms60cart.htm, HTMLdelimiter=%
    4) created forms service by typing ifsrv60 -install...but I
    think this is unecessary b/c I could just click the
    START...PROGRAMS...Developer 6...forms server listener
    5) changed the cartrid.htm template file. i changed the default
    file called forms60cart.htm >> I changed these
    codebase=forms60code ,code=oracle.forms.engine.Main,
    serverport=5555, serverArgs module=emp.fmb (which template ones
    should I be modifying)
    6) put this new htm file into my orant/webhtml directory
    7) I get the requested url was not found when I call up
    http://machine.domain:5555/webcart/forms60cart.htm (is this the
    form listner port 5555, or should it be the one that is
    generated from opening forms server listener from the start
    menu. is that the default port 80?
    thanks for any response back
    null

    Hi. I have experienced developer server.
    : 1) created Forms listener in OAS Manager with port 5555. (is
    : this unecessary)
    -> 5555 is a port for web listener(httpd).
    you can use any existing listener.
    : 4) created forms service by typing ifsrv60 -install...but I
    : think this is unecessary b/c I could just click the
    : START...PROGRAMS...Developer 6...forms server listener
    -> in this case, forms server uses port 9000 by default.
    and oas indicates 9000 as default forms listener port,
    if there is no specification. you can use 9001,9002...
    I recommend to specify this in your html file
    as serverport.
    : 5) changed the cartrid.htm template file. i changed the
    default
    : file called forms60cart.htm >> I changed these
    : codebase=forms60code ,code=oracle.forms.engine.Main,
    : serverport=5555, serverArgs module=emp.fmb (which template ones
    : should I be modifying)
    -> serverport shoud not be 5555. 9000 by default.
    and I think module=emp.fmx is right.
    and now call http://machine.domain:5555/webcart/forms60cart.htm
    good luck.
    null

Maybe you are looking for