WebLogic 12.1.2 Domain Reconfiguration – I

WebLogic 12.1.2 Domain Reconfiguration – I

In this post you will learn basic WebLogic domain upgrade processes for WebLogic 12c(12.1.2) version and migration processes.

  1. Install last JRockit or JDK-7
  2. Install WebLogic 12.1.2
  3. Backup old WebLogic domain folder with its AdminServer and managed servers
  4. Move the old domain folder to weblogic 12.1.2 domains folder. The reconfiguration wizard updates the domain on selected folder, will not create a new weblogic 12.1.2 domain folder.
  5. Start reconfig.sh or reconfig.cmd
Windows: ORACLE_HOME\oracle_common\common\bin
UNIX: ORACLE_HOME/oracle_common/common/bin
M.Fevzi Korkutata | Start Re-Configuration Wizard
M.Fevzi Korkutata | Start Re-Configuration Wizard

6. Select the  old domain which moved to under WebLogic 12c domains folder.

Select old domain folder
Select old domain folder

In this step configuration wizard, updates the files and folders, and reconfigures WLS Infrastructure successfully.

Before:

  <name>test_domain</name>
  <domain-version><strong>10.3.6.0</strong></domain-version>
  <security-configuration>

After:

  <name>test_domain</name>
  <domain-version><strong>12.1.2.0.0</strong></domain-version>
  <security-configuration>

7. Select domain mode and Java Version: I chose other JDK which I preferred Oracle-JRockit.

Choose Java Version
Choose Java Version

8. Update current datasources. If you are going to upgrade the database or move it this feature will be helpful, otherwise, this feature is useless. Select “Don’t convert”

Datasources Configuration - In this screen there is non-functional bug exists, it is pointed with a red circle.
Datasources Configuration – In this screen there is a non-functional bug exists, it is pointed with a red circle.

On the datasources screen, if you select “Convert to Gridlink” or “Convert to RAC multi datasource”  option, the wizard will add one more screen for the next step.

I realized when you select “Convert to Gridlink” option, there is a minor non-functional bug which is the label name for this step’s screen on the left. I reported this to Oracle WebLogic team. Nothing serious, just this screen is not mostly used, and I thought this screen not tested properly.

9. Test JDBC datasources: For my test domain, I have developed an application which uses and connects two databases, one is MySQL and the other one is Oracle.

Test JDBC Datasources
Test JDBC Datasources

10. Advanced Configuration: In this step, choose “Managed Servers, Clusters and Coherence” and “Deployment Services” options. It’s better to select these options for the upgrade process. These means we will see 6 additional reconfiguration wizard screens.

Advanced Configuration: Managed Servers, Clusters, Coherence, Deployments and Services
Advanced Configuration: Managed Servers, Clusters, Coherence, Deployments and Services

 11. Managed Servers:  In this step you can list managed servers and its current listen addresses and ports. You can add, further managed servers in this screen.

Note: Do not use “Add” button, always prefer clone button for your current managed servers.

Customize Managed Servers
Customize Managed Servers

IMPORTANT NOTE: In this screen, I have got null pointer exception and could not move on to the next step, just click on cancel and start from the beginning. REMEMBER delete the current folder, and copy it from the original again.

12. Clusters: In this step, you can configure your current cluster and add new cluster. If you don’t have any cluster just skip this step by clicking next.

Configure Clusters
Configure Clusters

13. Assign servers to clusters: In this step, assign managed servers to the clusters.

14. Assing servers to Machines: In the managed server screen I have cloned one more managed server and assigned this under my admineer.local machine.

Assign Servers to Machines
Assign Servers to Machines

15. Deployments targeting: Deployments must be targeted to the new managed servers or clusters.

Deployments Targeting
Deployments Targeting

16. Service Targeting: The JDBC and other services must be edited and reconfigured in this step. I have two datasource and reconfigured again according to my new WebLogic 12.1.2 domain.

Service Targeting
Service Targeting

17. Configuration Summary: In this last step, the reconfiguration settings are finished. Just summarize the settings again, and if something is wrong go back (remember you can directly reach the relevant screen by clicking on text on the left) and fix them.

Reconfiguration Progress
Reconfiguration Progress

NOTE: At the reconfiguration progress, you can see warning like this: “CFGFWK-40318: Invalid or missing JDBC datasource connection parameters”. If you tested your datasource and got successful result, just ignore this warning.

IMPORTANT NOTE: If you press on the “reconfig” button there is no chance to go back again, the only method is start from beginning.

18. Just click on “reconfig” button, then “Oracle WebLogic Server Reconfiguration succeeded”. Existing test_domain updated and upgraded successfully.

Domain Reconfiguration Applied Successfully
Domain Reconfiguration Applied Successfully

19. Exciting moments! Go to the your new WebLogic 12.1.2 domain and start admin server. After the start process, you should see the new WebLogic version as below with 12.1.2.0.0 version, in the admin server start logs.

WebLogic Domain Upgraded to 12.1.2 Version
WebLogic Domain Upgraded to 12.1.2 Version

After the upgrade process we need to do post upgrade issue. You can see the remaining process in the next post which is “WebLogic 12.1.2 Domain Reconfiguration – II

2 thoughts on “WebLogic 12.1.2 Domain Reconfiguration – I”

Leave a Comment

Your email address will not be published. Required fields are marked *