Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to properly configure downloading files from a database

Edward lzMar 28 2025 — edited Mar 28 2025

Hi All.

I'm setting up downloading files from a database (weblogic 14.1.2). I created a section in Enterprise Manager for my project based on the webstart section.

The project itself starts, however when I try to download a file from the database I get an error:

oracle.forms.webutil.file Transfer.File bean not found. WEBUTIL_FILE_TRANSFER.getMaxTransfer will not work

oracle.forms.webutil.host.Host bean not found/ WEBUTIL_HOST.Execute will not work

File download failed: 100501: non-ORACLE exception

The jnlp file has this section:

       <resources>
        <!-- Application Resources -->
        <java version="1.8+"/>
        <jfx:javafx-runtime version="2.2+"/>
        <jar href="/forms/java/frmall.jar" download="eager" main="true" />
        <extension name="Extensions" href="/forms/java/extensions.jnlp"/>
        <property name="jnlp.delete.jnlp.file" value="false"/>
    </resources>

If to add to it:

<jar href="/forms/java/frmwebutil.jar" download="lazy" main="false" />

And such a section will look like this:

    <resources>
       <!-- Application Resources -->
       <java version="1.8+"/>
       <jfx:javafx-runtime version="2.2+"/>
       <jar href="/forms/java/frmall.jar" download="eager" main="true" />
       <jar href="/forms/java/frmwebutil.jar" download="lazy" main="false" />
       <extension name="Extensions" href="/forms/java/extensions.jnlp"/>
        <property name="jnlp.delete.jnlp.file" value="false"/>
   </resources>

then downloading from the database works.

my section in formsweb.cfg was next:

[tech]
envFile=default.env
form=technical.fmx
userid=
width=750
height=600
webstart=enabled
deleteJNLP=false

I added to file manually:

WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=24573
basejnlp=webutil.jnlp

now my section next:

[tech]
envFile=default.env
form=DECISIONS_TECHNICAL.fmx
userid=
width=750
height=600
webstart=enabled
deleteJNLP=false
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=24573
basejnlp=webutil.jnlp

How to set up a section so that these lines above are in it and how to set up so that jnlp contains the line:

<jar href="/forms/java/frmwebutil.jar" download="lazy" main="false" />

Comments
Post Details
Added on Mar 28 2025
6 comments
279 views