Exploring DevOps with Chef and WebLogic Server

I'm about to embark on a journey that explores the use of WebLogic Server within a DevOps regime.  My first port of call for this journey will be using Chef.

A loose travel itinerary is:
  • Setting up an environment to explore the basic operations of Chef - using the Chef Development Kit (ChefDK)
  • Exploring the basics of how Chef works to install Java and WebLogic Server on a single node
  • Installing and examining some (more...)

Retro Day – Workload Management in WebLogic Server

Quite recently, I stumbled across this older but still very relevant whitepaper on the workload management capabilities of  WebLogic Server.  Written by one of the key engineers at the time, who later went on to become an architectect, it explains the workings of the new work load management feature introduced into WebLogic Server at the time and covers the concepts of work-manager configuration and effect, work scheduling and prioritization, overload protection and  more.

This (more...)

Developing with JAX-RS 2.0 for WebLogic Server 12.1.3

In an earlier post on the topic of Using JAX-RS 2.0 with WebLogic Server 12.1.3, I described that we've utilized the shared-library model to distribute and enable it.

This approach exposes the JAX-RS 2.0 API and enlists the Jersey 2.x implementation on the target server, allowing applications to make use of it as when they are deployed through a library reference in a weblogic deployment descriptor.

The one resulting (more...)

Using Eclipse (OEPE) to Develop Applications using WebSocket and JSON Processing API with WebLogic Server 12.1.3

Following from my last posting, I thought I'd also show how Eclipse (OEPE) makes the new Java EE 7 APIs available from Oracle WebLogic Server 12.1.3.

The first step was downloading and installing the Oracle Enterprise Pack for Eclipse (OEPE) distribution from OTN.


Firing up Eclipse, the next step is to add a new Server type for Oracle WebLogic Server 12.1.3, pointing at a local installation.


Developing with the WebSocket and JSON Processing API with WebLogic Server 12.1.3 and Maven

Oracle WebLogic Server 12.1.3 provides full support for Java EE 6 and also adds support for a select set of APIs from Java EE 7.

The additional APIs are:
  • JSR 356 - Java API for WebSocket 1.0
  • JSR 353 - Java API for JSON Processing
  • JSR 339 - Java API for RESTful Web Services 2.0
  • JSR 338 - Java Persistence API 2.1
See the "What's New in 12.1.3 (more...)

Cycle4Sam 5 – Riding 1000km in 6 days for $100k for Women’s and Children’s Hospital

I recently participated in a week long charity bike ride called Cycle4Sam, where funds are raised to support the palliative care unit at the Women and Children's Hospital of South Australia.

The ride is conducted on a bi-annual basis in honour of young Sam Roberts, who sadly passed away from a rare genetic disease at the age of 4. His parents, Marty and Michelle and his siblings Lucy and Charlie, created the Sam Roberts Family (more...)

MaxPermSize Be Gone!

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
No further commentary required.

JSON Parsing is Cake with WebLogic Server 12.1.3

Another feature of WebLogic Server 12.1.3 that I'm sure developers will find useful is the inclusion of an implementation of JSR-353 Java API for JSON Processing.

JSR 353: JavaTM API for JSON Processing
This new API, working from the foundations provided by earlier implementations such as Jackson, Jettison and Google JSon, now provides a standard API for working with JSON from Java. This goals and objectives of the API described in the initial (more...)

Using the JAX-RS 2.0 Client API with WebLogic Server 12.1.3

As part of the JAX-RS 2.0 support we are providing with WebLogic Server 12.1.3, one really useful new feature is the new Client API it provides, enabling applications to easily interact with REST services to consume and publish information.

By way of a simple example, I'll build out an application that uses the freegeoip.net REST service to lookup the physical location of a specified IP address or domain name and deploy (more...)

Using JAX-RS 2.0 in WebLogic Server 12.1.3

We've been working on adding some Java API updates to the coming WebLogic Server 12.1.3 release.

One that I think is going to be very popular is JAX-RS 2.0, which includes some useful new capabilities around filtering, interception and a really useful new client API.

 In the WebLogic Server 12.1.3 release we are providing this in the form of an optional shared-library that contains: the JAX-RS 2.0 API, (more...)

WebLogic Server – Using OSGi Bundles with Java EE Applications

The WLS 12c (12.1.2) release includes a new feature that enables OSGi bundles to be installed and used by deployed applications.

The full documentation is here:


In short this feature enables WLS to create an OSGi framework (Apache Felix 4.03) in which (more...)

WebLogic Server 12.1.2 – Schema Files

The XSD files for WebLogic Server 12.1.2 are located from this landing page:


Or directly on the 12.1.2 specific page:


WebLogic Server 12.1.2 – Zip File Updates

I love the zip file distribution.  It's the flavour of WLS I mostly use.  Unzip, configure, go.  Delete it to remove it, start all over again.  Install it from a Maven goal.  Easy.
Small point to note is that the zip file distribution has been (more...)

WLS 10.3.6 Transaction Logs in Database

Was talking to one of our local partners yesterday who's in the middle of an infrastructure build for FMW using a 3rd party cloud provider.  He mentioned he was looking at how to handle the JTA transaction logs for their HA requirements without being able to rely on shared (more...)

WebLogic Server 12c (12.1.2) Documentation

The WebLogic Server documentation set has undergone a nice facelift in the 12c (12.1.2) release. 


I find the breakdown sections generally quite useful to quickly locate the information I'm looking for, but I still regularly go directly to a specific book as (more...)

WebLogic Server 12.1.2 Released

The WebLogic Server 12.1.2 release is now available for download from OTN.

Contains a raft of new features, check out the list in the What's New guide:


Lots of good stuff there, covering new development features as well as operational features such as dynamic (more...)

ServerSent-Events on WebLogic Server

In addition to the WebSocket support we've added into the next major release of WebLogic Server (version 12.1.2  with all usual caveats with respect to release timeframes, no guarantee, etc.) we've also added support for the HTML5 ServerSent-Event model through collaborating with the GlassFish team and integrating (more...)

WebSockets on WebLogic Server

We've been busy working on putting in support for the WebSocket Protocol into WebLogic Server with the intent to include it in the next major release (usual caveats apply with respect to dates, times, features, etc.).  Running the Autobahn WS Testsuite, which seems to be the industry (more...)

JSF Managed Beans, @PostConstruct and CDI

In a similar vein to my last post, with this blog I'd like to try and raise the visibility of another bug that is being seen in a few different places, and for which there is already a patch available for it.

The basic issue here is that when an (more...)

Multipart File Upload with WLS 12c

Multipart File Upload with WLS 12c

Just a word for anyone out there looking to use the Servlet 3.0 file upload feature with WLS 12c.

If you use the annotation approach on the Servlet class, it works perfectly well

However if you use the web.xml file to specify (more...)