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

Rotate Apache HTTP Server log files on Windows

The Apache HTTP Server does not rotate log files.

On Red Hat Linux, Oracle Linux etc. rotation of the Apache log files are handled by cron.daily and logrotate.

On Windows it is a bit more difficult because of the way open files are locked. You have two options, either (more...)

Oracle Fusion Middleware patching

It is normally not enough to just install the FMW software you will also need to apply different kind of patches.

Security patches

Each quarter Oracle releases security updates. The patch program is called the Critical Patch Update (CPU).

In the beginning the patches released by the CPU program was (more...)

Downloading JRockit and Java SE 6 from MOS

Oracle no longer posts updates of Java SE 6 and JRockit to its public download sites.

If you have a support contract you can download new updates from MOS.

You can locate the Java SE 6 downloads in this note “All Java SE Downloads on MOS (Doc ID 1439822.1)”.

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

“Secret” MOS OSB domain template

If you create a OSB domain with WLST offline and the standard templates your Managed server will always be called osb_server1.

To get around this I normally just change the name directly in the config.xml.

But there is an alternative. Oracle has created a special domain template you can (more...)

Installing the Oracle OSB on Red Hat 6

Here is my experiences with installing OSB 11.1.1.7 on Red Hat 6 (64-bit) using Java 7.

By the way you might also be interested in my post about Silent installation of the OSB on Red Hat 6.

First have a look at the documentation:
Oracle Fusion Middleware (more...)

Installing the Oracle SOA Suite on Red Hat 6

Here is my experiences with installing SOA Suite 11.1.1.7 on Red Hat 6 (64-bit) using Java 7.

First have a look at the documentation:
Oracle Fusion Middleware Download, Installation, and Configuration ReadMe (11.1.1.7.0)
Oracle Fusion Middleware Installation Planning Guide (11.1.1.7. (more...)

Create a CA, issue server/client certificates and test them via Apache

Here is a quick way of creating your own CA and issue server and client certificates via OpenSSL.

I will test the certificates via the Apache HTTP Server by configuring one and two-way SSL.

I use Oracle Linux 5.

You should of cause only use this for test scenarios.

Install (more...)

JRockit Real Time

Since JRockit is dead this post might not be interesting, but anyway …

I have never used JRockit Real Time (JRRT). At a customer site I could see that JRRT was installed and the custom said that they used it.

But there was also installed a newer regular JRockit and (more...)

Protect the Apache HTTP Server against CRIME SSL/TLS attacks

It is now possible to protect Apache on both Windows and Red Hat servers against CRIME SSL/TLS attacks.

I have updated my Hardening the Apache HTTP Server post accordingly.

Using the Apache HTTP Server as a forward proxy to the Internet

Often you do not want servers in your internal network segments to be able to access the Internet directly.
One way to get controlled access to the Internet is to place an Apache HTTP Server in a DMZ network segment. Internal servers can then use the Apache server as a (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...)

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

No Apache httpd Windows binaries from the Apache Software Foundation

I have only used the Apache HTTP Server on Windows for a couple of years since I mostly use Linux.

Until now I have downloaded the binaries from the Apache Software Foundation or one of its mirrors.

I have been missing the latest releases (2.2.23 and 2.2. (more...)

Silent installation of the OSB on Red Hat 6

In this post I will describe how to do a silent installation and configuration of the OSB.

I go through the same steps as I did in my Installing the Oracle OSB on Red Hat 6 post, but now everything is executed via scripts. I will only focus on the (more...)