Posts

Showing posts with the label WLST

Troubleshooting: Installation and Configurations of FMW

Image
Issue#1: CFGFWK-60324: Location is not a directory Domain Configuration time issue Solution : Check the domain path which you enter already in use or correct one. Issue #2: some system prerequisites failed Extracting the installer . . . . . . . . . . . . . . . . . . Done Checking if CPU speed is above 300 MHz. Actual 2194.910 MHz Passed Checking swap space: must be greater than 512 MB. Actual 0 MB Failed <<<< Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required) Checking temp space: must be greater than 300 MB. Actual 11624 MB Passed Some system prerequisite checks failed. You must fulfill these requirements before continuing. The log is located here: /tmp/OraInstall2020-05-06_11-54-32PM/launcher2020-05-06_11-54-32PM.log. To Fix this simple you look in to the above output, what check it got failed that is shown with "Failed <<<<" Just use at the end -ignoreSysPrereqs ja...

Create OHS Domain (Standalone) using WLST

Image
Hello, Oracle Fusion product fans!! In this series of Oracle Fusion technical learning, I would like to share the latest experiment on OHS domain creation using WLST. It's a situation where I've installed OHS Standalone on a Vagrant based CentOS VirtualBox and need to run the OHS instance. I've searched on Google and also in Oracle but there is no such simple code or step that will work without X11 forwarding. Got a thought, There could be similar requirements may be there in a docker container as well. Searched in Github about OHS image creation code there I've learnt how does this WLST help us to create the OHS domain and creates ohs1 component instance within it. Create OHS Domain standalone mode using WLST script The magical WLST script looks like this... #!/usr/bin/python # Create OHS Domain standalone mode with 'ohs1' as system Component # Created date : 12-02-2020 import os, sys def read_ohsdomain_template(): """ Select a...

Creating SOA domain using WLST

Image
Hello, Oracle products fans!! This post I would like to dedicate to all who are interested to grow with the automation skills and part of paradigm shift from on-prem to Cloud platforms. There is lots of need in the various Oracle cloud platforms where internally uses Python scripting that is, WLST automation are base for building the Enterprise level architecture. Prerequisite for SOA domain  To run the script you must have Installed the Oracle JDK Installed Oracle Fusion Middleware Oracle SOA Suite on your machine or VM Database up and running as per the certificate matrix Please read all parameters which are used in this WLST script and do changes as per your project requirements. Oracle SOA Domain using WLST Create a below create_soa_domain.py file and place in any location on your machine where you can run WLST WLHOME = ORACLE_HOME+'/wlserver' ORACLE_HOME = '/home/oracle/products/12.2.1/Oracle_Home' DOMAIN = 'soa_domain...

SOA 12.2.1 Clustered Domain Using WLST Script

Image
Hey! Namaste from Oracle Fusion Middleware world!! In this post, I would like to share the experiment on the SOA domain using WLST for a high availability imposed Clustered Domain. Prerequisites for SOA cluster domain configuration Oracle Fusion Middleware Infrastructure Oracle SOA 12.2.1 Installation Oracle OSB 12.2.1 Installation Clustered SOA Domain using WLST preparation High availability can be achived when we configured multiple WebLgoic managed servers and they are part of a cluster. Here in this case 'soa_server1', 'soa_server2' are configured into the 'soa_cluster'. Step 1: Create the below soa_domain.properties file WLHOME = /home/oracle/products/12.2.1/Oracle_Home/wlserver ORACLE_HOME = /home/oracle/products/12.2.1/Oracle_Home DOMAIN = soa_qa_domain DOMAIN_PATH = /home/oracle/wls_domains/domains/soa_qa_domain APP_PATH = /home/oracle/wls_domains/applications/soa_qa_domain SERVER_ADDRESS = 192.168.xxx.xxx LOG_FOLDER =...

HTML format output for wlst scripts - Threadpool and server status

Image
1. Download the HTML.py module from the following link http://www.decalage.info/python/html and place this in wlserver_10.3/common/wlst/modules 2. Below script will generate html file upon successful execution and it will be placed in the same directory from where you execute the script #!/usr/bin/python import sys sys.path.insert(0,'/u01/app/oracle/product/fmw/wlserver_10.3/common/wlst/modules/HTML.py') import HTML tohtmlfile=open('ThreadPoolStatusHTMLFILE.html', 'w') def connection():     try:         connect(wls_username,wls_password,url);     except:         "Unable to connect to the Admin Server, Please check!"         def Threadpoolstatus():     tabledata=HTML.Table(header_row=['Server Name','Status','Completed Requests','Hogging Threads','Total Threads','Idle Threads','Pending','Queue Length','Throughput']);     urldict...