Attached libraries in reports

Hi,
I have a report with an attached library. I am trying to run the report from a form.
I am using Forms and Reports 10g. I have compiled the form and reports successfully using the Form and Report builder respectively.
The form fmx, report rdf and library pll and plx all exist in the same library.
When I try to run the report from the form, I am getting the following error
"REP-770: There exist uncompiled program unit(s). REP-1247: Report contains uncompiled PL/SQL. "
If I remove the plx file from the directory, then the report runs without any problems.
My question now is
1. Is it ok to have just the pll library files in the directory from which we run the application ?
2. As a general practise, what files do we supply to the customer along with the form executables ( fmx ). Do we give the pll library files or the plx library files ?
Thanks

You can have just pll files in the directory, but Reports has to compile the library every time you use it. Therefore it is better to deploy plx files.
When you deploy at a customers site, it is always better to give them the plx files, since they cannot change the code that way.
If you get an error message deploying the plx, it probably means that the database where you developed your pll and the database where you deploy the plx are not the same. See if there are any differences (in table structure, stored procedures etc.). Maybe you have hardcoded schema owner or something in you pll.

Similar Messages

  • How to automatically attached multiple PDF reports to an e-mail and send

    Hello.
    I have a requirement to generate multiple PDF reports using Oracle Reports 6i on the web, then automatically attach these PDF reports to an Outlook e-mail and then bring up the Outlook e-mail dialog box so the user can modify the e-mail (such as adding more attachments, adding a CC, BC, change the message text) before sending the e-mail. I want to be able to initiate all these tasks from Oracle webforms 6i in a three-tier environment.
    I have already read various notes and solutions but none of them address all my requirements. Examples:
    1. Using OLE to interface with Outlook - but OLE does now work on the Web
    2. Using Java stored procedure or UTL_SMTP - but this does not bring-up an e-mail dialog box
    3. Using mailto: in HTML and web.show_document - but this does not allow you to attach a PDF file
    Can you please advise on possible solutions to my requirements. Thank you very much.
    Regards,
    Armando

    Here is a great resource for sending binaries.
    http://otn.oracle.com/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    You'll want to use utl_http to run each report with a destype=file and then have another procedure running to check to see when all of your reports have finished. After they are finished, you would run the stored procedure to get all of the binaries, attach them in an email and then send it.
    If you want to concate all of the PDF files into one large file, you can do this with a Java stored procedure using iText.
    http://www.lowagie.com/iText/

  • Hot to display PDF and Word documents as an attachment in OBIEE Reports

    Hi,
    From few of Oracle threads I learnt that we can store the files in a server locaiton and read it thro a URL. What I am trying to do is, PDF or Word document will be stored in database as BLOB fields. This BLOB field needs to be come as an attachment in OBIEE Reports and by clicking that icon, it uses the local applicaiton PDF reader or a word applicaiton and open the attachment, just like how we open an attachment from a E-mail. Can you please help me with the possible methods of that. I can provide you more information incase if you need.
    Thanks
    Augesthi

    As long as you used the paper-clip Attach icon, that should be fine.
    The entire document appears to you because your Mac recognizes the document type, and displays it for you, saving you from having to mouse around and find a Reader for it. You can still use the Save icon to save a copy of only the attachment.
    To avoid problems with other email readers, be sure the checkbox [√] send windows-friendly attachments is checked.
    I addition, some email readers cannot cope with any attachments positioned at any place in the document other than at the very end. So make sure you move the cursor to the absolute end of the document before clicking "Attach".
    If all else fails, send an email that says, "attachment to follow", then send the attachment right away in a separate email, with nothing else in the body of the message. Some use the Subject abbreviation (nt) to indicate "no text", that is, no words typed in the message portion.

  • Troubles with attached libraries - Forms6i

    I'm working with Forms6i (6.0.8.8.0).
    I have some troubles with attached libraries.
    I have to modify an old forms project. All server elements are on the original
    server computer (database, sources, libraries , ect..). Now I installed
    on a new client Pc forms6i and I tried to open forms modules.
    When I open modules I don't see attached library (pll and olb).
    I reattached the object library and the pl/sql library but when I close and open forms6i I can see in module structure only
    object library. No pl/sql library . I reattached pl/sql library too but i get errors like "identifier xyz must be declared" about functions and procedures defined in my pl/sql library .
    First I try to add in registry the pll library path in FORMS60_PATH then I try following suggestion :
    " just put all of your forms (*.fmx), menu (*.mmx) and PLL libraries (*.PLL or *.PLX) files into the same
    directory, then change your shortcut (icon) that you start the Oracle Forms runtime environment from so it's
    "Start in" (working directory) is set to the directory where your forms, menus and libraries are. "
    I get same errors.
    Could you help me ?
    Thanks in advance.
    Antonio

    Are your computers running the same operating system ?
    The pll file is a strange beast - although it contains portable source code, it also contains compiled code which has to be compiled on the right platform. plx files
    are entirely optional, and are only really required if you want to ship an executable without giving away the source code.

  • Is it possble to attach the same report painter in several groups of report

    Hello,
    We have about twenty reports in a same library that must pe spread in 5 groups of reports.
    Is it possble to attach the same report painter in several groups of report
    Thanks
    Edited by: Hallouet_H on Jan 31, 2012 1:45 PM
    My problem is answered : Technical limitations to group of report (sapnote 387916).
    Report Painter Problem
    Edited by: Hallouet_H on Jan 31, 2012 3:11 PM

    A report could be attached to several reports group.

  • Can't delete or sort Attached Libraries....strange !

    When I delete all the attached libraries in a form,
    and save the form, they are back when I re-open this form.
    I also can't sort the libraries in a correct order,
    they are in a wrong order again when I re-open the from.
    Greetings,
    rob

    You probably have libraries atteched to a library. Only in this case - when u delete a sublibrary, but not the master one, next time it will be automatically re-attached, because it wasn't attached to the form directly, but to another library (which is directly attached to the form)
    For the second question - there is no difference in what order you have the libraries in the list. So u don't have to even try to reorder.

  • Attached Libraries and Performance issues on the AS

    We are moving toward Forms 9i and 9iAS.
    I have common SQL code that should be accessed from many Forms and considering
    between creating Database Packages and Oracle Forms Packages as Attached
    Libraries.
    Have been told that they both operate differently with the Forms PL/SQL packages
    loaded 'thinly' (only the components being called and also in 4k memory size).
    So there is an argument to go for Forms Package as opposed to Database packages
    this way!.
    Obviously the Forms package will be loaded somewhere in a Run Forms session, but
    does this means other Oracle Forms programs can access the loaded program unit.
    Let me say user A running Forms A has an attached library which is also accessed
    by user B running Forms B but trying to access the same program unit in the same
    attached library.
    Would the 9iAS recognise this and load only one copy, assuming user A started
    first and hasnt closed his/her session while user B starts Forms B soon after?

    Ravi,
    as far as I know the answer is yes, Forms only loads the library only once and shares it in memory.
    Frank

  • JDAPI - method getAttachedLibraries does not get all attached libraries

    Hello,
    i've a strange behavior while using JDAPI to list all Libraries attached to forms.
    I've the following code:
    Jdapi.startup(true, true, true);
    String startModule = new String("c:\\test.fmb");
    FormModule fmd = FormModule.open(startModule);
    System.out.println(formPath+"\\"+form);
    JdapiIterator libs = fmd.getAttachedLibraries();
    while ( libs.hasNext())
    AttachedLibrary currLib = (AttachedLibrary) libs.next();
    System.out.println("Lib="+currLib.getName());
    if (currLib.getName().equalsIgnoreCase("WEBUTIL") || currLib.getName().equalsIgnoreCase("WEBUTIL_LIB")) {
    System.out.println("->"+startModule);
    Jdapi.shutdown();
    This code is very simple and the idea is to check form for Attached Libraries named WEBUTIL or WEBUTIL_LIB.
    However i'm getting an annoying behavior, because i see that it is not reading all Libraries attached to the form, but only some of them ... is there anything i'm doing wrong?
    Thanks,
    Pedro Ribeiro
    Edited by: pribeiro on Sep 23, 2009 11:36 AM

    Hi Ruslim,
    you get the below mentioned error due to following:
    1: for payment method T = "ACH" street, bank address is a required filed in FBZP configuration. so vendor master data needs to have street, city & bank inforamtion filled.
    2: vendor line items should have payment method as T = "ACH"
    3: delete all the previous open proposal for same vendor
    Hope this helps
    Pls assing points as way to say thanks

  • Oracle Forms - Compilation error due to attached libraries

    Hi,
    I am builing forms using Oracle Forms 10g and almost everytime I recompile the form, I have to delete some attached libraries and add them again. This happens a lot of times and I don't know why. These attached libraires have not been changed.
    Can anyone help me with this issue please? It's very anoying :(
    Thanks.
    Regards,
    Amado
    Edited by: 973539 on 27/Nov/2012 20:09

    That should be correct. If you attached the libraries without a path, modified your FORMS_PATH to include the path that the libraries are sitting in, then the form should pick them up.
    I would:
    1. Verify that FORMS_PATH has the correct path. Make sure the '\' are pointing in the right direction and that the path is separated from the other paths by a semicolon.
    2. Make sure you changed the correct FORMS_PATH. You might have multiple ORACLE_HOMEs so you need to make sure the ORACLE_HOME you are using is the one that has FORMS_PATH set up in it.
    3. After FORMS_PATH is correct you shouldn't have to reattach the libraries, but try it again without including the path.
    I read CraigBs reply below and it made me think of something else you might want to look at:
    4. Check all the directories that are listed in your FORMS_PATH and see if there are older versions of the libraries in one of the paths that shouldn't be there and remove the unneccessary ones. For example, if your FORMS_PATH is set to "C:\Work\11g;C:\Oracle11g\Middleware\as_1\forms;C:\Oracle11g\Middleware\asinst_1\FormsComponent\forms;" then there are three directories that forms looks through everytime it runs. In this case, you would check all three directories and see if there were older libraries in there that needed to be removed because they are overwriting the one that you want to be picked up.
    Edited by: MLBrown on Nov 28, 2012 7:37 AM

  • Application Server and performance with Attached Libraries

    We are moving toward Forms 9i and 9iAS.
    I have common SQL code that should be accessed from many Forms and considering
    between creating Database Packages and Oracle Forms Packages as Attached
    Libraries.
    Have been told that they both operate differently with the Forms PL/SQL packages
    loaded 'thinly' (only the components being called and also in 4k memory size).
    So there is an argument to go for Forms Package as opposed to Database packages
    this way!.
    Obviously the Forms package will be loaded somewhere in a Run Forms session, but
    does this means other Oracle Forms programs can access the loaded program unit.
    Let me say user A running Forms A has an attached library which is also accessed
    by user B running Forms B but trying to access the same program unit in the same
    attached library.
    Would the 9iAS recognise this and load only one copy, assuming user A started
    first and hasnt closed his/her session while user B starts Forms B soon after?

    You should probably ask this on the Forms discussion forum.
    http://www.oracle.com/technology/discussionforums/forms.html
    But in general Forms on the Web share objects in the memory on the application server - including plls.

  • Forms to XML Misses Some Attached Libraries

    Trying both iff2xml90 and frmf2xml to generate a 6i Form to XML only a few Attached Libraries get included in the output. Are there other requirements/tricks/gotchas in getting them to be included?
    keywords: iff2xml90.bat frmf2xml.bat "forms to xml" "AttachedLibrary"

    OK, this is a flagrant bump, I admit it :)
    Anybody got any ideas? Any clues on some additional configuration I can do either for frmf2xml, my Oracle environment, or maybe even my Java environment itself?
    Even guesses would be appreciated.
    Dave

  • Forms/Designer 10g - problem with attached libraries

    I've problem with forms with attached libraries. All of libraries have removed paths. I can run all forms without any problem on my local application server from Forms Builder 9i or Designer 9i. I added all paths in registry FORMS90_PATH. WORKINGDIRECTORY in formsweb.cfg is blank.
    Unfortunately I can't do it with Developer 10g on second workstation. I added all paths in registry FORMS_PATH. WORKINGDIRECTORY in formsweb.cfg is blank too. When form is running I get ORA-06508. I can't store all files (fmb, fmx, pll, plx etc.) in one folder because I've to use CVS. In this case I can't set any folder in WORKINGDIRECTORY.

    Assuming Forms 10.1.2.x, FMX, MMX, PLX, and OLB files are found based on the value of FORMS_PATH which is set in default.env and not the Registry. This applies to runtime only. The Builder uses the Registry.
    Understand that "runtime" refers to any time a form is displayed in a browser, regardless of whether is was started from the Builder or Application Server.
    Also, be aware that if you have FMX, MMX, or PLX files which were created in older versions they must be recompiled using the 10.1.2 compiler.

  • FRMCMP unable to find attached libraries

    Hi,
    I am currently migrating a web application to 10.1.2.0.2 on Sun Solaris. The object libraries, libraries, menus and forms have all been upgraded successfully on the Windows 2000 client machine using forms builder and Forms Migration Assistant.
    The files have now been ftp'd over to the server and are being converted using frmcmp.sh to produce the executables to be deployed on the application server.
    The libraries have been converted to plx files (included those with attached libraries) as have the form and menu modules which do not have attached libraries, I did have to move (cd) to the actual directory to get frmcmp to see the menu and form module. However I cannot get the modules with attached libraries to produce an executable.
    I have tried moving into the directory with the source code, setting the environment varaibles, and calling frcmp directly and implicitly from this directory.
    There seems to be a number of threads where this problem has been raised and it appears on metalink as closed but with what appears to be no resolution to the original question.
    Can someone offer a solution

    Thanks,
    I was in the process of translating my menu module to a text version. It appears I made a very silly assumption that this was not the case on live but there appears to be a number of the files all differently named.
    In the text version it expects an initcapped version. I had assumed (oops!) that if I corrected the names on windows and recompiled and saved the menu modules then the name held internally would be the same.
    I was wrong!
    Advice much appreciated.

  • Unable to find attached libraries

    I installed 9iAS (1.0.2.0.0) and Headstart (6.5.1) on Windows 2000 Server. I can successfully run a web form, but the form is unable to open any of the attached libraries. Also, the Headstart utilities are not functioning (again, it seems as though none of the libraries are found). I have tried placing the FORMS60_PATH and all of the HSD65 registry settings in both HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE and HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEx, but still cannot open the attached libraries. Does anyone have any clue where the problem may be?
    Here is the error that I receive when I launch the application:
    FRM-21011: Pl/SQL unhandled exception ORA-06508
    Thanks in advance.
    Rick

    Rick,
    Can you run these forms client server? (Try to open in form builder, I suppose form builder is installed in the same Oracle home as Oracle Forms Server?).
    Do you still encounter the same problem?
    What is the length of your forms60_path?
    Are there plx files somewhere in the forms60_path that are found first?
    Does it help if you try to put the libraries in the same directory as the form that apparently is found?
    Hope this helps
    Kind Regards, Marc Vahsen
    Headstart Team

  • Forms jdapi and attached libraries

    using Jdapi to manipulate forms is an exciting experience, especially, when misterious things happen
    i wrote a simple code to list all the attached libraries (the reason for that is i want to migrate Forms application from Windows env to Unix and i wanted to change all attached libraries to lower case)
    JdapiModule.openModule("c:\\MODULE2.FMB");
    JdapiIterator fmbs = Jdapi.getModules();
    FormModule fmb = (FormModule)fmbs.next();
    //FormModule fmb = new FormModule("myform.fmb");
    JdapiIterator libs = fmb.getAttachedLibraries();
    while (libs.hasNext())
    AttachedLibrary lib = (AttachedLibrary)libs.next();
    // System.out.println(lib);
    System.out.println(lib.getLibraryLocation());
    // System.out.println(lib.getLibrarySource());
    System.out.println(lib.getName());
    This works only if the libarary is attached with library path included!
    When i run the same code against a form where the library is attached with path removed, the code above does not detect the attached library at all?
    ie libs.hasNext() return false
    Ammar Sajdi
    www.e-ammar.com
    www.palco-me.com
    founder and managing partner

    I created another form with an attached library on another PC.
    I ran the same program, and the program runs perfectly!!!!!!!
    i really do not understand this behaviour!
    The forms i am using is 9.0.4.19
    Glad it works on other pc's
    Ammar Sajdi

Maybe you are looking for

  • LaCie desktop manager wont run in lion

    Hi I have just purchased a new 1TB LaCie D2 Quadra External hard drive and connected it  by Firewire 800 to my 27" iMac. I am aware of some compatibility issues, and the setup assistant would'nt run on Lion and you have to reformat manually, which I

  • How change the encoding of xsd?

    Hi.   I have an xsd file that has as encoding the ISO-8859-7. When importing it into XI the encoding is changed to ISO-8859-1. To be more specific the <?xml version="1.0" encoding="ISO-8859-7"?> is converted to <?xml version="1.0" encoding="ISO-8859-

  • Crashing Illustrator

    Hi, my computer is not running the Illustrator (CS5) files I'm working on, it says there's an error (Microsoft Visual C++ Runtime Library). The file I should open is 15Mb but it crashes all the time. What could I do? There should be enough RAM memory

  • G4 won't recognize a FireWire device

    G4 (OS9.2.2, 450MHz, 1.5GB ram) won't recognize any firewire 400 device.  No changes made; it just stopped working.  Tried new cable, other devices, other firewire port.  Devices work on iMac, and prior to this problem worked for years on the G4.  I

  • What is the lastest iPod Software?

    I keep hearing people talking about version 1.2.1 but I'm a little confused as to what this is. My iTunes says the most recent version is what is installed and that's 1.2 Am I not getting something here, or has this version just not come out in the U