WebLogic with Docker in the Cloud

dockerDocker has been without any doubt the most hyped technology this summer. Apart from incrementally and quickly creating light-weight containers that can be hooked up together it seems to become the de-facto standard for spinning up instances locally and in the cloud. In the past there was no real compatibility between cloud providers on an OS/instance-level and also import/export features were “demanding” at best.

Linux containers for clean sandboxing do exist since much longer, e.g. Google is starting over 2 billion Linux containers every week. With Docker there is an open source based de-facto standard now that customers want to use (honestly, few people looked into lxc and kernel namespaces before Docker had it’s appearance)

Docker and WebLogic?

Oracle WebLogic Server currently does not officially support Docker, yet there is a github project to start with created by Bruno Borges. This project contains the Dockerfile with all necessary WLST-scripts to create a Docker container running WebLogic.

Screen Shot 2014-09-21 at 12.19.11

You can run Docker itself in Oracle Enterprise Linux like in most other Linux distributions such as CentOS, Ubuntu etc. Docker containers always run Linux; e.g. you could have WebLogic running on Ubuntu in a Docker container which is running on CentOS.

Docker Hub Registry

The Docker hub registry is best known as a public registry for Docker images to start with but it can be used to store private images as well.

The Docker Registry contains base Docker images for Java, Ubuntu etc., yet there are no official images from Oracle at the moment. Let’s hope that Oracle will not repeat the rather sad story of poor support for Oracle product AMIs for Amazon Cloud.

Public Clouds can either deploy Docker containers directly from github by creating a container on the fly based on a Dockerfile on github, or by accessing an Docker image stored in the Docker registry. I will demonstrate below how to deploy WebLogic as Docker container straight from the Docker registry.

https://hub.docker.com

Clouds: Amazon, Google, …

Amazon Beanstalk, same as the Google Cloud, support Docker containers as well! So you can dockerize your application (including WebLogic) and run the same Docker image on the cloud. To the best of my knowledge there is currently no information available if Oracle has plans to support Docker in the Oracle cloud.

AWS Beanstalk Cloud

HowTo Run Your WebLogic in a Docker Container on Amazon Beanstalk

The following web cast gives a brief overview of the steps involved. It’s not intended as a A-Z tutorial, rather a quick recording to illustrate the point saving you from dozens of boring screen shots. I am using CentOS 7 to run Docker and create the local Docker container.

The following steps are shown:

  1. Create a running Docker container with WebLogic
  2. Create a new image based on the container
  3. Upload the image to Docker hub
  4. Create the Amazon Beanstalk JSON file for running a Docker container
  5. Create an AWS Beanstalk environment that runs the image from Docker hub
  6. To prove that 1. to 5. are working run a demo app in the cloud

 

If you want to know more, I recommend to get a good book about Clouds, and WebLogic, read Bruno Borges blog entry, the Docker documentation, and the AWS Beanstalk documentation.

Oracle supports the licensing of certain AWS/EC2 instances, also different versions of Oracle Database are available at the Amazon cloud, so ask your Oracle sales rep about the licensing with Docker and Beanstalk.

Enjoy!

Oracle Open World 2014 Presentation

The Forefront of Application Platforms

speaking large

I’ll be speaking at the Oracle Open World 2014 conference in San Francisco about “The Forefront of Application Platforms” together with the Senior Principal Product Manager of WebLogic. 

I hope you are excited – I certainly am! 
Schedule me here: http://goo.gl/jrwgTZ

 

(c) Dr. F. Munz

 

From #ofmsummercamps to Oracle Open World 2014 #OOW2014 …

c63w7-aerosmith-oow14-2263713

 

The Oracle Fusion Middleware Summer Camp in Portugal just finished last week. I guess everybody agreed it was  fabulous event for getting your hands on Oracle SOA Suite and Service Bus 12c, Managed File Transfer, BPM, OEP, MAF, and the Enterprise Scheduler.
I already wondered who will be playing this year at OOW, but actually it is 3 epic nights of music! Since today the announcement for the Oracle Appreciation Event at Oracle Open World is out:

Amongst others, Aerosmith and Empire of the Sun are playing! (If you’re not into music, make sure to come to my presentation at least. Details to come…)

JDeveloper 12.1.3 for SOA Suite and OSB 12c Crashing?

Today at the Oracle Fusion Middleware Summer Camp in Lisboa I experienced some SIGSEGV JVM crashes. It happened when trying to use JDeveloper 12.1.3 under MacOS  with the SOA Suite Development installer – right after the installation when starting up the server from within JDeveloper. (Most of the experienced SOA Suite developers went the beaten path using Windows).

My installation used a fairly recent JDK 1.7_45, but SOA Suite 12c is supported on MAC OS only for a single user development installation starting with JDK 1.7_51.

Upgrading to JDK 1.7_65 and recreating the JDeveloper default domain fixed the issue.

OSB 12c with JDeveloper on MAC OS

 

Give it a try! It’s the best time to explore the brand new SOA Suite 12c features – now even natively on a MAC.

 

WLS Distinctive Book Give Away…

Guys, @wlscommunity has half my weight of the new WebLogic Distinctive Recipe book to give a away! I cannot imagine a better way to produce a huge drop in book sales :)

https://twitter.com/OTNArchBeat/status/494926738615713792

I recommend to tweet some fun Oracle / WLS community related pic. Shouldn’t be that difficult.

bE cReAtIve & do write a short review on Amazon!