Subclass Object Library

Hi,
Did anyone faced this problem.
I've created an object library. I then drag the object from the library to form using the subclass -> remove path option, compiled the form and run the application the references subclass worked fine.The object libray path has been defined in forms_path and default.env file. I then made a mod to the object library, updated it and saved. Now,forms don't recognize the change that I made in the object library at runtime but i see the modified informatioin at design time.I am using forms 10.1.2.
Thanks

Hi..
Recompile the form again.
Thnx and regards
Sriram

Similar Messages

  • 10g Forms - 11g Forms with Object Library and PLLs

    Hey All,
    Our organization is working towards converting our existing Forms 10g architecture to 11g / Weblogic. I'm currently attempting to get the 11g Developers suite working locally, and hit a bit of a snag.
    I'm using Windows XP Prof SP3.
    Here is what I have working:
    * I got the correct version of WLS installed
    * I got the Dev suite itself installed
    * I can start and run WLS
    * I can open form builder, create a simple form, run it, it works.
    Here is where I am stuck:
    I am trying to get our existing 10g forms to compile and run under the 11g architecture. These forms were all developed using smart classes in an object library and all call various PLSQL procedures in a PLL file.
    I've done the following:
    * Recompiled all PLLs and menu modules using 11g compiler binaries
    * Made sure the FORMS_PATH registry key included where my PLX, OLB and FMX files are (under the correct, HOME key, I hope).
    * changed default.env file so FORMS_PATH points to where my PLX , OLB and FMX files are
    However, when I try to run any of the forms, I get the following error immediately :
    "FRM-93652: The runtime process has terminated abnormally.
    Contact your administrator.
    Details....
    Forms Session ID is formsapp.1"
    And in the trace file, there isn't much helpful information:
    Last Trigger FORM/BLOCK/FIELD: AIS_WELCOME.<NULL>.<NULL>
    Last Trigger: PRE-FORM - (In Progress)
    --- Call Stack Trace ---
    EnumerateLoadedModules64 failed with error -1073741819
    calling call entry argument values in hex
    location type point (? means dubious value)
    EnumerateLoadedModules64 failed with error -1073741819
    01571C5E 00000000
    015714A4 CALLrel 01571870 314E9E8 314ADA4
    0157151D CALLrel 015713BC 314E9E8 314EA28 3 12BB4C
    12BB48
    014B131F CALLrel 015714FC 314E9E8 314EA28 3 314EA94
    12BD28
    014A20F5 CALLrel 014B112C 314E9E8
    014797FE CALLrel 014A1E1C 314E9E8 1 0
    665F1DEE CALLrel 66614E06 2E4C6F4 314E9E8 0 80000400
    80000040 100000
    6611B066 CALLrel 6619E0FC 24E3CF0 32105D8 2E44D10
    2E13B64 0 6611A492
    00000001 CALL??? 00000000
    --- End of Call Stack Trace ---
    Since I can create forms from scratch, it has SOMETHING to do with the subclassing / Object Library or the PLL/PLX. Can anyone give me any clues or hints? Is there any more tracing or logging I can turn on to get a better clue of the problem?
    Thanks!

    * ***NEVERMIND*** *
    I figured it out. I missed one of the the PLX files, and it was not recompiled under 11g. It is working now! Sorry to gum up the forum!

  • Subclass the webutil.olb object library

    Hello,
    please can anybody show me how to subclass an objectgroup in the designer 9i.
    I want to add the webutil.olb in somme module, but it doesn't work, and it attached only the original qmsolb65.olb. The STOLB is set to qmsolb65.olb and I add webutil.olb, but it doesn't work.
    Thank you

    A suggestion: try to specify the object library in the Generate Form dialog directly. Also set the object group of WebUtil with pref OLBLST.
    regards,
    Harm

  • Problem subclassing an object group from an object library

    Hi
    I've created an object group using Forms 6i (can't tell you the exact version just now) containing a number of objects, including a couple of alerts, a couple of data blocks, canvas, window, program units etc. I've saved the object group into an object library and used it successfully for some time. Now I've gone to a new job, I suspect that I'm using a subtly different version of Forms 6i (6.0.8.16.1), but I'm finding a strange behaviour when I try to add the object group to a form.
    Dragging the object group over, I get the 'Do you want to copy or subclass the object?' message. If I select 'Copy', everything gets copied across fine - the datablocks have all the items in them and the program units are fine. However, if I select 'Subclass', the items all appear in the object navigator, but are 'empty', so the data blocks contain no items and the program units are just 'begin' and 'end' statements with nothing in between.
    Funnily enough, if I 'copy' the object group into a form (so everything's present), then create another copy of the object group in the current version of Form Builder and save it in a (new) object library, the behaviour is still the same.
    Has anyone come across this situation before (I couldn't find anything exactly comparable on Metalink), and what workaround (if any) did you find?
    regards
    Andrew
    UK

    Hi again
    The answer to this strange behaviour became apparent when I found bug 2772326 on Metalink.
    Basically, either the OLB has to be on the FORMS60_PATH, or the option in Forms Builder under Tools->Preferences->Access->Subclassing Path has to be set to 'Keep' rather than 'Remove'. Doing either of these things solves the problem.
    regards
    Andrew

  • Subclassing objects from Object Library

    Hi,
    We have an Object Library that is ever-changing.
    We have several procedures and function in the Object Lib. that
    we subclass in many different forms.
    I expect those subclassed proc/functions to inherit the new
    changes automatically when I re-compile, but I don't see any new
    changes. In fact, the red arrow(subclassed items have red-
    arrows to show that they are subclassed) disappear from the
    subclassed forms.
    I have a source form where I edit/write all the property
    classes, visual attributes, procedures, and functions. Once I
    write/edit them, then, I move(drag) them to object library. Am
    I doing something wrong?

    Once you have an object in the OLB and you dragged it to a form
    it will be marked with a red arrow as subclassed.
    Now if you change the object in the OLB (but keep the previous
    object name, you'll get a replace option message) and save the
    olb, you need to open the form that has the subclassed object
    and re compile it. Make sure the olb is also opened in the forms
    developer. This will make the changes appear in the form's
    object.
    If the arrow disapear then have a look at the subclass property
    of the item in question to see what went wrong.

  • How to change objects in object library?

    I saved an object in the object library and used it as parent object to create some subclass objects in several form modules. Now I want to modify the object in the object library so all the subclass objects can inherit the changes made in the parent object. How can I change the object saved in the library?

    1- Open New Form
    2- Drag the object you want to modify to it
    3- Modify it in the opened Form
    4- Drag it back to the Object Library
    Rem: Be sure all Forms that are using this object are closed when you start this procedure.
    Hope this help,
    Ahmed.

  • Form Builder 6.0 object library

    Hello,
    I created an object library in Form Builder 6.0, which I have
    used to develop two forms.
    The other member of my team wishes to use the same object
    library. When she loads it from my directory, it loads OK, but
    when she subclasses any of her objects nothing happens. I can
    see the red arrow on the object indicating that it was
    subclassed but the changes are not registered on the layout
    editor nor the form when it runs.
    Can anyone help?
    null

    double click the read arrow and it should turn black. A black
    arrow is a sub-classed item with the sub-class applied, red
    indicates sub-classed item with the sub-class not applied.
    Rasheed Ghany (guest) wrote:
    : Hello,
    : I created an object library in Form Builder 6.0, which I have
    : used to develop two forms.
    : The other member of my team wishes to use the same object
    : library. When she loads it from my directory, it loads OK, but
    : when she subclasses any of her objects nothing happens. I can
    : see the red arrow on the object indicating that it was
    : subclassed but the changes are not registered on the layout
    : editor nor the form when it runs.
    : Can anyone help?
    null

  • .olb object library cannot open file in 11g - migration from 10g to 11g

    I have an object library (.olb) that will not open in Foras 11.1.1.2.0. It opens fine in 10g. I have tried converting it to ascii (.olt) but it will not creat the binary filie in 11g - get PDE-PER001 Internal Error (cakaa 2) when I try to convert any ascii file from 10g into 11g.
    I have tried using frmplsqlconv, the conversion tool on .olb but get following error when it is run: ERROR opening easstnd.olb :oracle.forms.jdapi.JdapiStatusException: Failed to load olb
    Check subclass and library dependencies
    Any help appreciated!
    Kim

    Kim,
    We are not migrating yet, and we have not started converting all our forms and reports, but for the tests we have done, I never had to use frmplsqlconv (in fact, I don't know what it is). What I have done is:
    1) As I told you before, I copied everything (forms, reports, etc.) we have to a new location.
    2) I opened ALL the pll files with Builder 11g, saved them, and generated the plx files. The only problem I encountered here was that with some plls, Forms Builder crashed when opening them. I had to open those with Forms Builder 10g, and remove program units one by one until I found the culprit. After removing the program unit causing the crash, I opened the pll successfully with Forms Builder 11g, and created the program unit I had deleted.
    3) After all plls were generated, I opened the forms I wanted to test, saved them, and generated the fmx files.
    4) Same thing with reports (rdf and jsp files).
    I have never gotten an error in Builder when closing plls, and we don't have either .fmt or .pld files.
    Carlos

  • Object Library Error:

    Hi Everyone,
    We do have Oracle Forms 6i I just started upgrading them to 10g.
    1. Do we need to Compile Object Libraries in 10g, if so how?
    2. When I try to open object libraries on 10G, some of them open but a couple of them are having problems. the error is:
    Error Signature.
    App Name: fmbld.exe AppVer 10.1.2.0 ModName fmdg.dll
    ModVer: 10.1.2.0 Offset: 00001a23
    These object libraries can be opened in 6i, I have included them in the 10g path.
    the only thing I found is that the Object Library that have an Object Group included, if I delete the object group from the Object Library and then save and compile in 6i, it will open in 10g.
    But on the other hand the object libraries that I can open in 10g does have object groups attached to them.
    One last thing there is a big difference between the object Libraries that 10g can open them and cannot.
    object groups from the object library tab can be dropped in a form(10g opens these)
    does not allow object groups from the object library to be included in any form (10g does not open these).
    Any advice is helpful..
    thanks,
    Habeeb

    Hi Every One,
    As said earlier, we have compiled all libraries, object libraries, menu and forms successfully and tested them on windows. (I am sorry we have updated our application from 6i to 10g). Now we have to move to Unix, this is where the problem started.
    Form A is calling Form B, passes a parameter, works fine when tested on windows, fails when tested on server.
    This is the error:
    FRM-47023: No such parameter named PROCESS_MODE exists in the form B.
    When the Form A calls Form B (this is done by a menu M1)
    Form A does have a parameter defined as PROCESS_MODE
    the triggers in the menu are:
    procedure browse_menu_option
    (p_window_title varchar2
    ,p_form_name varchar2) is
    pl_id ParamList;
    begin
    pl_id := Get_Parameter_List(p_form_name||'_parms');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List(pl_id);
    END IF;
    pl_id := Create_Parameter_List(p_form_name||'_parms');
    window_title(p_window_title);
    Add_Parameter(pl_id,'PROCESS_MODE',TEXT_PARAMETER,'BROWSE');
    form_call(p_form_name,pl_id);
    set_runform_properties;
    end browse_menu_option;
    procedure update_menu_option
    (p_window_title varchar2
    ,p_form_name varchar2) is
    pl_id ParamList;
    begin
    pl_id := Get_Parameter_List(p_form_name||'_parms');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List(pl_id);
    END IF;
    pl_id := create_parameter_list(p_form_name||'_parms');
    window_title(p_window_title);
    add_parameter(pl_id,'PROCESS_MODE',text_parameter,'UPDATE');
    form_call(p_form_name,pl_id);
    set_runform_properties;
    end update_menu_option;
    When form B is activated the WHEN-NEW-FORM-TRIGGER have this code.
    BEGIN
    set_window_property(FORMS_MDI_WINDOW,window_state,maximize);
    set_window_property('RPT_DEF', WINDOW_STATE, MAXIMIZE);
    FORM_SECURITY_CHECK;
    icon_bar_init;
    set_all_item_defaults;
    QUIET_QUERY;
    END;
    FORM_SECURITY_CHECK is a procedure defined in a PLL Library.
    PROCEDURE FORM_SECURITY_CHECK IS
    ACCESS_DENIED EXCEPTION;
    FORM_NAME VARCHAR2(8) := NULL;
    BEGIN
    IF NAME_IN('PARAMETER.PROCESS_MODE') = 'UPDATE' THEN
    FORM_NAME := GET_APPLICATION_PROPERTY(CURRENT_FORM_NAME);
    ELSE
    FORM_NAME := 'OSCAR';
    END IF;
    END;
    Form B does have a parameter defined as PROCESS_MODE to receive and is part of the object_library.
    Now the funny thing is that if I delete the object_library and reattach but this time instead of "subclass" I choose "copy" and it works fine, but when the items are "subclassed" it does not work, not only this it does not even see any subclassed item.
    the way I attached the object library is directed by Tony Garabedian.
    I can choose to copy rather subclass but the disadvantage is that I loose all inherted properties, which is a pain to redo all.
    Any help is appriciated...
    Habeeb

  • Attaching/Subclassing Object Libraries Without Opening in 6i FMB

    Hi All,
    Our requirement is to subclass a object group which contains different set of elements in it. (i.e. Blocks, Property classes, Canvas etc) how can we subclass this OLB in a form without opening the form in a 6i Builder. Tried the header functions available in Forms C API but i find no API which allows this type of operations to be done for object libraries. We have successfully automated such redundant activities for other items like canvas, items etc.
    Can you suggest a way to achieve this in a object library, if its possible. Because we need to do this for nearly 500+ forms. Why we are thinking of this alternative is because of the fact that if we have these elements said above in a object group of a template form, we will have to drag and drop this object group in each forms from template form.
    Its a new object group and we are not in a position to add the newly created elements into any other existing object group because of few other reasons which may disturb the existing functionality, because if we can do that recompiling all forms against template form will have the newly created elements reflected.
    Hope i have conveyed it clearly, please comment and advice to achieve our requirement.
    Edited by: ramarun on Sep 30, 2011 11:50 AM

    This is not possible with Forms 6i. Referred with Oracle Support for this Issue.
    Thanks

  • JDAPI: add Object library or PLSQL libs

    Hi,
    I miss 2 things in JDAPI:
    there is a methods getAttachedLibraries() and getObjectGroups(). Fine, but how to add a library or ObjectGroup. There is no add-Method.
    What I want is the same as drag and drop a object library to a form in Forms Builder...
    Anybody there, who knows...
    Thanks a lot,
    Michael

    Hi Duncan,
    Thank you very much for your help! Works great!
    Another JDAPI question:
    I add webutil via JDAPI (and modify some ProgramUnits) to a 6i form and found a very strange behaviour: When try to compile the form I get incorrect compiler errors...
    I have to save form, Jdapi.shutdown() and then Reopen form. After that I can compile without any error?!
    Similar happens, when subclass webutil and use the Block.find(...): JDAPI can't find the before added webutil block! After saving, reinitializing and reloading the form the form find works correct...
    But these are minor problems...
    Thank's again,
    Michael

  • Do we need to include OLB (object library file) in production form path?

    Hi,
    I would like to ask if a form being compiled that consist of record group defined in object library file (olb), do we need to release the OLB to production form path as well?

    That depends on how you deploy your compiled Forms (.fmx) files to your production environment and how you copy the objects from the object library (OLB) into your forms. If you subclass the objects (the recommended method) rather than copy them, then the source OLB must be deployed so the source objects are found during the compilcation process.
    If you deploy only the compiled executable (.fmx) files, the OLB source files do not have to be deployed to production.
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • "ORA-04062" and the Object Library

    Hi,
    <br>
    <br><b>Breifly, my form is generating "Ora-04062" at runtime and to make it working I must re-subclass objects linked from an OLB file. How can I fix this without re-subclassing?</b><br><br>
    Here are the details:<br>
    I created a form FMB with objects subclassed from an Object Library OLB file. The form used to run fine till I have made some modifications on its code. Since then, evertime I run the form, it generated Oracle "Ora-04062" error.<br><br>
    I recompiled all the packages used by the form and the form iteself with no luck. Finally, when I re-subclassed the objects from the OLB file, the form starts to work fine.<br><br>
    Unluckily, I have now too many forms with the same problem. It's very time consuming to re-subclass the objects for all of them because the subclassed objects are used by too many items withtin the form.<br><br>
    This issue drives me crazy and it took me all the day just subclassing from the OLB. Had I known such a thing may occur, I'd have much preferred to avoid using OLB in first place.

    Hi,<br><br>
    The OLB file is pointed by the FORMS60_PATH.<br><br>
    Regarding the signature, yes I may now and then make some changes on it. There is no advantage of the OLB file, if I am not able to make modification on it to be applied on all the forms.<br><br>
    Thanks anyway.

  • Forms with subclass object is not compiling----AIX

    Hi all,
    We have OAS 10g in AIX 5.3. First of all there is no Developer in AIX, which is a big problem to fix any error. All though we have developed our application in HP-UX m/c and now change to AIX as in the production it will be AIX servers.
    Now the problem is that, we have a Form, whose objects are being subclassed by all other forms. And in AIX whenever I try to compile any form it gives the error FAILED TO LOAD : MODULE NAME: <REFERNCED FORM> OBJECT NAME: <REFERENCED OBJECT>.
    If I change the subclass object to copy (i.e., when I add the object from Referenced form, it ask for COPY, SUBCLASS and I select COPY), and I compile it, then it compiles without any error.
    But the problem is that we have total 1000 forms in our application and it is not possible to change all these forms again. Moreover it is not a good practice to copy it.
    So I need to overcome this problem. Please suggest me how to overcome this problem.
    NOTE: I have put the REFERENCED form in the path $ORACLE_HOME/forms/ and all the other forms are in respective module's directory. And I have change default.env accordingly.

    Hi ,
    I had the same problem once and i discovered that the problem was on my Environemnt path so try to make sure you set it using :
    export FORMS_PATH=<your library and Super module path>
    and after that make sure it has been setted using :
    echo $FORMS_PATH
    so can you please take a second look on it ..
    Best Regards,

  • Object Library/PL-Sql Library Use?

    1. I would like to know the benefits of the new concepts like
    Object library and Object Group etc. All I gather is that they
    can be subclassed, the advantage of this being, I need to change
    only at one place, and it replicates in rest of the programs.
    2. Is there going to be any benefit of having the
    procedures/objects in PLSQL Library/Object library rather than
    in Object Group within the form .
    null

    The query in your code actually generates a string that is 3887 bytes long:
    SQL> ed
    Wrote file afiedt.buf
      1  SELECT length(LISTAGG (LEVEL, ' ') WITHIN GROUP (ORDER BY LEVEL))
      2  FROM DUAL
      3* CONNECT BY LEVEL < 1000
    SQL> /
    LENGTH(LISTAGG(LEVEL,'')WITHINGROUP(ORDERBYLEVEL))
                                                  3887
    The reason you are getting 7774 is because your database is obviously set up for a multi byte character set, so the length is determining 2 bytes for each stored character (2*3887 = 7774).  You're not actually storing more than 4000 bytes.  Try changing your query to add another 25 numbers to the string and it'll break... as you're exceeding the 4000 byte limit...
    SQL> ed
    Wrote file afiedt.buf
      1  SELECT length(LISTAGG (LEVEL, ' ') WITHIN GROUP (ORDER BY LEVEL))
      2  FROM DUAL
      3* CONNECT BY LEVEL < 1025
    SQL> /
    FROM DUAL
    ERROR at line 2:
    ORA-01489: result of string concatenation is too long

Maybe you are looking for

  • How do I maintain my computer for best performance?

    Regular computer maintenance is an excellent idea. Every program you install or uninstall, every web site you visit, in fact pretty much every move you make on your computer creates temp files and other such unnecessary on your hard drive. With a few

  • Home Sharing needs to be reset every time.

    I use Home Sharing to watch movies from my late 2009 iMac on my 3rd Gen Apple TV. Sometime in the past few iTunes/Apple TV updates my library stopped showing up on the Apple TV. This is remedied by turning off Home Sharing at the iMac and then turnin

  • SQL Expression returning too many results

    I am trying to display the value of a field in one table as a caption in the report header. This  caption is above a u2018descriptionu2019 field in the details section. When I run my report, I get  the description field displaying 832 times; which is

  • Why archive not run in LiveCycle server?

    There's a sample process called: RenderTemplateInMultipleFormats in Samples - Output. I can invoke it successfully in workbench by specifing all the necessary paramters and watchedfolder location. The output files generated. But, after I imported thi

  • Corrupted photos in iPhoto

    Hello,      So I have had some problems with some photos in my iPhoto library appearing to be corrupted somehow. I have tried to research the problem and fixes with no success. I shoot in RAW format with a Nikon D5100. Any information on what could b