Test your WebLogic 12.1.3 enviroment with Robot

Robot Framework is a generic test automation framework which has an easy-to-use tabular test data syntax and it utilizes the keyword-driven testing approach. This means we can write our tests in readable and understandable text. If we combine this with the REST Management interface of WebLogic 12.1.3 we are able to test every detail of a WebLogic domain configuration and when we combine this

Create with WLST a SOA Suite, Service Bus 12.1.3 Domain

When you want to create a 12.1.3 SOA Suite, Service Bus Domain, you have to use the WebLogic config.sh utility.  The 12.1.3 config utility is a big improvement when you compare this to WebLogic 11g. With this I can create some complex cluster configuration without any after configuration. But if you want to automate the domain creation and use it in your own (provisioning) tool/script then you

Oracle SOA Suite 12c tips – Tuning the SOA infrastructure thread pool

One of the new capabilities of Oracle SOA Suite 12c is the ability to control the SOA infrastructure thread pools, except the resource pools for EDN and the adapters, with Oracle WebLogic Server work managers. Each partition will has its own work managers defined. This allows you to separate services in partitions and, to some extent, tune them separately based on for example specific SLA requirements.

Well, this blog posting is not about explaining the (more...)

Create a 12c development server from the SOA 12c Quickstart

So at the time of writing there is only the “Quickstart” 12C SOA and BPM. That’s all fun and games, it installs straight out of the box.

However,  I want a real development environment, and run it on my dev server.

So, first thing first.

  1. Download the SOA Suite and BPM 12c.
  2. Then install the SOA Suite quick installer.
  3. Install BPM 12c in the same ORACLE_HOME as the SOA Suite.
  4. Make sure you have a (more...)

WebLogic 12cR3 articles

WebLogic 12cR3 was released towards the end of last week, so this weekend I had an install-fest.

I also did some minor amendments to some existing articles.

Retrieving WebLogic Server Name and Port in ADF Application

It could come handy to know how to get WebLogic server name and port in ADF application. Particularly this could be useful, when running ADF application in the cluster and there is a requirement to track WebLogic node with application session instance running. Usually it is not enough to get server host, as cluster node is accessed through load balancer and server IP is different, not the one visible in HTTP session.

There is a (more...)

The WebLogic Server and Trust Stores


I will describe how you configure trust stores for the WebLogic Server.

Overview

Chain of trust

When a SSL server certificate is issued by a CA it is signed by a another certificate. Normally this will be an intermediate certificated, that is again signed by the CAs root certificate. So there is a chain of trust between the (more...)

Configure Coherence HotCache

Coherence can really accelerate and improve your application because it's fast, high available, easy to setup and it's scalable. But when you even use it together with the JCache framework of Java 8 or the new Coherence Adapter in Oracle SOA Suite and OSB 12c it will even be more easier to use Coherence as your main HA Cache.  Before Coherence 12.1.2 when you want to use Coherence together with

WLST script for listing WebLogic Server memory usage

Here is a short script for listing Java heap usage for all WebLogic Servers in a domain.

domainRuntime()

servers = domainRuntimeService.getServerRuntimes();
print('################################################################')
print('# Java heap information per server')
print('################################################################')
print('%20s %10s %8s %8s %4s' % ('Server','Current','Free','Max','Free'))
for server in servers:
   free    = int(server.getJVMRuntime().getHeapFreeCurrent())/(1024*1024)
   freePct = int(server.getJVMRuntime().getHeapFreePercent())
   current = int(server.getJVMRuntime().getHeapSizeCurrent())/(1024*1024)
   max     = int(server.getJVMRuntime().getHeapSizeMax())/(1024*1024)
   print('%20s %7d MB %5d MB %5d MB %3d%%' % (server.getName(),current,free,max,freePct))

disconnect()
exit()

Execute (more...)

The Oracle SOA Suite and the OSB are now free for developers!

I did not notice it myself but over Christmas Oracle made the SOA Suite and the OSB free for developers.

I found out via the January issue of the Oracle SOA Partner Community Newsletter, issued by
Jürgen Kress. You can sign-up for the newsletter here: http://www.oracle.com/goto/emea/soa.

You can download most Oracle FMW software for free on the OTN download site. Although you do not have to pay to download the software, it is (more...)

Upgrading EM12c to 12.1.0.3: Active Directory Authentication Quirks

We recently upgraded our EM12c 12.1.0.2 installation to 12.1.0.3. This service was configured to authenticate logins against our Active Directory server via LDAP. However, after upgrading we found that authentication stopped working, even after recreating the Active Directory Authenticator (as required). I could see the list of users from AD, but could not authenticate them in EM!

In this post I'm going to share what we did to diagnose (more...)

REST, SSE or WebSockets on WebLogic 10.3.6

WebLogic 10.3.6 comes with Jersey1.9 and has no support for Server Side Events or WebSockets. But for one of our projects we are making a HTML5 / AngularJS application, which need to invoke some RESTful services and we also want to use of SSE or WebSockets. Off course we can use WebLogic 12.1.2 but we already have an OSB / SOA Suite WebLogic 10.3.6 environment. So when you want to pimp your

UKOUG Tech13 WebLogic Hackathon

Yesterday we conducted the SuperSunday WebLogic Hackathon at the UKOUG Tech13 conference.

It went well and people looked like they had a pleasant time.

I have enjoyed preparing for the event. The team contained a Brit, a Dutch, a Swiss and a Dane. It has been very motivating meeting people (more...)

new Puppet 3 Weblogic provisioning module

The last few weeks I was busy re-writing of my puppet WLS module so it fully supports the power of Puppet 3 (thanks for more than 4000 downloads on puppet forge and all the github downloads). With Puppet 3 we now can use Hiera, Iterations and Lambdas expression. This does not (more...)

UKOUG Tech13 WebLogic Hackathon


This year’s UKOUG Tech13 conference is kicking off with a free SuperSunday event.

You can choose between 7 streams:

  • Hands on Engineered Systems
  • Analytics – Pulling the Threads Together
  • Database Technology 1 & 2
  • Real World Lessons from ADF Ninjas
  • Extending APEX out of the Box
  • WebLogic Hackathon

The best and most interesting is of course the WebLogic Hackathon ;-)

I have been working with a great group of people to prepare the WebLogic Hackathon:

Changes In Attitude

It's these changes in attitude, changes in latitude
Nothing remains quite the same
For all of our running and all of our cunning
If we didn't laugh, we would all go insane
                                    (more...)

The road ahead for WebLogic 12c

Before we can describe all the new features of WebLogic 12.1.3 & 12.1.4 and compare this to the 12.1.2 version we should first take a look at the 10.3.6 version. WebLogic 10.3.6 is still the latest 11g version but Oracle (more...)

WebLogic Server and entropy

After input from Jacco H. Landlust and Edwin Biemond I have rewritten my post about entropy.

Overview

Entropy pool

In computing you often need random numbers. They are used for encrypting stuff but also for lots of other things.

For Linux servers random numbers are default provided by the /dev/random device. /dev/random is a pool of random bits (more...)

Using opatch to list valid FMW Homes to apply a patch to

All FMW products except the WebLogic server is patched via the opatch tool. From FMW 12.1.2 the WebLogic server is also patched by opatch.

In a FMW installation you can have many Oracle Homes. When you install a patch you need to know which home to apply the patch to.

opatch can help you figure out where to install the patch.

I have a Forms installation that I need to apply a patch (more...)

Bash script for installing WebLogic Server PSU patches via BSU

Patching WebLogic is necessary but not fun. To help out I have created a simple Bash script for installing CPU/PSU patches.

For information about CPU, PSU and SPU patches check this post.

The script is using BEA Smart Update so it is for WebLogic Server 12.1.1 and older. WebLogic Server 12.1.2 has switched from BSU to OPatch.

#!/bin/bash
# ---------------------------------------------------------------------------
# cpuPatch.sh
# Peter Lorenzen
# Version 0.9
 (more...)