Novell is now a part of Micro Focus

Avoiding Memory Errors While Closing ConsoleOne

Novell Cool Solutions: Tip
By Raghuveer Talekar

Digg This - Slashdot This

Posted: 17 May 2006


Most ConsoleOne Users face a memory problem, mainly on Windows. The article gives you a nice solution to it.

If no eDirectory Tree is authenticated using Novell Client and you start ConsoleOne, a default authentication dialog appears, so you can authenticate to an eDirectory tree. The problem is in the Tree entry field of the dialog.

This field can take three different forms of entry:

  1. Dotted IP Address (Ex:
  2. Tree-Name/ (Ex: my-tree/
  3. Server-Name/ (Ex: machine-name/

A problem occurs if the tree entry matches the 1st form. When the user entry matches the second and third form, then we know both the hostname and IP address. But for the first entry we need to know the server name or tree name, so the code execution takes a different path and calls InetAddress.getByName() and Inetaddr.getHostName(). The first of these functions has a problem with the version of JRE included in ConsoleOne.


Here are three possible solutions to the problem:

1. Avoid using the first form when authenticating to eDirectory-Tree. This is just a temporary solution, as the user will need to know the tree name or server Name apart from the IP Address.

2. Use the Novell Client to authenticate to the tree. When you do this, ConsoleOne won't prompt the user to authenticate again. This step should be carried out each time the user wants to authenticate to a new tree To see the authenticated tree, just click the Refresh button in ConsoleOne.

3. A permanent solution is to replace the jvm.dll present in the C1-Installed-Dir/jre/bin/client and C1-Installed-Dir/jre/bin/server with the jvm.dll from the JDK 1.4 or higher version (available from But replacing the jvm.dll alone is not sufficient, because it may not be compatible with other library files present in the JRE. It's a good idea to replace the whole C1-Installed-Dir/jre folder with JDK 1.4. Note that the user must maintain the structure of JRE folder.

Replacing the Old JRE with the New JRE

1. Download JDK 1.4 for windows from

2. Install the JDK (for example, in C:\java). In C:\java\jre dir you can see bin, lib, and other files.

3. Replace the folders that are present in the old JRE with new JRE folders.

(Note: The user must maintain the directory structure of the JRE.)

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates