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

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

Auditing users in WebLogic Server

If you do a default installation of the WebLogic Server user activity is not audited. WebLogic has a build in Auditing Provider but it has to be enabled.

The Audit Provider can log these events.

To enable it via the Admin Console got to Security Realms => myrealm => Providers (more...)

Is your WebLogic Server slooow? Might be because of low entropy

On Linux low entropy can cause certain operations to be very slow.

SSL operations need entropy to ensure randomness. Entropy is generated by the OS when you use the keyboard, the mouse or the disk.

If an SSL operation is missing entropy it will wait until enough is generated.

If (more...)

Build and Deploy OSB projects with Maven

2 years ago I already did the same with ANT and now I migrated these scripts to Maven. These Maven poms can still do the same like my ANT scripts.
  • Build and deploy an OSB OEPE workplace
  • Build one OSB project.
  • Export OSB projects from an OSB server and generate (more...)

Missing IPV6 address for local network interfaces causes service timeout

Year ago I installed Weblogic server + Oralce database server for a customer. Few months later my colleagues asked me whether something has changed in the environment or if something happened at the data center, because they started to see Java exceptions for unknown hostname for a web service they were calling and this was happening only from time to time. We’ve checked the firewall rules, DNS and all the stuff, but everything seemed to be working fine. The only solution by that time they came out was to add the hostname to the hosts file of the Weblogic server. (more...)

Server subsystem failed. Reason: java.lang.NumberFormatException: null

Our admin server of the osb development environment failed to restart because of a full disk.
After cleaning up the admin server still wouldn’t start resulting in the next stack.

<Sep 28, 2012 10:18:16 AM CEST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NumberFormatException: null
java.lang.NumberFormatException:  (more...)