Last year Oracle announced that the server was now certified with Java 1.6 and issued a MetaLink note complete with instructions on how to upgrade the JVM.
On my travels, I have noticed that some administrators do not read the release and installation notes properly and overlook the fact the configuration.xml (found in $Oracle_Home/discoverer/config) needs to be updated as well. If you only install a new java executable but leave the configuration.xml file untouched you will run into serious user interface issues. One such problem is that parameter values will no longer be displayed from your user's last run or from when the worksheet was created thus causing your end users a great deal of anxiety.
An application server in such a state will also run much slower too, so please make sure you update the configuration.xml correctly.
To help you, here is the JVM section from the application server running on my own laptop:
1. This is all one line with no line breaks or carriage returns. There should also be no space following the leading or before the last brackets.
2. I have spaces to make sure that you can see the text and to stop your browser interpreting this as HTML.
3. The version number 12 only appeard in one place, in the classid switch.
The areas of importance are these switches:
In the following help I will show you the settings for Java 1.6.0_12. All of the switches are enclosed in double quotes.
classid: this complete switch has 36 characters broken down as follows:
- first 9 always CAFEEFAC- all in uppercase
- next 5 are always 0016- meaning Java 1.6
- next 5 should be 0000- meaning Java 1.6.0
- next 5 should be 0012- meaning release 12 (only place this is referenced)
- last 12 should be ABCDEFFEDCBA again all in uppercase
- full switch is: classid="clsid:CAFEEFAC-0016-0000-0011-ABCDEFFEDCBA"
plugin_setup: this switch should be fully qualified domain name pointer to the Java executable on the server. Even though this switch always has /jpi/ in the pointer the actual executable must be stored in /jpi/bin/ under the $Oracle_Home for the middle tier. The name of the executable can be anything you look but must be the same as the executable stored in $Oracle_Home/jpi/bin.
version: this switch should be 1.6 with a period between the two numbers
- full switch looks like this: version="1.6"
versionie: this switch should be "1,6,0,mn" this time with commas between the 4 elements. Yes, mn should be used and not 12 as you might think.
- full switch looks like this: versionie="1,6,0,mn"
- full switch looks like this: plugin_page="http://java.com"
After you have upgraded the server to Java 1.6 I recommend you go to each of your user machines and clear the local Java cache. Discoverer will then ensure that they have the correct applet and will send down the right Java version the first time the user connects.
If your users have an earlier version of Java installed or no Java installed then the first time that they connect to Discoverer on an application server that is running Java 1.6 they will be prompted to install it. All they have to do is follow the on-screen prompts and they will be ok. If your users don't have administrative rights over their local PC or if you are making them connect via a Citrix terminal server then your administrator will need to install JVM 1.6 for them.