
WLST By Examples
111 FOLLOWERS
Pavan is working as a Technical Consultant and providing solutions in WebLogic-based platform architecture, SOA, Integration, Oracle Fusion Middleware, security, and web development. WLST is a Weapon in the hands of Middleware Engineers. Read more about Python code, Jython scripting for building WebLogic platforms SOA, OSB, Portals, WebCenter, FMW and more on WLST.
WLST By Examples
3y ago
In recent developments in the Python impacting WLST Shell as well. Sometimes you need a module that is available for Python in your WLST, some time you might need some JAVA_OPTIONS must be included before the WLST shell is launched.
Here I will walk you through some scenarios where you need to customize.
When there is customization in WebLogic domains such as Oracle Utilities products uses the SSL enable communication for their AdminServer - Managed servers
WLST shell using a connection to AdminServer with t3s protocol
WebLogic domain for Oracle Data Integrator uses WLST when a managed serv ..read more
WLST By Examples
4y ago
Couple of years back in the same blog I've posted how we can configure a generic datasource in WebLogic domain using WLST. Working in today's trend continuous deployment(CD) automation development I've worked on similar task that is GEOCODE datasource configuration. GEOCODE datasource is the basic configuration requirement for running Oracle MapViewer.
In Oracle Utilities Mobile Workforce Management runs on WebLogic server.
Pre-requisites
Oracle native WebLogic domain configured and the Admin Server must be up and running because our automation will be going to work online WLST.
How does it ..read more
WLST By Examples
4y ago
Configuring Custom SSL for WebLogic server Working on the Oracle Utilities project, where our Environment requirement is that Mobile runtimes will communicates with secure servers. So we need to make the WebLogic server SSL Enabled with Custom SSL certificates configuration.
WLST keystore SSL for Admin Server, Managed Server
Assumptions:
WebLogic 12.2.1.3 domain configured
Each WebLogic server SSL enabled already
AdminServer up and running
Here in this example I am using CA provided certificates b ..read more
WLST By Examples
4y ago
WebLogic latest version 12.2.x come up with different WebLogic domain templates and their usage methods in WLST. Usually WebLogic domain can be created with base domain template using wls.jar. Then after that domain need to be customized as the projects where we need the extended domain.
When the domain spread across multiple machines/nodes
One successful configuration domain reuse to create new domains
Here is small experiment with the domain template, here we have two nodes associated with 192.168.33.100 - Machine100 and 192.168.33101 - Machine101 IP addresses and machine. The admin ..read more
WLST By Examples
4y ago
After almost three and half years again revisited to the JMS module script. This time the project needs are quite different. Where WebLogic domains classified environments but they are standalone server domains. That is only AdminServer will be there in the domain and that would be target for the module, JMS Destinations.
Lets begin the experimenting now, the prerequisites for this are:
A WebLogic Domain configured with single AdminServer
Server should be up and running
export MW_HOME=/u01/app/oracle/fmwexport WL_HOME=$MW_HOME/wls/wlserverexport USER_MEM_ARGS="-Djava.security.egd=fi ..read more
WLST By Examples
4y ago
Why we need Logging?
To understand in a basic level, when we run the WebLogic Servers we don't know what is happening inside the process. It is kind of black box to us. To know what is happening inside the domain or server side to get more details we have logging mechanism enabled in WebLogic domains.
WebLogic Logging works for multiple hierarchical Subsystem. At the top level it is already enabled and we can use the existing setup. But for some reasons each project will have separate logging needs.
When we can use this?
If there are multiple Testing logging configuration at different ..read more
WLST By Examples
4y ago
Objective of this script is to Leverage the time takes to configure the WebLogic Domain and after starting the admin server then following list need to be configured for HA/reliability.
Everytime I work on new project there is a need of creation of the clustered domain. From my past experiences collected all basic requirements together list them over here.
AdminServer configuration includes Name, Listen Address, ListenPort
User credentials username, password
After writing basic domain going for create machine which include Name, type of machine
Nodemaager includes NMTypes such as plain, ssl ..read more
WLST By Examples
4y ago
While working on Fusion Middleware products we need to prepare the WebLogic restricted JRF domain, most of the time configuration Wizard leads to confusion and stuck with what to do for RCU configurations. Even when you need to create a domain for Collocated OHS Environment.
Pr-requisites:
Oracle JDK Installed
Oracle Fusion Middleware Infrastructure 12.2.1 installed
Environment setup with bash profile
Templates used for configuring the Restricted JRF domain
JRF Restricted template - oracle.jrf_restricted_template.jar
Enterprise Manager - oracle.em_wls_restricted_template.jar
Coh ..read more
WLST By Examples
4y ago
After almost four months took me to write this, due to busy in work this blog post on WebLogic 12.2.1 MT feature exploration took some time. To workout multiple deployment scenarios on MT environment we need real-time implementation environments. As of now I've limiting my scope to web application deployment on to a partition. You could do much more wider automation using WLST based on this script.
Pre-requisites set-up for Multitenancy:You can also visit the following post so that you can have connectivity what we are discussing here.
Configure Security Realm for MT
Create Users & ..read more
WLST By Examples
4y ago
Dynamic Cluster configuration
Prerequisites
Install Oracle WebLogic 12.2.1 on any platform
Configure a WebLogic domain
New learning about how to use the dynamic cluster in the latest version of WebLogic 12c [12.1.2] this was introduced. To workout this you must configure a server template when you give the maximum number of cluster servers the managed server automatically increased. When you decrease it the number of managed servers come to shutdown state as expected. To do same task from WLST prompt you need to use the following two functions:
scaleUp increase the number of manag ..read more