Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Urgent Help Required OAS
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01BFF7CF.13D9662E
Content-Type: text/plain;
charset="iso-8859-1"
Hi
For a simple installation of a Forms based application you need not configure cartridges etc. Follow the steps detailed below..
Oracle Application Server and Forms Server as the middle tier and
JInitiator on the client machines.
This bulletin is specific to Windows NT platform as the middle tier.
JInitiator replaces the Java Virtual Machine (JVM) of the browser with its
own
JVM. It is the link between the browser and the Forms applet that will be
loaded on the browser.
Porting forms onto the web can be implemented using two methods:
Static Implementation and Cartridge Implementation.
For static implementation, every form executable requires a html file at the
middle tier. The sample static html file can be obtained from the examples
folder in the JInitiator folder and is called static_jinit.html
For cartridge implementation, a generic html file will be used to invoke any
module on the web. The sample html file comes with JInitiator and can be
found
in the Examples folder of JInitiator folder and is called base_jinit.html
JInitiator can be downloaded from
http://www.oracle.com/tools/dev_server/dn.html
SUPPORTED CONFIGURATIONS
STATIC IMPLEMENTATION: OAS3.0.1 OAS3.0.2 OAS4.0.7 DEV2K1.5 YES YES YES DEV2K1.6 YES YES YES DEV2K1.6.1 YES YES YES DEV2K2.0 YES YES YES DEV2K2.1 YES YES YES DEV2K6.0 YES YES YES CARTRIDGE IMPLEMENTATION: OAS3.0.1 OAS3.0.2 OAS4.0.7 DEV2K1.5 NO NO NO DEV2K1.6 NO NO NO DEV2K1.6.1 YES NO NO DEV2K2.0 NO NO NO DEV2K2.1 YES NO NO DEV2K6.0 NO NO YES SUPPORTED PLATFORMS
Currently, the platforms that can be used as the middle tier include
Windows NT, Sun Solaris, HPUX, Digital UNIX, IBM AIX, SGI IRIX,
Siemens Reliant UNIX, Intel UNIX (e.g., Intel Solaris, UnixWare).
Any CD that is the Server Edition of the Developer can be used
for these platforms.
However, current support for the Client side is limited to Windows
clients (e.g., Windows 95, Windows NT). Moves are afoot to make it
supported with UNIX clients using the AppletViewer, for which there
is no tentative Release date.
MIDDLE TIER IMPLEMENTATION FOR WINDOWS NT
STATIC IMPLEMENTATION: Access the admin URL by typing in:
http://mymachinename-pc.domain.com:adminportnumber
In this bulletin, we use the following admin URL:
Oracle Developer, type in at the DOS prompt:
For OAS 3.X:
owsctl start wrb
owsctl start admin
owsctl start www
www is the default listener
For OAS 4.0.6.4 and 4.0.7:
owsctl start
This starts all the processes for the Oracle Application Server,
or you can click on the START option in the web site to start
the processes.
2) To start the Forms Server processes, click on Start --> Run
then type in the following:
For Forms 4.5:
f45ctl start port=9000 log=C:\temp\forms45log.log
For Forms 5.0:
f50srv32 start port=9000 log=C:\temp\forms50log.log
For Forms 6.0:
ifsrv60 -listen port=9000 log=C:\temp\forms60log.log
To check if the Forms Server is running, open the Task Manager
and check for the fxxsrv32 process. Fxxsrv32 is the
Forms Server process, and fxxweb32 is the child process
waiting to service the client request for connection to
the Forms Server, where xx is the Forms version.
3) Oracle Web Application Server 3.X
Type in a browser:
where 8888 is the port number for the admin which was chosen
at the time of OAS installation.
The password can be found in the following file:
%ORAWEB_HOME%\WEBSITE30\HTTPD_FORMS.ORACLE.COM\admin\config\svadmin.cfg
In the browser, click on Oracle Application Server Manager
then on Oracle Web Listener.
Click on the CONFIGURE option for www listener then on
'Directory' in the left side frame.
Add the path for the file system directory and virtual directory in
order to point to the Forms Server and directory where the fmx files
and static html files are saved.
STOP and START your listener for the changes to take effect.
Oracle Application Server 4.0.X
Click on OAS MANAGER.
In the left frame, click on the 'website40 Site' then
click on HTTP Listeners (not on + sign to the left of it).
The password is encrypted for OAS 4X in the svadmin.cfg file.
You will find all the listeners and their status in the right side frame.
Click on the + sign at the top if you want to create a new listener for
your work. Otherwise, click on the + sign to the left of www listener
then click on the Directory. A frame with the subheading 'Directory'
will appear to the right with file system directory and virtual
directory.
Let us take the example of D2K21, and the process is same for all other
versions of Developer.
Let us assume that the html files that will be used to invoke the forms
on web are saved to C:\webforms
One more assumption that is made here is that the fmx files are in the
same directory as the html files.
Even if they are in different directories, they have to be in the
FORMSxx_path on the server.
In the directory mappings, type in the path to /forms50/java
C:\Orant\Forms50\java\ NR /form50code/
C:\webforms\ NR /web_forms/
Go down the page, and click on APPLY to allow the changes.
Stop and start the whole site for the changes to take effect.
If any changes are made later and you would like the changes to appear on
the web-enabled form, you must always stop and start your Forms Listener.
4) Configure the html page, so that Oracle Forms comes up on the web.
Please note that the html files needed for running Forms
are different for AppletViewer and JInitiator.
For AppletViewer, it is the static.html, and
for JInitiator, it is static_jinit.html
A sample html file for JInitiator would look something like this:
<HTML>
<!-- FILE: static_jinit.html -->
<!-- Oracle Static (Non-Cartridge) HTML File Template (Windows NT) -->
<!-- Tags and parameters have been modified for Oracle JInitiator -->
<HEAD><TITLE>Developer Server and Oracle JInitiator</TITLE></HEAD>
<BODY>
<P>
<OBJECT classid="clsid:9F77a997-F0F3-11d1-9195-00C04FC990DC"
WIDTH=180 HEIGHT=20 codebase="http://mymachine/jinit115211.exe#Version=1,1,5,21,1">
<PARAM NAME="CODE" VALUE="oracle.forms.uiClient.v1_4.engine.Main" >
<PARAM NAME="CODEBASE" VALUE="/form50code/" >
<PARAM NAME="ARCHIVE" VALUE="/form50code/f50all.jar" >
<PARAM NAME="type"
VALUE="application/x-jinit-applet;version=1.1.5.21.1">
<PARAM NAME="serverPort" VALUE="9000">
<PARAM NAME="serverArgs" VALUE="module=fmx_name userid=
user/password_at_datasource">
<PARAM NAME="serverApp" VALUE="default">
<COMMENT>
<EMBED type="application/x-jinit-applet;version=1.1.5.21.1"
java_CODE="oracle.forms.uiClient.v1_4.engine.Main"
java_CODEBASE="/form50code/"
java_ARCHIVE="/form50code/f50all.jar"
WIDTH=180 HEIGHT=20 serverPort="9000"
serverArgs="module=fmx_name userid=user/password_at_datasource"
serverApp="default"
pluginspage="http://mymachine/jinit_download.htm">
<NOEMBED>
</COMMENT>
</NOEMBED></EMBED>
</OBJECT>
</BODY>
</HTML>
where the OBJECT tag is used by MS Internet Explorer and the
EMBED tag is used by Netscape browser in order to use the JInitiator.
The example above is configured for the Netscape browser.
The portion of the html file that is used for invoking forms on
Netscape browser starts with the 'EMBED type' tag.
The parameter 'java_CODE' should always point to the Main.class file
which can be located in
C:|\Orant\Forms50\java\Oracle\forms\uiClient\v1_4\engine
For Developer 6.0, it is C:\orant\forms50\java\oracle\forms\engine.
The parameter 'java_CODEBASE' should always point to the virtual directory
that is pointing to the C:\orant\forms50\java folder in the directory
mappings of the web listener that will be used to run the form on the web.
For us, according to the mapping described in point 3, it is /form50code/
The parameter 'java_ARCHIVE' is used to download and store the jar files on
the
client machines from the middle tier for the first time the form is used on
the
web. From then on, whenever the form is invoked, all the Java class files
that
are required to run the form on the web will be used from the client machine
rather than downloading them from the server again. This helps in improving
the performance of the form on the web.
The parameter 'serverport' is the port number which is used by the Forms
Server Listener. Whenever a client requests to use the Forms Server,
it contacts the listener which gets all the information regarding the
Forms Server, passes it to the client machine, connects the client
to the Forms Server, and then frees itself to be used by another
client request.
The parameter 'serverargs' is used to specify the name and path of the
Forms executable on the middle tier.
The serverapp is always 'Default' as it is this parameter from html
that checks the Registry.Dat file in the path
C:\orant\FormsXX\java\oracle\forms\uiClient\V1_4\util
Registry.Dat file is used for all the class IDs and for setting the icon
path
for the forms along with font styles. You can use a name other than
'default'
in the html file. However, all the entries in the Registry.Dat file have to
be
updated with the new name for 'serverapp' that is given in the html file.
'plugsinpage' is used to prompt the client machines that do not have
JInitiator to download it from the server. They will then have to install
it on their machines. Make sure that the jinit_download.htm and
jinitxxx.exe
are in the C:\webforms directory structure on the server.
After making changes to the html file in order to run it on the web,
it should look like this:
<HTML>
<!-- FILE: static_jinit.html -->
<!-- Oracle Static (Non-Cartridge) HTML File Template (Windows NT) -->
<!-- Tags and parameters have been modified for Oracle JInitiator -->
<HEAD><TITLE>Developer Server and Oracle JInitiator</TITLE></HEAD>
<BODY>
<P>
<OBJECT classid="clsid:9F77a997-F0F3-11d1-9195-00C04FC990DC"
WIDTH=180 HEIGHT=20 codebase="http://mymachine/jinit115211.exe#Version=1,1,5,21,1">
<PARAM NAME="CODE" VALUE="oracle.forms.uiClient.v1_4.engine.Main" >
<PARAM NAME="CODEBASE" VALUE="/form50code/" >
<PARAM NAME="ARCHIVE" VALUE="/form50code/f50all.jar" >
<PARAM NAME="type"
VALUE="application/x-jinit-applet;version=1.1.5.21.1">
<PARAM NAME="serverPort" VALUE="9000">
<PARAM NAME="serverArgs" VALUE="module=/usr/webforms/testform.fmx">
<PARAM NAME="serverApp" VALUE="default">
<COMMENT>
<EMBED type="application/x-jinit-applet;version=1.1.5.21.1"
java_CODE="oracle.forms.uiClient.v1_4.engine.Main"
java_CODEBASE="/form50code/"
java_ARCHIVE="f50all.jar"
WIDTH=180 HEIGHT=20 serverPort="9000"
serverArgs="module=C:\webforms\testform.fmx "
serverApp="default"
pluginspage="http://forms.oracle.com:80/jinit_download.htm">
<NOEMBED>
</COMMENT>
</NOEMBED></EMBED>
</OBJECT>
</BODY>
</HTML>
Please note that for Developer 6.0, the java_CODE should be changed in the
html
file to 'oracle.forms.engine.Main', as the directory structure has been
changed.
5) Stop and start the 'www' listener, admin, and wrb.
6) You can now access the form on the web by opening the browser window and
typing in the URL:
http://forms.oracle.com:80/web_forms/static_test.html
This brings up the Java Console window for Oracle JInitiator and
then prompts for userid/password.
Next, the form pops up as an Applet window, separate from the browser
if you are using a non-Forms60 version of Forms Server.
Beginning Forms 6.0, the Forms Applet will be part of browser window.
CARTRIDGE IMPLEMENTATION: The Forms cartridge is used to make the html page generic and
avoid creating a html page specific to each Forms module to be used
on the web. Unlike the static implementation, this makes use of the
WRB(Web Request Broker) which works with an Object Request Broker
that is CORBA compliant. When the client makes a request for cartridge,
it is like making a request for an object service in CORBA.
Steps for Cartridge Implementation on Oracle Web Application Server 3.x
click on Web Server Manager, click on Oracle Web Application Server,
and click on Cartridge Administration.
3) Click on Add New Cartridge. Click on Add New Cartridge with Manual
Configuration. Enter a Cartridge name: form50cart
For Object Path, it is looking for the library file in order to run
the cartridge, so enter: C:\Orant\bin\f50webc.dll
4) For entry point, enter: form_entry
Scroll down a bit, and in the Virtual Path, enter: /form50cart
and in the Physical Path, enter: C:\orant\bin.
5) Click on Register New Cartridge.
6) If the Cartridge Registration is successful, it will navigate to
the Cartridge Administration Page. Scroll down to see the
cartridge form50cart.
7) Click on form50cart then click on
form50cart Cartridge Specific Parameters.
8) These are the values that should be present in your page for the
cartridge parameters:
HTMLdelimiter %
baseHTML C:\webforms\base_jinit.html
Code oracle.forms.uiClient.v1_4.engine.Main
Archive f50all.jar
Codebase /form50code/
Width 640
Height 480
ServerPort 9000
ServerHost %ORAWEBHOST_NAME%
Module %Module%
serverApp default
The first time, it will allow you to enter only 5 entries.
After creating the first five parameters, go again to
form50cart Cartridge Specific Parameters and enter the
remaining parameters.
HTML delimiter is the single character delimiter that is used
to denote the parameter values.
BaseHTML is the physical path and the file name to the html file
accessed by the cartridge at runtime.
Code is the Main.class file.
Archive is the virtual path and the file name for the .JAR files
that will be used in the cartridge.
Codebase is the virtual path to the java folder in C:\orant\forms50\
Steps for Cartridge Implementation on Oracle Application Server 4.0.x
Note:
Oracle Application Server 4.0.x does not support Cartridge
Implementation for Developer Release 2.1, and therefore, the
following steps are only valid if you are using Developer 6.0.
Please remember to change the directory mappings for your listener,
or create a new listener and add the directory mappings for
Developer 6.0 in there.
Assume you have created a new listener for this exercise as follows:
Listener Name = d2k60
Port Number = 88
In the Directory Mappings section, you should have the following
settings:
$Your_Oracle_Home\forms60\java\ NR /forms60/
c:\webforms\ NR /web_forms/
To create and configure a cartridge for Oracle Application Server 4.0.x:
click on the '+' sign to ADD a new application. Application
is a sort of Folder under which a user can create multiple
cartridges.
5) Selecting the '+' sign brings up the 'Add Application'
screen. Select the default configuration.
Example:
Application Type = 'C Web'
Configure Mode = 'Manual'
6) Hit the Apply button.
7) A second screen displays. Enter the Application and Display names.
Application Version is optional and corresponds to your
application version.
Example:
Application Name = New_Project
Display Name = New_Project
8) Hit the Apply button.
9) The next screen displays, "Application Added Successfully."
Click on the 'Add Cartridge to this Application' button.
information:
Example:
Cartridge Name = forms_cartridge
Display Name = forms_cartridge
Cartridge Shared Object = $Oracle_Home\bin\ifwebc60.dll
Cartridge Entry Point = form_entry
Virtual Path = /forms_cartridge
Physical Path = $Your_Oracle_Home\bin
New_Project Application. If you expand it down to Cartridges,
you can see your 'forms_cartridge' there.
and select 'Cartridge Parameters'. Insert the cartridge specific
parameters.
Example:
HTMLdelimiter = %
baseHTML = $Oracle_Home\forms60\java\base_jinit.html
Code = oracle.forms.engine.Main
Codebase = /forms60/
Archive = /forms60/f60all.jar
ServerPort = 9000
ServerHost = forms.oracle.com
Width = 500
Height = 500
Note
You will not be able to insert all the parameters at one time,
as it will run out of the slots. This is a logged bug.
To get more slots:
to insert all your cartridge parameters.
Once inserted, hit the 'Apply' button again.
You are now ready to use your cartridge.
however, you must first stop all the Applications.
The following steps describe how to do this:
if any Flag is Green, check the box for that application and
hit the red 'Stop' button at the top. Acknowledge the message.
b) In the left frame, select 'HTTP Listeners', and
in the right frame, select the 'ALL' checkbox/radio button and
hit the red 'Stop' button at the top. Acknowledge the message
once all the listeners are down.
c) In the left frame, select 'Oracle Application Server', and
in the right frame, select the 'ALL' checkbox and
hit the red 'Stop' button. Acknowledge the message.
d) In the left frame, select 'Oracle Application Server' again, and
in the right frame, select the 'ALL' checkbox and
hit the green button to 'Start' the Web Server processes.
Acknowledge the message.
e) In the left frame, select 'HTTP Listeners' again, and
in the right frame, select the 'ALL' checkbox and
hit the green button to 'Start' all the listeners.
Acknowledge the message.
CLIENT SIDE IMPLEMENTATION
Please note that as of now, only Windows 95 and Windows NT
can be used for client implementation.
Check the Console option, and close the Control Panel of JInitiator.
2) For static implementation, open a Netscape browser whose version is
4.06 or 4.07 or 4.08. Type in the URL:
http://forms.oracle.com:80/webforms/static_jinit.html.
This invokes the form on the web in the form of an Applet which will be
in a different window from the browser.
3) If you are using the Cartridge implementation, type in the URL:
http://forms.oracle.com/form50cart?Module=testform.fmx
This invokes the form on the web in an applet.
For further information about JInitiator, please read the 'Readme file'
in the JInitiator folder after installation.
FEW POINTS TO REMEMBER
the extension of the icon files should be .gif/.jpg
The .ico extension will not work on the web.
2. You have to go to the Registry.dat file and set the icon path
to see the icons in the forms on the web. For example,
it could be 'http://forms.oracle.com:80/web_icons'
where /web_icons/ is the virtual path pointing to a valid directory
like 'C:\orant\webicons\' and all the icons are stored in this
directory.
3. If you want to use forms containing image items, set the
environment variables FORMSxx_OUTPUT and FORMSxx_MAPPING
in the registry.
4. You can do that by adding String values in the registry
forms50output C:\webforms\
forms50mapping http://forms.oracle.com:80/webicons/
5. Always stop and start the listeners if you want to make a change
to the html file.
6. Whenever you get 'engine.Main not inited' error while trying to
invoke a form on the web, try closing all your browsers on the
client machine and then opening the URL in another browser window.
If that does not work, check if your codebase parameter has been
entered correctly in the listener virtual mappings for the OAS.
7. For D2K21, if you are unable to reload your web form from the
browser, it is due to Bug 735456 which has been fixed with patch
that upgrades your forms to 5.0.6.14.
To download the patch, go to Oracle's ftp site at
ftp://oracle-ftp.oracle.com/dev_tools/dev2k/Win95NT/2.1/19990225/
8. Presently, you cannot print to the printer on the client side
due to Java limitations.
FEATURES NOT SUPPORTED FOR WEB-ENABLED FORMS
o ActiveX, OCX, OLE, VBX.
o Combo boxes.
o Firewall is supported, but you have to poke a hole through it
for the Forms Server port.
o SSL supported from Developer 6.0, as it is HTTP/1.1 compliant.
o HOST command, as it hosts out to the server and not to the
client environment.
o ORA_FFI involving IO again, as it goes to the middle tier to
implement.
o WHEN-MOUSE-ENTER and WHEN-MOUSE-LEAVE triggers
which downgrade performance.
Oracle Support Services
.
Copyright (c) 1995,1999 Oracle Corporation. All Rights Reserved. Legal
Notices and Terms of Use.
Get Your Private, Free Email at http://www.hotmail.com
-----Original Message-----
From: Johnson [mailto:Johnson_at_skinternational.com]
Sent: Thursday, July 27, 2000 7:27 PM
To: Multiple recipients of list ORACLE-L
Subject: Urgent Help Required OAS
oracle application configurations steps
platform:- windows - nt - 4.0
oracle application server :- 4.0.8
objectives :
1)deployment of fmx,fmb,pll on oas.
2)deployment of application on oas
steps:-----
queries:-
1] while creating application we need to know what the virtual path to
be specified .
2] how to start the application created [ as no start button found while
on application node]
3] which cartridge to add to applications like mspaint to deploy on oas.
4] what path should be given to use the deployed application.
5] how to configure the cartridge.
------_=_NextPart_001_01BFF7CF.13D9662E
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META content="MSHTML 5.00.2314.1000" name=GENERATOR> <STYLE></STYLE> </HEAD>
<DIV><FONT color=#0000ff face=Verdana size=2><SPAN class=416062713-27072000></SPAN></FONT> </DIV> <DIV><FONT color=#0000ff face=Verdana size=2><SPAN class=416062713-27072000>Fora simple installation of a Forms based application you need not configure cartridges etc. Follow the steps detailed below..</SPAN></FONT></DIV> <DIV><FONT color=#0000ff face=Verdana size=2><SPAN class=416062713-27072000></SPAN></FONT> </DIV> <DIV><FONT face=Verdana><SPAN class=416062713-27072000> <P><FONT color=#0000ff face="Courier New" size=2>Oracle Application Server and Forms Server as the middle tier and</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>JInitiator on the client machines.</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>========================</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>STATICIMPLEMENTATION:</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>DEV2K1.5 YES YES YES</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>DEV2K1.6 YES YES YES</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>DEV2K1.6.1 YES YES YES</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>DEV2K2.0 YES YES YES</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>DEV2K2.1 YES YES YES</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>DEV2K6.0 YES YES YES</FONT></P><P> </P>
<P><FONT color=#0000ff face="Courier New" size=2>DEV2K1.5 NO NO NO</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>DEV2K1.6 NO NO NO</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>DEV2K1.6.1 YES NO NO</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>DEV2K2.0 NO NO NO</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>DEV2K2.1 YES NO NO</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>DEV2K6.0 NO NO YES</FONT></P> <P> </P> <P><FONT color=#0000ff face="Courier New" size=2>SUPPORTED PLATFORMS</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>===================</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Currently, the platforms thatcan be used as the middle tier include</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Windows NT, Sun Solaris, HPUX, Digital UNIX, IBM AIX, SGI IRIX,</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Siemens Reliant UNIX, Intel UNIX (e.g., Intel Solaris, UnixWare).</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Any CD that is the Server Edition of the Developer can be used</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>for these platforms.</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>However, current support for the Client side is limited to Windows</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>clients (e.g., Windows 95, Windows NT). Moves are afoot to make it</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>supported with UNIX clients using the AppletViewer, for which there</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>is no tentative Release date.</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>=========================================</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>STATICIMPLEMENTATION:</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>Access the admin URL by typing in:</FONT></P> <P><FONT color=#0000ff face="Courier New"size=2>http://mymachinename-pc.domain.com:adminportnumber</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>In this bulletin, we use the following admin URL:</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>For OAS 3.X:</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>owsctl start wrb</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>owsctl start admin</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>owsctl start www</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>www is the defaultlistener</FONT></P>
size=2>---------------------------------</FONT></P><P><FONT color=#0000ff face="Courier New" size=2>Type in a browser:</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>http://forms.oracle.com:8888</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>where 8888 is the port number for the admin which was chosen</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>at the time of OAS installation.</FONT></P>
size=2>-------------------------------</FONT></P><P><FONT color=#0000ff face="Courier New" size=2>Click on OAS MANAGER.</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>your work. Otherwise, click on the + sign to the left of www listener</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>then click on the Directory. Aframe with the subheading 'Directory'</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>will appear to the right with file system directory and virtual </FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>directory.</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Let us take the example of D2K21, and the process is same for all other</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>versions of Developer.</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>One more assumption that is made here is that the fmx files are in the</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>same directory as the htmlfiles.</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>the web-enabled form, you must always stop and start your Forms Listener.</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>4) Configure the html page, so that Oracle Forms comes up on the web.</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Please note that the html filesneeded for running Forms</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>A sample html file for JInitiator would look something like this:</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2><HTML></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2><!-- FILE: static_jinit.html--></FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2><BODY></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2><P></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2><OBJECTclassid="clsid:9F77a997-F0F3-11d1-9195-00C04FC990DC"</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>WIDTH=180</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>HEIGHT=20</FONT></P> <P><FONT color=#0000ff face="Courier New"size=2>codebase="http://mymachine/jinit115211.exe#Version=1,1,5,21,1"></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2><PARAM NAME="CODE" VALUE="oracle.forms.uiClient.v1_4.engine.Main" ></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2><PARAM NAME="CODEBASE" VALUE="/form50code/" ></FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2><PARAM NAME="type" </FONT></P> <P><FONT color=#0000ff face="Courier New"size=2>VALUE="application/x-jinit-applet;version=1.1.5.21.1"></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2><PARAM NAME="serverPort" VALUE="9000"></FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>WIDTH=180</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>HEIGHT=20</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>serverPort="9000"</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>serverArgs="module=fmx_nameuserid=user/password_at_datasource"</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>serverApp="default"</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>pluginspage="http://mymachine/jinit_download.htm"></FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2><NOEMBED></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2></COMMENT></FONT></P> <P><FONT color=#0000ff face="Courier New"size=2></NOEMBED></EMBED></FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2></OBJECT></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2></BODY></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2></HTML></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>where the OBJECT tag is used byMS Internet Explorer and the</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>The parameter 'java_CODE' should always point to the Main.class file</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>which can be locatedin</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>For Developer 6.0, it is C:\orant\forms50\java\oracle\forms\engine.</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>The parameter 'java_CODEBASE'should always point to the virtual directory</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>that is pointing to the C:\orant\forms50\java folder in the directory</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>mappings of the web listener that will be used to run the form on the web.</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>For us, according to the mapping described in point 3, it is /form50code/</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>The parameter 'java_ARCHIVE' is used to download and store the jar files on </FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>the</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>client machines from the middle tier for the first time the form is used on </FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>the</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>web. From then on, whenever the form is invoked, all the Java class files </FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>that</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>are required to run the form onthe web will be used from the client machine</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>rather than downloading them from the server again. This helps in improving</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>the performance of the form on the web.</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>The parameter 'serverport' is the port number which is used by the Forms</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Server Listener. Whenever aclient requests to use the Forms Server,</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>it contacts the listener which gets all the information regarding the</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Forms Server, passes it to theclient machine, connects the client</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>to the Forms Server, and then frees itself to be used by another</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>client request.</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>The parameter 'serverargs' is used to specify the name and path of the</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Forms executable on the middle tier.</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>path</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>for the forms along with font styles. You can use a name other than </FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>'default'</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>in the html file. However, allthe entries in the Registry.Dat file have to </FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>be</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>updated with the new name for
<P><FONT color=#0000ff face="Courier New" size=2>JInitiator to download it from the server. They will then have to install</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>it on their machines. Make surethat the jinit_download.htm and </FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>jinitxxx.exe</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>are in the C:\webforms directory structure on the server.</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>After making changes to the html file in order to run it on the web,</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>it should look like this:</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2><BODY></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2><P></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2><OBJECTclassid="clsid:9F77a997-F0F3-11d1-9195-00C04FC990DC"</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>WIDTH=180</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>HEIGHT=20</FONT></P> <P><FONT color=#0000ff face="Courier New"size=2>codebase="http://mymachine/jinit115211.exe#Version=1,1,5,21,1"></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2><PARAM NAME="CODE" VALUE="oracle.forms.uiClient.v1_4.engine.Main" ></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2><PARAM NAME="CODEBASE" VALUE="/form50code/" ></FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2><PARAM NAME="type" </FONT></P> <P><FONT color=#0000ff face="Courier New"size=2>VALUE="application/x-jinit-applet;version=1.1.5.21.1"></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2><PARAM NAME="serverPort" VALUE="9000"></FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2><PARAM NAME="serverArgs" VALUE="module=/usr/webforms/testform.fmx"></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2><PARAM NAME="serverApp"VALUE="default"></FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>WIDTH=180</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>HEIGHT=20</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>serverPort="9000"</FONT></P> <P><FONT color=#0000ff face="Courier New"size=2>serverArgs="module=C:\webforms\testform.fmx "</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>serverApp="default"</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>pluginspage="http://forms.oracle.com:80/jinit_download.htm"></FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2><NOEMBED></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2></COMMENT></FONT></P> <P><FONT color=#0000ff face="Courier New"size=2></NOEMBED></EMBED></FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2></OBJECT></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2></BODY></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2></HTML></FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Please note that for Developer6.0, the java_CODE should be changed in the </FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>html</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>file to
size=2>-----------------------------------------------------------------------</FONT></P><P><FONT color=#0000ff face="Courier New" size=2>1) Start your wrb, admin, and www listeners.</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>3) Click on Add New Cartridge. Click on Add New Cartridge with Manual</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Configuration. Enter aCartridge name: form50cart</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>8) These are the values that should be present in your page for the</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>cartridgeparameters:</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>Code oracle.forms.uiClient.v1_4.engine.Main</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Archive f50all.jar</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Codebase/form50code/</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>Width 640</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Height 480</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>ServerPort 9000</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>ServerHost%ORAWEBHOST_NAME%</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>Module %Module%</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>serverApp default</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>The first time, it will allowyou to enter only 5 entries.</FONT></P>
size=2>---------------------------------------------------------------------</FONT></P><P><FONT color=#0000ff face="Courier New" size=2>Note:</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Oracle Application Server 4.0.x does not support Cartridge</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>Assume you have created a new listener for this exercise as follows:</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Listener Name =d2k60</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>Port Number = 88</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>In the Directory Mappings section, you should have the following</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>settings:</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>$Your_Oracle_Home\forms60\java\NR /forms60/</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>application version.</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Example:</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Application Name =New_Project</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>10) On the 'Add C-Web Cartridge' Screen, enter the following</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>information:</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Example:</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Cartridge Name =forms_cartridge</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>and select 'Cartridge Parameters'. Insert the cartridge specific</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>parameters.</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Example:</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>HTMLdelimiter = %</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>baseHTML =$Oracle_Home\forms60\java\base_jinit.html</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Code = oracle.forms.engine.Main</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>Width = 500</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Height = 500</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Note</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>----</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>You will not be able to insertall the parameters at one time,</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>as it will run out of the slots. This is a logged bug.</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>d) In the left frame, select
<P><FONT color=#0000ff face="Courier New" size=2>==========================</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Please note that as of now,only Windows 95 and Windows NT</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>can be used for client implementation.</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>Check the Console option, and close the Control Panel of JInitiator.</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>2) For static implementation,open a Netscape browser whose version is</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>4.06 or 4.07 or 4.08. Type in the URL:</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>This invokes the form on the web in the form of an Applet which will be</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>in a different window from thebrowser.</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>======================</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>1. If you want to use icons inyour forms on the web,</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>it could be<P><FONT color=#0000ff face="Courier New" size=2>directory.</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>3. If you want to use forms containing image items, set the</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>environment variables FORMSxx_OUTPUT and FORMSxx_MAPPING</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>in the registry.</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>4. You can do that by adding String values in the registry</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>forms50output C:\webforms\</FONT></P>
'http://forms.oracle.com:80/web_icons'</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>where /web_icons/ is the virtual path pointing to a valid directory</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>like 'C:\orant\webicons\' and all the icons are stored in this</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>5. Always stop and start the listeners if you want to make a change</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>to the html file.</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>6. Whenever you get
<P><FONT color=#0000ff face="Courier New" size=2>entered correctly in the listener virtual mappings for the OAS.</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>7. For D2K21, if you are unableto reload your web form from the</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>browser, it is due to Bug 735456 which has been fixed with patch</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>that upgrades your forms to5.0.6.14.</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>============================================</FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>o ActiveX, OCX, OLE,VBX.</FONT></P>
size=2>---------------------------------------------------------------------------</FONT></P><P><FONT color=#0000ff face="Courier New" size=2>Oracle Support Services</FONT></P>
<P><FONT color=#0000ff face="Courier New" size=2>.</FONT></P> <P> </P> <P><FONT color=#0000ff face="Courier New" size=2>--------------------------------------------------------------------------------</FONT></P><P><FONT color=#0000ff face="Courier New" size=2>Copyright (c) 1995,1999 Oracle Corporation. All Rights Reserved. Legal </FONT></P> <P><FONT color=#0000ff face="Courier New" size=2>Notices and Terms of Use.</FONT></P>
<P> </P> <P> </P> <P><FONT color=#0000ff face="Courier New" size=2>______________________________________________________</FONT></P><P><FONT color=#0000ff face="Courier New" size=2>Get Your Private, Free Email at http://www.hotmail.com</FONT></P></SPAN></FONT><SPAN class=416062713-27072000></SPAN></DIV>