Oracle Forms and Reports 11g Installation on Linux 5.4 Change O/s Configuration and ParametersTake the backup before modi...
# Useful for debugging multi-threaded applicationskernel.core_uses_pid = 1# Controls the use of TCP syncookiesnet.ipv4.tcp...
 Go to /etc/security (cd /etc/security) and Add or change /etc/security/limits.conf file:vi limits.conf# End of fileoracl...
Press Esc +Shift :q! to quit without saving the changes The following packages(rpm) are required for Enterprise Linux:che...
rpm -q openmotif-2.2.3-6.RHEL4.2.i386rpm -q openmotif-2.2.3-9.RHEL4.1.srcrpm -q openmotif22-2.2.3-20.x86_64rpm -q sysstat-...
Click Next to install the JDK
Click Next with the default Product Installation DirectoryClick Next without selecting Optional Components
You will get the below confirmation message once the JDK has been installed successfully.
Click on Done to exit from JDK installation.Set JAVA_HOME and path by editing the bash_profile by using below command.vi ....
export PATH==/home/oracle/Oracle/jrockit - jdk1.6.0_22-R28.1.1-4.0.1/bin:$PATHTo save the changes Esc+Shift+: wqTo quit wi...
java -jar wls1035_generic.jar Click Next to continue installation
 Create a new Middleware Home and give the location to be installed Click Next and uncheck the "I Wish to" and click Yes...
 Check the "I Wish to..." and click on Continue to proceed further Continue with default install Type "Typical" and clic...
 Select the installed JDK path and click on Next
 Choose default web logic server location and click next to continue WLS installation Click Next
 You will get the above screen after installation got success. Uncheck the check box and click onDone. Check the Middlew...
 Click Ok to continue installation Click Next
 Select "Skip Software Updates" and click Next to continue installation
 Select "Install and Configure" and click Next to continue installation
 Click next to continue and ignore the warning for operating system prerequisite checks
 Select the Oracle Middleware Home Location, Web logic server location and Oracle InstanceLocation and click Next to cont...
 Select "Configure For Deployment" and click Next to continue installation
 Select "Create Domain" and give the credentials for web logic server em console and click Nextto continue installation
 Select at least one developer tools and click Next to continue installation
 Select "Auto Port Configuration" and click Next to continue installation
 Select "Do Not Use Proxy Settings" and click Next to continue installation
 Uncheck "Use Application Identity Store" and click Next to continue installation
 Click on "Install" to start the installation You will get the below confirmation dialog once the installation reached 1...
#/home/oracle/Oracle/Middleware/Oracle_FRHome1/oracleRoot.sh Click OK once the script is executed and you will get the be...
As we faced above error while configuring the domain ..modifications done on this issue:1) Make sure that your Hostname an...
http://dirknachbar.blogspot.in/2011_02_01_archive.htmlhttp://dirknachbar.blogspot.in/2011/02/oracle-reports-1111-reports.h...
 Change/add user environment variableslog in as oracleGo to /home/oracleVi .bash_profileAdd the following:.bash_profile# ...
Some Tips to start the servers from Linux:To find any file name use the below commandfind . -name *.DATfind . -name *.lokT...
./ startNodeManager.shstart reports engine******************cd /home/oracle/Oracle/Middleware/asinst_1/bin./opmnctl starta...
Configuration Information for reportsName of the File Directory structure on Unixrwbuilder.sh $ORACLE_INSTANCE/config/repo...
Name of the File Directory structure on Unixreports.sh $ORACLE_INSTANCE/config/reports/bin/rwserver.sh $ORACLE_INSTANCE/co...
 If we are facing any issue while opening form builder in Linux, just executethe below command as root user]# xhost + To...
 If we get this error, then we need to log in into web logic em and need to give theFORMS_PATH for environment configurat...
 Try again by opening the link in web browser you will get the below screenhttp://bias17.bias.com:8888/forms/frmservlet?c...
 If you do not want to enter the data base credentials at runtime, you need to configurethem in web logic server em under...
 Click on "Apply" button you will get the confirmation "Applying Changes - CompletedSuccessfully" and then click on Close...
Starting the In-process Server (Windows and UNIX) for Reports:If you are using Reports Server as an in-process server (the...
Oracle forms and reports 11g installation on linux
Oracle forms and reports 11g installation on linux
Oracle forms and reports 11g installation on linux
Upcoming SlideShare
Loading in...5
×

Oracle forms and reports 11g installation on linux

3,725

Published on

Oracle Forms and Reports 11g Installation on Linux

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,725
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
1
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Oracle forms and reports 11g installation on linux

  1. 1. Oracle Forms and Reports 11g Installation on Linux 5.4 Change O/s Configuration and ParametersTake the backup before modifying the O/s configuration files.cp sysctl.conf sysctl.confoldcd /etcvi sysctl.conf Add the following to the Kernel sysctl configuration file for Red Hat Linux# Kernel sysctl configuration file for Red Hat Linux## For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and# sysctl.conf(5) for more details.# Controls IP packet forwardingnet.ipv4.ip_forward = 0# Controls source route verificationnet.ipv4.conf.default.rp_filter = 1# Do not accept source routingnet.ipv4.conf.default.accept_source_route = 0# Controls the System Request debugging functionality of the kernelkernel.sysrq = 0# Controls whether core dumps will append the PID to the core filename
  2. 2. # Useful for debugging multi-threaded applicationskernel.core_uses_pid = 1# Controls the use of TCP syncookiesnet.ipv4.tcp_syncookies = 1# Controls the maximum size of a message, in byteskernel.msgmnb = 65536# Controls the default maxmimum size of a mesage queuekernel.msgmax = 65536# Controls the maximum shared segment size, in byteskernel.shmmax = 68719476736# Controls the maximum number of shared memory segments, in pageskernel.shmall = 4294967296Press Esc +Shift :wq to save the changesPress Esc +Shift :q! to quit without saving the changes Change the Hosts File EntryTake the backup before modifying the hosts file entrycd /etccp hosts hostsoldvi hostsPress Esc +Shift :wq to save the changesPress Esc +Shift :q! to quit without saving the changes
  3. 3.  Go to /etc/security (cd /etc/security) and Add or change /etc/security/limits.conf file:vi limits.conf# End of fileoracle hard nofile 4096oracle soft nofile 4096oracle hard nproc 16384oracle soft nproc 2047 Go to /etc/pam.d (cd /etc/pam.d) and Add or change line to the /etc/pam.d/login filevi loginadd the below lines in the filesession required pam_limits.sosession required /lib/security/pam_limits.soPress Esc +Shift :wq to save the changes
  4. 4. Press Esc +Shift :q! to quit without saving the changes The following packages(rpm) are required for Enterprise Linux:checking rpm:rpm –q rpmnamerpm –q elfutils-libelf-devel-0.125-3.el5.i386rpm –q gcc-4.1.2-46.el5.x86_64rpm –q gcc-c++-4.1.2-46.el5.x86_64rpm –q glibc-devel-2.5-42.i386rpm –q libaio-0.3.106-3.2.i386rpm –q libaio-0.3.106-3.2.x86_64rpm –q libaio-devel-0.3.106-3.2.i386rpm –q libaio-devel-0.3.106-3.2.x86_64rpm –q libstdc++-4.1.2-46.el5.i386rpm –q libstdc++-4.1.2-46.el5.x86_64rpm –q libstdc++-devel-4.1.2-46.el5.i386rpm –q libstdc++-devel-4.1.2-46.el5.x86_64rpm –q libXp-1.0.0-8.1.el5.x86_64rpm –q libxp6-1.0.1-2.mga2.i586rpm –q libxp6-1.0.1-3-mdv2012.0.i586
  5. 5. rpm -q openmotif-2.2.3-6.RHEL4.2.i386rpm -q openmotif-2.2.3-9.RHEL4.1.srcrpm -q openmotif22-2.2.3-20.x86_64rpm -q sysstat-7.0.2-3.el5.x86_64rpm -q XFree86-libs-3.3.2.3-25.i386Attached the downloaded rpm hereCreate User and Groups by using below commands:groupadd oinstalluseradd -g oinstall oraclepasswd oracleUnzip the software from the path where it is saved and use the below command to unzip the fileunzip ofm_frmrpts_linux_11.1.2.0.0_64_disk1_1of1.zip Download and install Java JDK1.6 version from the path where it is saved before installing weblogic server./jrockit - jdk1.6.0_22-R28.1.1-4.0.1-linux-x64.bin
  6. 6. Click Next to install the JDK
  7. 7. Click Next with the default Product Installation DirectoryClick Next without selecting Optional Components
  8. 8. You will get the below confirmation message once the JDK has been installed successfully.
  9. 9. Click on Done to exit from JDK installation.Set JAVA_HOME and path by editing the bash_profile by using below command.vi .bash_profilePATH=$PATH:$HOME/binexport JAVA_HOME=/home/oracle/Oracle/jrockit - jdk1.6.0_22-R28.1.1-4.0.1
  10. 10. export PATH==/home/oracle/Oracle/jrockit - jdk1.6.0_22-R28.1.1-4.0.1/bin:$PATHTo save the changes Esc+Shift+: wqTo quit with out saving the changes Esc+Shift+: q!To effect the changes to the server execute the below command.. .bash_profile Download the web logic server software to the location /tmp/StageApps and install the weblogic server by using the below command.
  11. 11. java -jar wls1035_generic.jar Click Next to continue installation
  12. 12.  Create a new Middleware Home and give the location to be installed Click Next and uncheck the "I Wish to" and click Yes to continue
  13. 13.  Check the "I Wish to..." and click on Continue to proceed further Continue with default install Type "Typical" and click on Next
  14. 14.  Select the installed JDK path and click on Next
  15. 15.  Choose default web logic server location and click next to continue WLS installation Click Next
  16. 16.  You will get the above screen after installation got success. Uncheck the check box and click onDone. Check the Middleware location in the installed path Go to the Stage directory where the software is downloaded and staged and run the belowcommand to start the installation./runIstaller Select default values for Inventory Directory and Operating System Group Name
  17. 17.  Click Ok to continue installation Click Next
  18. 18.  Select "Skip Software Updates" and click Next to continue installation
  19. 19.  Select "Install and Configure" and click Next to continue installation
  20. 20.  Click next to continue and ignore the warning for operating system prerequisite checks
  21. 21.  Select the Oracle Middleware Home Location, Web logic server location and Oracle InstanceLocation and click Next to continue installation
  22. 22.  Select "Configure For Deployment" and click Next to continue installation
  23. 23.  Select "Create Domain" and give the credentials for web logic server em console and click Nextto continue installation
  24. 24.  Select at least one developer tools and click Next to continue installation
  25. 25.  Select "Auto Port Configuration" and click Next to continue installation
  26. 26.  Select "Do Not Use Proxy Settings" and click Next to continue installation
  27. 27.  Uncheck "Use Application Identity Store" and click Next to continue installation
  28. 28.  Click on "Install" to start the installation You will get the below confirmation dialog once the installation reached 100% and connect toLinux as root and execute the below command
  29. 29. #/home/oracle/Oracle/Middleware/Oracle_FRHome1/oracleRoot.sh Click OK once the script is executed and you will get the below error while configuringand the solution to fix this issue is provided below
  30. 30. As we faced above error while configuring the domain ..modifications done on this issue:1) Make sure that your Hostname and Gateway has properly configured.2) Make sure that below RPM packages are installed or not.libXp-1.0.0-8.1.el5.x86 64.rpmopenmotif22-2.2.3-20.x86 64.rpm3) Make sure that Firewall and Selinux has been Disabled.Root] # service iptables status.Root] # service iptables stop.Refer below links for more information:
  31. 31. http://dirknachbar.blogspot.in/2011_02_01_archive.htmlhttp://dirknachbar.blogspot.in/2011/02/oracle-reports-1111-reports.html Click Next once the configuration reached 100%Click "Finish" once the installation is completed.
  32. 32.  Change/add user environment variableslog in as oracleGo to /home/oracleVi .bash_profileAdd the following:.bash_profile# .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then. ~/.bashrcfi# User specific environment and startup programsPATH=$PATH:$HOME/binexport JAVA_HOME=/home/oracle/jrockit-jdk1.6.0_22-R28.1.1-4.0.1export PATH=/home/oracle/jrockit-jdk1.6.0_22-R28.1.1-4.0.1/bin:$PATH:/home/oracle/Oracle/Middleware/Oracle_FRHome1/bin:$PATHexport ORACLE_MIDDLEWARE=/home/oracle/Oracle/Middlewareexport ORACLE_HOME=/home/oracle/Oracle/Middleware/Oracle_FRHome1export ORACLE_INSTANCE=/home/oracle/Oracle/Middleware/asinst_1exportLD_LIBRARY_PATH=/home/oracle/Oracle/Middleware/Oracle_FRHome1/lib:/home/oracle/Oracle/Middleware/Oracle_FRHome1/jdk/jre/lib/amd64/native_threadsexport FORMS_BUILDER_CLASSPATH=/home/oracle/Oracle/Middleware/Oracle_FRHome1/jlibexport FORMS_PATH=/home/oracle/Oracle/data/myforms
  33. 33. Some Tips to start the servers from Linux:To find any file name use the below commandfind . -name *.DATfind . -name *.lokTo remove any file execute the below commandrm -rf <File name with path>start Admin Server****************cd /home/oracle/Oracle/Middleware/user_projects/domains/ClassicDomain/bin./ startWebLogic.shstart nodeManager******************cd /home/oracle/Oracle/Middleware/wlserver_10.3/server/bin
  34. 34. ./ startNodeManager.shstart reports engine******************cd /home/oracle/Oracle/Middleware/asinst_1/bin./opmnctl startallTo find out the status./opmnctl statusTo stop the Engine./opmnctl stopallIf WLS_FORMS and WLS_REPORTS are down, then we need start from Web logic Administrator consolehttp://bias17.bias.com:7001/consoleAdministrator Console: http://bias17.bias.com:7001/consoleEM Console: http://bias17.bias.com:7001/emEMAgent URL: http://bias17.bias.com:5155/emd/mainReports URL: http://bias17.bias.com:8888/reports/rwservletForms URL: http://bias17.bias.com:8888/forms/frmservletAfter successful installation, we need to verify the above links by opening in the web browser and youwill get the below screens.
  35. 35. Configuration Information for reportsName of the File Directory structure on Unixrwbuilder.sh $ORACLE_INSTANCE/config/reports/bin/rwbuilder (executable) $ORACLE_HOME/bin/
  36. 36. Name of the File Directory structure on Unixreports.sh $ORACLE_INSTANCE/config/reports/bin/rwserver.sh $ORACLE_INSTANCE/config/reports/bin/rwclient.sh $ORACLE_INSTANCE/config/reports/bin/rwrun.sh $ORACLE_INSTANCE/config/reports/bin/rwconverter.sh $ORACLE_INSTANCE/config/reports/bin/rwservlet.properties **$DOMAIN_HOME/servers/WLS_REPORTS/stage/reports/reports/configuration/cgicmd.dat **$DOMAIN_HOME/servers/WLS_REPORTS/stage/reports/reports/configuration/rwserver.conf (standalone)$ORACLE_INSTANCE/config/ReportsServerComponent/report_server_name/rwnetwork.conf (standalone)$ORACLE_INSTANCE/config/ReportsServerComponent/report_server_name/rwnetwork.conf $ORACLE_INSTANCE/config/ReportsToolsComponent/ReportsTools/rwserver.conf (in-process)**$DOMAIN_HOME/servers/WLS_REPORTS/stage/reports/reports/configuration/rwnetwork.conf **$DOMAIN_HOME/servers/WLS_REPORTS/stage/reports/reports/configuration/targets.xml $DOMAIN_HOME/sysman/state/opmnctl (executable) $ORACLE_INSTANCE/bin/opmn.xml $ORACLE_INSTANCE/config/OPMN/opmn/uifont.ali$ORACLE_INSTANCE/config/FRComponent/frcommon/guicommon/tk/admin/uiprint.txt$ORACLE_INSTANCE/config/FRComponent/frcommon/guicommon/tk/admin/Tk2motif.rgb$ORACLE_INSTANCE/config/FRComponent/frcommon/guicommon/tk/admin/portlist.ini $ORACLE_HOME/install/httpd.conf $ORACLE_INSTANCE/config/OHS/ohs1/tnsnames.ora $ORACLE_INSTANCE/config/ We need to add the TNS entries in the tnsnames.ora file which is located in the below path/home/oracle/Oracle/Middleware/asinst_1/configDEV =(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.12.43)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = dev.bias.com)))
  37. 37.  If we are facing any issue while opening form builder in Linux, just executethe below command as root user]# xhost + To open the form builder in Linux execute below command from the path/home/oracle/Oracle/Middleware/asinst_1/bin./frmbld.sh Move the attached form HR.fmb to the path /home/oracle/Oracle/data/myforms Compile the form HR.fmb by opening it in form builder and it will generate HR.fmx in the samedirectory. Open the deployed form in web browser by using the link below and you will get error as FRM-40010: Cannot read form HR.http://bias17.bias.com:8888/forms/frmservlet?config=hr8&form=HR
  38. 38.  If we get this error, then we need to log in into web logic em and need to give theFORMS_PATH for environment configuration as /home/oracle/Oracle/data/myforms After the path provided then click on "Apply" button then will get confirmation messageas "Changes have been applied"
  39. 39.  Try again by opening the link in web browser you will get the below screenhttp://bias17.bias.com:8888/forms/frmservlet?config=hr8&form=HRUsername:hr8password:hr8Database:DEV Enter the credentials for the database then the form will open
  40. 40.  If you do not want to enter the data base credentials at runtime, you need to configurethem in web logic server em under web configuration.userid= hr8/hr8@DEV
  41. 41.  Click on "Apply" button you will get the confirmation "Applying Changes - CompletedSuccessfully" and then click on Close. Try again by opening the link in web browser you will get the below screen and this timeit will not ask for database credentialshttp://bias17.bias.com:8888/forms/frmservlet?config=hr8&form=HR
  42. 42. Starting the In-process Server (Windows and UNIX) for Reports:If you are using Reports Server as an in-process server (the default configuration),sending a run report request starts the in-process server; however, if you are sending arequest through a command line, the servlet must be invoked first using either the runreport URL or the Web command URL. When you have successfully started the servlet,this also means you have successfully started the in-process server.To directly start the in-process server from a URL, enter the following from your Webbrowser:http://bias17.bais.com:8888/reports/rwservlet/startserver

×