Forms 11g R2 Install Guide 64 bit Windows - WordPress.com

8 downloads 346 Views 1MB Size Report
Run the following command to install the oracle Weblogic server in console mode. ... Run the setup from E:\Oracle\\Disk1\setup.exe ...
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

|

[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

www.OraPlayer.com

|

All rights reserved

|

[email protected]

www.OraPlayer.com

|

All rights reserved

|

[email protected]

www.OraPlayer.com

|

All rights reserved

|

[email protected]

www.OraPlayer.com

|

All rights reserved

|

[email protected]

www.OraPlayer.com

|

All rights reserved

|

[email protected]

www.OraPlayer.com

|

All rights reserved

|

[email protected]

www.OraPlayer.com

|

All rights reserved

|

[email protected]

STEP 2 : Installing Oracle Forms and Reports 11g R2 Run the setup from E:\Oracle\\Disk1\setup.exe

www.OraPlayer.com

|

All rights reserved

|

[email protected]

www.OraPlayer.com

|

All rights reserved

|

[email protected]

Change home name to FRMHome

www.OraPlayer.com

|

All rights reserved

|

[email protected]

www.OraPlayer.com

|

All rights reserved

|

[email protected]

www.OraPlayer.com

|

All rights reserved

|

[email protected]

Now its time to configure the forms and reports services

www.OraPlayer.com

|

All rights reserved

|

[email protected]

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

www.OraPlayer.com

|

All rights reserved

|

[email protected]

www.OraPlayer.com

|

All rights reserved

|

[email protected]

www.OraPlayer.com

|

All rights reserved

|

[email protected]

Remove the checkbox

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!

www.OraPlayer.com

|

All rights reserved

|

[email protected]

Run the start Weblogic admin server

Run the start OPMN managed components

www.OraPlayer.com

|

All rights reserved

|

[email protected]

Run the WLS_FORMS - start

Run Test Form: http://:8888/forms/frmservlet?form=test.fmx&userid=&o therparams=useSDI=yes&lookAndFeel=oracle&colorScheme=blue

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 Copy the actual forms folder Delete all fmx, plx, plg,pld,mmx Copy Tnsnames file

D:\Oracle\Middleware\FrmInst\config

For how to make a batch compile script: http://oracleformsinfo.wordpress.com/2011/12/16/demo -script-linux-compiling-forms-application/

Compile all forms Download jacob Including .jar and dll In server registry

Should have been downloaded in step 1 NLS_DATE_LANGUAGE="AMERICAN" NLS_DATE_FORMAT="DD/MM/RRRR" REPORTS_BIDI_ALGORITHM="UNICODE" NLS_DISPLAY="HEBREW_ISRAEL.IW8ISO8859P8" REPORTS_PATH="C:\\WINDOWS\\Fonts; REPORTS_TMP="D:\\Oracle\\Temp" FORMS_PATH ORACLE_PATH TNS_ADMIN TNS_ADMIN PATH D:\Oracle\Middleware\user_projects\domains\FrmDomai n\config\fmwconfig\servers\WLS_FORMS\applications\fo rmsapp_11.1.2\config NLS_LANG=HEBREW_ISRAEL.IW8ISO8859P8 REPORTS_BIDI_ALGORITHM=UNICODE TMPDIR=D:\Oracle\Temp

For Hebrew support For Hebrew support Add your source files Should have no spaces Add your source files

In system env variables -

Environment variables for forms - env file Hebrew support Hebrew support

REPORTS_PATH=c:\windows\fonts;......... NLS_DISPLAY=HEBREW_ISRAEL.IW8ISO8859P8 NLS_DATE_FORMAT=DD/MM/RRRR FORMS_TIMEOUT=60 FORMS_PATH=D:\Oracle\Middleware\FRMHome\forms;D:\Oracle\M iddleware\FrmInst\FormsComponent\forms; ..... CLASSPATH make sure jacob.jar is here TNS_ADMIN=\\isracard\shared\orawinfs\OraDevSuite10g\NETWOR K\ADMIN

Hebrew support Hebrew support

Add your source files Add your customized jar files

Configurations for systems In formsweb.cfg file

www.OraPlayer.com

PATH Put fmb sources on the 11g server

|

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

All rights reserved

|

[email protected]

envFile=.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) 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

Add your source files tnsname.ora file found in \network\admin folder

tnsnames check all DB names are correct D:\Oracle\Middleware\FrmInst\config\FormsComponent\f orms\server D:\Oracle\Middleware\FRMHome\forms

HTML FILES ARE FOUND Message Files are found Key mapping files are found Jar Files Copy jar files to forms\java folder

ICON configuration and font mapping - Registry.dat

D:\Oracle\Middleware\FrmInst\config\FormsComponent\forms D:\Oracle\Middleware\FRMHome\forms\java

calendar.jar hyperlink.jar InitialKeyboardState.PJC.jar icons.jar keytyped.jar progressbar.jar rolloverbutton.jar Jacob.jar (new version)

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 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.

Put jacob.dlls

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=

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

3. Locate the line: JAR_KEY_PASSWORD=

and specify the desired password in accordance with your organization's policy: JAR_KEY_PASSWORD==

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

|

[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

www.OraPlayer.com

|

All rights reserved

|

[email protected]