Cannot Attach library

Hi, I am getting an error Cannot attach library webutil when running a Form from Form builder, I have checked all the path entries and everything seems to be correct, I have also checked the permissions on the files and nothing seems to be wrong, Can someone please let me know what could be wrong ?
Thanks

Hello,
Compile the webutil.pll, then move the .plx to one of the folders pointed by the FORMS_PATH variable.
Francois

Similar Messages

  • WebUtil Demo Runtime Error FRM-40039: Cannot attach library webutil

    I download the WebUtil Demo from
    http://www.oracle.com/technology/products/forms/htdocs/webutil/Webutil_demo.zip
    I follow the instruction given in the file ReadMe.html
    I am using Oracle Developer Suite 10g Release 2.
    There is no compilation error.
    I started OC4J Instance
    The following error appears:
    FRM-40039: Cannot attach library webutil while opening form WU_TEST_106
    Help!

    I try to compile the WEBUTIL.pll but with comilation error.
    I run FOrms Builder 10g Release 2
    Click on File, Open
    Select the file WEBUTIL.pll
    Click on Program, Compile Module
    but showing error
    Compilation errors on WEBUTIL_DB_LOCAL:
    PL/SQL ERROR 201 at line 9, column 12
    identifier 'WEBUTIL_DB.OPENBLOB' must be declared
    PL/SQL ERROR 0 at line 9, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 18, column 12
    identifier 'WEBUTIL_DB.CLOSEBLOB' must be declared
    PL/SQL ERROR 0 at line 18, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 24, column 5
    identifier 'WEBUTIL_DB.WRITEDATA' must be declared
    PL/SQL ERROR 0 at line 24, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 29, column 12
    identifier 'WEBUTIL_DB.READDATA' must be declared
    PL/SQL ERROR 0 at line 29, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 35, column 12
    identifier 'WEBUTIL_DB.GETLASTERROR' must be declared
    PL/SQL ERROR 0 at line 35, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 40, column 12
    identifier 'WEBUTIL_DB.GETSOURCELENGTH' must be declared
    PL/SQL ERROR 0 at line 40, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 45, column 12
    identifier 'WEBUTIL_DB.GETSOURCECHUNKS' must be declared
    PL/SQL ERROR 0 at line 45, column 5
    Statement ignored
    Failed to generate library.
    HELP!

  • 10g Forms Builder with error "cannot attach library" opening R12 fmb file

    Hi all,
    I had set up my Forms Builder with all the necessary PLL and FMB files for developing R12 custom forms. I have used the builder to do few custom PLLs and one custom form, and I did not have any problem opening seeded Oracle Forms. Today when I need to enhance that custom form I did 2 weeks ago and I opened Forms Builder, I got the error "Cannot attach library.." for APPCORE, APPDAYPK, etc.. Same error for opening TEMPLATE.fmb.
    I have done these to troubleshoot:
    1) I verified my Windows XP registry "FORMS_PATH" to include the folder where I store all the PLLs and FMBs.
    2) I updated default.env to include that file path.
    3) I create shortcut to Forms Builder and put folder path with PLLs under the "Start in" field of the shortcut.
    4) I rebooted my machine after changing the registry
    5) I moved the folder with PLLs to under C:; I seperate PLL to "resource" sub-folder and FMB to forms/US/ sub-folder just like the server structure.
    6) I install one more copy of Developer 10G Suite and set up the registry.
    None of these work and the key is it used to work with no issue. Any suggestions what may be the problems?
    Thanks!
    Mike.

    Turned out I reloaded all the $AU_TOP forms and PLLs to my desktop and it worked fine. I think I did not FTP correctly the first time.

  • WEBUTIL-URGENT FRM:40039 Cannot attach library WEBUTIL while opening form x

    Hi,
    I 'm working with 9iAS R2 on Linux.
    I'm testing the webutil by using a my test form.
    Give that in OS Windows 2000 the test form works fine.
    On Linux, I compile the form without problem, but when I run the form on web I have this error :
    FRM-400039 : Cannot attach library webutil while opening form TEST_FORM
    The Java console displaied this :
    JInitiator: Versione 1.3.1.8
    Uso della versione JRE 1.3.1.8 Java HotSpot(TM) Client VM
    Directory principale utente = D:\Documents and Settings\contug
    Configurazione proxy: Configurazione automatica proxy
    JAR cache enabled
    Location: D:\Documents and Settings\contug\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console windo
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://f92ias.inarcassa.it:7777/forms90/webutil/webutil.jar from JAR cache
    Loading http://f92ias.inarcassa.it:7777/forms90/webutil/jacob.jar from JAR cache
    Loading http://f92ias.inarcassa.it:7777/forms90/java/f90all_jinit.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    connectMode=HTTP, native.
    Versione Applet Forms: 90270
    I don't seem that nothing of unusual.
    Could You say me somethig ??
    Regards
    Giordano

    Hi Duncan,
    How Do I do recompile the pll on Linux?? The environment development doesn't exist on Linux !!
    I open my form in environment development on Win 2000, after I attach the pll without the path and save all.
    After I move all on linux and compile the form useing 'f90genm.sh'. Until this step I don't have problem, the form compiled fine, but
    when I running it, I show the error message FRM-40039 .......
    Do I mistake something ???
    I working on DB ver 7.0.2 and I can't produce the file PLX
    Regards
    Giordano

  • Webutil -frm-40039 cannot attach library

    hi,
    I have copied the web util demo from otn [http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm], and i tried to install it as per the instruction given over there .While compling it has not give any error but while running the form before opening the form it gives the following error FRM-40039 : cannot attach library /oracle/devsuite/forms/webutil while opening the from wu_test_106.
    note - i have attached the webutil.pll at attach library.

    where we will get the plxopen the pll in Forms-builder, then use Porgam->Compile module (Strg+T)
    plz mention clearly in which path we have to copy that file.There is a config-file named default.env (located in $ORACLE_HOME\forms\server), it contains a settings named FORMS_PATH. Either put your plx (and all of your fmx) in one of the directories listed there, or add a new directory to the list where you have placed your files in.

  • FRM-40039: Cannot attach library d2kwutil while opening form xyz

    Hi,
    I am running forms 6i.
    I copied the folder containing all executables (.fmx, .mmx, .plx) to my local directory 'C:\bin6'.
    When i call this from Command Line
    c:\orant\bin\ifrun60.exe C:\bin6\xyz.fmx
    I get the error "FRM-40039: Cannot attach library d2kwutil while opening form xyz"
    I verified that d2kwutil.plx is present in c:\bin6.
    Note: I did not change anything in the FORMS60_Path in registry to point to my local directory.
    Please help

    Hi Smita
    Pls answer urself the following questions and check...
    1. did u attached the liberary to ur form...?
    2. did u set the FORMS60_Path in the registery for the liberary...?
    3.did u try a Ctrl-Shft-K (Compile All) then a Ctrl-T (Generate) and a save, then run your form... ?
    4. did u check the path in the START IN property to the correct location.. .?if the answer is yes then pls try to do the following...
    1. copy d2kwut60.dll + .PLL to client machine C:\orant\TOOLS\OPEN2K60\plsqllib
    2. copy the required .FMX file to client pc.
    Hope this helps... :)
    Regards,
    Abdetu...

  • Frm-40039 Cannot attach library

    I have Oracle 10g and Developer Suite.
    When I attach a Library, webutil.pll.
    I can run it in forms developer,
    but when I try to run in in the runtime, I get the ERROR frm-40039 Cannot attach library.
    Why?

    Have you compiled the pll and placed the plx in a place on the runtime server where Forms will find it (added the directory where the PLX is to the env variable FORMS_PATH)?

  • FRM-40039: Cannot attach library webutil while opining form

    I have installed webutil in Windows 2000 in order to perform some features.
    When I run my forms from Forms Builder this message appear
    FRM-40039: Cannot attach library webutil while opining form.
    I don't know what is wrong. I have set the virtuals path, like this:
    For an Oracle Developer Suite installation, add the following line to the file
    j2ee/DevSuite/application-deployments/forms/forms90web/orion-web
    .xml under the Oracle Developer Suite Oracle Home:
    (The following assumes that you have installed WebUtil into a directory c:\webutil)
    &lt;virtual-directory virtual-path="/webutil"
    real-path="c:/webutil/lib" /&gt;
    On a OracleAS install, define the same virtual directory in the forms90/server/forms90.conf file:
    AliasMatch ^/forms90/webutil/(..*) "c:/webutil/lib/$1"
    I need some help!!

    You need to include the location of the pll into the FORMS90_PATH that is defined in your environment file - e.g. default.env

  • Frm-40039 cannot attach library on unix

    i've a webutil-form which runs successful on windows.
    compiling it on tru64 gives no errors. when calling it i get frm-40039 cannot attach library. the next error is frm-92100 your connection to the server was interrupted.
    the console shows no errors. webutil.jar and jacob.jar are loaded correctly.
    what else could be the reason for this errors? non-webutil-forms work fine on tru64. and the webutil-form works fine on windows. compiling this on unix gives no errors.
    ?????

    christian:
    where could i make this error?
    on windows i attach the library by selecting it from a list, and not by writing the name of 'webutil.pll'. on unix, the only thing i do is recompile the form. webutil.pll was transfered wia ftp. so there were no name-conversion or something like this.
    so, i don't know where i could make the mistake you described.
    i'm not sure if i compile the forms correct.
    i transfer the working (on windows) form and webutil.pll to unix via ftp.
    then recompile it using bin/f90genm.
    here i check 'compile all pl/sql code' and 'strip pl/sql source from library'
    the fmx is created with no errors.
    any other ideas?

  • FRM-40039 Cannot attach library in Forms9i

    I have an app that works in 6i that was recompiled in 9i and deployed to a server. The 9i app works locally (connecting to a db not on my machine), but will not work on the server. When I run on the server I get the error 'FRM-40039 Cannot attach library XXX while opening form YYY'. I have the same folder configuration on the server that I do on my laptop. I copied the libraries from their 'normal' location to OracleHome\bin, but I still get the error. I removed one of the libraries attached to the form, and received the error on the second library. The libraries are in the form without a path (just the library name). Can anyone help me? I need to go to QA in 2 days!!! Help!
    Thanks -- Jean.

    Couple of things to watch for. PLLs are looked for on the FORMS90_PATH - this is set up in the default.env file when you are running. So make sure the path is set correctly.
    Also remember that if you are moving to Unix from Windows, Unix is case sensitive so
    myFile.pll is not the same as MYFILE.PLL
    Hope this helps.
    Regards
    Grant Ronald
    Forms Product Management

  • Cannot attach library webutil 40039 - any ideas....

    Hi
    I keep getting this error when running my Form in dev 10G.
    "Cannot attach library webutil while opening form TEST_FORM. 40039"
    1. I have attached the library webutil.pll
    2. I compiled it (.plx file)
    3. All files are in my directory ../test_dir
    4. I used regedit to change the FORMS_PATH to point to ../test_dir
    ..but i stil get the error.
    Is the registry the best place to change the FORMS_PATH ? I can't write to the C: drive due to IT security.
    Is there a way i can test my FORMS_PATH ? Is there a way i can force dev builder to use webutil.plx ?
    cheers
    jc

    thanks Rajesh, that works when i hardcode the path.
    If i can just get to edit the default.env file on my C drive i might be able to solve the problem. I guess i should persuade IT security to give me write access to my C drive.
    cheers
    james

  • Cannot attach library - 9i web forms on unix

    Hi,
    I've compiled my forms on the unix server to be deployed using the servlet. However, when I try and run the forms over the web, I get FRM-40039 cannot attach library. Has anybody else encountered this error on 9iAS when trying to deploy web enabled forms?
    If so, how can this be resolved?
    Thanks in advance

    In moving from Windows to Unix, make sure that you are taking into account case-sensitivity. (i.e. in Unix bob.pll and Bob.pll are different files). Make sure you are referencing it correctly.
    Also, the forms90_path environment var should have the directory for all the files.
    The pll should have been ftp'd using binary.
    Lastly, make sure the pll is attached with the path removed.
    Good luck
    Bob

  • Cannot attach library - webforms

    Hi, People!!
    I'm working with forms 6i. When I execute the forms in client-server mode, everything is alright. But when I try to execute them in web mode, I got the error 'cannot attach library'. How could it happen? I mean, how could it just work out in client-server and generate that error in web?
    Thank you!!
    Fausto

    Hello,
    Compile the webutil.pll, then move the .plx to one of the folders pointed by the FORMS_PATH variable.
    Francois

  • FRM-40039 cannot attach library ofgbsl while opening ccw2031

    I got the above error when I try to run the program ccw2031 on the ie browser. First of all there are 3 files attached in my 4.5 forms. These libraries are the following; OFG4BSL.pll, OFG4mnl.pll, OFG4tel.pll. Upgrading it to 10g for windows had no problems since there is a corresponding libraries namely OFGBSL.pll, OFGMNL.pll OFGTEL.pll and OFGMES.pll.
    My program compiled with no errors when i tried attaching those 4 files in my Developer Suite 10g for unix.
    The problem came out when I tried to run it using the Application Server.
    And when I try accessing the program again in the forms developer i got the following messages:
    FRM-10102: Cannot attach PL/SQL library OFGBSL. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library OFGMES. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library OFGMNL. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library OFGTEL. This library attachment will be lost if the module is saved.
    Questions: 1. Are there any libraries equivalent to these 4 files in UNIX?
    2. Can I use the windows version and compile using frmcmp? Actually i tried this already but did not work.
    3. How do I configure the Developer Suite 10g for Unix to be able to attach the libraries mentioned if it works?
    Can Anybody help me.....Please.
    Edited by: user7493752 on Jan 30, 2009 12:17 AM

    First, you don't need to replace the pll's with the 4 in the middle (e.g. OFG4BSL) by the ones without the 4 in the middle and i wouldn't do it. The libraries belong to different versions of the forms-generator from oracle-designer (the *4*-ones form Designer 2000 generating forms 4.5, the ones without the *4* starting with version 6i). But both versions are "pure" pll's, so they can easily migrated to 10g.
    FRM-10102: Cannot attach PL/SQL library OFGBSL. This library attachment will be lost if the module is saved.Your problems can be based on one of the following:
    The pll's are not in the working-directory of your forms-environment, if any.
    The pll's are not in one of the directories defined in the env-setting FORMS_PATH.
    You attached the pll's to your forms with the whole path (not preferable) and now forms doesn't find that path in your application-server-environment.
    Library-names are Case-sensitive, so if you attach MYLIB, the filename must not be mylib.pll but MYLIB.pll.
    hope this helps.

  • HELP error FRM-40039: Cannot attach library common while opening form

    Hi
    I want to help me with the NEXT issue is urgent.
    I'm working with forms 10g and using a linux server. To compile objects, forms, reports and menus use the Putty.
    Well the issue is that when a form hanging linux server I get the error message sgte:
    FRM-40039: Can not attach library while opening form common ....
    I tried changing the path FORMS_PATH, also put the. PLL. Plx on those routes Server
    but I have no result, I still leave the same message.
    I go to pc urgently to solve this problem that has me worried for days.
    Thanks in advance for your advice
    regards

    Three possible causes:
    1. The pll is not existnant on the linux-server in the FORMS_PATH or the FORMS_PATH-environment-variable is not set.
    2. When attaching the pll to forms you have attached it without removing the path. Try to deattach and reattach the pll in the form.
    3. The attachment of a pll is case-sensitive in linux. So, when you types the pll-name is lowercase when attaching it, the pll must exist in lowercase in the linux-filesystem.

Maybe you are looking for

  • Edited clips will not open with other apps

    After editing video clips using Adobe Premiere Elements, clips will not open with other apps (like VLC, Media Player, etc...)

  • App for Windows Phone tablet can be made with Silverlight?

    Hi, I just came back to develop for WP. Last time I did it there was only Silverlight, but now we have WinRT and Silverlight. I want to create app mainly focused on tablets is better to use WinRT or Sliverlight? Or maybe I have no choice and I have t

  • ItemRenderer DataGridColumn with AS

    Hi all, I need to build DataGrid in ActionScript, where is a column with image. Something like <mx:DataGrid id="DataGrid1" rowCount="8" dataProvider="{mainListCollection}"> <mx:DataGridColumn itemRenderer="mx.controls.Image" headerText="Type" dataFie

  • Pages: PDFs for professional printers

    I hope this may help Pages users who struggle with making PDFs for professional printshops. Pages provide several options to produce PDFs. However, not all are suitable for professional print shops. For instance, 'Export to PDF' option under File men

  • Service tax-SD

    Hi friends,     Service tax condition type jser is not availiable in taxinn and taxinj and how jser condition type will come in the sd pricing procedure.     Education cess condition type is availiable but we have to apply any note. waiting for reply