WEBUTIL within form Problem

dears,
i was design an form that read an excel sheet and upload the excel sheet contant into a table on DB, the excel sheet contain only 2 columns, the problem is when i compile the form CTRL+K there is no errors shown but when the form run i click Browes button but it give me error as below
ORA-06508 PL/SQL could not find program unit being called .
the program unit is client_get_file_name it a package within WEBUTIL attached library, the problem is the form cant call any package or anything from WEBUTIL attached library.
on the form i have 2 buttons
First Button Code: "Browes"
Declare
V_FILE     VARCHAR2(2000);     
BEGIN                              
V_FILE := client_get_file_name(NULL, NULL, NULL, NULL, open_file, TRUE);          
:main_block.FNAME := V_FILE;
EXCEPTION               
WHEN OTHERS THEN
my_alert('There Is Error: '||sqlerrm); -- My_alert(p_text) is program unit
RAISE FORM_TRIGGER_FAILURE;
END;
Second Button code : "Import to DB"
DECLARE
MYFILE CLIENT_TEXT_IO.FILE_TYPE;
filename varchar2(100);
temp varchar2(1000);
t1          varchar2(1000);
t2          varchar2(1000);
cust_id number;
dfrom     date;
dto          date;
ccode     varchar2(100);
r     varchar2(1000);
transfer_status     boolean;
begin
filename := :main_block.fname;
MYFILE := CLIENT_TEXT_IO.FOPEN(filename, 'r');
SYNCHRONIZE;
SYNCHRONIZE;
CLIENT_TEXT_IO.get_line(MYFILE,temp);
t1:=temp;
while temp is not null loop
CLIENT_TEXT_IO.get_line(MYFILE,temp);
t1:=temp;
     select      substr(t1,1,instr(t1,',') -1)
          into           t2
          from           dual;
          ccode:=t2;
          select      substr(t1,instr(t1,',') +1)
          into           t1
          from           dual;                               
          insert into trc_upload -- table on DB
          values(t2,t1);
          commit;
     end loop;
CLIENT_TEXT_IO.FCLOSE(MYFILE);
EXCEPTION
     WHEN DDE.DDE_APP_FAILURE THEN
     my_alert('WINDOWS APPLICATION CANNOT START.');
     WHEN DDE.DDE_PARAM_ERR THEN
     my_alert('A NULL VALUE WAS PASSED TO DDE');
WHEN DDE.DMLERR_NO_CONV_ESTABLISHED THEN
my_alert('DDE CANNOT ESTABLISH A CONVERSATION');
WHEN DDE.DMLERR_NOTPROCESSED THEN
my_alert('A TRANSACTION FAILED');
end;
so please to help me on this issue
Note:
the form deployed under UNIX on Application Server
Thanks
Murad.

From ORA-06508 is seems like WEBUTIL.pll is not found in the runtime-environment.
Possible solutions:
Check if the WEBUTIL.pll (or plx) is on the path where the fmx-File is placed.
If not, check the FORMS90_PATH in your env-File (normally default.env) (you didn't mention your forms-Version, may also be FORMS60_PATH) and if the WEBUTIL.pll is in that path, if not adjust the env-file.
If its still not working, check if WEBUTIL.pll is attached including the full Path (unattach WEBUTIL.pll and reattach it without the path)
Last hint: Case-sensitivity: If you attach in lowercase-letters and library is in uppercase on unix-system the library will not be found at runtime. You won't see how the the pll was attached, best method is to unattach library and reattach it in correct case.
Another remark:
The DDE-Exception seem to be useless, because you don't use DDE (and i would not work for its not available under unix).
Hope this helps

Similar Messages

  • FRM-92101 in wu_test (the webutil demo form)

    Error:
    FRM-92101 in wu_test (the webutil demo form)
    Problem:
    I am attempting to run the wu_test form, downloaded with demos for webutil 1.02.
    Running wu_test or another form containing webutil functions results in
    FRM-92101 in the form's window and the following error in the OC4J console.
    "Forms session <1> aborted: unable to communicate with runtime process."
    Environment:
    Java Client: Tried with both Sun Java Plug-In 1.4.2.04/5 and Jinitiator 1.3.1.17
    Application Server: Oracle 9.0.4 iDS (Orion Development OC4J)
    Database: Enterprise Edition 10.1.0.2.0
    Forms Listener Servlet
    Attempted Solutions:
    I have scoured OTN & MetaLink & tried everything I could find with no luck. I
    apologize for the length of this post, but I want to provide as much information
    as possible re: what I've tried and my environment.
    For instance, the remedy in Note 252600.1, which can cause these symptoms, did
    not help.
    This note states:
    In webutil.cfg modify
    install.syslib.location to an absolute URL, replacing the line:
    install.syslib.location=/webutil
    To an absolute URL like:
    install.syslib.location=http://[host]:[port]/forms90/webutil
    (replacing [host] and [port] with your own values) or
    install.syslib.location=//../webutil
    Other Information:
    Other forms (ones that don't contain webutil functions/beans) run fine with the same
    env and config used for webutil.
    The wu_test form is already set up so first navigation item is not on the
    webutil canvas, but on the "demo" canvas.
    OC4J Console:
    C:\Program Files\Common Files\System\MAPI\1033\nt>C:\Ora10giDS\jdk\bin\java -Xbo
    otclasspath/p:C:\Ora10giDS\vbroker4\lib\vbjboot.jar -Doracle.security.jazn.confi
    g=C:\Ora10giDS\j2ee\DevSuite\config\jazn.xml -Doracle.home=C:\Ora10giDS -DORACLE
    _HOME=C:\Ora10giDS -jar C:\Ora10giDS\j2ee\home\oc4j.jar -userThreads -config C:\
    Ora10giDS\j2ee\DevSuite\config\server.xml
    04/07/29 15:46:09 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
    initialized
    04/07/29 15:46:19 FormsServlet init():
    configFileName: C:\Ora10giDS/forms90/server/formsweb.cfg
    testMode: false
    04/07/29 15:46:35 ListenerServlet init()
    04/07/29 15:46:51 Forms session <1> aborted: unable to communicate with runtime
    process.
    Orion webserver application.log:
    04/07/29 15:46:07 Started
    04/07/29 15:46:19 forms90web: jsp: init
    04/07/29 15:46:19 forms90web: f90servlet: init
    04/07/29 15:46:19 forms90web: FormsServlet init():
    configFileName: C:\Ora10giDS/forms90/server/formsweb.cfg
    testMode: false
    04/07/29 15:46:19 forms90web: 9.0.4.0.0 Started
    04/07/29 15:46:35 forms90web: l90servlet: init
    04/07/29 15:46:35 forms90web: ListenerServlet init()
    04/07/29 15:46:51 forms90web: Forms session <1> aborted: unable to communicate with runtime process.
    04/07/29 15:46:51 forms90web: Forms session <1> exception stack trace:
    java.io.IOException: FRM-93000: Unexpected internal error.
    Details : No HTTP headers received from runform
         at oracle.forms.servlet.ListenerServlet.forwardResponseFromRunform(Unknown Source)
         at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Java Console:
    Java(TM) Plug-in: Version 1.4.2_05
    Using JRE version 1.4.2_05 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\isellers
    Proxy Configuration: No proxy
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 9.0.4.0
    oracle.forms.net.ConnectionException: Forms session <1> aborted: unable to communicate with runtime process.
         at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
         at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
         at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
         at oracle.forms.net.HTTPNStream.flush(Unknown Source)
         at java.io.DataOutputStream.flush(Unknown Source)
         at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
    Or JInitiator Console:
    Oracle JInitiator: Version 1.3.1.17
    Using JRE version 1.3.1.17-internal Java HotSpot(TM) Client VM
    User home directory = N:
    Proxy Configuration: no proxy
    JAR cache enabled
    Location: N:\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    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://localhost:8890/forms90/webutil/webutil.jar from JAR cache
    Loading http://localhost:8890/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://localhost:8890/forms90/webutil/jacob.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 9.0.4.0
    oracle.forms.net.ConnectionException: Forms session <2> aborted: unable to communicate with runtime process.
         at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
         at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
         at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
         at oracle.forms.net.HTTPNStream.flush(Unknown Source)
         at java.io.DataOutputStream.flush(Unknown Source)
         at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
    Named Config sections from formsweb.cfg
    #A named (sample) named configuration section for use with WebUtil & Sun JPI
    [webutil]
    pageTitle=Oracle Forms Services - WebUtil
    webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    baseHTMLjinitiator=html/bocowebutiljpi.htm
    baseHTMLjpi=html/bocowebutiljpi.htm
    userid=<replacedforsecurity>/<replacedforsecurity>@<replacedforsecurity>
    legacy_lifecycle=false
    heartBeat=5
    envFile=env/webutil.env
    #A named (sample) named configuration section for use with WebUtil & JInitiator
    [webutiljinit]
    pageTitle=Oracle Forms Services - WebUtil JInit
    webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    baseHTMLjinitiator=html/bocowebutiljini.htm
    baseHTMLjpi=html/bocowebutiljini.htm
    userid=<replacedforsecurity>/<replacedforsecurity>@<replacedforsecurity>
    envFile=env/webutil.env
    Webutil.env (with comments removed)
    ORACLE_HOME=C:\Ora10giDS
    FORMS90_PATH=C:\Ora10giDS\forms90\webutil\forms;C:\Ora10giDS\forms90\webutil\demo;C:\Ora10giDS\apps;
    WEBUTIL_CONFIG=C:\Ora10giDS\forms90\webutil\webutil.cfg
    CLASSPATH=C:\Ora10giDS\j2ee\OC4J_BI_Forms\applications\forms90app\forms90web\WEB-INF\lib\f90srv.jar;C:\Ora10giDS\jlib\repository.jar;C:\Ora10giDS\jlib\ldapjclnt9.jar;C:\Ora10giDS\jlib\debugger.jar;C:\Ora10giDS\jlib\ewt3.jar;C:\Ora10giDS\jlib\share.jar;C:\Ora10giDS\jlib\utj90.jar;C:\Ora10giDS\jlib\zrclient.jar;C:\Ora10giDS\reports\jlib\rwrun.jar;C:\Ora10giDS\jdk\jre\lib\rt.jar;C:\Ora10giDS\forms90\webutil\lib\webutil.jar;C:\Ora10giDS\forms90\webutil\lib\jacob.jar;
    PATH=C:\Ora10giDS\bin;C:\Ora10giDS\jdk\jre\bin\client
    FORMS90=C:\Ora10giDS\forms90
    Section from Webutil.cfg
    #install.syslib.location=/webutil
    # Try absolute URL per note 252600.1 - no help
    #install.syslib.location=http://it110981.boco.co.boulder.co.us:8890/forms90/webutil
    # Or try relative URL like this per note 252600.1 - also no help
    install.syslib.location=//../webutil
    Line from orion-web.xml
    <virtual-directory virtual-path="/webutil" real-path="C:\Ora10giDS/forms90/webutil/lib" />
    Any suggestions on how I can get this to work will be appreciated. Thanks. -Ian

    most of the time this means that your webutil.pll isn't good attached but it is very dependant on the versions you working on.
    Post your versions of forms ias and webutil.
    In older version it is sometimes necessary to first subclass the webutil group and then attach the webutil.pll. Other way around didn't work (was in beta version 1.02 I believe)

  • Configuration problem running webutil demo form WU_TEST_106

    Hi,
    I am running the web util demo form from OTN, it works ok till I access the OLE tab and try to write some text to a *.doc file.
    The java console spits out this text:
    Loading http://dci003wa2197244.prod.irscounsel.treas.gov:8890/forms/java/frmall_jinit.jar from JAR cache
    Loading http://dci003wa2197244.prod.irscounsel.treas.gov:8890/forms/java/frmwebutil.jar from JAR cache
    RegisterWebUtil - Loading WebUtil Version 10.1.2.0
    Loading http://dci003wa2197244.prod.irscounsel.treas.gov:8890/forms/java/jacob.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    Exception occurred during event dispatching:
    java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.jacob)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkLink(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at com.jacob.com.Dispatch.<clinit>(Dispatch.java:537)
         at oracle.forms.webutil.ole.OleFunctions.create_obj(Unknown Source)
         at oracle.forms.webutil.ole.OleFunctions.getProperty(Unknown Source)
         at oracle.forms.handler.UICommon.onGet(Unknown Source)
         at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    I followed the steps layed out for configuring webutil in the users guide, I suspect the problem is related to signing the jacob.jar file.
    I signed jacob.jar using $ORACLE_HOME/forms/webutil/sign_webutil.bat, I made sure ORACLE_HOME/jdk/bin was in PATH.
    I received these warning/errors at this point
    Generating a self signing certificate for key=webutil2...
    keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> already exists
    There were warnings or errors while generating a self signing certificate. Please review them.
    Backing up d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar as d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar.old...
    1 file(s) copied.
    Signing d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar using key=webutil2...
    jarsigner: attempt to rename d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar to d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar.orig failed
    I am running forms 10.1.2. How do I resolve this problem.
    Your help is greatly appreciated.
    Jim
    .

    Well, I think the problem is a permission issue or there is a problem finding the correct files. Let me explain:
    1. The first error is expected. Read it carefully and consider what you did to this point.
    Generating a self signing certificate for key=webutil2...
    keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> already exists
    This is expected because the alias was already created when signing frmwebutil.jar. Since the alias only needs to be created one time, this is expected and can be ignored.
    2. The second error is your real issue:
    jarsigner: attempt to rename d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar to d:\oracle\Product\dev10gR2suite\forms\java\jacob.jar.orig failed
    My suggestion:
    1. Delete all jacob files including any which may have been renamed.
    2. Re-download the correct Jacob version as noted in the WebUtil and Forms documentation. Do NOT attempt to use a newer version as it will cause a failure.
    3. Copy the jacob.jar file in the same directory which contains the cortousy signing script (batch) Oracle provides.
    4. Ensure that you have (Windows) Administrative permissions on the machine.
    5. Open a DOS shell and change directories (cd) to the directory which contains the signer script.
    6. Set the PATH to include the JDK\bin. For example:
    SET PATH=d:\oracle\Product\dev10gR2suite\jdk\bin;%PATH%
    7. Execute the jarsigner script.
    sign_webutil jacob.jar
    As already mentioned you can ignore messages which suggest that the alias already exists. However, pay attention to any others.
    8. Assuming it works correctly, copy jacob.jar to ..\forms\java
    9. Clear the JAR cache from whichever JRE (Jinitiator) you are using.
    10. Retest

  • WebUtil's configuration problem

    I have the following problem:
    I installed WebLogic Server 10.3.5, Fusion Middleware (Forms/Reports) 11.1.2 and Oracle XE 11g.
    My environment works correctly, when application don't uses webutil.
    When I open an application that uses WebUtil, happens the following error: "FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502."
    Another error too occurs:
    In the button "Browse" I use client_get_file_name, but the following error is displayed: "oracle.forms.webutil.file.FileFunctions bean not found. WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work".
    To configuring the webutil, I used the book Oracle Forms Developer WebUtil User's Guide Release 1.0.6. My webutil is 1.0.6.
    Any help is welcome
    thanks!

    Just a quick note, questions related to Oracle Forms as well as Oracle Forms and WebUtil integration should be posted in the Oracle Forms section of Oracle Forums: Forms You will receive a quicker response if you post Oracle Forms-related questions in that forum location.
    Anyway, WebUtil 1.0.6 is not supported to use with Oracle Forms and Reports 11gR2. Oracle Forms 11gR2 comes with WebUtil 11.1.2.x (the version which is supported for Forms 11gR2) which the both webutil.olb and webutil.pll are deployed in %ORACLE_HOME%\forms ($ORACLE_HOME/forms in Unix) where ORACLE_HOME is the Oracle Home for your Fusion Middleware installation. Also, if you haven't downloaded it already, you will also need JACOB version 1.14.3 (the version of JACOB supported for Oracle Forms 11gR2) which can be downloaded at http://sourceforge.net/projects/jacob-project/files/jacob-project/1.14.3/jacob-1.14.3.zip/download.
    After JACOB is downloaded, you will need to copy the jacob.jar to %ORACLE_HOME%\forms\java. Using Oracle Support Note 1076945.1, you will need to sign jacob.jar using the sign_webutil.bat script (located in %ORACLE_HOME%\forms\templates\scripts). The note contains steps on how to set up the batch script as well as how to run the script to sign jacob.jar. IMPORTANT: Make sure your JDK is in your PATH environment variable and you run Command Prompt as an administrator; otherwise, jar signing errors may occur.
    Next, place jacob-1.14.3-x86.dll into %ORACLE_HOME%\forms\webutil\win32 and jacob-1.14.3-x64.dll into %ORACLE_HOME%\forms\webutil\win64.
    After that, make sure that the WebUtil schema has been installed into your database. If not, make sure to run the create_webutil_db.sql script (located in %ORACLE_HOME%\forms) as the DB user who will be the owner of the WebUtil schema. Once the DB is ready, compile webutil.pll using Forms Builder or Forms Compiler. Once it is compiled, open up webutil.cfg located in %ORACLE_INSTANCE%\config\FormsComponent\forms\server. Scroll to the bottom and change the following settings:
    transfer.database.enabled=TRUE
    transfer.appsrv.enabled=TRUE
    transfer.appsrv.workAreaRoot=
    transfer.appsrv.accessControl=FALSE
    After you save and close the file, you should be able to run any of your Oracle Forms which use WebUtil without a problem. Oracle Support note 1093985.1 contains more information about setting up WebUtil. Hope this helps!
    Thanks,
    Scott
    http://pitss.com/us

  • Opening a webutil 105  form

    Hi ,
    I've configured webutil 105. When i try to open a webutil configured form i get the following message on console and the form does not open.Non webutil forms are working fine.
    Pls suggest a solution.
    Rgds,
    Shruti.
    The JInitiator gives the following messages:
    Loading http://192.9.1.33:7780/forms90/webutil/webutil.jar from JAR cache
    Loading http://192.9.1.33:7780/forms90/java/f90all_jinit.jar from JAR cache
    RegisterWebUtil - Loading WebUtil Version 1.0.5 Production
    Loading http://192.9.1.33:7780/forms90/webutil/jacob.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 9.0.4.0
    Exception occurred during event dispatching:
    java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.util.PropertyPermission java.home read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at oracle.forms.webutil.common.VBeanCommon.<clinit>(VBeanCommon.java:130)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processKeyEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

    Solve the problem? Else this might help.
    1. Did you sign the two jar-files accordning to the readme.html?
    2. And did you accept the certificate at runtime?
    3. Also, compile the webutil.pll into webutil.plx
    Regards,
    Martin Malmström

  • Errors while working with Webutil in Forms 10gAS

    Hi Gurus,
    I have an application migrated from 6i to 10g, where in there is a form which will read the text file or any data file which consists of records and inserts them into the database table. This is the primary goal of the form.
    Before to this, I have configured the webutil on the Application server according to the *[url http://sites.google.com/site/craigsoraclestuff/oracle-forms-webutil/2-configure-webutil-for-forms-10g-r2]Runtime setup checklist*.
    And on the application side,
    1. I have compiled the webutil.pll library and also attached the webutil.pll file to the form w/o any path.
    2. I have opened the webtul.olb object library and subclassed its objects to the form(WEBUTIL_ERROR alert, WEBUTIL datablock, WEBUTIL_CANVAS canvas, WEBUTIL object library in Object group node, and WEBUTIL_HIDDEN_WINDOW window were subclassed).
    3. Using the Find and Replace PL/SQL... TEXT_IO was changed to CLIENT_TEXT_IO.
    4. Compiled and created fmx file.
    Now, when I run the form, first thing appears to me is Webutil Information window which has nothing(no java beans) in it except OK button enabled. This window is WEBUTIL_CANVAS.
    After I press OK, the main canvas of the form opens. Here is another problem. This form has 3 fields which has the path of the data file in them. When I press the button to load data, I get an error saying oracle.forms.webutil.file.FileFunctions bean not found. CLIENT_TEXT_IO.fopen will not work, three times for the 3 files.
    So I reopened the form in the builder and when I open the canvas, I see an error saying
    FRM-13008: Cannot find JavaBean with name 'oracle.forms.webutil.ole.OleFunctions'.
    and the WEBUTIL_OLE_FUNCTIONS bean area appears to be empty on the canvas.
    Where am I doing wrong?
    Please Help me...

    Hi Andreas,
    Now I can see the java console...
    When I open the form I get these lines in the java console
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    java.lang.ClassNotFoundException: oracle.forms.webutil.file.FileFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    java.lang.ClassNotFoundException: oracle.forms.webutil.host.Host
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    java.lang.ClassNotFoundException: oracle.forms.webutil.session.SessionFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    java.lang.ClassNotFoundException: oracle.forms.webutil.fileTransfer.FileTransfer
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    java.lang.ClassNotFoundException: oracle.forms.webutil.cApi.CApiFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    java.lang.ClassNotFoundException: oracle.forms.webutil.browser.BrowserFunctions
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.awt.EventQueue$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)----------------------------

  • Using JMS and Advanced Queuing within forms.

    I am wondering if anyone can forsee problems with embedding a javabean inside a form that:
    listens to an Oracle queue.
    Do you think there would be some type of problem with a connection factory trying to create a connection and a session from within forms using JDBC?
    Thanks in advance

    Sandu,you are right.
    A Forms timer with status polling is a good and stabil solution .
    But we are connected on a database and a polling of a database event - Job is finished, or a reply received in a Queue -
    is always a network traffic and overhead when we use polling times < 1 min ..
    It would be also a good solution and interesting feature of Forms that the database event sends a message to the waiting client (process ?) ..

  • Grant privileges, roles within Forms

    Hello,
    i have a forms application where each year can appear new users (e.g. employees), and i when a new employee appears i wanna grant him privileges, roles, etc within Forms. so is it possible having a form(accesible just for dba user) from where he can assign roles to another users ? (in employee table i have a column 'username'). also, when i insert a new employee, in post-insert query (i think) is it possible to have something like
    create user .... identified by ....... but here is a problem.. where can i write the password?
    Please clarify :)
    Regards,

    Roger22 wrote:
    but when i run the script how can i specify the password?what do you mean by specify the password? What's exactly your problem/requirement with specifying the pw?
    You can do this in forms using forms_ddl, but I'd use a database procedure for this which creates the user, does the granting stuff etc.
    e.g.:
    create or replace procedure createUser(ivUsername in varchar2) is
      cursor cGrants(cvUsername varchar2) is
        select 'grant '||decode(object_type, 'TABLE', 'select, insert, update, delete ', 'PROCEDURE', 'execute ', [...])|| ' to '||cvUserName as grant_stmt,
                 'create synonym '||object_name||' for '||cvUserName||'.'||object_name as syn
        from user_objects
        where object_name != 'CREATEUSER'
        and object_name not in (select synonym_name from all_synonyms where owner = upper(cvUserName);
    begin
      execute immediate 'create user '||ivUserName||'identified by '||ivUserName||' default tablespace my_tbs temporary tablespace my_temptbs quota unlimited on my_tbs';
      execute immediate 'grant connect, resource to '||ivUserName;
      for rGrants in cGrants(ivUsername) loop
        execute immediate rGrants.grant_stmt;
        execute immediate rGrants.syn;
      end loop;
    end;
    /A user with pw = username get's created (maybe you should provide your users a pw change functionality to change their passwords afterwards), he gets granted all the privilages to objects from the current user, and also synonyms get's created (if you want to use this the calling user should have the create any synonym privilage). Beware: If you want to do this you MUST NOT grant this procedure to the other users (so object_name != 'CREATEUSER') or use any other database procedures in it, as you'll get a lock when executing the grant statement and the procedure hangs.
    If you want to manage more schemas, you could create this procedure with the system user, modify the cursor to do a query on all_objects and restrict it to the schema from where you want to grant the privilages to (grant execute on schema.object to user), and pass the schema and the user to create to it.

  • Access other_params within forms 9i

    Hello,
    I'd like to determine the output directory when using the Forms TEXT_IO utility
    in the formsweb.cfg (of the OAS) as other_params.
    This would facilitate maintenance and it is more flexible.
    But I do not know how to access this parameter within Forms 9i.

    Hello,
    I know, that with the TEXT_IO package it is written on the machine of the OAS. However my problem is as mentioned how to access external parameters within forms.
    I wrote in formsweb.cfg:
    [my_section]
    otherparams=myparam1=%alpha% myparam2=%beta%
    Then in the Form WHEN-NEW-FORM-INSTANCE Trigger:
    DECLARE
    outdir VARCHAR2(100);
    BEGIN
    TOOL_ENV.GETVAR('myparam1', outdir);
    :GLOBAL.export_dir := 'd:/oas/Apache/Apache/htdocs/'||outdir||'/';
    END;
    The URL looks like
    http://station:7778/forms90/f90servlet?config=my_section&form=d:\myform.fmx&userid=
    But I get the Error: FRM-47023:
    Form MYPARAM1 does not contain a parameter named MYFORM
    What is wrong here ??
    I tried it also with the URL:
    http://station:7778/forms90/f90servlet?config=my_section&otherparams=myparam1=outdir&form=d:\myform.fmx&userid=
    although I would like to have the information (alpha) only in the formsweb.cfg
    Thanks

  • Oracle Forms 11gR2 - Cannot deploy locally from within Forms

    I cannot deploy locally from within forms.  The server is up and running and I can deploy the form by putting the correct URL in the address line of the browser window.  When I try to deploy from within forms it comes up with some crazy URL that differs everytime.
    This is what the URL should be and this works from the browser:
    http://machinename:7002/forms/frmservlet?form=WRD608ADMIN_11g.fmx&userid=&otherparams=useSDI=yes
    Here is one of the URLs it came up with when I try to run it from within Forms:
    http://localhost:60231/lysVL2VjqT33znjfvLwanktVRxTIc6dEwVeRNXXRmhYU2qjf
    Localhost is always there, but the rest varies.
    In Forms, I have the Preferences, Runtime set to:
    http://machinename:7002/forms/frmservlet
    Where machine name is my PC, it is the same for this address as the URL above that works directly from the browser.
    So what am I missing?
    Thank you in advance.

    Generally speaking, it is discouraged to manually edit any of the configuration files if they are managed by WLS Console or EM.  In this case, default.env is managed by EM.  Therefore, changes to the file should be done through EM.  If however, you want to alter the file manually, the following is likely the best way to accomplish this:
    1.  Stop the WLS Admin Server and Node Manager
    2.  Locate the proper file you wish to edit.  By proper I mean, there are several copies of most config files.  Most of the config files found in the Oracle Home are actually template files and are not used at runtime.  Altering these will not give you the change you want.  The default.env you want would be here (assuming Windows)
    C:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\servers\WLS_FORMS\applications\formsapp_11.1.2\config
    If you are using a "Development" installation type, the above path will reflect AdminServer instead of WLS_FORMS.  Remember that Development installations are not for multi-user purposes.  Production deployments require the "Deployment" installation type, which can also include the Builders.
    Do NOT make any changes yet.
    3.  Once you find the correct file, create a backup copy.  Then open the file for edit (not the backup).
    4.  Make the desired changes and save.
    5.  Restart Node Manager and Admin Server if you plan to use them.
    For more information about using EM to manage your configuration, refer to the product documentation:
    http://docs.oracle.com/cd/E38115_01/doc.111210/e24477/configure.htm#CHDCCGHI

  • Creating a Folder Within Form or Document Library & Display the name not in the name column.

    I have created a form library that will used to create folders within that. The folder creation is done using an InfoPath Form that has been uploaded to the Form Library. When the new folder was created the name will be displayed at the Name column within
    the Form Library. I want to change that to another column like documents or suchlike.
    Can it be done using InfoPath 2010 VSTA C# or not? If their are other options available please could you try to inform me!
    Thank You,
    Chiranthaka

    Hi,     
    If you want to show the name of folder in another column, a workaround is that you can create an extra column, then create a SharePoint Designer workflow to set the value of
    this column with the name of folder.
    Here is a link about Create Workflow using SharePoint Designer and set field value for your reference:
    http://www.codeproject.com/Tips/419037/Create-Workflow-using-SharePoint-Designer
    I have seen a similar post from you in the link below:
    http://social.technet.microsoft.com/Forums/en-US/c3ff3f17-dbe2-40f9-86c5-ff7d4b663f09/creating-a-folder-within-form-or-document-library-display-the-name-not-in-the-name-column?forum=sharepointcustomizationprevious
    It's recommended that you post a single question in a single thread which will make it easier to be discussed by others.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Configure webutil in forms 10g

    Hi all,
    can anybody help me how to configure webutil in forms-10g (10.1.2)
    software config:
    OS: windows XP
    same system is itself application server
    Forms: oracle developer suite-10g
    database oracle 10g
    and i installed java 1.6.30
    while i am trying to sign the webutil following error is occured
    D:\DevSuiteHome_1\forms\webutil>sign_webutil.bat d:\devsuitehome_1\forms\java\frmwebutil.jar
    Generating a self signing certificate for key=webutil2...
    ...successfully done.
    Backing up d:\devsuitehome_1\forms\java\frmwebutil.jar as d:\devsuitehome_1\form
    s\java\frmwebutil.jar.old...
    1 file(s) copied.
    Signing d:\devsuitehome_1\forms\java\frmwebutil.jar using key=webutil2...
    'jarsigner' is not recognized as an internal or external command,
    operable program or batch file.
    There were warnings or errors while signing the jar. Please review them.
    plese help me how to resolve this

    nagaraj wrote:
    Hi all,
    can anybody help me how to configure webutil in forms-10g (10.1.2)
    software config:
    OS: windows XP
    same system is itself application server
    Forms: oracle developer suite-10g
    database oracle 10g
    and i installed java 1.6.30
    while i am trying to sign the webutil following error is occured
    D:\DevSuiteHome_1\forms\webutil>sign_webutil.bat d:\devsuitehome_1\forms\java\frmwebutil.jar
    Generating a self signing certificate for key=webutil2...
    ...successfully done.
    Backing up d:\devsuitehome_1\forms\java\frmwebutil.jar as d:\devsuitehome_1\form
    s\java\frmwebutil.jar.old...
    1 file(s) copied.
    Signing d:\devsuitehome_1\forms\java\frmwebutil.jar using key=webutil2...
    'jarsigner' is not recognized as an internal or external command,
    operable program or batch file.
    There were warnings or errors while signing the jar. Please review them.
    follow this
      Open a DOS command prompt.
      Add C:\DevSuiteHome_1\jdk\bin to the PATH:
         set PATH=C:\DevSuiteHome_1\jdk\bin;%PATH%
      Sign the files, and check the output for success:
         C:\DevSuiteHome_1\forms\webutil\sign_webutil C:\DevSuiteHome_1\forms\java\frmwebutil.jarhope this will help you
    If someone's response is helpful or correct, please mark it accordingly.

  • WebUtil and Forms 11g

    Is WebUtil certified with Forms 11g?
    Thanks
    Steve Peart

    Nisar
    Thanks, where have you seen this certification information as I have been unable to find it? We are using WebUtil with Forms 9.0.4, are are contemplating migrating Forms directly to 11g.
    Steve

  • How to configure Webutil in Forms 10g

    Hi
    how can i configure webutil in forms 10g to execute Host command from client machinee..
    Thanks & regards

    check this
    http://www.oracle.com/technology/products/forms/htdocs/webutil/WebUtilFAQ.htm
    Rajesh Alex

  • Smart Form problem with address layout

    Hello everyone,
    I need your help please for a smart form problem. We need the address layout for great britain with street1, street2 etc. but currently street2 is alligned before street1.
    We are using the FM ADDRESS_INTO_PRINTFORM (SAP standard address node) and according to the documenation the layout for GB is different as we see it currently.
    We have checked the sold-to and all contact persons, they have as country GB and language EN maintained.
    In customizing for address screen layout there is nothing chosen (tested to set up Europe, but did not change anything).
    For the customizing 'specify my countries...' we have maintained GB as country with the address layout key 006, vehicle country key GB and language key EN.
    For the described setting shouldn't there be designed the address in our smart forms according to 006? Anyhting in customizing we missed?
    Thanks a lot for your answers.
    Torsten

    Hi,
    Try to use line priority of FM, below is a brief of documentation. You can read it more in FM documentation:
    Control Parameters
    See also the parameter documentation.
    ADDRESS_TYPE - Address type (from 3.0C)
    There are three types of address:
    Address type '1': addresses of firms or organizations; the address
    structure which is used in most SAP applications as 'Address'.
    Address type '2': address of a person
    Address type '3': work address, usually the address of a contact person
    in a company
    The default value SPACE for the address type is handled like type '1',
    and is needed for the upwards-compatibility of the function module.
    Which parameters are used for which address type is explained in the
    ADDRESS_TYPE parameter documentation.
    The three character "address layout key" of the recipient country (LAND1) controls which of the available country-specific routines is used to format addresses for the country in question. This key is stored in field T005-ADDRS and is entered in Customizing under Global settings -> Set countries -> Define countries, on the detail screen under "Address layout key".
    Keys for customer routines in the SAP enhancement SZAD0001 can be
    maintained via the transaction SM30 (extended table maintenance),table
    name T005A, in the customer name range, and be assigned in country customizing.
    The address attributes are passed in the structures ADDRESS1 (type 1), ADDRESS2 (type 2), ADDRESS3 (type 3) or ADRSWA_IN (type SPACE).
    NUMBER_OF_LINES (ADRSWA_IN-ANZZL)
    The number of lines available for the address layout. If the number of
    lines is not sufficient for the complete layout of an address, then
    lines are consecutively suppressed according to the rules of the country in question. Use the parameter LINE_PRIORITY (ADRSWA_IN-PRIOR) overrules the standard sequence in which the output lines are to be suppressed.
    LINE_PRIORITY (ADRSWA_IN-PRIOR)
    If not equal to SPACE, this field overwrites the standard sequence in
    which the lines are suppressed if the available number of lines ANZZL is
    insufficient.
    The standard sequence is defined as follows:
    Type 1:   'AP43HRT7I86LC2BS5O'       (GB:  'APRT4327I86CBS5LO')
    Type 2:   'APHRT7I86LCBS5O'          (GB:  'PRT7I86CBS5LO')
    Type 3:   'APF43HR7I86TLC2BSND5O'    (GB:  'APRT4327I86CBS5LNDIO')
    where (if they occupy a line of their own):
    A = Title
    P = Mandatory empty line 1
    F = Function of the contact person in the company
    4 = Name 4
    3 = Name 3
    H = Different city
    R = Region
    T = District
    L = Name of country
    C = Postal code
    T = District
    7 = Street 3 (field STR_SUPPL2)
    I = Street 5 (field LOCATION)
    8 = Street 4 (field STR_SUPPL3)
    6 = Street 2 (field STR_SUPPL1)
    L = Country
    C = Postal code
    2 = Name 2
    B = PO Box
    S = Street or PO Box
    5 = c/o name
    N = Name (and title) of a person
    D = Department
    O = City
    Which of these attributes are available for maintenance can vary. All
    fields exist in Business Address Services.
    STREET_HAS_PRIORITY (ADRSWA_IN-WAREN)
    'X': Street has priority over PO Box (delivery address for example)
    ' ': PO Box has priority over street. This is the default value.
    regards,

Maybe you are looking for

  • Oracle: PL/SQL Procedure involving two different Schema in two different Databases

    I got a scenario like this, I have an existing procedure that looks similar to this. PROCEDURE A_DATA_B( p_ID IN SCHEMA1.TABLE1.ID%TYPE,                     p_MATCH IN SCHEMA1.TABLE2.MATCH%TYPE,                     p_STATUS IN SCHEMA1.TABLE3.STATUS%T

  • HP LaserJet P1606dn IP Configuration Issue

    I have an HP LaserJet P1606dn, brand new and fresh out of the box. I have already set it up to print via USB from a test laptop, and now  I am trying to configure it for network printing. My challenge is that the default IP address (according to the

  • Photo Software and Apps

      Photo Software and Apps After you have uploaded your digital photos to your computer, you are almost ready to start editing. With many options for photo editing software, the possibilities are seemingly endless. There are many different tasks and o

  • First time use question.

    Hi I bought a Toshiba Satellite L450D-11X off Currys.co.uk and it arrived today. However it seems to be taking hours to install all the toshiba software? is this normal or has it locked? It has been on a grey screen with a scroll bar saying "Please w

  • How much disk space is needed to run Boot Camp using Windows XP?

    How much disk space is needed to run Boot Camp using Windows XP?