The Visual Builder Cloud Service Blog

Automating Deployment to WebLogic on Oracle Cloud Infrastructure

Shay Shmeltzer
Director of Product Management - Oracle

We are seeing many of our customers transitioning their workload to Oracle Cloud Infrastructure including Enterprise Java applications that are being deployed there - many on the WebLogic for Cloud Infrastructure solution. In the blog below we show an approach to automate continuous delivery onto servers running on OCI.

In the video below we are using a JSF project and go through the full flow of code change lifecycle with Visual Builder Studio including:

  • Git version management
  • Security check for vulnerabilities in 3rd party libraries 
  • Packaging the app
  • Automating deployment

Deploy To OCI VMs

To deploy artifacts on VMs running in Oracle Compute, we establish SSH connectivity to our OCI compute instance. This is done in a pre-build step in the Job definition - provide the private and public keys used (and a passphrase if the key require it). Then we use shell scripts to do the deployment.

SSH configuration


In the demo I use an SCP command to copy the war file generated by the package job to the compute instance. Then I use the WebLogic wlst utility to deploy this war file to the running instance.

I point the /u01/middleware/oracle_common/common/bin/wlst.sh to a file that has the following steps:

cd ('Servers')
deploy(appName='JSFWebApp', path='/home/opc/Downloads/simple-jsf-example.war')

While the demo above show the deployment to WebLogic, you can use a similar technique to deploy other types of loads to other servers running on compute.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.