You are on page 1of 26

www.OraPlayer.com | All rights reserved | info@oraPlayer.

com
Pre-requisites
1) Download install files - Locations are found in the post
http://oracleformsinfo.wordpress.com/2012/03/04/11gshoppinglist/

Make a directory e:\oracle\Installs to put all install files

Install notepad++
\\isracard\shared\installs\notepad++

2) Install JDK for Windows 64 bit - 64-bit JDK.

Choose a java_home where to install it. I use D:\Oracle\Java


3) Put the java home in the PATH environment variable
in my installation it is D:\Oracle\Java\

4) Put the java home in the JAVA_HOME environment variable
in my installation it is D:\Oracle\Java\

5) Ensure the TEMP and TMP environment variables are set to a directory
without spaces for example - c:\Temp

6) Ensure your PATH environment variable does not contain any spaces for
example "Program Files (x86)"
FR 11.1.2 will not configure on 64bit windows if there are spaces in the
path variable


www.OraPlayer.com | All rights reserved | info@oraPlayer.com
The AdminServer will not start if there is an (x86) in the PATH
environment variable; it could not parse beyond the (x86) point.

You can test after you have installed Weblogic and Forms installation
by running in cmd:

D:\Oracle\Middleware\user_projects\domains\FRMDomain\bin>
startweblogic.cmd
If you get the result
"_______________" was unexpected at this time."
It means you have a space in your path variable.

7) Ensure that Anti-virus software has d:\oracle and e:\oracle excluded from
protection

Installing WebLogic Server on 64-Bit Platforms Using 64-Bit JDK

Run the following command to install the oracle Weblogic server in console
mode.

> Set JAVA_HOME=D:\Oracle\Java
> D:\Oracle\Java\bin\java -jar E:\Oracle\WL1035\wls1035_generic.jar -
mode=console





www.OraPlayer.com | All rights reserved | info@oraPlayer.com




www.OraPlayer.com | All rights reserved | info@oraPlayer.com




www.OraPlayer.com | All rights reserved | info@oraPlayer.com






www.OraPlayer.com | All rights reserved | info@oraPlayer.com



www.OraPlayer.com | All rights reserved | info@oraPlayer.com




www.OraPlayer.com | All rights reserved | info@oraPlayer.com










www.OraPlayer.com | All rights reserved | info@oraPlayer.com


STEP 2 : Installing Oracle Forms and Reports 11g R2

Run the setup from E:\Oracle\<forms 11g r2 install>\Disk1\setup.exe





www.OraPlayer.com | All rights reserved | info@oraPlayer.com






www.OraPlayer.com | All rights reserved | info@oraPlayer.com

Change home name to FRMHome



www.OraPlayer.com | All rights reserved | info@oraPlayer.com







www.OraPlayer.com | All rights reserved | info@oraPlayer.com





www.OraPlayer.com | All rights reserved | info@oraPlayer.com

Now its time to configure the forms and reports services





www.OraPlayer.com | All rights reserved | info@oraPlayer.com





www.OraPlayer.com | All rights reserved | info@oraPlayer.com
Change Oracle instance location to d:\oracle\Middleware\FRMinst
Change Oracle Instance Name to Frminst

Change domain name to FRMDomain
Password should recorded somewhere so not to loose it :)


www.OraPlayer.com | All rights reserved | info@oraPlayer.com







www.OraPlayer.com | All rights reserved | info@oraPlayer.com






www.OraPlayer.com | All rights reserved | info@oraPlayer.com
Remove the checkbox





www.OraPlayer.com | All rights reserved | info@oraPlayer.com

If it gets stuck at the stage and never starts progressing. Check if
the PATH environment variable has spaces!



www.OraPlayer.com | All rights reserved | info@oraPlayer.com
Run the start Weblogic admin server



Run the start OPMN managed components







www.OraPlayer.com | All rights reserved | info@oraPlayer.com
Run the WLS_FORMS - start




Run Test Form:

http://<server_hostname>:8888/forms/frmservlet?form=test.fmx&userid=&o
therparams=useSDI=yes&lookAndFeel=oracle&colorScheme=blue







www.OraPlayer.com | All rights reserved | info@oraPlayer.com
Configure the server

This is checklist of things that should be configured on the server
after base installation has been found successfull.

TASK PATH
Copy the actual forms folder Put fmb sources on the 11g server
Delete all fmx, plx,
plg,pld,mmx
Copy Tnsnames file D:\Oracle\Middleware\FrmInst\config
Compile all forms
For how to make a batch compile script:
http://oracleformsinfo.wordpress.com/2011/12/16/demo
-script-linux-compiling-forms-application/
Download jacob
Including .jar and dll Should have been downloaded in step 1
In server registry
NLS_DATE_LANGUAGE="AMERICAN"
NLS_DATE_FORMAT="DD/MM/RRRR"
For Hebrew support REPORTS_BIDI_ALGORITHM="UNICODE"
For Hebrew support NLS_DISPLAY="HEBREW_ISRAEL.IW8ISO8859P8"
Add your source files REPORTS_PATH="C:\\WINDOWS\\Fonts;
Should have no spaces REPORTS_TMP="D:\\Oracle\\Temp"
Add your source files FORMS_PATH
ORACLE_PATH
TNS_ADMIN
In system env variables - TNS_ADMIN
PATH
Environment variables for
forms - env file
D:\Oracle\Middleware\user_projects\domains\FrmDomai
n\config\fmwconfig\servers\WLS_FORMS\applications\fo
rmsapp_11.1.2\config
Hebrew support NLS_LANG=HEBREW_ISRAEL.IW8ISO8859P8
Hebrew support REPORTS_BIDI_ALGORITHM=UNICODE

TMPDIR=D:\Oracle\Temp

REPORTS_PATH=c:\windows\fonts;.........
Hebrew support NLS_DISPLAY=HEBREW_ISRAEL.IW8ISO8859P8
Hebrew support NLS_DATE_FORMAT=DD/MM/RRRR

FORMS_TIMEOUT=60
Add your source files
FORMS_PATH=D:\Oracle\Middleware\FRMHome\forms;D:\Oracle\M
iddleware\FrmInst\FormsComponent\forms; .....
Add your customized jar files CLASSPATH make sure jacob.jar is here

TNS_ADMIN=\\isracard\shared\orawinfs\OraDevSuite10g\NETWOR
K\ADMIN
Configurations for systems -
In formsweb.cfg file
Configure the formsweb.cfg
D:\Oracle\Middleware\user_projects\domains\FrmDomai
n\config\fmwconfig\servers\WLS_FORMS\applications\fo
rmsapp_11.1.2\config

networkRetries=30

Add heartbeat=5


www.OraPlayer.com | All rights reserved | info@oraPlayer.com

envFile=<name>.env baseline on is called default.env

set logo=no in default section

Add all personalized configuration sections [project name]

imagebase = codebase

archive parameter should have icons.jar (create jar file with all
images and icons)
Add your source files
archive=frmwebutil.jar,jacob.jar,OraPlayerListener.jar,cs_icons.jar,f
rmall.jar,InitialKeyboardState.PJC.jar,keytyped.jar,FormBeans.jar,ar
chive1.jar,hyperlink.jar,calendar.jar,rolloverbutton.jar,progressbar.j
ar,modcursor.jar
TNSNAMES
tnsname.ora file found in
<OH>\network\admin folder tnsnames check all DB names are correct
HTML FILES ARE FOUND
D:\Oracle\Middleware\FrmInst\config\FormsComponent\f
orms\server
Message Files are found D:\Oracle\Middleware\FRMHome\forms
Key mapping files are found D:\Oracle\Middleware\FrmInst\config\FormsComponent\forms
Jar Files D:\Oracle\Middleware\FRMHome\forms\java
Copy jar files to forms\java
folder calendar.jar
hyperlink.jar
InitialKeyboardState.PJC.jar
icons.jar
keytyped.jar
progressbar.jar
rolloverbutton.jar
Jacob.jar (new version)




ICON configuration and font
mapping - Registry.dat
D:\Oracle\Middleware\user_projects\domains\FrmDomai
n\config\fmwconfig\servers\WLS_FORMS\applications\fo
rmsapp_11.1.2\config\forms\registry\oracle\forms\regist
ry
Default font to 900
Font mappings copied from production
Sign all jars using sign
script E:\Oracle\sign_jars
Put jacob.dlls
Place jacob-1.14.3-x86.dll in the
ORACLE_HOME/forms/webutil/win32 directory.
Place jacob-1.14.3-x64.dll in the
ORACLE_HOME/forms/webutil/win64 directory.







www.OraPlayer.com | All rights reserved | info@oraPlayer.com
Sign Jar files

There is a bug in 11g with the signing utility of webutil. As such we
must first chnage the passwords in the sign_webutil file and then
sign all jar files in the \java folder again.

To fix the issue:

1. Backup and open the sign_webutil script in a text editor and check/read the 2 comments:

REM *** Remove the text after the '=' below and replace with your password.
***

2. Locate the line:

KEYSTORE_PASSWORD=<Your KEYSTORE password>
and specify the desired password in accordance with your organization's policy:

KEYSTORE_PASSWORD=<yourPassword>

3. Locate the line:

JAR_KEY_PASSWORD=<Your private key password>
and specify the desired password in accordance with your organization's policy:

JAR_KEY_PASSWORD==<yourPassword>

4. Save the script and run it again to sign the JAR file. Using this command:

ORACLE_INSTANCE\bin\sign_webutil.bat %ORACLE_HOME%\forms\java\jacob.jar

For example:
d:\oracle\middleware\frminst\\bin\sign_webutil.bat d:\oracle\frmhome\forms\java\jacob.jar

You must then run this command for all jar files. After running the
commands please check the modifies date of the jar files to ensure
they have all been signed successfully.















www.OraPlayer.com | All rights reserved | info@oraPlayer.com
If after configuring the server you see the form looks stuck in a grey window
when you run the forms. The below error message will be seen in the java
console when running forms. You did not sign the jars properly. Please resign

You might also like