Oracle Forms & Reports 12.2.1.2.0 - Create and Configure On The OEL 7
Oracle Forms & Reports 12.2.1.2.0 - Create and Configure On The OEL 7
Themen
Über uns
Kontakt
• Home
• BPM & System Integration
• Oracle Forms & Reports 12.2.1.2.0: Create and Configure on the OEL 7.2 Server
Introduction
This post focuses on the creation, configuration and tuning of an initial Forms & Reports 12.2.1.2.0 Domain on the OEL
7.2 Server.
The WebLogic Server is a necessary requirement, and must already be installed. For instruction how to install the
WebLogic Server 12.2.1.2 please refer to my previous post: WebLogic Server 12.2.1.2.0: Installation on the Linux OEL
7: step by step instruction
• Preparing the Operating System for the installation of the WebLogic Server 12.2.1.2, Installation JDK 1.8 and
the WebLogic Server 12.2.1.2:
• Creating of database schemas
• Installing and Configuring a Forms & Reports Domain
• Post-Installation Tasks:
o Configuring of components
o Creating of Start & Stop scripts for the automatic start/stop of components
• Tuning and Troubleshooting
The Domain will be created on the one OEL 7.2 server: host03.example.com (IP 192.168.75.35)
Verify the Summary of the Installation and click the button „Install“:
Verify installation…Next:
Check installed components and click „Finisch“:
Login to the server as user oracle, navigate to oracle_common directory, and start the Repository Creation Utility
(RCU):
[oracle@host03]$ cd /u01/app/oracle/product/FMW/Oracle_Home/oracle_common/bin
[oracle@host03]$ ./rcu
Step 3: Database Connection Details: On this Page provide the database connection information:
Database Type: Oracle Database
… „Next“:
Audit Services
Click „Next“:
The installer will check database prerequisites:
[oracle@host03]$ cd /u01/app/oracle/product/FMW/Oracle_Home/oracle_common/common/bin
[oracle@host03]$ ./config.sh
Specify the correct schema prefix: TST_STB and the information what were specified when you previously ran RCU
(Chapter „Create Database Schemas“).
Then click on the Button „Get RCU Configuration“:
Activate check boxes for Administration Server, Node Manager, Topology and System Components for the advanced
configuration:
Configure AdminServer: Let default values:
Username: nodemgr
System Components:
System Component Component Type Restart Interval Seconds Restart Delay Seconds
forms1 FORMS 3600 0
ohs1 OHS 3600 0
Servername: http://192.168.75.35:7777
Assign System Components forms1 and ohs1 to the Machine UniyMachine_1:
… and „Finish“:
The Creation of Forms & Reports Domain is now completed.
Post-Installation Tasks
Disabling the Derby Database
[oracle@host03]$ cd /u01/app/oracle/product/FMW/Oracle_Home/wlserver/common/derby/lib/
Enter the values for the Administration User (weblogic) and passwort when prompted:
[oracle@host03]$ cd /u01/app/oracle/user_projects/domains/forms_domain/bin
[oracle@host03]$ ./startWebLogic.sh
[oracle@host03]$ cd /u01/app/oracle/user_projects/domains/forms_domain/bin
[oracle@host03]$ ./stopWebLogic.sh
Create the file boot.properties
[oracle@host03]$ cd /u01/app/oracle/user_projects/domains/forms_domain/servers/AdminServer
[oracle@host03]$ mkdir security
[oracle@host03]$ cd security/
[oracle@host03]$ echo -e "username=weblogic\npassword=welcome1" > boot.properties
[oracle@host03]$ cat boot.properties
username=weblogic
password=welcome1
NodeManager configuration
Edit file nodemanager.properties:
[oracle@host03]$ cd /u01/app/oracle/user_projects/domains/forms_domain/nodemanager
[oracle@host03]$ vi nodemanager.properties
Change parameter:
Old:
CrashRecoveryEnabled=false
New:
CrashRecoveryEnabled=true
Start NodeManager:
[oracle@host03]$ cd /u01/app/oracle/user_projects/domains/forms_domain/bin
[oracle@host03]$ nohup ./startNodeManager.sh &
[oracle@host03]$ /u01/app/oracle/product/FMW/Oracle_Home/oracle_common/common/bin/wlst.sh
Connect to NodeManager:
wls:/offline>
nmConnect('nodemgr','welcome1','host03.example.com','5556','forms_domain','/u01/app/oracle/user_pr
ojects/domains/forms_domain')
Start AdminServer:
wls:/nm/forms_domain> nmStart('AdminServer')
Start wlst:
[oracle@host03]$ /u01/app/oracle/product/FMW/Oracle_Home/oracle_common/common/bin/wlst.sh
wls:/forms_domain/serverConfig/>
createReportsToolsInstance(instanceName='reptools1',machine='UnixMachine_1')
vi
/u01/app/oracle/user_projects/domains/forms_domain/config/fmwconfig/servers/WLS_REPORTS/applicatio
ns/reports_12.2.1/configuration/rwservlet.properties
Start wlst:
[oracle@host03]$ /u01/app/oracle/product/FMW/Oracle_Home/oracle_common/common/bin/wlst.sh
Create ReportsServerInstance:
wls:/forms_domain/serverConfig/>
createReportsServerInstance(instanceName='my_repsrv',machine='UnixMachine_1')
vi
/u01/app/oracle/user_projects/domains/forms_domain/config/fmwconfig/components/ReportsServerCompon
ent/my_repsrv/rwserver.conf
To:
Start the standalone reports server and save the NodeManager Password:
cd /u01/app/oracle/user_projects/domains/forms_domain/bin
./startComponent.sh my_repsrv storeUserConfig
Error: Error occurred while performing nmStart : Error Starting server my_repsrv : Received error message from Node
Manager Server: [Server start command for ReportsServerComponent server ‚my_repsrv‘ failed due to: [Server failed to
start up but Node Manager was not aware of the reason]. Please check Node Manager log and/or server ‚my_repsrv‘ log
for detailed information.]. Please check Node Manager log for details.
The Solution is in the MOS Note „Reports Builder / Server Fails to Start in 12c With “ libXm.so.3: cannot open shared
object file: No such file or directory“ Only on Linux 7 (Doc ID 2073755.1)“described:
Changes:
Cause:
This version of the motif library (libXm.so.3) is not available on OEL7 or RedHat7.
Solution:
The workaround is to create a symbolic link between the new motif library and the old one.
ln -s /usr/lib64/libXm.so.4.0.4 /usr/lib64/libXm.so.3
Try as root:
Restart all Components: NodeManager, AdminServer, Managed Server WLS_FORMS, Managed Server
WLS_REPORTS
cd /u01/app/oracle/user_projects/domains/forms_domain/bin
./startComponent.sh my_repsrv storeUserConfig
Output:
Successfully Connected to Node Manager.
Starting server my_repsrv ...
http://host03.example.com:9002/reports/rwservlet/showenv?server=my_repsrv
Start wlst:
/u01/app/oracle/product/FMW/Oracle_Home/oracle_common/common/bin/wlst.sh
Connect to NodeManager:
wlst>
nmConnect('nodemgr','welcome1','host03.example.com','5556','forms_domain','/u01/app/oracle/user_pr
ojects/domains/forms_domain')
Output:
vi /u01/app/oracle/product/FMW/Oracle_Home/forms/templates/config/forms.conf
<Location /forms>
SetHandler weblogic-handler
WebLogicHost host03.example.com
WeblogicPort 9001
</Location>
vi /u01/app/oracle/product/FMW/Oracle_Home/reports/conf/reports_ohs.conf
<Location /reports>
SetHandler weblogic-handler
WebLogicHost host03.example.com
WeblogicPort 9002
</Location>
cp /u01/app/oracle/product/FMW/Oracle_Home/forms/templates/config/forms.conf \
/u01/app/oracle/user_projects/domains/forms_domain/config/fmwconfig/components/OHS/instances/ohs1/
moduleconf
cp /u01/app/oracle/product/FMW/Oracle_Home/reports/conf/reports_ohs.conf \
/u01/app/oracle/user_projects/domains/forms_domain/config/fmwconfig/components/OHS/instances/ohs1/
moduleconf
Start wlst:
/u01/app/oracle/product/FMW/Oracle_Home/oracle_common/common/bin/wlst.sh
Connect to NodeManager:
wlst>
nmConnect('nodemgr','welcome1','host03.example.com','5556','forms_domain','/u01/app/oracle/user_pr
ojects/domains/forms_domain')
Check Installation:
Check the WebLogic Admin Console via Browser: http://host03.example.com:7001/console:
File Path
formsweb.cfg /config/fmwconfig/servers/WLS_FORMS/applications/formsapp_12.2.1/config
default.env /config/fmwconfig/servers/WLS_FORMS/applications/formsapp_12.2.1/config
Templates /config/fmwconfig/components/FORMS/instances/forms1/server
registry.dat /config/fmwconfig/servers/WLS_FORMS/applications/formsapp_12.2.1/config/oracle/forms/registry
ftrace.cfg /config/fmwconfig/components/FORMS/instances/forms1/server
webutil.cfg /config/fmwconfig/components/FORMS/instances/forms1/server
Reports:
File Path
rwserver.conf /config/fmwconfig/servers/WLS_REPORTS/applications/reports_12.2.1/configuration
rwnetwork.conf /config/fmwconfig/servers/WLS_REPORTS/applications/reports_12.2.1/configuration
rwservlet.properties /config/fmwconfig/servers/WLS_REPORTS/applications/reports_12.2.1/configuration
Reports Instances Configuration Directories: Example for the Reports server my_repsrv:
/config/fmwconfig/components/ReportsServerComponent/my_repsrv
We will tune the Java heap size for the Admin Server and for each Managed Server.
For more information about the customizing of Java settings please refer to my article How to customize Java Virtual
Machine Settings in Oracle WebLogic Server 12 on OS Linux / UNIX
cd /u01/app/oracle/user_projects/domains/forms_domain/bin
#!/bin/bash
if [ "${SERVER_NAME}" = "WLS_FORMS" ]
then
echo "Customizing USER_MEM_ARGS for SERVER_NAME ${SERVER_NAME}"
export USER_MEM_ARGS="-Xms2g -Xmx2g -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:NewSize=1g"
export JAVA_OPTIONS="$JAVA_OPTIONS -Djava.awt.headless=true"
fi
if [ "${SERVER_NAME}" = "WLS_REPORTS" ]
then
echo "Customizing USER_MEM_ARGS for SERVER_NAME ${SERVER_NAME}"
export USER_MEM_ARGS="-Xms2g -Xmx2g -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:NewSize=1g"
export JAVA_OPTIONS="$JAVA_OPTIONS -Djava.awt.headless=true"
fi
Start wlst:
/u01/app/oracle/product/FMW/Oracle_Home/oracle_common/common/bin/wlst.sh
Connect to NodeManager:
nmConnect('nodemgr','welcome1','host03.example.com','5556','forms_domain','/u01/app/oracle/user_pr
ojects/domains/forms_domain')
wls:/nm/forms_domain> nmKill('WLS_FORMS')
wls:/nm/forms_domain> nmKill('WLS_REPORTS')
wls:/nm/forms_domain> nmKill(serverName='ohs1', serverType='OHS')
wls:/nm/forms_domain> nmKill('AdminServer')
wls:/nm/forms_domain> nmStart('AdminServer')
wls:/nm/forms_domain> nmStart(serverName='ohs1', serverType='OHS')
wls:/nm/forms_domain> nmStart('WLS_REPORTS')
wls:/nm/forms_domain> nmStart('WLS_FORMS')
Reference: MOS Note „How to Enable Discovery Cache To Avoid Long Delay During Login To Fusion Middleware
Control (Doc ID 1423893.1)“
Start wlst and connect to the AdminServer (the AdminServer must be running):
/u01/app/oracle/product/FMW/Oracle_Home/oracle_common/common/bin/wlst.sh
wls:/offline> connect('weblogic','welcome1','t3://host03.example.com:7001')
wls:/forms_domain/serverConfig/> domainCustom()
Setting variables:
wls:/forms_domain/domainCustom/>
myMBean=ObjectName('emoms.props:Location=AdminServer,name=emoms.properties,type=Properties,Applica
tion=em')
wls:/forms_domain/domainCustom/> types=['java.lang.String', 'java.lang.String']
wls:/forms_domain/domainCustom/> type=['java.lang.String']
wls:/forms_domain/domainCustom/>
params=['oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_USE_CACHED_RESULTS', 'true']
wls:/forms_domain/domainCustom/> mbs.invoke(myMBean,'setProperty',params,types)
Set property oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_MAX_CACHE_AGE=7200000:
wls:/forms_domain/domainCustom/>
params=['oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_MAX_CACHE_AGE','7200000']
wls:/forms_domain/domainCustom/> mbs.invoke(myMBean,'setProperty',params,types)
wls:/forms_domain/domainCustom/>
params=['oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_MAX_WAIT_TIME','10000']
wls:/forms_domain/domainCustom/> mbs.invoke(myMBean,'setProperty',params,types)
Invoke getProperty operations to display and confirm parameter values (Values returned by wlst are in bold):
wls:/forms_domain/domainCustom/>
param=['oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_USE_CACHED_RESULTS']
wls:/forms_domain/domainCustom/> mbs.invoke(myMBean,'getProperty',param,type)
'true'
wls:/forms_domain/domainCustom/>
param=['oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_MAX_CACHE_AGE']
wls:/forms_domain/domainCustom/> mbs.invoke(myMBean,'getProperty',param,type)
'7200000'
wls:/forms_domain/domainCustom/>
param=['oracle.sysman.emas.discovery.wls.FMW_DISCOVERY_MAX_WAIT_TIME']
wls:/forms_domain/domainCustom/> mbs.invoke(myMBean,'getProperty',param,type)
'10000'
1. NodeManager
2. AdminServer
4. Reports Servers
5. OHS
1. OHS
2. Reports Servers
5. NodeManager
export DOMAIN_HOME=/u01/app/oracle/user_projects/domains/forms_domain
nohup ${DOMAIN_HOME}/bin/startNodeManager.sh > ${DOMAIN_HOME}/nodemanager.out 2>&1 &
Stop:
export DOMAIN_HOME=/u01/app/oracle/user_projects/domains/forms_domain
${DOMAIN_HOME}/bin/stopNodeManager.sh
export DOMAIN_HOME=/u01/app/oracle/user_projects/domains/forms_domain
$DOMAIN_HOME/bin/startComponent.sh ohs1
$DOMAIN_HOME/bin/stopComponent.sh ohs1
Start wlst:
/u01/app/oracle/product/FMW/Oracle_Home/oracle_common/common/bin/wlst.sh
Connect to NodeManager:
nmConnect('nodemgr','welcome1','host03.example.com','5556','forms_domain','/u01/app/oracle/user_pr
ojects/domains/forms_domain')
nmStart(serverName='ohs1', serverType='OHS')
nmKill(serverName='ohs1', serverType='OHS')
Start:
export DOMAIN_HOME=/u01/app/oracle/user_projects/domains/forms_domain
${DOMAIN_HOME}/bin/startWebLogic.sh
Stop:
export DOMAIN_HOME=/u01/app/oracle/user_projects/domains/forms_domain
${DOMAIN_HOME}/bin/stopWebLogic.sh
Start / Stop AdminServer via wlst and NodeManager (Note: the NodeManager must be running):
Start wlst:
/u01/app/oracle/product/FMW/Oracle_Home/oracle_common/common/bin/wlst.sh
Connect to NodeManager:
nmConnect('nodemgr','welcome1','host03.example.com','5556','forms_domain','/u01/app/oracle/user_pr
ojects/domains/forms_domain')
wlst> nmStart('AdminServer')
wlst> nmKill('AdminServer')
Start:
export DOMAIN_HOME=/u01/app/oracle/user_projects/domains/forms_domain
${DOMAIN_HOME}/bin/startManagedWebLogic.sh WLS_FORMS
${DOMAIN_HOME}/bin/startManagedWebLogic.sh WLS_REPORTS
Stop:
export DOMAIN_HOME=/u01/app/oracle/user_projects/domains/forms_domain
${DOMAIN_HOME}/bin/stopManagedWebLogic.sh WLS_FORMS
${DOMAIN_HOME}/bin/stopManagedWebLogic.sh WLS_REPORTS
Start / Stop all Managed Servers via wlst and NodeManager (Note: the NodeManager must be
running):
Start wlst:
/u01/app/oracle/product/FMW/Oracle_Home/oracle_common/common/bin/wlst.sh
Connect to NodeManager:
nmConnect('nodemgr','welcome1','host03.example.com','5556','forms_domain','/u01/app/oracle/user_pr
ojects/domains/forms_domain')
wlst> nmStart('WLS_FORMS')
wlst> nmStart('WLS_REPORTS')
wlst> nmKill('WLS_REPORTS')
wlst> nmKill('WLS_FORMS')
export DOMAIN_HOME=/u01/app/oracle/user_projects/domains/forms_domain
${DOMAIN_HOME}/bin/startComponent.sh my_repsrv
Stop:
export DOMAIN_HOME=/u01/app/oracle/user_projects/domains/forms_domain
${DOMAIN_HOME}/bin/stopComponent.sh my_repsrv
http://host03.example.com:9002/reports/rwservlet/startserver
Stop:
http://host03.example.com:9002/reports/rwservlet/stopserver
http://host03.example.com:9001/forms/frmservlet?config=webstart
http:// host03.example.com:7777/forms/frmservlet?config=webstart
Documentation
• Certifications matrix: http://www.oracle.com/technetwork/middleware/fusion-middleware/documentation/fmw-
122110certmatrix-3050412.xlsx
• System requirements: http://docs.oracle.com/html/E73100_01/toc.htm#GUID-37C51062-3732-4A4B-8E0E-
003D9DFC8C26
• Installing and Configuring Oracle Forms and Reports:
https://docs.oracle.com/middleware/12211/formsandreports/install-fnr/FRINS.pdf
• Forms Services Deployment Guide: https://docs.oracle.com/middleware/12211/formsandreports/deploy-
forms/FSDEP.pdf
• Release Notes for Oracle Forms and Reports:
https://docs.oracle.com/middleware/12211/formsandreports/releasenotes-fnr/FRREL.pdf
• Publishing Reports to the Web with Oracle Reports Services:
https://docs.oracle.com/middleware/12211/formsandreports/use-reports/RSPUB.pdf
• Administering Oracle HTTP Server: https://docs.oracle.com/middleware/12211/webtier/administer-
ohs/HSADM.pdf
• Oracle Fusion Middleware Tuning Guide: http://docs.oracle.com/middleware/12211/wls/PERFM/PERFM.pdf
• How to Enable Discovery Cache To Avoid Long Delay During Login To Fusion Middleware Control (Doc ID
1423893.1)
• Reports 12c Relevant Notes and Links Index Support Note 2073820.1
• Oracle Reports 12c: First Step to Complete After a New Forms/Reports 12c Install and Configuration
Environment (Doc ID 2072671.1)
• Reports Builder and Forms Builder Wont Start After a New 12c Configuration Environment (Doc ID
2074173.1)
• How to Create a Standalone Reports Server in Reports 12c (Doc ID 2070762.1)
• How to Start/Stop the Reports Server in Reports 12c (Doc ID 2070689.1)
• Reports Builder / Server Fails to Start in 12c With “ libXm.so.3: cannot open shared object file: No such file or
directory“ Only on Linux 7 (Doc ID 2073755.1)
• How to Use Oracle Forms 12c with OHS (HTTP Listener) (Doc ID 2096843.1)
Share this:
• Twitter
• Facebook
•
Gefällt mir:
Wird geladen...
Borys Neselovskyi is a leading Infrastructure Architect at OPITZ CONSULTING - a German Oracle Platinum Partner.
Since Februar 2019 he is an Oracle ACE. Borys field of work includes the conceptual design and implementation of
infrastructure solutions based on Oracle Database/Middleware/Engineered Systems/Virtualization. He is also a frequent
speaker at conferences (with live demos about Oracle software, sessions, panels, etc.).
1. fghjyb sagt:
Wird geladen...
Antworten
2. Derwin sagt:
Excellent Information
Wird geladen...
Antworten
Hi,
Very good article. I’m going to implement it on a virtual machine for testing purpose. But I’d like to know if
you can provide instructions to integrate it with Oracle Access Manager to use SSO.
Best Regards.
Wird geladen...
Antworten
4. cgomeznt sagt:
Excelente documento…!!!!!
Wird geladen...
Antworten
5. abdulwajid sagt:
Wird geladen...
Antworten
Kommentar verfassen
Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten
verarbeitet werden.
• Blog about Digital Transformation, BI & Big Data, Cloud & Infrastructure, Software
Development, BPM & Integration. Powered by OPITZ CONSULTING
•
Suche nach:
• Neueste Beiträge
• Archive
Archive
•
• Meta
o Anmelden
o Feed der Einträge
o Kommentare-Feed
o WordPress.org
Kirchstrasse 6
• Datenschutzerklärung
• Impressum