Click here to load reader

Pre-requisites - Oracle Developer Community Blog · PDF file | All rights reserved | [email protected] STEP 2 : Installing Oracle Forms and Reports 11g R2

  • View
    213

  • Download
    0

Embed Size (px)

Text of Pre-requisites - Oracle Developer Community Blog · PDF file | All rights reserved |...

  • 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

    http://oracleformsinfo.wordpress.com/2012/03/04/11gshoppinglist/

  • 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=&otherparams=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 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

    http://oracleformsinfo.wordpress.com/2011/12/16/demo-script-linux-compiling-forms-application/http://oracleformsinfo.wordpress.com/2011/12/16/demo-script-linux-compiling-forms-application/

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

    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)

    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

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

  • 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 '=' be

Search related