Webutill problem

I followed the instructions exactly as the manual .. but when I run the application I find an Exception in java console :
java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
     at sun.applet.AppletClassLoader.getBytes(Unknown Source)
     at sun.applet.AppletClassLoader.access$100(Unknown Source)
..... etc ...
and the webutill does n't work ...... it always show the message like classes and procedures does n't exists ..
can you tell me what is the problem ?

Webutil setup for oracle developer forms 10.1.2.0.2
Requirement:
Jacob 1.8 (Do not attempt to use 1.7 or 1.9.)
Nls language in the registry should be English only one time till we compile the webutil.pll libaray once it compile you can change to any nls language.
Setps to follow:
1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
And also download webuitl 1.6 and extract to temporary staging area.
2) copy Jacob.jar and Jacob.dll to [ora_home]\forms\java\. and [ora_home]\forms\webutil\.
Replace frmwebutil.jar with [ora_home]\forms\java\frmwebutil.jar
Which was extracted from nw webuitl.zip file
3)Set the path for jdk
Open a DOS command prompt.
Add [OraHome]\jdk\bin to the PATH:
c:\set PATH=d:\10g\jdk\bin;%PATH%
3) From the command prompt Sign the files, and check the output for success:
[ora_home]\forms\webutil\sign_webutil.bat [ora_home]\forms\java\frmwebutil.jar
[ora_home]\forms\webutil\sign_webutil.bat [ora_home]\forms\java\jacob.jar
4) Modify d:\10g\\forms\server\default.env, and append [ora_home]\jdk\jre\lib\rt.jar
to the CLASSPATH entry.
6) Start the OC4J instance
7) Start Forms Builder and connect to any schema.
Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
8) ) Create a new FMB.
Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
There is no need to Subclass the WebutilConfig object.
Attach the Webutil.pll Library, and remove the path.
Add an ON-LOGON trigger with the code
NULL;
Create a new button on a new canvas or any existing canvas but not in webutil canvas, with the code
show_webutil_information (TRUE);
in a WHEN-BUTTON-PRESSED trigger.
Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
the "Application Server URL" is empty.
Then append http://server:port/forms/frmservlet?config=webutil
10) Run your form.

Similar Messages

  • Webutil-Problem (not the usual "PRE-FORM", "WHEN-NEW-FORM-INSTANCE" etc.)

    Hello,
    We have an application with lots of modules, where we use webutil to create text files on the client for data exports. The export is called in a WHEN-BUTTON-PRESSED Trigger and usually works fine, but we have the following problem:
    If two modules, where webutil is used, are opened at the same time and one module is closed, webutil does not function anymore in the other module. If we then try to create a text file after closing on module, we get the following error-message:
    Oracle.forms.webutil.file.FileFunctions bean not found.
    WEBUTIL.FILE.FILE_SELECTION_DIALOG_INT will not work.
    It’s not only the FileFunctions bean, all other webutil functions do not work also anymore in the remaining module.
    This is not the usual “PRE-FORM”, “WHEN-NEW-FORM-INSTANCE” etc. Webutil-Problem.
    As I said before, webutil works, but when we close one module with webutil used, it does not work in another open module anymore.
    Any Idea, why this happens and how to solve the problem???
    Kind regards
    Udo

    Hello,
    Yes, both modules work in the the same session and session is not disconnected, when one of the modules is closed.
    Webutill.pll is attached on both forms and all forms in our application using webutil usually work fine with the exception mentioned above.
    It's a bit difficult to explain, what happens in our application, but I try:
    Our application consists of modules that call other modules with call_form or go_form , when the module is open, all in the same session. "Global" Parameters are passed with SHARE_LIBRARY_DATA. Usually the calling forms stays open.
    In the following constellation webutil does not work anymore at a certain point :
    - Open module A (with webutil attached) and webutil works
    - Then module A calls module B (with webutil attached) and webutil works in module B
    - GO_FORM (module A) and webutil still works (while module B is still open)
    - CALL_FORM (module C) (in our case webutil is not attached to this module, but I think that is not the problem) module C closes module B (while module A stays open)
    - After making a choice in module C, module C closes itself with EXIT_FORM.
    - Go back to the open module A, make a new query with the choice made in module C and webutil does not work anymore in module A
    Regards
    Udo

  • Webutil Problem in Oracle Forms 10g

    Hi All,
    been reading various posts over time on the forums but this is the first time for me to post here.
    My name is george an i am a novice forms developer.(very novice i would say )
    i am in the process of altering an existing form, and i am trying to add webutil functionality to the form.
    i am succesfull getting webutil to run but i get some weired behaviour from the form, and in more detail i get the 40200 error.
    the error only appears after the usage of webutil in the form and this prevents the user from entering a query string in a text item (actually it is when the user tries to type in the text box that oracle throws the 40200).
    i am able to get around this problem, by moving the WEBUTIL DATA BLOCK at the end of the DATA BLOCKS tree. The form once more works as it should (queries etc) only that the webutil window and canvas are displayed on the top of my form (i.e webutil about form) and the user has to click OK to get rid of it.
    i have tried to hide the webutil window, the webutil canvas but i am unsuccesful.
    any ideas of how to keep the webutil data block at the end of the data block tree but not appearing in front of the form ??
    i hope i did not confuse you with my explanation.
    thank you,
    George

    Oracle Forms is Heirarchical. It uses the order in which items appear in the Object Navigator as the "Default" navigation order. Items like WebUtil should always appear after other objects (such as Data Blocks, Canvases and Windows). Making sure objects are listed in the right order in the Object Navigator is typically all you need to do, however, you could use the Form Module First Navigation Data Block property to override the default heirarchy (as MLBrown suggests) as well as write code in a When-New-Form-Instance trigger to Hide the WebUtil canvases and direct the form to the desired starting point (first navigation block/item).
    I personally, prefer to use the order of objects in the Object Navigator since this does not require any lines of code or the setting of properties.
    On a side note, it is always good to post your Forms version (eg: 10.1.2.0.2 versus 10g) when posting a Forms question. :)
    Craig...

  • WebUtil problem.

    Hi,
    I am facing problem with Oracle Forms9i. While deploying webutil functionality I floowed all the steps (more or less ).
    I am selecting some files (to read and store in the DB) by the command in the forms as
    But while running my application it is thtowing message as
    filepath := CLIENT_GET_FILE_NAME(File_Filter=> 'All files(*,*)|*.*|(*.bmp)|*.bmp|(*.gif)|*.gif|(*.jpg)|*.jpg|');
    "oracle.forms.webutil.file.filefunctions bean not found WEB_UTIL_FILE_SELECTION_DIALOG_INT will not work"
    When cheked in the Java consol I found these errors which i have pasted in my message
    java.lang.ClassNotFoundException: oracle.forms.webutil.clientInfo.GetClientInfo
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(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.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.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 33 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.file.FileFunctions
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(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.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.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 33 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.host.Host
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(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.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.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 33 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.session.SessionFunctions
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(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.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.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 33 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.fileTransfer.FileTransfer
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(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.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.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 33 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.ole.OleFunctions
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(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.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.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 33 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.cApi.CApiFunctions
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(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.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.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 33 more
    java.lang.ClassNotFoundException: oracle.forms.webutil.browser.BrowserFunctions
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(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.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.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 33 more
    Please help as it is Ungent.
    Regards,
    Snehangsu

    Hi Snehangsub,
    Cached copy of http://system5:8889/forms90/java/frmwebutil.jar is out of date
    Cached copy: Jan 9, 1999 9:23:51 PM
    Server copy: Mar 23, 2005 8:52:34 AM
    Downloading http://system5:8889/forms90/java/frmwebutil.jar to JAR cache
    whenever we replaced signed frmwebutil.jar(but frmwebutil.jar.old exists) with new frmwebutil.jar(without signing), we got above error.
    D:\DevSuiteHome\forms90\webutil\util>sign_webutil D:\Devsuitehome\forms90\java\f
    rmwebutil.jar
    Generating a self signing certificate for key=webutil2...
    keytool error: java.lang.Exception: Key pair not generated, alias <webutil2> alr
    eady exists
    There were warnings or errors while generating a self signing certificate. Pleas
    e review them.
    Backing up D:\Devsuitehome\forms90\java\frmwebutil.jar as D:\Devsuitehome\forms9
    0\java\frmwebutil.jar.old...
    1 file(s) copied.
    Signing D:\Devsuitehome\forms90\java\frmwebutil.jar using key=webutil2...
    ...successfully done.
    This warnings are mainly occur due to path setting of JDK .I am not setting any path of JDK
    No problem with this.Using webutil106 version you got frmwebutil.jar.old and jacob.jar.old instead of webutil.jar.unsigned and jacob.jar.unsigned (webutil 1.0.2)
    I got the error like you but i am not facing any signing problems for frmwebutil.jar.I think it may not be signing problem.
    My console window after signing frmwebutil.jar and jacob.jar ::::
    Oracle JInitiator: Version 1.3.1.17
    Using JRE version 1.3.1.17-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator
    Proxy Configuration: no proxy
    JAR cache enabled
    Location: C:\Documents and Settings\Administrator\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://system5:8889/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://system5:8889/forms90/java/myAppicon.jar from JAR cache
    Loading http://system5:8889/forms90/java/jacob.jar from JAR cache
    Loading http://system5:8889/forms90/java/webutil.jar from JAR cache
    Loading http://system5:8889/forms90/java/timeout.jar from JAR cache
    Loading http://system5:8889/forms90/java/frmwebutil.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 9.0.4.0
    (click this link http://10.179.100.18:7778/forms90/java/frmwebutil.jar, observe frmwebutil.jar will be downloading or not (Start OC4J Instance))
    Can you send me updated console window::(still you got these errors let me know)
    java.security.cert.CertificateException: Check signature failed in certificate
    at sun.plugin.security.TrustDecider.isAllPermissionGranted(Unknown Source)
    at sun.plugin.security.PluginClassLoader.getPermissions(Unknown Source)
    at java.security.SecureClassLoader.getProtectionDomain(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    load: class oracle.forms.engine.Main not found.
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    RegisterWebUtil - Loading WebUtil Version 1.0.6
    Please give feedback quickly as it is urgent.I'll respond you quickly.
    Thanks
    Bhujendra

  • WebUtil Problem - Open File - Francois Degrelle  Please reply

    Dear Francois
    I'm facing a problem file trying to open file dialogue
    1. Created a Module with two items 1. Push button 1. Text Item
    2. Created trigger "When Button Pressed" with code
    DECLARE
         LC$Path VARCHAR2(250);
         LC$File VARCHAR2(275);
    BEGIN
         LC$Path := CLIENT_WIN_API_ENVIRONMENT.Get_Temp_Directory;
         LC$File := WEBUTIL_FILE.FILE_OPEN_DIALOG(LC$Path,'','|All files|*.*|','Select a file to upload');
         MESSAGE('File Selected : '||LC$File);
         :OPENFILE.TX_FILENAME := LC$File;
    EXCEPTION
         WHEN OTHERS THEN
         MESSAGE(sqlerrm);
    END;
    4. Attached PL/SQL Lib webutil.pll (with path removed option) as well as with Path ( tried both option to get rid of my problem)
    5. Open webutil.olb in object Lib
    6. Did both "subclass" as well as "Copy" in Object Group ( tried both option to get rid of my problem)
    Now ....
    Run Form --- Forms run perfect and "Open File Dialogue" comes up, can select file, move directories up/down and file name with path gets copied to text item
    Problem
    Now I save the form and close Builder and OC4J Server
    Now start Oc4J and Open this form again
    Try to complie the form and run the form then I get this error
    "FRM-92101 There was a failure in the forms Server during startup. This could happen due to invalid configuration.
    Please check the webserver log for detail"
    Another Problem , if do any combination of "Webutil.pll" (copy Path) or "Webutil.olb" (Subclass)
    I don't get First Problem but get "WEBUTIL_C.API_REGISTER_FUNCTION" werror.
    Interestingly
    I downloaded your example "WEBUTIL_DOC.fmb" and ran many times I DON"T GET THIS ERROR
    I have configured WBUTIL as per webutil manual.
    I'm using DeveloperSuite 10g (complete installation) version 10.2 On Windowx XP prof.

    Apologies for mentioning your name as I used one of your example to do it myself.
    Just thought that you will be right person to understand my problem.
    Apologies again from you and everyone on forum

  • WEBUTIL PROBLEM ON FILE UPLOAD WUT-127 UNABLE TO CREATE WORKAREA

    hi
    pl help me i have installed webutil in forms OC4J
    but when i tried the same steps in 9iAS rel2
    i am facing problem
    WUT-127 Unable to cretae workarea
    and after prosseing Ok i am getting
    WUT-123 The webutil.jar file cannot be found on the Application server class path- Some file transfer not work
    c:\webutil;c:\temp\10_220_74_193_ptripathi\Tiles.bmp
    Java.io.
    ********** this is entriy in webutil errorlog file
    10.220.74.193:ptripathi: WUT-127: Unable to create workarea
    10.220.74.193:ptripathi: WUT-123: The webutil.jar file cannot be found on the Appliciation Server Classpath - Some file transfer functions will not work. c:\webutil;c:\temp\10_220_74_193\ptripathi\BlueLace.bmp java.io.FileNotFoundException: c:\webutil;c:\temp\10_220_74_193\ptripathi\BlueLace.bmp (The filename, directory name, or volume label syntax is incorrect)
    Regards
    Puneet

    The problem here seems to be that the .ENV file that you are using - e.g. Default.env does not have the correct classpath set so webutil cannot find the webutil.jar. Please refer to the Webutil doc to set this classpath up.

  • Forms9i-Webutil : problem with CLIENT_TEXT_IO

    hello,
    This is a small function to create a local file whith CLIENT_TEXT_IO
    Forms 9i
    JInitiator: Version 1.3.1.13
    Utilisation de la version JRE 1.3.1.13-internal Java HotSpot(TM) Client VM
    Répertoire d'accueil de l'utilisateur = C:\Documents and Settings\degrelle
    Configuration du proxy : aucun proxy
    JAR cache enabled
    Location: C:\Documents and Settings\degrelle\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    when the cursor is about ten lines, all is OK,
    but when the cursor is about 100 lines, the Forms application become out of order !
    in the java console, nothing is display after the WUF[getProperty()] Getting property WUF_TEXTIO_OPEN line
    PROCEDURE export_texte IS
    LF$File CLIENT_TEXT_IO.FILE_TYPE;
    LC$Name Varchar2(100) ;
    LC$Fic Varchar2(100) ;
    Cursor EMISSIONS IS
    Select
    REGION,
    DATE_HEURE_PRESSE,
    TITRE,
    CHAPEAU
    From
    EMISSIONS_REGIONS
    Where
    DATE_HEURE_PRESSE Between :CONTROL.DATE_DEB and :CONTROL.DATE_FIN
    order by
         region,
         date_heure_presse
    LC$Old_region EMISSIONS_REGIONS.REGION%Type := 'X' ;
    BEGIN
    LC$Name := To_char( :CONTROL.DATE_DEB, 'DAY' ) || ' HEBDO ' || Ltrim( :PARAMETER.HEB_NUMERO ) || '.txt' ;
    LC$Fic := WEBUTIL_FILE.FILE_OPEN_DIALOG
         'D:\',
         LC$Name,
         'Sélectionner un fichier'
    If LC$Name is null Then
    Return ;
    End if ;
    LF$File := CLIENT_TEXT_IO.FOPEN(LC$Fic, 'W');
    CLIENT_TEXT_IO.PUT_LINE( LF$File, 'les magazines et documentaires de votre région' ) ;
    CLIENT_TEXT_IO.PUT_LINE( LF$File, To_char( :CONTROL.DATE_DEB, 'FMDay DD Month' ) ) ;
    CLIENT_TEXT_IO.PUT_LINE( LF$File, '' ) ;
    For C_EMS in EMISSIONS Loop
    If C_EMS.region <> LC$Old_region Then
    CLIENT_TEXT_IO.PUT_LINE( LF$File, '' ) ;
    CLIENT_TEXT_IO.PUT_LINE( LF$File, C_EMS.region ) ;
    LC$Old_region := C_EMS.region ;
    End if ;
    CLIENT_TEXT_IO.PUT( LF$File, To_char( C_EMS.date_heure_presse, 'HH24"h"MI' ) ) ;
    CLIENT_TEXT_IO.PUT( LF$File, ' ' ) ;
    CLIENT_TEXT_IO.PUT_LINE( LF$File, C_EMS.titre ) ;
    If C_EMS.chapeau is not null Then
    CLIENT_TEXT_IO.PUT_LINE( LF$File, C_EMS.chapeau ) ;
    end if ;
    End loop ;
    CLIENT_TEXT_IO.FCLOSE( LF$File ) ;
    END;
    2004-sept.-09 15:05:08.121 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
    2004-sept.-09 15:05:08.215 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-sept.-09 15:05:08.231 WUT[loadSettings()] Local properties file loaded
    2004-sept.-09 15:05:08.278 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
    2004-sept.-09 15:05:08.371 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-sept.-09 15:05:08.418 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.d2kwut60.dll
    2004-sept.-09 15:05:08.528 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2004-sept.-09 15:05:13.543 WUF[setProperty()] Setting property WUF_GFN_DIRNAME to D:\
    2004-sept.-09 15:05:13.637 WUF[setProperty()] Setting property WUF_FILENAME to SAMEDI HEBDO 37.txt
    2004-sept.-09 15:05:13.637 WUF[setProperty()] Setting property WUF_FILTER to false
    2004-sept.-09 15:05:13.746 WUF[setProperty()] Setting property WUF_GFN_MESSAGE to Sélectionner un fichier
    2004-sept.-09 15:05:13.840 WUF[setProperty()] Setting property WUF_GFN_MULTISELECT to FALSE
    2004-sept.-09 15:05:13.840 WUF[getProperty()] Getting property WUF_GFN_OPENFILE
    2004-sept.-09 15:05:17.621 WUF[setProperty()] Setting property WUF_FILENAME to D:\SAMEDI HEBDO 37.txt
    2004-sept.-09 15:05:17.621 WUF[setProperty()] Setting property WUF_TEXTIO_FILEMODE to W
    2004-sept.-09 15:05:17.621 WUF[getProperty()] Getting property WUF_TEXTIO_OPEN
    *** !!!-- the console stop display at this point when the function write more than 10 lines !!! ***
    2004-sept.-09 15:05:20.278 WUF[setProperty()] Setting property WUF_TEXTIO_HANDLE to 1
    2004-sept.-09 15:05:20.387 WUF[setProperty()] Setting property WUF_TEXTIO_PUT to 19/20 édition des régions et des locales
    2004-sept.-09 15:05:20.481 WUF[setProperty()] Setting property WUF_TEXTIO_NEWLINE to 1
    2004-sept.-09 15:05:20.575 WUF[setProperty()] Setting property WUF_TEXTIO_CLOSE to 1
    2004-sept.-09 15:05:56.840 WUI[VBeanCommon.destroy()] WebUtil GetClientInfo Utility being removed..
    2004-sept.-09 15:05:56.840 WUI[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.840 WUF[VBeanCommon.destroy()] WebUtil Client Side File Functions being removed..
    2004-sept.-09 15:05:56.840 WUF[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.840 WUH[VBeanCommon.destroy()] WebUtil Client Side Host Commands being removed..
    2004-sept.-09 15:05:56.840 WUH[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.840 WUS[VBeanCommon.destroy()] WebUtil Session Monitoring Facilities being removed..
    2004-sept.-09 15:05:56.856 WUS[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.856 WUT[VBeanCommon.destroy()] WebUtil File Transfer Bean being removed..
    2004-sept.-09 15:05:56.856 WUT[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.856 WUO[VBeanCommon.destroy()] WebUtil Client Side Ole Functions being removed..
    2004-sept.-09 15:05:56.856 WUO[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:56.856 WUL[VBeanCommon.destroy()] WebUtil C API Functions being removed..
    2004-sept.-09 15:05:56.856 WUL[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    2004-sept.-09 15:05:57.106 WUB[VBeanCommon.destroy()] WebUtil Browser Functions being removed..
    2004-sept.-09 15:05:57.106 WUB[VBeanCommon.destroy()] 0 out of 0 object references removed, 0 (total) global references outstanding
    *** this is OK when the cursor is about only ten lines ***
    any idea ?

    CORRECTION :
    the problem occurs after the FCLOSE() statment.
    so in all cases, the file is created on the client machine and it is correct (but very slow; about 30 seconds to create a 1008 bytes file with 80 lines !).
    it is just when the cursor is about 50 lines that the Forms application is space out.
    it seems to be the Clean() statments that are not applyed.

  • Webutil Problem - Client_Win_API_Environment function

    Hiya
    I am facing a peculiar problem.
    I want to use Webutil's functions in my form. I am calling client_Win_API_Environment.Get_Windows_Version function in my
    form. But I am getting "FRM-40734: Internal Error: PL/SQL error occurred" message. However if I call Webutil_ClientInfo.Get_User_Name
    function, it works fine. It returns the Windows user name.
    I tried calling client_Win_API_Environment.Get_Windows_Version function in my same application's
    login form. Funny enough it works perfectly well. It does return Windows Version.
    There's no error in Java console also. It is downloading frmall_jinit.jar, frmwebutil.jar & jacob.jar files.
    I have attached Webutil.pll pl/sql library and subclassed Webutil's object group from Webutil's Object Library
    to both forms.
    So my problem is client_Win_API_Environment.Get_Windows_Version function doesn't work in the form in which I want to use it.
    I tried changing the order of the WEBUTIL data block under the Data Blocks node and WEBUTIL_CANVAS canvas under the
    Canvas node in Object Navigator. But it didn't make any difference either.
    When I go into WEBUITL_CANVAS in layout editor, it does show all 8 Java Beans present under WEBUTIL data block.
    I am using Forms 10g version : 10.1.2.0.2 and Oracle JInitiator version : 1.3.1.22
    Any idea about this problem ?
    Cheers
    Mayur

    Problem Resolved !!
    I finally managed to sort this problem out.
    The reason for Client_Win_API_Environment package's functions were giving error was that I was using Client_Win_API_Environment and Client_OLE2 package's functions in my forms' startup triggers such as Pre-Form, When-New-Forms-Instance and When-New-Block-Instance triggers.
    As a result what happening was that as soon as the Forms encountered Client_Win_API_Environment's functions, it was not executing the subsequent statements after the Client_Win_API_Environment's functions. It was immediately coming out from that procedure/function/trigger. Further during the execution, if it again encountered Client_Win_API_Environment function used elsewhere in the form, it was throwing the error "FRM-40734: Internal Error: PL/SQL error occurred".
    To overcome this problem, I created timers with a duration of 1 second (1000 ms)in these startup triggers and in When-Timer-Expired trigger, pasted the code of these start up triggers. And it worked !!
    Although this has been clearly documented by Oracle in its "Webutil User's Guide" http://www.oracle.com/technology/products/forms/htdocs/webutil/web_util.pdf
    and even I had gone through this document before I embarked on migrating my Forms 6i to Forms 10g, I overlooked the code of these startup triggers in my forms when debugging for this problem.
    It took quite a lot amount of my precious time (more than 1 day) to fix this problem, it taught me a valuable lesson.
    Cheers
    Mayur

  • Webutil problems

    I follow the steps in the manual to configuring webutil to application server and deploying a form, but i´m having a problem when i run the form gives this following error oracle.forms.webutil.clientinfo bean not found .
    I having a problem generating the webutil.pll to plx(CONTROL+T) , but compiles
    fine, and i put the pll in the application server instead of plx.
    Maybe te problem is the plx i can´t make, but why compiles fine.
    If anyone could help me , i would appreciate.
    Regards ,
    Rui Antão
    P.S. - the form i´m testing is WU_TEST_106.fmx(webutil demo)

    Do the following:
    1. Ensure that you have installed the web util db objects. Run the provided script (create_webutil_db.sql) in the schema used to run your app or be sure to grant the necessary permissions.
    2. Compile/Generate the webutil PLL with the compile_all=yes option. If you are creating the PLX from the Builder, execute a Compile PL/SQL > All then Save then Ctrl + T
    3. Open the form (FMB) to be tested in the Builder.
    4. As with the PLL, do the same the FMB. Execute a Compile PL/SQL > All then Save then Ctrl + T
    5. In the default.env, ensure that FORMS_PATH includes the path for the FMX, PLX, and OLB (webutil.olb).
    6. Ensure you are using Jinit 1.3.1.18 or newer.
    7. Retest

  • WEBUTIL problems importing a file with the HOST command.

    We are investigating a problem where the users are trying to import a file in from the webserver to be used by the application. The users have successfully moved the file from their local PC to the application server. But, when we perform a HOST command to have the form moved to the UNIX directory, the form hangs. The very last statement of the .BAT file used in the HOST command does the move of the file. And, we can see the entire file in the UNIX directory, we just don't get return back to the form.
    I added displays before and after the HOST command in the form. I see the display before the command but don't receive anything after. The weird thing is this is only happening in our development server. The same issue is not happening in production. Also, if I run the form in client server mode, it works fine also. So, it has to be something on the development application server.
    If anyone has any advice, I would appreciate their help.
    Thanks.

    On the server (assuming Windows since you mention a batch file), locate the Oracle Process Manager Service (for mid tier) on the MS Services Console. Open the properties for this service and click on the "Log on" tab. Check the box labeled "Allow service to interact with desktop".
    That said, if you are executing a batch file on the Windows server to transfer another file to a Unix machine, the above likely won't work either. This is because Windows will not allow a service permission to access network resources (for security purposes). In this case, rather than the above, you will need to change the same setting so a real domain user and not the "Local System" account.

  • Webutil problem when opening second application

    Hi!
    For some reason i get the following error in the java console
    if i open a second browser window and start a second forms application that uses webutil functions:
    Version von Forms-Applet: 9.0.4.0
    2009-Nov-04  19:30:07.874 ERROR>WUL-928 [CApiFunctions.register_function()]
      Library d2kwut60.dll not accessible, or does not contain function d2kwutil_GetRegKey
    2009-Nov-04  19:30:09.999 ERROR>WUL-925 [CApiFunctions.parse_funcHnd()]
      Object returned from object cache is not of type CFuncIt seems forms locks the d2kwut60.dll in the jinitiator\bin folder.
    Somebody knows something about that?
    Thanks in advance.
    Regards

    Yes, i remember seeing this bug. I think this is when you run in the same browser session different config sections with different jar files.
    Try starting new, separate browser session each time. Like "C:\Program Files\Internet Explorer\iexplore.exe" (not from browser New->Window)

  • Text File generate in Server Side

    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'C:\JUNAID.TXT');
    i can run character mode report in client side
    but c:\junaid.txt file generate it server side
    do you have any idea for file generate to client side?

    but sir problem is that 150 complex report
    generate in report builder
    it is not possible to convert this report to webutil.
    problem is that
    i have used developer 2.1 & used character mode report for dotmatrix printer
    i want to switch 10g ids all compilation method complete but problem is that
    character mode report not print in client side.
    i want to use character mode report for dotmatrix printer support for speedy printing purpose do u have any idea .
    plz as soon as possible reply

  • Problem with Form and webutil loading jar and connection

    Can anyone shed light on this. Here is my java console output. I then get FRM-90250 and FRM-92101....
    Orion-web.xml
    <virtual-directory virtual-path="/webutil"
    real-path="C:\webutil/lib" />
    Forms90.conf
    #Virtual path for WebUtil
    AliasMatch ^/forms90/webutil/(..*) "c:\webutil/lib/$1"
    formsweb.cfg
    webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
    [WEBFTU]
    pageTitle=Creative Automation Services
    form=c:\export\data\ca\prod\webftu.fmx
    archive_jini=f90all_jinit.jar,rolloverbutton.jar,hyperlink.jar
    archive_ie=f90all.cab
    archive=f90all.jar
    webUtilArchive=/forms90/webutil/webutil.jar,/forms90/webutil/jacob.jar
    WebUtilLogging=off
    #WebUtilLogging=Console
    # WebUtilLoggingDetail=normal
    WebUtilLoggingDetail=Detailed
    WebUtilErrorMode=Alert
    baseHTMLjinitiator=C:\webutil\server\webutiljini.htm
    width=900
    height=600
    splashScreen=/forms90/images/splash.gif
    background=/forms90/images/black.gif
    logo=/forms90/images/blackborder.gif
    lookAndFeel=Oracle
    colorScheme=Titanium
    otherparams=useSDI=yes
    workingDirectory=c:\export\data\ca\prod
    envFile=C:\webutil\server\webutil.env
    Oracle JInitiator: Version 1.3.1.9
    Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\msantry
    User has overriden browser's proxy settings.
    Proxy Configuration: no proxy
    JAR cache enabled
    Location: C:\javaburps\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://clientapps.cauto.com/forms90/webutil/webutil.jar from JAR cache
    Downloading http://clientapps.cauto.com/forms90/webutil/jacob.jar to JAR cache
    Loading http://clientapps.cauto.com/forms90/java/f90all_jinit.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    Loading http://clientapps.cauto.com/forms90/java/rolloverbutton.jar from JAR cache
    Loading http://clientapps.cauto.com/forms90/java/hyperlink.jar from JAR cache
    connectMode=HTTP, native.
    oracle.forms.net.ConnectionException: Forms session <3> failed during startup: no response from 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.HTTPConnection.connect(Unknown Source)
         at oracle.forms.engine.FormsDispatcher.initConnection(Unknown Source)
         at oracle.forms.engine.FormsDispatcher.init(Unknown Source)
         at oracle.forms.engine.Runform.initConnection(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Thanks,
    Mary Santry

    The error does not look like a webutil client side problem - it looks more like a server side issue - perhaps the runtime not being able to find the webutil.pll.
    Check your FORMS90_PATH in the webutil.env file and make sure it's not too long (>255 chars) if it is split it and use ORACLE_PATH as well.

  • Problem while configuring webutil on oracle application server 10g(9.0.4)

    hi,
    I have configured webutil with oracle application server 10g(9.0.4).JInitiator 1.3.1.17 is installed.
    I did everything according to webutil manual.Then i developed a form using developer suit 10g (9.0.4).
    and successfully compiled and attached webutil library.then i subclass
    webutil object group from webutil.olb into my form,that is also
    subclassed successfully.Form has also been compiled and saved
    successfully.
    also configured my formsweb.cfg,forms90.conf,default.env according to webutil documentation.
    {color:#993366}Now when i run this form from client, it does not show form in the
    browser and shows a message on the client browser console as follows{color}.
    {color:#0000ff}*Applet oracle.forms.webutil.common.RegisterWebUtil*
    {color} {color:#993366}After this message,It does nothing and if i refresh browser,it shows following message in the browser' Console.{color}
    {color:#0000ff}*Applet oracle.forms.engine.Main notinited.*{color}
    Note:In the browser ,loading java applet is also visible.
    how should i resolve this problem?
    any suggestion?
    Its urgent.
    Regards,
    abbasyazdani

    Refer this metalink note,
    566628.1 How To Install Webutil on 10g Oracle AS
    [email protected]

  • Webutil Invoke_String problem

    I've the following c function:
    extern "C" __declspec( dllexport ) char cGreeting(char* value1, char* value2);
    And follow PL/SQL code:
    PACKAGE BODY SAMPLE IS
         FUNCTION greeting(value1 IN OUT VARCHAR2, value2 IN OUT VARCHAR2) RETURN VARCHAR2 IS
              greeting_func webutil_c_api.FunctionHandle;
              greeting_params webutil_c_api.ParameterList;
              greeting_param1 webutil_c_api.ParameterHandle;
              greeting_param2 webutil_c_api.ParameterHandle;
              greeting_return VARCHAR2(1000);          
              BEGIN               
                   greeting_func := webutil_c_api.register_function('cClient.dll', 'cGreeting');
                   greeting_params := webutil_c_api.create_parameter_list;
                   greeting_param1 := webutil_c_api.add_parameter(greeting_params, webutil_c_api.C_CHAR_PTR, webutil_c_api.PARAM_INOUT, value1, 1000);
                   greeting_param2 := webutil_c_api.add_parameter(greeting_params, webutil_c_api.C_CHAR_PTR, webutil_c_api.PARAM_INOUT, value2, 1000);
                   greeting_return := webutil_c_api.Invoke_char('cClient.dll', 'cGreeting', greeting_params);
                   webutil_c_api.destroy_parameter_list(greeting_params);
                   webutil_c_api.deregister_function(greeting_func);
                   return greeting_return;
         END greeting;
    END SAMPLE;
    When I invoke this function appears this error:
    ERROR>WUL-911 [CApiFunctions.invokeCApi()] Unsupported return type for C DLL function
    Does anyone know where is the problem?
    Thank you.

    I've tried your sample. I´ve a forms and, when I push a button, throw the following code:
    declare
              myValue1 varchar2(20);
              myValue2 varchar2(20);
         greeting_func webutil_c_api.FunctionHandle;
         greeting_params webutil_c_api.ParameterList;
         greeting_param1 webutil_c_api.ParameterHandle;
         greeting_param2 webutil_c_api.ParameterHandle;
         greeting_return varchar2(1000);
         file_type text_io.file_type;
         BEGIN
         greeting_func := webutil_c_api.register_function('cClient.dll', 'myGreeting');
         greeting_params := webutil_c_api.create_parameter_list;
         greeting_param1 := webutil_c_api.add_parameter(greeting_params, webutil_c_api.C_CHAR_PTR, webutil_c_api.PARAM_INOUT, myValue1, 20);
         greeting_param2 := webutil_c_api.add_parameter(greeting_params, webutil_c_api.C_CHAR_PTR, webutil_c_api.PARAM_INOUT, myValue2, 20);
         greeting_return := webutil_c_api.Invoke_String(greeting_func, greeting_params);
         message(greeting_return);
         webutil_c_api.destroy_parameter_list(greeting_params);
         webutil_c_api.deregister_function(greeting_func);     
    EXCEPTION
              WHEN OTHERS THEN
                   file_type := text_IO.Fopen('c:\Sign\DAP\samples\logs\log.txt', 'w');
                   text_io.put( file_type, tool_err.message);
                   text_io.fclose(file_type);
    But the browser crash and print a file with the follow message:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x102c233f
    Function name=(N/A)
    Library=C:\Program Files\Oracle\JInitiator 1.3.1.9\bin\JNIsharedstubs.dll
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
         at oracle.forms.webutil.cApi.CPtr.getString(Native Method)
         at oracle.forms.webutil.cApi.CApiFunctions.invokeCApi(CApiFunctions.java:827)
         at oracle.forms.webutil.cApi.CApiFunctions.getProperty(CApiFunctions.java:131)
         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)
    ..... [a list of libraries]
    I've a windows XP and IE6. Do you know what can be wrong?
    Thank you.

Maybe you are looking for

  • Indesign CS4, CS5.1, CS5.5 all crash when saving files

    Hi, One of our users is experiencing a crash when trying to save files in InDesign.  He has OS X 10.7.  This occurs in the CS4, 5.1, and 5.5 versions - all three versions he has installed on his computer.  We ran font finagler which has resolved issu

  • Schedule agreement not showing in MD04

    Hi All We have a schedule agreement created and its not reflecting in MD04. According to the thread i changed the avl check to 02. But its still not showing in MD04. So my question is do I have to do any other thing so that the avl chk change will ge

  • Upload documents in background

    Hi gurus, I need to upload documents in background. Is there anyboby who could explain which function I have to use and how I can do to tranfer a zip file in a folder (competitive scenario). ...I must create a collaborative area after BID creation an

  • Javascript window.open in adf

    i have tried to use window.open(url, winName) to open a window in ADF, i set the same winName but when i call the window.open method every time, it always open a new window. the code is blow: A.jspx <script> function openWin() { var win; win = window

  • IOS 8 Rotation Stuck in Portrait

    There's some kind of bug in iOS8 that is getting devices stuck in portrait mode; I noticed both my wife's iPhone 5s and my 6 were stuck in portrait orientation this evening, and nothing short of a complete reboot would fix the problem and restore nor