Step by step installation of WebLogic Server 11.1.1.2 (also known as 10.3.2) and Forms and Reports 11g
Step by step installs for this seem to be rather thin on the ground, so here goes.
Firstly we will install Weblogic Server 11.1.1.2 (also known as 10.3.2), then we will install 11.1.1.2 Forms and Reports. Forms and Reports cannot run separately and needs the Weblogic Server component.
Installation of Weblogic Server 11.1.1.2
This installation is of the 32bit linux version. The platform in this case is Centos 5.5, but commands and process would be identical for Red Hat and probably for Oracle Linux.
Login as your oracle user (read the manual if you don't have one). Change directory to your software installation location. Run wls_1032_linux32.bin in an xterm command line (ensuring it is owned by oracle and has execute privilege). You will need to set your DISPLAY environment variable to <machine name>:0.0, though if this doesn't work try just :0.0
./wls_1032_linux.bin
- The installer will open to show the welcome screen for the
install of
WebLogic Server 10.3.2.0, click next.
- The next screen wants you to define a middleware
home, we need
to do this of course as this is a new install. My login
account is oracle and the home directory is /home/oracle. The
default middleware home is /home/oracle/Oracle/Middleware, we will go
with this.
- The next screen is to register for security updates, enter
what is appropriate for you and click next, (click yes
on the pop-up if you de-selected the check box).
- The next screen is to choose an install type, select
typical and select
next.
- The next screen is to select the weblogic server home,
which is below
the middleware home, enter
/home/oracle/Oracle/Middleware/wlserver_10.3, click next.
- This next screen is the installation summary screen showing
what the
typical install option includes. Click next
- Installation then proceeds.
- After a short time the completion screen appears. Uncheck the quickstart option and select done. Your initial portion of the installation is complete.
Forms and Reports 11g install
Download the ofm_pfrd_linux_11.1.1.2.0_32_disk1_1of1.zip and the other three zips, unpack in your software install directory and cd to the Disk1 directory. So PFRD stands for portal, forms reports and discoverer. We are only installing Forms and Reports which requires much less installation as the portal and discoverer require a database repository and maybe OID also.
in the Disk1 directory, run the installer:
./runInstaller
- The installer welcome screen appears saying that it is step
1 of 16,
click next.
- Step 2 of 16, Choose install and configure, click next.
- Step 3 of 16 System Prerequisite Check, the check should
run and all
pass, click next.
- Step 4 of 16, Select and Create Domain.
Set the
password and change the domain name to your choice e.g.
formsandreports. I left the user as weblogic.
- Step 5 of 16. Specify security updates, Choose your option
here and
click next.
- Step 6 of 16 Specify installation
location. The
defaults for the Middleware home directory and weblogic server home
should be fine. I kept the default here for the Oracle home
directory as as_1 and the instance name of asinst_1. Change
if you need to, click next.
- Step 7 of 16, Configure components.
unselect Portal
and Discoverer also system components, although the http server must be
ticked. The clustered option is checked by default.
Leaving this checked is supposed to make further changes
easier, though the clustered install is also supposed to use more
memory. Keep the EM option ticked if you want this. Click
next.
- Step 8 of 14. Port Configuration, choose as you
wiah, auto
port config is the default. Click next.
- Step 9 of 14. Proxy configuration, Enable proxy only if
needed. Click
next.
- Step 10 of 14, Specify Application OID. Uncheck
the user
application identity store (so it doesn't require OID which is a
completely additional install). Click next.
- Step 11 of 14 Installation Summary. the installation summary is shown, click on install. The install process takes some time so be patient. This stage took about 45 mins for me on a not very powerful box with one AMD processor and 4Gb RAM. Note total time through everything for this install was about 80-90 mins. Once the install reaches 100% complete you see the next button enabled, click this.
Installation complete, my configuration was:
| Identifier | Value |
|---|---|
| Middleware Home | /home/oracle/Oracle/Middleware |
| Oracle Home Location | /home/oracle/Oracle/Middleware/as_1 |
| Oracle Instance Location | /home/oracle/Oracle/Middleware/asinst_1 |
| Oracle Instance | asinst_1 |
| Domain option | Create Domain |
| Domain Name | formsandreports |
| Domain Home | /home/oracle/Oracle/Middleware/userprojects/domains/formsandreports |
| Domain Host Name | Linux1 |
| Domain Port No | 7001 |
| Username | weblogic |
| Auto port detection | true |
| Admin console | http://linux1:7001/console |
| EM console | http://linux1:7001/em |
| EMAgent URL | http://linux1:5515/emd/main |
| Forms URL | http://linux1:8888/forms/frmservlet |
| Reports URL | http://linux1:8888/reports/rwservlet |
Click finish to complete. Note it did say that discoverer was installed at the end even though it wasn't.
Checking things out
At the end of the install, all of the components should be running, and you can try logging onto the various consoles to see what's there. Also you can run the test form by using the default Forms url to confirm things are running ok:
http://<your-box>:8888/forms/frmservlet
You can also check out the report server configuration:
http://<your-box>:8888/reports/rwservlet/showenv
Stopping the various Weblogic Processes
To close down the various components these are the commands:
1. Stop the Forms and Report managed services
export MW_HOME=/home/oracle/Oracle/Middleware
export ORACLE_INSTANCE=$MW_HOME/asinst_1
export ORACLE_HOME=$MW_HOME/as_1
export DOMAIN_NAME=formsandreports
$MW_HOME/user_projects/domains/$DOMAIN_NAME/bin/stopManagedWebLogic.sh WLS_FORMS
>weblogic
>password
$MW_HOME/user_projects/domains/$DOMAIN_NAME/bin/stopManagedWebLogic.sh WLS_REPORTS
>weblogic
>password
2. Stop the instance items running under OPMN (eg OHS and EM)
$ORACLE_INSTANCE/bin/opmnctl stopall
3. Stop the Admin Server
$MW_HOME/user_projects/domains/$DOMAIN_NAME/bin/stopWebLogic.sh
>username
>password
4. Stop the Node Manager
Strangely, this doesn't have a stop command, though does have a start command, either kill the sessions or shut down the box.
Starting the Weblogic Processes
1. Start the Node Manager
$MW_HOME/wlserver_10.3/server/bin/startNodeManager.sh
>username
>password
2. Start the Admin Server
$MW_HOME/user_projects/domains/$DOMAIN_NAME/bin/startWebLogic.sh
>username
>password
3. Start the instance items running under OPMN (eg OHS and EM)
$ORACLE_INSTANCE/bin/opmnctl startall
4. Start the Forms and Report managed services
$MW_HOME/user_projects/domains/$DOMAIN_NAME/bin/startManagedWebLogic.sh WLS_FORMS
>weblogic
>password
$MW_HOME/user_projects/domains/$DOMAIN_NAME/bin/startManagedWebLogic.sh WLS_REPORTS
>weblogic
>password
Once you started the managed services, it might take a good few minutes before forms and reports actually respond on the URL so be patient.
Patching to 11.1.1.3 - details here
Any comments to web@formsmigration.com