pre-requisites - oracle forms community - - get a

26
www.OraPlayer.com | All rights reserved | [email protected] 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

Upload: others

Post on 12-Sep-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

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

Page 2: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

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

Page 3: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Page 4: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Page 5: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Page 6: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Page 7: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Page 8: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Page 9: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

STEP 2 : Installing Oracle Forms and Reports 11g R2

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

Page 10: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Page 11: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Change home name to FRMHome

Page 12: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Page 13: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Page 14: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Now its time to configure the forms and reports services

Page 15: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Page 16: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

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 :)

Page 17: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Page 18: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Page 19: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Remove the checkbox

Page 20: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

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

Page 21: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Run the start Weblogic admin server

Run the start OPMN managed components

Page 22: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

Run the WLS_FORMS - start

Run Test Form: http://<server_hostname>:8888/forms/frmservlet?form=test.fmx&userid=&otherparams=useSDI=yes&lookAndFeel=oracle&colorScheme=blue

Page 23: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

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\FrmDomain\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\FrmDomain\config\fmwconfig\servers\WLS_FORMS\applications\fo

rmsapp_11.1.2\config

networkRetries=30

Add heartbeat=5

Page 24: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

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,frmall.jar,InitialKeyboardState.PJC.jar,keytyped.jar,FormBeans.jar,ar

chive1.jar,hyperlink.jar,calendar.jar,rolloverbutton.jar,progressbar.jar,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\forms\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\formsapp_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.

Page 25: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

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.

Page 26: Pre-requisites - Oracle Forms Community -   - Get a

www.OraPlayer.com | All rights reserved | [email protected]

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