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...)

WebLogic Server – Using JDBC TLOG Store

From WebLogic Server 10.3.6 and onwards it is possible to store JTA transaction logs (TLOG) in a database persistent store instead of in a file store.

Overview

Bash script for listing running WebLogic Servers and Node Managers

If you have many domains running on the same Linux server it can be difficult to see what is running and what is not. I have created a Bash script that lists all WebLogic Server and Node Manager processes.

I have tested it on Red Hat 5 and 6.

Here (more...)

WebLogic Server – Max Restarts Within Interval

In some situations you have to restart a WebLogic server many times to get something working. A quick and dirty way of restarting a server is to kill the process and let the Node Manager start it up again.

When you kill the process you will see this in the (more...)

Upgrading WebLogic domains

I noticed that in WebLogic 12.1.2 the old domain Upgrade Wizard has been replaced by a new Reconfiguration Wizard.

I have upgraded WebLogic many times, but I have never upgraded a domain.

If you upgrade WebLogic within a major release e.g. 10.3.5 => 10.3. (more...)

WebLogic Server configuration backup

The WebLogic server stores its configuration in files in the DOMAIN_HOME/config directory. The main file being config.xml.

The way configuration changes are handled depend on if you are using the domain configuration locking feature. In Production Mode configuration locking is enabled by default and in Development Mode it is (more...)

Custom Jersey WADL generation

I had a situation where the auto generated WADL did not match with my Rest services. The first difference was that the response is presented as an object instead of a collection of objects and the second one is that it could not handle JSONWithPadding as response.  Because I use (more...)

Coherence 12.1.2 Rest application build with OEPE

With WebLogic 12.1.2 Oracle also released a new version of Coherence and OEPE. The 12.1.2 release contains many new Coherence features like WebLogic Managed Coherence Servers and Coherence Grid Archive ( GAR ) which can be included in an normal EAR. Coherence also has some nice (more...)

FMW 12.1.2 – beahomelist, Central Inventory, Registry and Distributions

beahomelist

In previous versions of the WebLogic server an beahomelist file was created that contained the paths to the installations aka. the Middleware home’s.

Location:
(UNIX) user_home/bea/beahomelist
(Windows) C:\bea\beahomelist

cat beahomelist
/u01/app/oracle/product/fmw;/u01/app/oracle/product/wls;/u01/app/oracle/product/adf;/u01/app/oracle/product/osb

When you deinstall a WebLogic server the path is not removed from beahomelist, but next time you install (more...)

JAX-WS SOAP over JMS

With WebLogic 12.1.2 Oracle now also supports JAX-WS SOAP over JMS. Before 12.1.2 we had to use JAX-RPC and without any JDeveloper support. We need to use ANT to generate all the web service code. See this blogpost for all the details. In this blogpost I (more...)

Custom OSB Reporting Provider

With the OSB Report Action we can add some tracing and logging to an OSB Proxy, this works OK especially when you add some Report keys for single Proxy projects but when you have projects with many Proxies who are invoking other JMS or Local Proxies than the default reporting (more...)

Look into your JVM with VisualVM

If you want some more information about your JVM, for example your integrated WLS. There is a very easy tool to use, it’s called VisualVM. You can download it from visualvm.java.net. Extract the .zip file and run the \bin\visualvm.exe.

Once the application is started, on the left (more...)

Using the Apache HTTP Server (mod_proxy) as a reverse proxy to a WebLogic Server

If you are using a WebLogic Cluster you need a proxy in front of the cluster to provide load balancing. You need either a hardware load balancer or a Web Server with the Oracle Web server plug-in.

Even if you are not using a Cluster it makes sense to place (more...)

Oracle OpenWorld Submissions – The Full Monty

Here one day before deadline, I have entered almost my entire current catalog of presentations for consideration in the Oracle OpenWorld 2013 agenda. One new for this year: “Worst Oracle ADF Project Ever” ;-)

If you would like me to speak at one of your events, the following are the presentations (more...)

WebLogic-In-A-Box

Oracle has just announced a new Oracle Database Appliance, this time with WebLogic. So if you are looking to move to WebLogic and want a high availability environment, read on.

Like the previous editions of the Oracle Database Appliance, this is a physical 4-U rack mounted box that comes with (more...)

Work Managers in WebLogic Server

I found a brilliant Work Manager demo video by James Bayer. There also is a accompanying slide show.

James also has an older post where you can download the source and the war file. It is great when you can get your hands on the source of demos so you (more...)

Getting the size of the HTTP Session State in WebLogic

I recently had to find the size of the data stored in the HTTP Session State. On MOS I found this note:
“Session Replication Fails Due To Non-Serializable Object: JSP Test Page [ID 1073386.1]“.
It contains a JSP test page that will show you if your session data is (more...)

Enterprise Manager will not start after ADF upgrade

I recently had to upgrade a WebLogic Server with ADF for a customer. It was WebLogic 10.3.4 to 10.3.6 and ADF 11.1.1.4 to 11.1.2.3. They also used Enterprise Manager.

Everything went fine except for the Enterprise Manager which ended up (more...)