Oracle Forms 12c - Multiple Managed Servers
Posted by Dirk Nachbar on Friday, October 07, 2016
You might remember the previous method to create multiple Managed Servers for Oracle Forms 11g, which can be found under the My Oracle Support Note 989118.1. This procedure were quite a bit critical, as you had to provide manually several arguments and classpath entries for the cloned Managed Server.
With Oracle Forms 12c the procedure to create (not cloning) additional WebLogic Managed Servers hosting your formsapp is really straight forward as you perform this with the config.sh (config.cmd for Windows) tool.
Let's say you will need an additional WebLogic Managed Server for your HR Forms Application which should reside in an independent Managed Server.
Connect to your Server on which your Oracle Forms & Reports are running and perform following steps:
On the first screen, choose the Option "Update an existing domain" and set your Domain Location to the correct directory and proceed with "Next"
Leave the next screen as it is and proceed with "Next"
All values should be automatically pre-filled and just test with the button "Get RCU Configuration" that you have a connection to your Repository Database for Oracle Forms 12c and finally proceed with "Next"
Leave the pre-filled values as they are and proceed with "Next"
Leave everything like it is and proceed with "Next"
In the screen "Advanced Configuration" tick the checkbox for "Managed Servers, Clusters and Coherence" as we will here add our new additonal WebLogic Managed Server for hosting the formsapp
In the screen "Managed Servers" add a new Managed Server by clicking the button "Add" and provide all required values:
In the screen "Clusters" change nothing and proceed with "Next"
Under the screen "Assign Servers to Clusters" mark in the column "Servers" your newly created Managed Server (in this example WLS_FORMS_HR") and move the Managed Server by clicking the arrow button to the "cluster_forms" section under the column "Clusters"
After moving the WLS_FORMS_HR Managed Server you should see following screen and proceed with "Next"
In the screen "Coherence Clusters" just proceed with "Next"
In the screen "Machines" just proceed with "Next"
In the screen "Assign Servers to Machines" mark your newly created Managed Server "WLS_FORMS_HR" and move it by clicking the arrow button under your Machine
After moving the WLS_FORMS_HR Managed Server you should see following screen and proceed with "Next"
In the screen "Configuration Summary" click the button "Update" to perform the creating of your new Managed Server hosting the formsapp
Wait until the Configuration Progress is complete and proceed with "Next"
Close the screen "End of Configuration" with "Finish"
After that you need to restart your Admin Server, connect to your server on which your Oracle Forms & Reports are installed and restart your Admin Server
The connect to your Oracle WebLogic Server Console http://servername:7001/console and you will find your newly created Managed Server under the "Domain Structure / Environment / Servers"
Go to the "Control" Tab and startup your new Managed Server (in this example WLS_FORMS_HR). Click the checkbox in front of your Managed Server and click the button "Start"
Confirm the Startup with the button "Yes"
After some time you should see in the Configuration tab that your new Managed Server is up and running
If you connect finally to your Fusion Middleware Control 12c http://servername:7001/em and navigate to the "Forms / forms1" section
You will find your new Managed Server (in this example WLS_FORMS_HR) already integrated with all necessary configuration options like
and as usual under the directory $DOMAIN_HOME/config/fmwconfig/servers/<new_Managed_Server>/application/formsapp_12.2.1/config you will find all your necessary configuration files:
Finally you can access the new formsapp with http://<servername>:<port_of_new_Managed_Server>/forms/frmservlet
With the above shown method its really simple to create multiple Managed Servers hosting the formsapp in order to separate different Oracle Forms Application by placing them on individual Managed Servers.
With Oracle Forms 12c the procedure to create (not cloning) additional WebLogic Managed Servers hosting your formsapp is really straight forward as you perform this with the config.sh (config.cmd for Windows) tool.
Let's say you will need an additional WebLogic Managed Server for your HR Forms Application which should reside in an independent Managed Server.
Connect to your Server on which your Oracle Forms & Reports are running and perform following steps:
cd $ORACLE_HOME/oracle_common/common/bin ./config.sh
On the first screen, choose the Option "Update an existing domain" and set your Domain Location to the correct directory and proceed with "Next"
Leave the next screen as it is and proceed with "Next"
All values should be automatically pre-filled and just test with the button "Get RCU Configuration" that you have a connection to your Repository Database for Oracle Forms 12c and finally proceed with "Next"
Leave the pre-filled values as they are and proceed with "Next"
Leave everything like it is and proceed with "Next"
In the screen "Advanced Configuration" tick the checkbox for "Managed Servers, Clusters and Coherence" as we will here add our new additonal WebLogic Managed Server for hosting the formsapp
In the screen "Managed Servers" add a new Managed Server by clicking the button "Add" and provide all required values:
- Name of your Managed Server, in this example WLS_FORMS_HR
- Listen Address
- Listen Port, in this example I choose 9011
- Optionally enable SSL and provide if you enable SSL the SSL Listen Port
- Server Group, this is the important part, select the Server Group "FORMS-MAN-SRV"
In the screen "Clusters" change nothing and proceed with "Next"
Under the screen "Assign Servers to Clusters" mark in the column "Servers" your newly created Managed Server (in this example WLS_FORMS_HR") and move the Managed Server by clicking the arrow button to the "cluster_forms" section under the column "Clusters"
After moving the WLS_FORMS_HR Managed Server you should see following screen and proceed with "Next"
In the screen "Coherence Clusters" just proceed with "Next"
In the screen "Machines" just proceed with "Next"
In the screen "Assign Servers to Machines" mark your newly created Managed Server "WLS_FORMS_HR" and move it by clicking the arrow button under your Machine
After moving the WLS_FORMS_HR Managed Server you should see following screen and proceed with "Next"
In the screen "Configuration Summary" click the button "Update" to perform the creating of your new Managed Server hosting the formsapp
Wait until the Configuration Progress is complete and proceed with "Next"
Close the screen "End of Configuration" with "Finish"
After that you need to restart your Admin Server, connect to your server on which your Oracle Forms & Reports are installed and restart your Admin Server
cd $DOMAIN_HOME/bin ./stopWebLogic.sh cd .. nohup ./startWebLogic.sh >/dev/null 2>&1 &
The connect to your Oracle WebLogic Server Console http://servername:7001/console and you will find your newly created Managed Server under the "Domain Structure / Environment / Servers"
Go to the "Control" Tab and startup your new Managed Server (in this example WLS_FORMS_HR). Click the checkbox in front of your Managed Server and click the button "Start"
Confirm the Startup with the button "Yes"
After some time you should see in the Configuration tab that your new Managed Server is up and running
If you connect finally to your Fusion Middleware Control 12c http://servername:7001/em and navigate to the "Forms / forms1" section
You will find your new Managed Server (in this example WLS_FORMS_HR) already integrated with all necessary configuration options like
- Web Configuration
- Environment Configuration
- Font and Icon Mapping
- Servlet Log
and as usual under the directory $DOMAIN_HOME/config/fmwconfig/servers/<new_Managed_Server>/application/formsapp_12.2.1/config you will find all your necessary configuration files:
cd $DOMAIN_HOME/config/fmwconfig/servers/WLS_FORMS_HR/applications/formsapp_12.2.1/config/ ls -la drwxr-x---. 3 oracle oinstall 4096 Oct 7 10:13 . drwxr-x---. 3 oracle oinstall 19 Oct 7 10:10 .. -rw-r-----. 1 oracle oinstall 4422 Oct 7 10:13 default.env -rw-r-----. 1 oracle oinstall 4128 Oct 7 10:10 default.env.jmxori -rw-r-----. 1 oracle oinstall 10629 Oct 7 10:10 formsweb.cfg -rw-r-----. 1 oracle oinstall 10629 Oct 7 10:10 formsweb.cfg.jmxori -rw-r-----. 1 oracle oinstall 562 Oct 7 10:10 IdentityStoreConfig.xml -rw-r-----. 1 oracle oinstall 562 Oct 7 10:10 IdentityStoreConfig.xml.jmxori -rw-r-----. 1 oracle oinstall 350 Oct 7 10:10 logmetadata.xml -rw-r-----. 1 oracle oinstall 350 Oct 7 10:10 logmetadata.xml.jmxori drwxr-x---. 3 oracle oinstall 18 Oct 7 10:10 oracle
Finally you can access the new formsapp with http://<servername>:<port_of_new_Managed_Server>/forms/frmservlet
With the above shown method its really simple to create multiple Managed Servers hosting the formsapp in order to separate different Oracle Forms Application by placing them on individual Managed Servers.
Categories: Oracle Forms 12, Oracle WebLogic Server 12c