Webutil in forms 12c [message #677432] |
Fri, 20 September 2019 02:51 |
|
Goldaxe
Messages: 36 Registered: September 2019
|
Member |
|
|
Hello,
We are migrating a series of Oracle forms 6i to Oracle Forms 12c and we are having problems with webutil. I want to use the webutil library to make a button with "Save As".
We have configured webutil and it is OK the forms webutil_demo.fmb all options work correctly for us.
The problem is that to apply on a custom screen does not work for us. In this custom screen the webutil.pll library has been attacked and the webutil.olb is subclassed into the object group.
The call we make on the button is as follows:
begin
: b1.drv_file: = client_get_file_name ('C: \ temp', '', '| Word Documents (*. doc) | * .doc |', 'Select output document ...', SAVE_FILE, true);
end;
The error it gives us is:
it fails, and I get the error:
oracle.forms.webutil.file.FileFunctions bean not found.
WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work
Thanks in advance
|
|
|
|
|
Re: Webutil in forms 12c [message #677438 is a reply to message #677436] |
Fri, 20 September 2019 07:01 |
|
Littlefoot_fan
Messages: 18 Registered: June 2019 Location: Uruguay
|
Junior Member |
|
|
Can you please show us the content of the following files:
1. Your webutil.cfg.
2. Your formsweb.cfg.
Also show us:
3. The location of your frmwebutil.jar and jacob.jar.
4. The URL you use to access your application.
5. Your java console showing the jar files loaded and any possible error messages.
And... is the webutil.olb available at compile time?
[Updated on: Fri, 20 September 2019 07:21] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: Webutil in forms 12c [message #677514 is a reply to message #677510] |
Tue, 24 September 2019 02:21 |
|
Littlefoot_fan
Messages: 18 Registered: June 2019 Location: Uruguay
|
Junior Member |
|
|
Regarding formsweb.cfg :
I think you need to edit/add these parameters to [dachser] (that is your application (notice that I also add IconosDachserAlm.jar)):
archive=frmall.jar,frmwebutil.jar,jacob.jar,IconosDachserAlm.jar
archive_jini=frmall.jar,frmwebutil.jar,jacob.jar,IconosDachserAlm.jar #Not sure if you need this one too, I dont think so but just in case
In your Java console you have this, that's why I added IconosDachserAlm.jar:
java.io.FileNotFoundException: http://172.24.47.111:9001/opt/oracle/Oracle/Infrastructure/Oracle_Home/forms/java/IconosDachserAlm.jar
Also add these ones to [dachser]:
WebUtilArchive=frmwebutil.jar,jacob.jar
#WebUtilLogging=off
WebUtilLogging=on
WebUtilLoggingDetail=normal
#WebUtilErrorMode=Alert
WebUtilErrorMode=console
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTML=webutilbase.htm
baseHTMLjpi=webutiljpi.htm
baseHTMLjinitiator=webutiljini.htm
lookAndFeel=oracle
Regarding dachser.env everything seems fine.
In summary, your java console is telling you, basically, that it isn't able to find anything. (FileNotFoundException and ClassNotFoundException everywhere)
Please, try this and let us know if you managed to solve it.
[Updated on: Tue, 24 September 2019 02:37] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Webutil in forms 12c [message #677524 is a reply to message #677523] |
Tue, 24 September 2019 09:02 |
|
Littlefoot_fan
Messages: 18 Registered: June 2019 Location: Uruguay
|
Junior Member |
|
|
I have never seen the first four errors before... so I don't know what to do.
But if the form "webutil_demo.fmb" works perfectly fine for you (ALL the options, including this one), then:
1. That form has something that "Listado de Unidad de Envio" (your form) doesn't.
2. You might have a parameter in formsweb.cfg for [dachser] that either is wrong, or you don't need, and it's not specified in [webutil] (and that's why webutil_demo works fine, SUPPOSING that you tested "webutil_demo.fmb" with the following URL: http://172.24.47.111:9001/forms/frmservlet?config=webutil).
Can't give more insight because I've never ran into this problem.
Apologies.
[Updated on: Tue, 24 September 2019 09:04] Report message to a moderator
|
|
|
|
|