Re: Load F45WEB.JAR from client?

From: Tim McConechy <tmcconec_at_wie.com>
Date: 1997/10/27
Message-ID: <34550E72.42AF9D68_at_wie.com>


John Wassell wrote:

> Is it possible to load the F45WEB.JAR file from the client
> instead of having to download it everytime my Forms
> Server 1.4w app runs?  It is taking around 30 seconds
> to load my app on the LAN.

Apparantly yes! I am very interested in this but have not been able to do it!

You must use appletviewer with DEV 2000 for the local machine.

I have tried many other combo's of this file but none have worked.

This works over the server:
!-- applet definition (start) -->
<APPLET CODEBASE="/web_code/"

        CODE="oracle.forms.uiClient.v1_4.engine.Main"
        ARCHIVE="/web_code/f45web.jar"
        HEIGHT=200
        WIDTH=200>


<PARAM NAME="serverPort"
VALUE="9999">
<PARAM NAME="serverArgs"
VALUE="module=E:\ORANT\Forms45\test.fmx
userid=tmcconec/eerf688_at_orcl">

<PARAM NAME="serverApp"

       VALUE="default">

</APPLET>
<!-- applet definition (end) -->

But:
This does not work Locally:

<APPLET "http://web server ip : web_listener_port/web_code/"
 CODE="oracle.forms.uiClient.v1_4.engine.Main"  width=200
 height=100>
<!--- ServerHost= value of PC IP Address --->
<PARAM NAME="serverHost"

       VALUE="local ip address">

<!--- serverPort=forms server listener port on forms server --->
<PARAM NAME="serverPort"

       VALUE="9999">
<!--- serverArgs=module name and parameters like userid/password --->
<PARAM NAME="serverArgs"

       VALUE="module=local path to FMX File i.e. c:\orant\ows\3.0\doc_9000\web_apps\tombstone.fmx

      userid=office97/password_at_orcl quiet=yes">
</APPLET>

  I have also attached an Oracle TAR instruction file given to me:

If you can get this to work please let me know:

Currently when I type appletviewer myhtmlfile.html The cmd window hangs for a long period of time and nothing seems to work.

Oracle says they do not support IE or Netscape.

Here is more help:


DOCUMENT#: MGT0001
DATE: 19-aug-97

Static Implementation Install:
  Dev2k 1.4w running an .fmx through the appletviewer on WinNT 4.0


STEP 1 - Generating and Deploying .FMX files:

   This step is well defined in the Setting up Developer/2000 for the web

   manual on page 2-5. Remember that if no directory path to the .fmx file

   exist, the Form Server Engine looks in two places for the .fmx file:

         1-ORACLE_HOME\bin\ (The runtime engine searches here first)

         2-FORMS45_PATH STEP 2 - Installing the Appletviewer:

   The appletviewer is not automatically installed during the developer2k

   installation. You need to open ( double click ) the JDK.EXE self

   exploding executable to install JDK 1.1.2. You must have min. version

   of 1.1.1.o3 of JDK to run a 'Web Enabled Form application'.

   The self exploding executable of JDK can be accessed two ways:

     1-Running the executable located in the %ORACLE_HOME%\jdk1.exe
     2-From the Start Menu-->Programs-->Developer 2000 for NT-->
            Install JDK  Applet Viewer.

   When prompted for a directory in which to install JDK 1.1.2, replace

   the default ("c:\temp") with %ORACLE_HOME%\jdk1.1\

                    (ex: "c:\orant\jdk1.1\").

STEP 3 - Running the correct version of JDK:

   In order to use the JDK 1.1.2 version you must execute the

   JDK_SETUP.BAT file provided in the %ORACLE_HOME%\FORMS45\JAVA. Modify

   this file to specify the specific ORACLE_HOME location for your

   installation.

   From the command line type: Java -version. This will show the present

   version of Java on you system. If it returns a version less than

   1.1.1.o3 then you must run the JDK_SETUP.BAT file. After this has been

   ran retype Java -version and the returned version is now at least

   1.1.1.o3. This is a per session adjustment of the JDK version. When the

   O/S is rebooted the version will return to the old one. At this point

   the JDK_SETUP.BAT file will need to be executed again.

   NOTE: You can set the PATH and CLASSPATH environment variables to allow

         the correct version of JDK to load when rebooting the system. On

         WinNT 4.0 this is accomplished by adding the CLASSPATH and

         modifying the PATH environment variables located in the Control

         Panel, System-->Environment settings.

         The CLASSPATH will look something like:
            C:\ORANT\JDK\LIB\CLASSES.ZIP;C:\ORANT\OWS21\JAVA\ORACLE.ZIP;

C:\ORANT\OWS21\SAMPLE\JAVA

         The PATH will look something like:
            %SystemRoot%\system32;%SystemRoot%;C:\ORANT\JDK\BIN;
                  C:\ORANT\BIN;C:\ORANT\OWS21\BIN;

   Try to keep the order as above. During my installation I noticed that

   if C:\ORANT\JDK\BIN was located at the end of the path, it was not

   found.

STEP 4 -Starting the Forms Server Listener:

   Before users can run Web-enabled Forms applications, the Forms Server

   Listener process on the application server. The listener handles web

   application requests from end users.
   This step is well defined in the Setting up Developer/2000 for the web

   manual on page 2-6.

STEP 5 - Creating Virtual directories on your web server:

   To establish pointers to various physical directories on your

   application server, create virtual directories with your web server.

   This step is well defined in the Setting up Developer/2000 for the web

   manual on page 2-9.

STEP 6 - Creating a Static (non-cartridge) HTML file:

   For the purpose of testing the implementation of the Web enabled Form

   Application. A non-cartridge HTML file will be used. If this works,

   then we know that the appletviewer is working correctly. Once this has

   been established, then the cartridge implementation can be done. This

   step is well defined in the Setting up Developer/2000 for the web

   manual on page 2-19.

   The following is my static HTML file template called webform3.html:


<HTML>

<!-- FILE: "WEBFORM3" my static template for Web Enabled
Form -->
<!--

Applications                                        -->

<HEAD>
<TITLE>Marc's Static Developer/2000 1.4W Template</TITLE>
</HEAD>

<BODY>

<P>

<!-- CODEBASE="http://THE PC IP ADDRESS:PORT# OF WEB SERVER

LISTENER/     -->

<!-- VIRTUAL
DIRECTORY FOR THE APPLET CODEBASE -->
<APPLET CODEBASE="http://177.77.77.777:82/web_code/"
CODE="oracle.forms.uiClient.v1_4.engine.Main" width=200 height=100>

<!-- THE PARAM NAME "SERVERHOST" CONTAINS THE VALUE OF THE PC IP
ADDRESS. -->
<!-- THE PARAM NAME "SERVERPORT" CONTAINS THE VALUE OF THE FORMS
SERVER -->
<!-- LISTENER PORT (DEFAULT IS
9000). -->
<!-- THE PARAM NAME "SERVERARGS" CONTAINS THE VALUE OF MODULE NAME
AND -->
<!-- ANY OTHER ARGUMENTS SUCH AS THE
USERID -->
<!-- AND

PASSWORD.                            -->



<PARAM NAME="serverHost" VALUE="177.77.77.777">
<PARAM NAME="serverPort" VALUE="9000">
<PARAM NAME="serverArgs" value="module=marc.fmx userid=scott/tiger">

</APPLET>

</BODY>
</HTML>


STEP 7 - Running the Web Enabled Form on the Appletviewer:

   Now you are ready to run the form from the Appletviewer. From the DOS
   command prompt the form can be executed from the directory where the

   static HTML file is located.

              (i.e.: c:\apps\html > appletviewer webform3.html)

                        OR

   From the DOS command prompt the form can be executed with the directory

   path to the static HTML file included.

              (i.e.: c:\ > appletviewer apps\html\webform3.html)

   It will take a little time for the Applet containing the Web Enabled

   Form to appear.

Once again if you get this work let me know? I guess the jar is still downloaded.
I'm still trying so if mine works I'll let you know (and anyone else that contacts me). Received on Mon Oct 27 1997 - 00:00:00 CET

Original text of this message