Forms 11g: limit of 30 calls to ora_ffi.register_function

Converting from Forms 10.2 to Forms 11.1.2 (and a 10g App Server to WebLogic 10.3.5) encountering a problem with ORA_FFI references to functions that have more than 30 parameters.
The 31st call to ora_ffi.register_parameter for a function always fails.
The code snippet below is from a sample I built to illustrate the problem to someone else. We have a similar library in our production code that registers many functions. Some of the functions have more than 30 paramteres some have less. No matter what order I register the functions in, the failiure always occurs in the first function to have a 31st parameter registered against it. All functions with 30 or fewer parameters register just fine.
no problems loading the library of registering the first function, the return, or the parameters (only 3 parameters)
also can register the second function, the return, and the first 30 parameters
<pre>
PACKAGE BODY TEST_FFI IS
dbug_msg VARCHAR2(100);
dll_loaded boolean := false;
lh_dll_handle ORA_FFI.LIBHANDLETYPE;
fh_short_list ORA_FFI.FUNCHANDLETYPE;
fh_long_list ORA_FFI.FUNCHANDLETYPE;
PROCEDURE init_ffi IS
BEGIN
if (dll_loaded) then
message('success');
else
message('fail');
end if;
END init_ffi;
BEGIN
dbug_msg := 'load liboraffi.so';
lh_dll_handle := ora_ffi.load_library (null, 'liboraffi.so');
-- 3 Parameters
dbug_msg := 'func_3_param: function';
fh_short_list := ora_ffi.register_function (lh_dll_handle, 'func_3_param', ora_ffi.C_STD);
dbug_msg := 'func_3_param: return';
ora_ffi.register_return(fh_short_list, ora_ffi.c_long);
dbug_msg := 'func_3_param: p1';
ora_ffi.register_parameter(fh_short_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_3_param: p2';
ora_ffi.register_parameter(fh_short_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_3_param: p3';
ora_ffi.register_parameter(fh_short_list, ora_ffi.c_char_ptr);
-- 31 Parameters
dbug_msg := 'func_31_param: function';
fh_long_list := ora_ffi.register_function (lh_dll_handle, 'func_31_param', ora_ffi.C_STD);
dbug_msg := 'func_31_param: return';
ora_ffi.register_return(fh_long_list, ora_ffi.c_long);
dbug_msg := 'func_31_param: p1';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p2';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p3';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p4';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p5';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p6';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p7';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p8';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p9';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p10';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p11';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p12';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p13';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p14';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p15';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p16';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p17';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p18';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p19';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p20';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p21';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p22';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p23';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p24';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p25';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p26';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p27';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p28';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p29';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p30';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dbug_msg := 'func_31_param: p31';
ora_ffi.register_parameter(fh_long_list, ora_ffi.c_char_ptr);
dll_loaded := true;
EXCEPTION
WHEN OTHERS THEN
message ('Failure ' || dbug_msg || '. Fatal Error: ' || sqlerrm);
dll_loaded := false;
raise;
END test_ffi;
</pre>

Noticed that I forgot to include the error. It comes from the "message" call I put in the exception block and reads:
'Failure func_31_param: p31. Fatal Error: 304500: non-ORACLE exception'
That 304500 isn't particularly informative. I've seen other posts of people getting this exception from ora_ffi.load_library

Similar Messages

  • Calling Report from Oracle form 11g

    I am new to Forms 11g, trying to call report from Oracle forms 11g .
    I want to call report from oracle forms, but its giving error.
    Below is the code
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('empreport'); -- report node in forms builder
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, BATCH);
    set_report_object_property ( repid, report_filename, 'empreport.rdf' ); -- report name
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'RptSvr'); -- report server name
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    if
    rep_status = 'FINISHED'
    then
    WEB.SHOW_DOCUMENT('http://inorasrv-pc:7001/reports/dtd/rwservlet/getjobid='||v_rep||'?server='||'RptSvr','_blank');
    else
    message ( 'error while running reports-object ' || error_text );
    message ( ' ' );
    clear_message;
    end if;
    end;
    Above code giving following error :
    Unable to connect to report server RptSvr
    I think my report servername is wrong
    Where to find report server name in 11g.
    I am Using weblogic server, so can i give weblogic server name
    Thanks in advance.
    Edited by: parapr on Aug 17, 2012 1:52 AM
    Edited by: parapr on Aug 17, 2012 3:21 AM

    Hi,
    You have to have the report server
    a. Installed and configured
    b. Running.
    See
    http://docs.oracle.com/cd/E21764_01/bi.1111/b32121/pbr_strt001.htm
    http://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_verify004.htm
    http://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_conf003.htm#i1007341
    If you are using rwservlet then you will find the name from the Configuration file referred to in the last link.
    Cheers,

  • Calling From Oracle Forms 11g patch set 2(11.1.1.3.0) to  Oracle Reports 1

    Hi
    While calling From Oracle Forms 11g patch set 2(11.1.1.3.0) to Oracle Reports 11g patch set 2(11.1.1.3.0) I found unable to run report error
    But its finely working in 10g. The Place of error is in find_report_object
    Is any solution to resolve this problem like any registry setting or patches to solve this problem
    Please guide me
    Regards
    Murali N S

    I was able to download it from this link:
    [http://download-llnw.oracle.com/otn/java/jdeveloper/11.1.1.3.0/jdevstudio11113install.exe]
    on the general 11g Fusion download page at:
    [http://www.oracle.com/technology/software/products/middleware/index.html]
    Although the site does appear to be having problems. I got intermittent errors of the page/server not being available.

  • Calling Report from Menu (Oracle Forms 11g)

    I'm trying to call a report from a menu item in a menu (that is attached to a form) in Oracle Forms 11g directly and I'm having some difficulty. I know how to call a report from a form and everything works perfectly.
    But since in a menu there is no item called "Report" to attach like there is in Forms, I followed on route which is to attach the "rp2rro" PL/SQL library on the menu file (mmb) and I also even did it on the form itself. Then when you convert a menu using the Forms Migration Assistant, it will comment out statements like "ADD_PARAMETER" and replace with calls to packaged procedures/functions from the package "rp2rro". I set all the parameters
    RP2RRO.SETOTHERS('PARAMFORM=YES');
    RP2RRO.SETDESTYPE('CACHE');
    RP2RRO.SETDESFORMAT('PDF');
    RP2RRO.SETCOMMUNICATIONMODE(SYNCHRONOUS);
    then made the call to the report:
    RP2RRO.RUN_PRODUCT(REPORTS, 'MYREPORT', SYNCHRONOUS, RUNTIME, FILESYSTEM, param_list_id, NULL);
    but all i get is the error "FRM-41219: Cannot find report: invalid ID."
    The Oracle documentation for integration reports in forms is for when you execute the report within a form not a menu item (that is attached to a form). Any clues?
    My environment is:
    Oracle (Database, Fusion Middleware) 11g - Red Hat Enterprise Linux 5
    Web Browser - Internet Explorer 7 on Windows XP Professional
    Thanks,

    Francois Degrelle wrote:
    Hello,
    One option is to use the Web.Show_Document() built-in, with the complete Report Server URL inside. Of course, you can hide some information (connection string for instance) by calling a section of the /reports/conf/cgicmd.dat configuration file.
    FrancoisI tried it using the code below
    DECLARE
    c_relative_path CONSTANT VARCHAR2(50) := '/reports/rwservlet/?server=';
    c_rep_srv_name CONSTANT VARCHAR2(50) := 'rep_wls_reports_calgf3_asinst_1';
    c_rep_name CONSTANT VARCHAR2(30) := 'copy_detail.rdf';
    c_desformat CONSTANT VARCHAR2(10) := 'htmlcss';
    c_destype CONSTANT VARCHAR2(10) := 'cache';
    v_username VARCHAR2(100);
    v_password VARCHAR2(100);
    v_db_instance VARCHAR2(40);
    v_connect_string VARCHAR2(300);
    v_rep_srv_params VARCHAR2(200);
    v_rep_url VARCHAR2(400);
    BEGIN
    v_username := LOWER(get_application_property(username));
    v_password := LOWER(get_application_property(password));
    v_db_instance := LOWER(get_application_property(connect_string));
    v_connect_string := v_username || '/' || v_password || '@' || v_db_instance;
    v_rep_srv_params := '&report=' || c_rep_name ||
    '&desformat=' || c_desformat ||
    '&destype=' || c_destype ||
    '&userid=' || v_connect_string ||
    '&paramform=yes';
    v_rep_url := c_relative_path || c_rep_srv_name || v_rep_srv_params;
    web.show_document(v_rep_url, '_blank');
    END;
    and I get a new tab in the browser opening up (which is good at least) with the Oracle Reports Services page saying:
    Error
    No such Web command ().
    Now I've tried putting a URL of a Oracle's website (http://www.oracle.com) and that works perfectly. Another question is, where would the default directory be if I wanted to say call an HTML file? Would it be in the directory of FORMS_PATH where all my fmb, fmx, rdf, pll, etc...files are stored?
    Thanks,

  • RE: Calling a Web service from Oracle Forms 11g

    I wonder if anyone could please help with the following
    We have a requirement for a real time communication between Oracles Forms (11g) and SAP over the RR LAN network.
    This would require the need to send info to and receive info from SAP as it will be an on-line validation of a Part from an Oracle FORM to SAP (response less than 1 second).
    What would be the best and easiest way to code this an Oracle FORMS trigger.
    Thanks very much
    Durjoy
    tel 07790 495 626

    Hello,
    <p>Did you read this paper ?</p>
    Francois

  • Error 404 -- NOT FOUND when running a form in form 11g

    Hi All,
    I got this problem when I run the forms using internet explorer.
    I work on Forms 11g which uses weblogic 10.3 for web deployment of the forms.
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    Can any one tell me where it went wrong.
    Thanks

    Let's start by clearing up some confusion.
    PORTS
    In version 11.1.1.x here are how the common ports are defined by default:
    1. HTTP Server - 8888
    2. WLS_FORMS - 9001
    3. WLS_REPORTS - 9002
    4. WLS Admin Server - 7001
    So, if you understand how ports work in general, you should see that there are two ways to run a form. You can either go through HTTP Server or call WLS_FORMS directly. This means that both of the following would work, although one would be a direct path and the other would route the request through the HTTP Server:
    <li>http://ie1fdtfc5zl1s:9001/forms/frmservlet?config=frmdemo
    <li>http://ie1fdtfc5zl1s:8888/forms/frmservlet?config=frmdemo
    Port 7001, will always be the Admin Server port by default for the Classic domain. By default, the only thing you can do from here is access EM or WLS Console.
    As for the tns issue, by default, both the Builder and runtime will expect to find tnsnames.ora in the Instance Home \config so be sure you are adding the correct entries to the correct file.
    You can hard code a path to the file which you prefer be used by setting TNS_ADMIN in default.env (e.g. TNS_ADMIN=C:\Oracle\mytnsdirectory). This will apply only to running forms and not the Builder.
    Also, here is something which often is confusing to many people.... just because you launched your form from the Builder does not mean that the running form has anything to do with the Builder at that point. In other words, when you click on the RunForm button in the builder all you are doing is passing a url to a browser. The browser and the form are not using any of the Builder's settings except those which may have been passed in the URL (e.g. username/password). ALL running forms are considered "runtime". This means all of the environment configuration information for a running form will need to be set in default.env. The Builder, on the other hand will rely on the System variable, Windows Registry (or shell if on Unix).

  • How to set image source path in formsweb.cfg file in forms 11g

    Hi,
    I had written HTML code in the formsweb.cfg file in forms 11g. In the below code i am unable to retrive image file(i.e., .gif, .jpeg) from the server or local machine.
    In the below HTML code i set image source in the image tag as below:
    <img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_04.GIF"
    Is this correct path to fetch the images from the server or local machine .
    Please help me out how to set path for image in html or is there any alternate process to retrive images.
    Here is the code :
    [INDIVIDUALUAT]
    workingDirectory=D:\Aims10dev\Work
    form=LMstartup.fmx
    userid=rmenu/rmenu@RLIFEQA64
    codebase=/forms/java
    imageBase=codebase
    width=1005
    height=750
    WebUtilArchive=/forms/java/frmwebutil.jar,/forms/webutil/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar,life-icons-round.jar,Agilis_Icon.jar,life_Icon.jar,personalize.jar,hyperlink.jar,amazingbutton.jar
    archive=frmall.jar
    separateFrame=False
    lookandfeel=Generic
    EndUserMonitoringURL=True
    usesdi=yes
    #HTMLbeforeForm= <table width="1005" border="0" cellspacing="0" cellpadding="0"><tr><td width="200"><img src="/forms/html/agilis-life-logo.gif" width="200" height="80" /></td><td width="10"><img src="/forms/html/agilis-life-new11_02.gif" width="36" height="80" /></td><td width="805" valign="top" background="/forms/html/agilis-life-new11_03.gif"></td></tr></td></tr></table>
    HTMLbeforeForm=<body topmargin="0" leftmargin="0" > <table width="1005" height="100" border="0" cellspacing="0" cellpadding="0"><tr><td width="200" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-logo.gif" width="200" height="80" /></td><td width="10" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_02.gif" width="36" height="80" /></td><td width="550" valign="bottom" ><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_03.gif" width="550" height="80" /></td><td valign="bottom"><table width="219" height="90" border="0" cellspacing="0" cellpadding="0"><tr><td height="36" valign="bottom" align="center"><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agile-logo.jpg" height="36"></td></tr><tr><td height="10" valign="bottom"> <div align="right"><span style="font-family:Arial, Helvetica, sans-serif; font-size:12px; font-weight:bold; text-decoration:none; color:#00000; " >Home | Change Password | Logout</span></div></td></tr><tr><td colspan="3" valign="bottom"><img src="E:\Oracle\Middleware\Oracle_FRHome1\tools\web\html\agilis-life-new11_04.GIF" width="100%" height="39" /></td></tr></table></td></tr></td></tr></table></body>

    AFAIK, this is not the correct way to set the image location.
    We call the working directory as context, so inside the context root along with WEB-INF, maintain a folder with name img and put all the images in that directory.
    You can use either .\<image_folder> or the optimum way would be (if you are using JSPs) to use getContext() method and traverse accordingly.
    FYI,,, using getContext() will give you context root directory, from there it is as simple as accessing any other folder.
    Hope this answers your question.
    Cheers,
    Jeets.

  • Forms 11g - web.show_document

    Hi!
    How can i reach the reports server with web.show_document in Forms 11g?
    "opmnctl status" shows the running reportsserver but when i make a call e.g. to
    http://pc1:8888/reports/rwservlet?report= ... a.s.o.
    the error message: Failure of server apache bridge:
    no backend server available for connections ...
    is thrown.
    any ideas?
    thanks in advance!
    Magoo

    Can you please specify the OS you are using. Because in Windows XP and Vista, only Forms & Reports Builder and Runtime are supported, and the system components (OHS, WC) are not supported.
    If you have installed in a Windows 2003 Platform and install is done with the system components, then the issue is with the OHS.
    OHS seems to be down.
    You can bring up the OHS, Reports Server through OPMN or start menu. And WLS_REPORTS from the start menu.
    In the command prompt, cd $ORACLE_INSTANCE\bin (By default - C:\oracle\Middleware\asinst_1\bin) run the command:
    opmnctl.bat status -l :- Will give the status of the components. If System components are not installed, this will not work.
    opmnctl.bat restartproc ias-component=ohs1 :- Will restart the OHS.
    This can be done from the Start Menu also:
    StartMenu -> Oracle Classic Instance - <Instance Name> -> Stop Oracle Http Server - ohs1
    StartMenu -> Oracle Classic Instance - <Instance Name> -> Start Oracle Http Server - ohs1
    You can stop and start the WLS_FORMS from the start menu:
    StartMenu -> Oracle Classic Instance - <Instance Name> -> Forms Services -> Stop WebLogic Server - WLS_FORMS
    StartMenu -> Oracle Classic Instance - <Instance Name> -> Forms Services -> Start WebLogic Server - WLS_FORMS
    Status of the WLS_FORMS can be seen from the Admin Console:
    http:<hostname>:7001/console (use the pwd given during the Classic SH install).
    Under Environment section, click Server.
    Summary of Servers Page will show the status of the WLS_FORMS.
    If you want to stop and start, select Control tab. Check the check box and press the corresponding button.

  • Problems setting logo - Forms 11g

    I've read the manuals, and followed instructions but still cannot get my company logo to appear in the top right hand section of the window bar for Forms 11g using just a image/icon of GIF/JPG file type in any of my directories on my Linux box. On the other hand I am able to get an image to display when using a "jar" file with images inside a jar file.
    Here's what I have done. I made a copy of the default.env in the Web Configuration section and use that one (called padb.env). In that my parameters/values that are relevant to the task at hand:
    envFile = padb.env
    codeBase = /forms/java
    imageBase = <blank> (if left blank then by default it is "documentBase")
    logo=mylogo.gif
    To confirm is "documentBase" the path: Oracle/Middleware/as_1/forms?
    If so then any directory is "relative" to "documentBase"
    In my environment configuration my parameter values are:
    ORACLE_HOME=/mnt/homes/webapp/Oracle/Middleware/as_1
    ORACLE_INSTANCE= /home/webapp/share/Oracle/Middleware/asinst_1
    FORMS_PATH=/mnt/homes/webapp/Oracle/Middleware/as_1/forms/dev/padb
    Now in the Font and Icon Mapping section I've modified the following:
    default.icons.path=icons
    default.icons.iconextension=gif
    Does this mean that "icons" is a directory relative to "documentBase" which is Oracle/Middleware/as_1/forms?
    If so then I have a directory called Oracle/Middleware/as_1/forms/icons and inside here is where my "mylogo.gif" is contained.
    And so when I run the form, nothing shows up. It works if I follow the steps and archive the images in a JAR file, but I want to have the option of doing it the other way. Is there a permission issue or is there a bug?
    Platform: RHEL (Red Hat Enterprise Linux) version 5
    Database: Oracle 11g
    Forms: Oracle 11g Fusion Middleware - Forms Server 11.1.1
    Thanks

    FormsEleven wrote:
    I think, you need to add your icons directory as virtual directory in forms.conf in under $OI and also
    default.icons.path=icons should be like
    default.icons.path=/forms/icons
    or you can try with http://machinemame:port/forms/icons
    Okay I'm not to sure but what would be the exact syntax I would have to write in the "forms.conf" file to create this virtual mapping because in the documentation it does not mention modifying this file. It seems straightforward that if I put in a directory "relative" to documentBase then it should read from that directory.
    +4.7.3 Deploying Application Icons+
    When deploying an Oracle Forms application, the icon files used must be in a Web-enabled format, such as JPG or GIF (GIF is the default format).
    By default, the icons are found relative to the DocumentBase directory. That is, DocumentBase looks for images in the directory relative to the base directory of the application start HTML file. As the start HTML file is dynamically rendered by the Forms servlet, the forms directory becomes the document base.
    For example, if an application defines the icon location for a button with myapp/<iconname>, then the icon is looked up in the directory forms/myapp.

  • How to invoke crystal reports from Oracle forms 11g R2 along with passing p

    How to invoke crystal reports from Oracle forms 11g R2 along with passing parameter to it.
    how to pass parameters to crystal report, please help.

    how to pass parameters to crystal report, please help.This would entirely depend on crystal reports and you might find informations on crystal reports related communities more likely...I for one have seen crystal reports the last time about 12 years ago. And even back then I simply acknowledged it's existence instead of working with it.
    Maybe crystal reports can be invoked via a URL call which would make it simple as you'd need simply build an URL and show the report using web.show_document. But that's pure speculation. Also you might not be the first with this requirement, so the solution to your problem might be right under your nose and just a little google search away ;)
    cheers

  • Forms 11g  and FRM-40010

    Hi,
    i have installed Forms 11g (11.1.1.3) on a local machine , when i try to run a form on teh local disk it work properly, but when i copy the fmb on a network folder ( called T:)
    it give to me the error FRM-40010 .
    any idea ???
    Gimbo

    hi,
    i have try to put in Formsweb.cfg the real path where teh form is
    --> form=\\win2008\ids_11\Test.fmx <-- in these case it works , but if i put the alias (t:) --> form=t:\test.fmx <-- not work
    when i develop i can modifiy every tiem the formsweb.cfg to test the new form.
    I have also try to modify the Env file i put the complete path --> \\win2008\ids_11\.... and the alias T: , nothing to due
    sure i can develop on the local disk and the move the file to the network folder but is a little uncomfortable
    thks
    Luca

  • Is it possible to use DVT with Oracle Forms 11g?

    Hi,
    I have posted my question on Oracle Forms forum but I didn't get answere regarding dvt usage in Oracle Forms.
    Now I try it here.
    Oracle Forms 11g and charts / graphs
    ====
    one of our customers has a forms 6i applications including oracle graphics and is thinking about upgrade to forms 11g.
    Oracle graphics has been desupported with 6i and with 9i Oracle BI beans has been recommended.
    Forms 10g is the terminal version for Oracle BI beans too (http://www.oracle.com/technetwork/middleware/bbi-beans/overview/oraclebibeanssod2008-129560.pdf).
    What's the recommended technology for graphs/charts in Forms 11g?
    Is it ADF DVT?
    If yes, are there examples how to call them from Forms 11g?
    =====
    regards
    Peter

    Hello Shay,
    thank you very much for the link.
    I wonder if there any plans from Oracle to provide and support a DVT wrapper in next versions of Oracle Forms 11g
    As the customer project is planned for Q2/2011 we still have some time and hope for this :-)
    regards
    Peter

  • Debugging oracle forms 11g

    Hi all,
    can anyone give me clear instructions on how to run a forms 11g form in debug mode (I don't mean debug_messages)
    do we have to chance anything on our weblogic server
    and what do we have to do to run in debug mode from the builder
    Kr
    Martin

    As Arunkumar Ramam... and spilgrim indicated, you have to add break points in your code other wise the Form will execute normally (except it will take longer to startup because of the debugger). To add a break point in your code, you can simply double-click on the left-margin of the line you want execution to break on. You can also click on the line you want to break on and press the F5 key to add/remove the break point.
    The Forms debugger can only step through Forms side code, not database side code. If you Form calls a database procedure, you will not be able to see what it does through the Forms debugger.
    While stepping through your code, the Debug Console default to display only the Program Stack. There are buttons to display Variables, Watch points, Form Values, PL/SQL Packages, Global/System Variables and Break points.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Aug 5, 2011 8:05 AM

  • Forms 11g: Multiple applets same oracle session??

    Hi,
    I am developing an AJAX environment that integrates different technologies, including Forms 11g.
    I need to open multiple forms within the environment, I'm calling to various forms and works fine.
    But the problem is that it opens a database session for each applet that is executed.
    Is it possible to have multiple applets with a unique session of Oracle?
    Did you configure the Forms Service? With the Parameters to environment?
    Thanks in advanced

    That's a feature that would make the whole Forms Community happy. Not me, and most others B-)
    http://talk2gerd.blogspot.com/2011/08/result-of-2011-oracle-forms-poll-part-7.html
    My most wanted would be the same as #1 on that list: reintroduction Client/Server.
    Anyway, as for the OP:
    I am developing an AJAX environment that integrates different technologies, including Forms 11g.Are you looking for something like this?
    http://www.oracle.com/technetwork/articles/adf/wilfred-adf-forms-099635.html

  • Does CHAR data type work with Forms 11g

    We have an application in Forms 11g (32bit - version 11.1.2.0.0). DB is a Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production.
    When our Forms calls a stored procedure which has parameters defined using column name type (i.e. like p_customer_code customers.code%TYPE ) and if the column data type is CHAR we get a run time error when executing the package (ORA-06502: PL/SQL: numeric or value error string).
    When we change the data type of the tables column to varchar2, it works??
    Problem is we have dozens of tables with CHAR data type columns and we can't do all the changes manually. For one thing, if they are part of a primary or unique key or even foreign key, we can't change the data type of the column without dropping the constraint.
    What is the solution to this pls??

    When our Forms calls a stored procedure which has parameters defined using column name type (i.e. like p_customer_code customers.code%TYPE ) and if the column data type is CHAR we get a run time error when executing the package (ORA-06502: PL/SQL: numeric or value error string).this might also be related to compile settings, check your NLS settings (NLS_LANG, NLS_LENGTH_SEMANTICS) both times when you compile forms AND your stored procedures.
    As for the CHAR datatype: CHAR internally is treated like a blank padded varchar:
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:1542606219593
    Speaking of that it might be time to use varchar2 instead your char columns. You'd have to drop and recreate your constraints, but with the help of the data dictionary (+user_tables+, user_tab_cols, user_cons_columns, user_constraints) and dbms_metadata this shouldn't be that hard.
    Also you'd of course need to recompile all your forms after you are finished, but I guess you are aware of that ;)
    cheers

Maybe you are looking for