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

Similar Messages

  • Frm-40039 Cannot attach library while opening form data

    hi i cannot run my form on development am geting the error frm-40039 the forms and all my library ar all in the same direcotry my FORMS_PATH IS FORMS_PATH=W:\SMS Phase2\forms;C:\DevSuiteHome_1\forms, AND MY REGISTRY FORMS_PATH IS W:\SMS Phase2\forms
    Edited by: user603350 on 2011/05/20 3:54 AM

    no i click yes i did not remove the path its ok is working i put my library directory to be the first

  • 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.

  • 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

  • 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 attacth library While openning form (At Web Application Server)

    Dear All,
    We are migrating an application from developer 6 to developer
    6i, and we have some pls/sql libraries attached to our forms;
    the libraries were recompiled, reattached and the forms were
    recompiled too, neverthelse when we try to run the forms from
    the Web Application Server, we got the error FRM-40039 Cannot
    Attacth Library While Openning Form xxx. Also we set the
    FORMS60_PATH with the current librarie's path.
    Thanks in Advance.
    Francisco Aguilar.

    1. Do we have to place the PLL in the FORMS_PATH all the time. If i don't want to then what is the alternativeThere is no alternative. You can't expect the Forms Builder to read your PL/SQL Library if it can't find it. Therefore, you have to have the .pll some where the Forms Builder can* find it. This means you have to have it in a directory in your FORMS_PATH or you have to hard code the path to the library (this is not recommended at all because you would have to duplicate this path on your deployment AIX environment).
    Craig...

  • 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.

  • 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...

  • 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.

  • 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 - 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

  • 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

  • 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!

  • 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)?

Maybe you are looking for

  • How do I transfer music to laptop without losing it on my iPad?

    I want to put the music from my iPad onto my mac air.  But when I go to sync it wants to remove all music. How do I transfer with out losing all music on ipad?

  • Xpath and BPEL

    What is xpath and BPEL?

  • Problems with Nested Styles

    I'm trying to create a nested style in In Copy CS5. What I want for it to do is to create the first few words with a certain character style then revert back to the Paragraph style setting. I have the nested style set to end with the end nested style

  • Replacing vectors with better collection

    Hi, My Netbeans IDE is giving me a hint that vectors (which I am using to build custom table models from AbstractTableModel) are obsolete. What should I replace vectors with, or what collection should I use to build custom table models, any example w

  • Web services - Best practices

    Hello all, I have been working my way through 'Core J2EE Patterns: Best Practices and Design Strategies' in preparation for a web services based project I am responsible for delivering. Theres just one thing I cannot get my head round. The book ident