Thursday, March 12, 2009

Weblogic Erroneous Handlers Error

When running applications in a Weblogic server you might get this error reported on one of your pages or in one of your log files:

     java.lang.InternalError: erroneous handlers

There is a "real" error behind this error but the BEA JRockit version of java is not showing it. To find the real error you need to switch WLS to use Sun's Java.

(1) Open up setDomainEnv.sh (in the bin dir or your domain)

(2) Set SUN_JAVA_HOME to the root dir of your Java  (find this out by typing which java on cmd line)
Eg: SUN_JAVA_HOME="/scratch/me/apps/oracle/jdk"

(3) Create new env var for JAVA_VENDOR and set it to Sun
Eg:
JAVA_VENDOR="Sun"
export JAVA_VENDOR

(4) Bounce WLS

Now you'll get the real error.

Wednesday, March 11, 2009

Discoverer IE7 Drill Down Issue

When IE7 was released it broke the drill down functionality in Discoverer (see bug 5673463).

To fix this you have to do 2 things:

(1) Apply the 10.1.2.2 patch - you can get this on Metalink (4960210). It is a big patch (over 1 and half GB in size) and will upgrade your app server. The patch is easy to install but I'd advise backing up work beforehand just in case.

(2) Then apply the IE7 patch from Metalink (5758865).

Now drill down will work again.