Call forms and reports through a hierarchical tree node.

Hello,
I am new in pl/sql programming and I have some dificulties. I have created a hierarchical tree, in order to use it as a menu in an application that I am trying to develope. The problem is that I do not know how can I make the last nodes to be either a form or a report and when somebody double clicks on these nodes the form or the report will run. What is more, should I use the when-tree-node-selected trigger or the when-tree-node-activated? I use forms 6i.
Thank you in advance,
Vag
Message was edited by:
user537672

Thank you very much for your reply. I tried what you said and managed to create a when-tree-node-activated trigger that works fine. The only problem is that I do not know how to find the last 3 characters of every node in order to make the form understand if it is a form or a report. I mean that the name of each node maybe of different length so I do not know how exactly to use the substr().
Thank you
Vag

Similar Messages

  • Call forms and reports from a hierarchical tree node.

    Hello,
    I am new in pl/sql programming and I have some dificulties. I have created a hierarchical tree, in order to use it as a menu in an application that I am trying to develope. The problem is that I do not know how can I make the last nodes to be either a form or a report and when somebody double clicks on these nodes the form or the report will run. What is more, should I use the when-tree-node-selected trigger or the when-tree-node-activated?
    Thank you in advance,
    Vag

    Hi ,
    In Oracle Forms , a hierarchical tree is developed through the use of a sql statement and column which defines the order of leaves...
    Visit the on-line help of Forms10g to find out the details , and the triggers as well...
    Something else...post this question to Oracle Forms to get more detailed answer...
    Regards,
    Simon

  • Call Forms And Reports through node

    Dear All,
    i have a hierarchy tree menu look like this
    +GL
    Accounts
    Inform
    +Export
    Export Entry Form
    +Security
    New User Entry
    when i click Gl==>Accounts, accounts form opens
    when i click EXPORT==>Export Entry Form opens
    and i want call my forms and reports through nodes
    Kindly any one tell me how i can i do this.
    thnks
    Regards,
    zubair saleem.

    Welcome to the forum.
    Please visit https://forums.oracle.com/forums/ann.jspa?annID=432 and https://wikis.oracle.com/display/Forums/Forums+FAQ. It will help members of the forum to help you better.
    Forms and Reports version?
    Client/server or web? (if it is 6i)
    Regards,
    PS : Check this out https://sites.google.com/site/craigsoraclestuff/oracle-forms---how-to-s/forms-how-to-create-a-hierachical-tree-form
    Edited by: Prabodh on Jun 12, 2012 6:09 PM
    Edited by: Prabodh on Jun 12, 2012 6:32 PM

  • HST50: Unix - How Headstart calls forms and reports uppercase/lowercase from a Menu

    We are migrating a 'in production' Headstart generated application from Windows to Unix.
    We had to a little time in setting the lowercase implementation names, setting the prefs to generate lowercase file.....
    So good so far. When testing the application on Unix, all files are lowercase, the Forms start without a problem but the Reports won't start.... Renaming the report files to uppercase works fine.
    Going through the Headstart code for calling Forms and Reports I noticed the following:
    When calling Forms the qmslib50.qms$form.call procedure is invoked. In this procedure the follwoing statement is used:
    l_form_name := lower(p_form_name) So only lowercase will be found....
    For calling Reports from the Lauch Report Form the qms0012l.qms$report.run procedure is invoked.
    This procedure calls fill_par_list where the l_module_name is set. But in this procedure no uppercase or lowercase is used......
    Not consequent I think !!
    Is this done for a specific reason ?
    PS: Change qms0012l and it works fine.

    Hi,
    cannot use run_report_object here cause I cannot create a report object in menu (like how we can do it in forms).
    Create a generic named Report node in the forms that you reference from the RunReport object request. This way you can run Reports from a menu
    Frank

  • How to have RAC accept Forms and Reports connection to non specific node?

    Hi all,
    I have posted this in the Forms forum w/ no result, hoping someone here can help;
    Oracle Forms and Reports services, not the entire app server. Version 10.1.2.0.2, one server
    Oracle database, RAC Version 11.1.0.6.0, 3 nodes
    Instance=RMSTEST
    Nodes = RMSTEST1, RMSTEST2, RMSTEST3
    I can TNSPING RMSTEST w/o issue
    When I have userid in formsweb.cfg = user/pw@RMSTEST we are being prompted when logging into forms and reports to supply the password for the RMSTEST instance, enter the password and we are in.
    So we changed this in formsweb.cfg = user/pw@RMSTEST? (?= any of the nodes 1-3) and the password prompt is no longer being requested.
    What do I need to do to have Forms and Reports connect to the RMSTEST cluster directly for it to determine which node to connect to instead of having an unbalanced node(s)?
    Thanks,
    Steve

    This is what I have;
    RMSTEST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.111)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.112)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.113)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = RMSTEST)
    LISTENERS_RMSTEST =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.111)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.112)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.113)(PORT = 1521))
    RMSTEST3 =
    (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.113)(PORT = 1521))
         (CONNECT_DATA =
         (SERVER = DEDICATED)
         (SERVICE_NAME = RMSTEST)
         (INSTANCE_NAME = RMSTEST3)
    RMSTEST2 =
    (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.112)(PORT = 1521))
         (CONNECT_DATA =
         (SERVER = DEDICATED)
         (SERVICE_NAME = RMSTEST)
         (INSTANCE_NAME = RMSTEST2)
    RMSTEST1 =
    (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.12.111)(PORT = 1521))
         (CONNECT_DATA =
         (SERVER = DEDICATED)
         (SERVICE_NAME = RMSTEST)
         (INSTANCE_NAME = RMSTEST1)
    )

  • URL Problem Oracle 10g Forms and Reports

    Hello Room,
    As this question is related to forms and reports both, I have posted it here. I have a system which needs to be deployed in Local Lan Network and also the same Local Lan user should be able to access the same application via internet. In Addition there are also suppliers, customers who dosen't have oracle installed but will be accessing forms and reports via the url through internet which will be a natted url to our public IP. I have loaded Oracle 11g on windows 7 and all my network clients are on windows 7. I have not loaded forms and reports 10g on server, but only database 11g is installed on server. My problem is listed in points below:-
    1. Do I need to install forms and reports on server to achieve the above scenario ? or the local network installation of forms and reports on all client PC's will do ?
    2. To start OC4J instance, shall i start it only on server through batch file while booting server, or it needs to be started on all client PC's to start work from client end ?
    3. When i run forms from my client PC I get local url http://127.0.0.1/ to reach forms servlet which end up in http://localpc/.... from cookie redirect, whether this needs to be http://server/...... on all client PC's to reach the forms servlet ?
    4. If I have to start url http://server/ instead of http://127.0.0.1/... automatically while running every form to reach forms servlet, how to achieve this ?
    5. There are reports to be run from forms and parameters needs to be passed in reports from forms 10g. So in web.show_document shall i refer to absolute url for local acccess or http://server url as the same user can go to internet to access the data. ?
    6. if I load forms and reports 10g on server, do I need to install forms and reports on client end seperately to gain access in local network ?
    7. My forms and reports folders are located on server which are shared for access.
    8. What will be the scenario in case of suppliers and customers who does not have anything installed on their PC and will access forms and reports through internet ?
    I want to minimize my work. Please suggest me how to proceed about accessing forms, passing url from forms to reports in web.show_document, and Internet access url ?
    Your help is highly appreciated. Thank you in advance.

    I have tried to explain you in decent way several times that I am not lazy and there are reasons that I do not want to read pdf, because I have already read that all ! In the future please do not respond to my thread. I am not asking for your personal time. If you do not understand my efforts. Just ignore it. I have read all the white papers of Oracle and give me your email id, I will send you all the code which I have read or downloaded. You should know that the knowledge diminish as the technology change. And that does not mean every user in the forum is stupid and as wise as you are. I repeat to state that I have 15 years of experience in Oracle forms 6i._ including Oracle 7,8,9i. This is the first time I am ever visiting oracle forums since past several years. I was the first person to use oracle 7 in my city where people were not knowing what oracle is. At that time I was knowing that the password for scott is tiger which even the reputed institutes in my city was not knowing. at that time I was also knowing that one of the person from oracle made a mistake in indexing the rowid. I think this should be enough to you for now.

  • Free online training site to learn Oracle Forms and reports

    Hi All,
    I want to learn Oracle Forms and Reports through free online classes. Can any one please let me know are thery any sites which are providing this type of training.
    Thank you,
    Gan

    Not sure of specific on line free courses but otn.oracle.com/products/forms has plenty of how tos and white papers etc. hope this helps

  • Calling oracle9iAS Forms and reports into the portal

    Hi !
    Could it possible to call a Forms and reports in the portals? if yes ? How?
    In my case I have to generate lots of reports..like printing reports in the different tray of printer through portal ? Could this be achieved by Oracle Portal ?
    thanks in advance
    chris

    Do you know how to do it by now.
    Thanks.

  • How can i save and retrieve blob data through forms and reports...

    I have blob data type column and I want to save word, html, gif
    document in oracle database through forms 6 and retrieve the
    data into forms and reports.
    Details : I want to open .doc,.html,.gif file through a button
    and save it ..and i want retrieve the data into text item same
    in reports....
    If anybody have the answer then send me at
    [email protected]

    use ole container
    initialize the container with the filename (doc or gif)
    Edited by: arshid on Feb 8, 2009 1:57 PM

  • Tracking calls to Forms and Reports in an application - Migration

    Hello,
    This is an interesting case. I have an application that has a number of Forms and reports written for 6i. Before I start migrating to 10g, I want to have an estimate of the current usage for this app (for one month), namely the number of times users accessed the forms and the reports.
    For example:
    Form A accessed 675 times
    Form B accessed 30 times
    Form M accessed 0 times
    etc..
    sames things for the reports.
    Based on this statistics, I can say which ones should be migrated first, etc...
    Now, I was thinking about creating a table called USAGE and each time a user clicks on the menu that calls a Form or a report, I will update the corresponding record in USAGE.
    The problem here is that users can access a report or form from within other forms and as such the info I get from the Menu will be only a rough estimate. I need to point out that I don't want to open ALL the forms and check whether there are other calls from there.
    What do you think of this approach and if someone was faced with the same issue, what would be the best bet to get the usage estimate.
    Note: The app is used quite heavily.
    Thanks

    That's one possibility but the thing is that I don't want to open ALL the fmbs and then add that piece of code.
    That's why I want to just work on the Menu and try gather statistics from there. However, that will give me only a rough estimate.
    I was looking at Oracle Trace and I am checking whether I can get the required info (Forms and reports names) from this log for a client/server Forms app. However, I would prefer to see whether someone already had experimented with this.
    Thanks.

  • Calling Reports from a Form - Application Server Forms and Reports Services

    Hi
    We currently are running App Server 10G Forms and Reports and Oracle DB 11G. Forms are running fine with the Apps Server but what I need to find out is how do I set the path for the .rdf files of the reports and how do I configure the Apps Server to present the Reports? I am sure we have to edit a .conf file and add the server name but not sure what to do or how to do it?
    ps. I am a newb but I managed to get both of Apps Server and Database configured on my lonesome so I am just missing the info on the Reports side of things.
    The Developer has asked the following questions :-
    We want to run a report created in report builder from forms by using the following command in forms;
    web.show_document(v_url,'_blank');
    what does v_url need to be - we need to find an example showing the v_web_address and v_rpt_server
    v_url := 'http://'||v_web_address||'/reports/rwservlet?server='||v_rpt_server||'+report=test_report.rdf &desformat=PDF&userid=user/pw@database'
    Do we need to make changes on the report server configuration and where should the rdf files reside?
    Regards

    Hiya
    Thanks for the message.
    I have started to look at the response you sent me. I have included an output of the rwservlet.properties file and the rep_s-lon-w-001_frhome1 file.
    rwservlet.properties
    SERVER_IN_PROCESS=YES
    RELOAD_KEYMAP=NO
    #DIAGNOSTIC=YES
    #TRACEOPTS=TRACE_ALL
    #TRACEFILE=rwservlet.trc
    #TRACEMODE=TRACE_REPLACE
    #SERVER=<reports_server_name>
    #IMAGEURL=http://<web_server_name>:<port_num>/reports/rwservlet
    #KEYMAPFILE=CGICMD.DAT
    #DBAUTH=RWDBAUTH.HTM
    #SYSAUTH=RWSYSAUTH.HTM
    #ERRORTEMPLATE=RWERROR.HTM
    #COOKIEEXPIRE=30
    #ENCRYPTIONKEY=reports9i
    #DIAGBODYTAGS=<reports_servlet_help_file_title>
    #DIAGHEADTAGS=<reports_servlet_help_file_body_tag>
    #HELPURL=<url_of_customized_help_file_for_reports_servlet>
    #SINGLESIGNON=YES
    OID_ENTITY=%REPORTS_OID_ENTITY%
    #ALLOWHTMLTAGS=NO
    #REPORTS_NETWORK_CONFIG=rwnetwork.conf
    #OIDCON_INIT=10
    #OIDCON_INCREMENT=10
    #OIDCON_TIMEOUT=0
    SERVER=rep_s-lon-w-001_FRHome1
    rep_s-lon-w-001_frhome1
    <?xml version = '1.0' encoding = 'ISO-8859-1'?>
    <!DOCTYPE server PUBLIC "-//Oracle Corp.//DTD Reports Server Configuration //EN" "file:C:\oracle\FRHome_1/reports/dtd/rwserverconf.dtd">
    <server version="10.1.2.0.2">
    <cache class="oracle.reports.cache.RWCache">
    <property name="cacheSize" value="50"/>
    <!--property name="cacheDir" value="your cache directory"/-->
    <!--property name="maxCacheFileNumber" value="max number of cache files"/-->
    <!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"/-->
    </cache>
    <!--Please do not change the id for reports engine.-->
    <!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000">
    <!--property name="sourceDir" value=c:\reports/-->
    <!--property name="tempDir" value=c:\reports_temp/-->
    <!--property name="keepConnection" value="yes"/-->
    </engine>
    <engine id="rwURLEng" class="oracle.reports.urlengine.URLEngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="60000"/>
    <!--security id="rwSec" class="oracle.reports.server.RWSecurity">
    <property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    <property name="oidEntity" value="%REPORTS_OID_ENTITY%"/>
    </security-->
    <!--destination destype="oraclePortal" class="oracle.reports.server.DesOraclePortal">
    <property name="portalUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </destination-->
    <destination destype="ftp" class="oracle.reports.plugin.destination.ftp.DesFTP">
    <!--property name="proxy" value="proxyinfo.xml"/-->
    </destination>
    <destination destype="WebDav" class="oracle.reports.plugin.destination.webdav.DesWebDAV">
    <!--property name="proxy" value="proxyinfo.xml"/-->
    </destination>
    <!-- By default server will use rwnetwork.conf as network config file
    Use this element to override the same -->
    <!--networkConfig file="rwnetwork.conf"></networkConfig-->
    <job jobType="report" engineId="rwEng"/>
    <job jobType="rwurl" engineId="rwURLEng"/>
    <notification id="mailNotify" class="oracle.reports.server.MailNotify">
    <property name="succnotefile" value="succnote.txt"/>
    <property name="failnotefile" value="failnote.txt"/>
    </notification>
    <!--notification id="wfNotify" class="oracle.reports.server.WorkflowNotify">
    <property name="connStr" value="%WF_DB_USERNAME%/%WF_DB_PASSWORD%@%WF_DB_TNSNAME%" confidential="yes" encrypted="no"/>
    </notification-->
    <log option="noJob"/>
    <!--jobStatusRepository class="oracle.reports.server.JobRepositoryDB">
    <property name="repositoryConn" value="repo_db_username/repo_db_password@repo_db_tnsname" confidential="yes" encrypted="no"/>
    </jobStatusRepository-->
    <!--trace traceOpts="trace_all"/-->
    <connection maxConnect="20" idleTimeOut="15">
    <orbClient id="RWClient" publicKeyFile="clientpub.key"/>
    </connection>
    <queue maxQueueSize="1000"/>
    <!--jobRecovery auxDatFiles="yes"/-->
    <!--
    The value of the 'identifier' element is encrypted and is of the form SERVERACCESSKEY_USER/SERVERACCESSKEY_PASSWORD
    SERVERACCESSKEY_USER and SERVERACCESSKEY_PASSWORD in <server>.conf and targets.xml
    file should match for Reports EM pages to display data correctly.
    Corresponding entries of username and password in targets.xml:
    <Property NAME="Password" VALUE="SERVERACCESSKEY_PASSWORD" ENCRYPTED="FALSE"/>
    <Property NAME="UserName" VALUE="SERVERACCESSKEY_USER" ENCRYPTED="FALSE"/>
    -->
    <identifier confidential="yes" encrypted="yes">ZgZCDkywAUaHwMnb+A6YTg0UVX12puJiKZe8PYR1NHiooqnkbstGLcLqn5sWJCnWjREALf9UVz0N/P7HpgkTrPTCwgYirXmx1oZKCWkodsu06FNAJJ8ioXQCBWAG+SeHElcR5At9pTaiZZjXv8MtUP6cEUcH//E5eI4JnO/PLfS0u0OmElFdQn9lsDYF/ETYcK7QVswlN0LAE0yUqCC7bI+mVhhSkW80XXnh5oPISEiMwb+KcNW2T2zz+m1KLJAQFDk0S3cCIMaj6NBF7yXmoJOoGRNmfQBk8HHfx7Z6+l//BZP/hswX5NojatpWa46uDU8HNtNfcLSKxSUHH64g/FaEqzoXIXbIVWuGVwUA4gRUulJ0Ew0HVtyXC5wsnUW5zD0HnUFYoKXeNssDrT6HapRoEwSYE3n2ogux3vOefUXkPy5hsPCc9I3R5tmdljjuUGxmF1QXckIv12aMw0+JGIyevbv7X33vhJc=</identifier>
    <!--pluginParam name="mailServer">%MAILSERVER_NAME%</pluginParam-->
    <!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->
    <pluginParam name="xmlpds" type="file">xmlpds.conf</pluginParam>
    <pluginParam name="jdbcpds" type="file">jdbcpds.conf</pluginParam>
    <pluginParam name="textpds" type="file">textpds.conf</pluginParam>
    </server>
    If our Apps server is s-lon-w-001.homes.local, where do I make the changes in these two files to make the reports to run. You can see I have defined the reports on the C: on the server.
    Many thanks in advance!

  • Migrating Oracle forms and reports from 6i to 10g Application server on Uni

    HI Guys,
    We are migrating from Oracle forms and reports 6i to 10g.
    We will be having application server on Unix box.
    I understand following will be the changes i will have to do in this respect -
    1. Fonts are to be revisited only Java fonts are supported.
    2. Obsolete items, function calls, triggers are to be removed.
    My question is since this application can be cross platform application,
    Can anyone provide me with changes that I will have to do with configuration files like -
    1. Formsweb.cfg,
    2. forms.conf
    3. default.env
    4. registry.dat
    Keeping in mind that the application server will be on unix box.
    Thanks,
    Av.

    Java fonts are only supported for the Forms version.
    You can use your own fonts for Reports however, there is some legwork to do this. I know because I just went through it.
    If you will only being using the PDF output (which for me replaced the Preview mode that existed in 6i), then you have to install the TTF for the missing font, an AFM (use the ttf2pt1 utility to generate the AFM file, but make sure you remove the AFM extension when moving it to Unix). You'll want to use the PDF Subset in the uifont.ali (which exists under the ORACLE_HOME/guicommon/tk/admin directory and add the line underneath the PDF Subset "Font Family Name"="TTF Font Name" The font family name is found when you open the AFM file in textpad or wordpad for the font you generated. This is what you enter. The TTF Font Name is the name the TTF font. You'll have to restart Reports Server after this.
    If printing to the printer directly is an option you must have, I will tell you it does not work in Linux right now. You can print to the printer but if the font doesn't exist on the internal memory of the printer, it won't work. There are 3rd party utilities like ORARRP and PDFPrint that can take care of this but, each has its own limitations. The one thing I found with ORARRP is if you generate a Report with an RRPA file extension and open it on Windows, it works great, the printer dialog comes up asking you what printer you want to print too. However, if you call this in Linux/Unix with the filename, it brings it up in the web browser but doesn't prompt you for your printer to print too automatically. So, for me, it's a show stopper. My only other option is to install the fonts on the printer that are missing.
    As for the files you want to change, you'll obviously have to make changes to the formsweb.cfg, default.env, forms.conf. I have to modify the reports.sh for some PL/SQL attached libraries to make sure it picks them up. I did have to modify Registry.dat.
    There is alot of work but mainly forms wasn't too bad, unless you had fonts that weren't supported. Usually there is another font that you can use to replace the old one but you have to know which fonts exists on the server and try all the keys on the keyboard to find the corresponding keystroke.
    Hope this helps.
    Chris

  • Forms and report questions

    Hi,
    I am facing 2 issues now related to forms and reports
    I am using forms 10.1.2.3
    We have an old form developed a few years back and it used to work with the old application server.
    But when we migrated to vista, the application server port is changed and hence the URL
    Now the first issue:
    1)When running a report from the form (After giving some values in the form, a button is pressed to run the report), it is returning an error:
    FRM-41213:Unable to conenct to the Report server "Myrepserver"
    So in the assumption that the server name must have been hard-coded in the form, and hoping to change it to the new server name,
    I checked the when-button-trigger code in the form, but now I am unable to figure out where (which part in the form) the server name is defined.
    Need help in this one first:
    The code in the when-button-trigger is as shown below:
    DECLARE
         plid paramlist; 
         the_param varchar2(15) := 'tmpdata';
         v_process varchar2(10);
    BEGIN
         If (:RADIO_GROUP31 in('ROD_REP','RSLB_REP','GEO_IMP','LBL_IMP')
                       And :FILENAME4 IS NULL ) Then
                       Message('A Filename is required to run the selected report');
                       Raise FORM_TRIGGER_FAILURE;
      Elsif (:RADIO_GROUP31 in('OPT_RUN','SDF_RUN')
                       And :DELIVERY_OFFICE_ID4 IS NULL ) Then
                       Message('A Delivery Office Id is required to run the selected report');
                       Raise FORM_TRIGGER_FAILURE;
      End If;
      v_process := :RADIO_GROUP31;
         BEGIN 
              plid := get_parameter_list(the_param);
         IF NOT id_null(plid) THEN
              destroy_parameter_list(plid);
         END IF;
         plid := create_parameter_list(the_param);
         add_parameter(plid, 'delivery_office_id', TEXT_PARAMETER,:DELIVERY_OFFICE_ID4);
         add_parameter(plid, 'filename', TEXT_PARAMETER,:FILENAME4);
         add_parameter(plid, 'p_opt_batch_id', TEXT_PARAMETER,:OPT_BATCH_ID);
         add_parameter(plid, 'p_sum_det', TEXT_PARAMETER,:SUM_DET_PB);
         add_parameter(plid, 'process', TEXT_PARAMETER,v_process);
         add_Parameter(plid, 'PARAMFORM', TEXT_PARAMETER, 'NO');
         run_product(REPORTS,'approcrep.rdf',SYNCHRONOUS,RUNTIME,FILESYSTEM,plid,null  );
         END;
    END; 2)I am using a Windows Vista machine and using Sun's plugin JRE5 update 16 in my machine to run the forms through my browser(IE7)
    It works fine when connecting to my applicatioon server
    For example,
    http://the_app_server:port/forms/frmservlet?config=testapp
    works fine
    But when I try to run the form locally using the form builder:
    I have defined in Edit->Preferences (Under runtime tab), the application server URL,like this:
    http://<my local computer name>:8889/forms/frmservlet
    When trying to run , it asks me to install Jinitiator
    why is this?
    I even tried installing it but when starting the applet, the IE crashes and closes.
    With these conditions, how will I figure out why the report is not running?
    I am not able to debug as well because I am unable to run the form.
    Edited by: Krithi on 06-Jul-2009 01:55

    hi gregor13, Thanks a lot for the second suggestion, it worked and I am able to run the form locally now
    For the first suggestion, you are right, this is what caused the issue.
    But I am still not able to do the report successfully..I am able to open the report but no data appears..
    I have defined a parameter list called plid
    In the original run_product built in, this parameter list was passed.
    Please let me know how can I implement this using the web.show_document.
    My code is below, which works except no parameter is passed.I need help in this one please.
    DECLARE
         plid paramlist; 
         the_param varchar2(15) := 'tmpdata';
         v_process varchar2(10);
      v_show_document       VARCHAR2 (2000) := '/reports/rwservlet?';
       v_report_server       VARCHAR2 (30)   := 'myservername';
       rep_url varchar2(2000);
    BEGIN
         If (:RADIO_GROUP31 in('ROD_REP','RSLB_REP','GEO_IMP','LBL_IMP')
                       And :FILENAME4 IS NULL ) Then
                       Message('A Filename is required to run the selected report');
                       Raise FORM_TRIGGER_FAILURE;
      Elsif (:RADIO_GROUP31 in('OPT_RUN','SDF_RUN')
                       And :DELIVERY_OFFICE_ID4 IS NULL ) Then
                       Message('A Delivery Office Id is required to run the selected report');
                       Raise FORM_TRIGGER_FAILURE;
      End If;
      v_process := :RADIO_GROUP31;
         BEGIN 
              plid := get_parameter_list(the_param);
         IF NOT id_null(plid) THEN
              destroy_parameter_list(plid);
         END IF;
         plid := create_parameter_list(the_param);
         add_parameter(plid, 'delivery_office_id', TEXT_PARAMETER,:DELIVERY_OFFICE_ID4);
         add_parameter(plid, 'filename', TEXT_PARAMETER,:FILENAME4);
         add_parameter(plid, 'p_opt_batch_id', TEXT_PARAMETER,:OPT_BATCH_ID);
         add_parameter(plid, 'p_sum_det', TEXT_PARAMETER,:SUM_DET_PB);
         add_parameter(plid, 'process', TEXT_PARAMETER,v_process);
         add_Parameter(plid, 'PARAMFORM', TEXT_PARAMETER, 'NO');
        /*Display report in the browser*/
        v_show_document := v_show_document
             -- Report server
             || '&server='
             || v_report_server
             -- Report name
             || '&report=APPROCREP.rdf'
             -- Reports parameters
             || '&userid=<username>/<PW>@DB'
             || '&destype=CACHE'
             || '&desformat=PDF';
          web.show_document (v_show_document);
    END;
    END;Note:forms upgrade assistant did not work for me.I was ale to convert the form but again more errors when running
    So I have decided to fix this manually

  • Oracle Forms and Reports Installation - Creating domain failed

    I installed the weblogic 10.3.6 (Oracle WebLogic Server 11gR1 (10.3.6) + Coherence + OEPE - Package Installer) in my Microsoft Windows(32-bit JVM) system first.
    But there was an error occorred when the package of forms and reports (Oracle Forms and Reports 11gR2 (11.1.2.2.0)) was installing.
    Please find the following error message for your reference.
    Do you have any idea? Please kindly advise.
    Thanks a lot!
    2014-04-02 14:11:14,099 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - read template from "C:/Users/GZ/AppData/Local/Temp//tmp1396419069239wls.jar"
    2014-04-02 14:11:16,185 INFO  [main] com.oracle.cie.domain.template.catalog.impl.ComponentsXMLConverter - C:\Oracle\Middleware\wlserver_10.3\common\lib\components.xml does not contain component elements and will be skipped
    2014-04-02 14:11:17,556 INFO  [main] com.oracle.cie.domain.WLSTemplateBuilder - No config-groups.xml found in template
    2014-04-02 14:11:17,556 INFO  [main] com.oracle.cie.domain.WLSTemplateBuilder - No template-database.xml found in template
    2014-04-02 14:11:18,205 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: read template from "C:/Users/GZ/AppData/Local/Temp//tmp1396419069239wls.jar"
    2014-04-02 14:11:18,477 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set config option ServerStartMode to "prod"
    2014-04-02 14:11:18,477 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set config option ServerStartMode to "prod"
    2014-04-02 14:11:18,490 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - create Machine "PC-42A26D.GZAD.MSAD.LOCAL" as obj0
    2014-04-02 14:11:18,604 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: create Machine "PC-42A26D.GZAD.MSAD.LOCAL" as obj0
    2014-04-02 14:11:18,612 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - find Server "AdminServer" as obj1
    2014-04-02 14:11:18,652 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: find Server "AdminServer" as obj1
    2014-04-02 14:11:18,698 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj1 attribute Machine to "PC-42A26D.GZAD.MSAD.LOCAL"
    2014-04-02 14:11:18,705 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj1 attribute Machine to "PC-42A26D.GZAD.MSAD.LOCAL"
    2014-04-02 14:11:18,706 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj1 attribute ListenPort to "7002"
    2014-04-02 14:11:18,716 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj1 attribute ListenPort to "7002"
    2014-04-02 14:11:18,716 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - create Server!SSL "AdminServer!AdminServer" as obj2
    2014-04-02 14:11:18,724 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: create Server!SSL "AdminServer!AdminServer" as obj2
    2014-04-02 14:11:18,735 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj2 attribute HostnameVerificationIgnored to "true"
    2014-04-02 14:11:18,739 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj2 attribute HostnameVerificationIgnored to "true"
    2014-04-02 14:11:18,739 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - find User "weblogic" as obj3
    2014-04-02 14:11:18,755 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: find User "weblogic" as obj3
    2014-04-02 14:11:18,755 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - delete obj3
    2014-04-02 14:11:18,763 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: delete obj3
    2014-04-02 14:11:18,764 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - create User "weblogic" as obj4
    2014-04-02 14:11:18,768 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: create User "weblogic" as obj4
    2014-04-02 14:11:18,771 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj1 attribute PeriodLength to "200000"
    2014-04-02 14:11:18,807 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj1 attribute PeriodLength to "200000"
    2014-04-02 14:11:18,807 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj1 attribute IdlePeriodsUntilTimeout to "20"
    2014-04-02 14:11:18,815 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj1 attribute IdlePeriodsUntilTimeout to "20"
    2014-04-02 14:11:18,815 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj1 attribute DGCIdlePeriodsUntilTimeout to "21"
    2014-04-02 14:11:18,821 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj1 attribute DGCIdlePeriodsUntilTimeout to "21"
    2014-04-02 14:11:18,822 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj1 attribute IdleConnectionTimeout to "1000"
    2014-04-02 14:11:18,830 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj1 attribute IdleConnectionTimeout to "1000"
    2014-04-02 14:11:18,833 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set obj4 attribute Password to "********"
    2014-04-02 14:11:18,837 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set obj4 attribute Password to "********"
    2014-04-02 14:11:18,837 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set config option OverwriteDomain to "true"
    2014-04-02 14:11:18,837 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set config option OverwriteDomain to "true"
    2014-04-02 14:11:18,837 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - set config option JavaHome to "C:/Oracle/Middleware/jdk160_29"
    2014-04-02 14:11:18,837 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: set config option JavaHome to "C:/Oracle/Middleware/jdk160_29"
    2014-04-02 14:11:18,948 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - validateConfig "KeyStorePasswords"
    2014-04-02 14:11:18,953 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: validateConfig "KeyStorePasswords"
    2014-04-02 14:11:18,954 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - write Domain to "C:/Oracle/Middleware/user_projects/domains/base_domain"
    2014-04-02 14:11:19,441 INFO  [main] com.oracle.cie.domain.DomainChecker - ListenPort internal Validation result= [null]
    2014-04-02 14:11:19,441 INFO  [main] com.oracle.cie.domain.DomainChecker - ListenPort external Validation result= [null]
    2014-04-02 14:11:21,609 INFO  [Thread-1] com.oracle.cie.domain.StartMenu - Creating start menu program=C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd link=Start Admin Server for Weblogic Server Domain
    2014-04-02 14:11:21,659 INFO  [Thread-1] com.oracle.cie.domain.StartMenu - Creating start menu program=C:\Oracle\Middleware\user_projects\domains\base_domain\bin\stopWebLogic.cmd link=Stop Admin Server
    2014-04-02 14:11:21,667 INFO  [Thread-1] com.oracle.cie.domain.StartMenu - Creating start menu program=C:\Windows\system32\rundll32.exe link=Admin Server Console
    2014-04-02 14:11:21,759 INFO  [Thread-1] com.oracle.cie.domain.DomainRegistryWrapper - need to initialize domainRegistrydocument object
    2014-04-02 14:11:21,777 INFO  [Thread-1] com.oracle.cie.domain.DomainGenerator - Domain Generation Successful!
    2014-04-02 14:11:21,783 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: write Domain to "C:/Oracle/Middleware/user_projects/domains/base_domain"
    2014-04-02 14:11:21,784 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - close template
    2014-04-02 14:11:21,784 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: close template
    2014-04-02 14:11:21,784 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - read domain from "C:/Oracle/Middleware/user_projects/domains/base_domain"
    2014-04-02 14:11:21,967 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - succeed: read domain from "C:/Oracle/Middleware/user_projects/domains/base_domain"
    2014-04-02 14:11:21,967 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - add template C:/Oracle/Middleware/oracle_common/common/templates/applications/jrf_template_11.1.1.jar to domain
    2014-04-02 14:11:22,011 WARN  [main] com.oracle.cie.domain.template.dependency.TemplateSelectionTarget - Catalog does not have matching template for location C:\Users\GZ\AppData\Local\Temp\tmp1396419069239wls.jar
    2014-04-02 14:11:22,071 INFO  [main] com.oracle.cie.domain.WLSTemplateBuilder - No template-database.xml found in template
    2014-04-02 14:11:22,100 INFO  [main] com.oracle.cie.domain.WLSTemplateBuilder - No template-database.xml found in template
    2014-04-02 14:11:22,101 ERROR [main] com.oracle.cie.domain.ConfigGroupsEngine$ConfigTopology - Multiple definitions of server-group BI-ADF-ADMIN-SVR are not allowed
    2014-04-02 14:11:22,101 INFO  [main] com.oracle.cie.domain.script.ScriptExecutor - fail: add template C:/Oracle/Middleware/oracle_common/common/templates/applications/jrf_template_11.1.1.jar to domain
    2014-04-02 14:11:22,101 ERROR [main] com.oracle.cie.domain.script.ScriptExecutor - fail: add template C:/Oracle/Middleware/oracle_common/common/templates/applications/jrf_template_11.1.1.jar to domain
    com.oracle.cie.domain.ConfigGroupsException: Multiple definitions of server-group BI-ADF-ADMIN-SVR are not allowed
    at com.oracle.cie.domain.ConfigGroupsEngine$ConfigTopology.merge(ConfigGroupsEngine.java:2762)
    at com.oracle.cie.domain.ConfigGroupsEngine.mergeTopology(ConfigGroupsEngine.java:551)
    at com.oracle.cie.domain.ConfigGroupsEngine.merge(ConfigGroupsEngine.java:479)
    at com.oracle.cie.domain.AbstractTemplate.addConfigGroups(AbstractTemplate.java:314)
    at com.oracle.cie.domain.script.ScriptExecutor.addTemplate(ScriptExecutor.java:605)
    at com.oracle.cie.domain.script.jython.WLScriptContext.addTemplate(WLScriptContext.java:416)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.python.core.PyReflectedFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyInstance.invoke(Unknown Source)
    at org.python.pycode._pyx3.addTemplate$20(C:\Users\GZ\AppData\Local\Temp\WLSTOfflineIni364664194239939514.py:89)
    at org.python.pycode._pyx3.call_function(C:\Users\GZ\AppData\Local\Temp\WLSTOfflineIni364664194239939514.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.pycode._pyx15.f$0(C:\Users\GZ\AppData\Local\Temp\tmp1396419069304.py:42)
    at org.python.pycode._pyx15.call_function(C:\Users\GZ\AppData\Local\Temp\tmp1396419069304.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyCode.call(Unknown Source)
    at org.python.core.Py.runCode(Unknown Source)
    at org.python.util.PythonInterpreter.execfile(Unknown Source)
    at weblogic.management.scripting.WLST.main(WLST.java:139)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.WLST.main(WLST.java:29)

    hi user ...
    on windows there are some steps in front of installation and configuration.
    1) cleare the Windows Env (Path .. Programme x86 )
         no Blank in Path and so on
    2) insert into your local host file your server and IP Adress
    3) in Windows 32 setup of WLS is JDK included so you don't have to install the jdk in front of WLS
    4) verify if you are using the right installation medium (jdk 32 bit, wls 32 bit , fmw 32 bit
    in your OraInventory/logs directory is a *.out file for your installation please can you put this file in the forum
    is there a nodemanager up and running (if so please stop)
    Jan-Peter

  • Weblogic 10.3.5 with oracle forms and reports 11.1.2.1.0

    Hi All,
    I am new to 11g concept (actually web based, have worked till 6i) and trying to upgrade my existing system (6i) to 11g. I have installed Weblogic 10.3.5 with forms and reports 11.1.2.1.0 on windows 7 32 bit. I can connect to my database (10g) from Form builder.
    But when I try to open a form/pll of 10g or 6i, it says PDE-PLI018 could not find library and it shows the path of my earlier folder, which now does not exist.
    I have made changes in registry FORMS_PATH, FORMS_BUILDER_PATH, UI_ICON
    And in default.env file FORMS_PATH and CLASSPATH
    I have added entry to tnsnames.ora, through which I can connect to DB. And have followed below site to configure weblogic and FM forms and reports;
    http://windows7bugs.wordpress.com/2013/04/06/install-configure-oracle-weblogic-server-10-3-6-forms-reports-11g-on-windows8windows-2008-r2/
    I have few doubts in my mind;
    1) Do we have to connect (create a bridge) to DB from weblogic except tnsnames.ora.
    2) For library error I think I am missing some settings to be done.
    3) If I am able to rectify above error then can I directly use http://localhost:8888/forms/frmservlet and access the system from another pc, or still there are some modifications needed.
    I am trying this from last 3 days, but couldn't find the solution, kindly help me out for same, eagerly waiting for your reply.
    Regards,
    Ash

    Hi InoL,
    Thanks for your reply, Yes, as there are many forms in my system, there is a chance that libraries attached are with the path.

Maybe you are looking for