Pages

Friday, August 28, 2009

Can’t Access Blackberry Enterprise Server (BES) Admin Console Fix

IE can't display page

Blackberry Enterprise Server (BES) 5.0 installs and links to Java 1.5.0_15.  If you update to the latest version of Java and remove Java 1.5.0_15 then the admin console will not work.  In Internet Explorer you will get an “Internet Explorer cannot display the webpage.

ServicesThatWontStart

If you check your Services, you may notices the following services stopped:
BlackBerry Administration Service - Application Server
BlackBerry Administration Service - Native Code Container

If you attempt to start or restart the service you get a message "BlackBerry Administration Service - Application Server service on Local Computer started and then stopped.  Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service." or
"BlackBerry Administration Service - Native Code Container service on Local Computer started and then stopped.  Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service."

Checking Event View Application errors you may have:

Source: BAS-NCC Event: 4, 4096, 4097, 4098
The description for Event ID ( 4 ) in Source ( BAS-NCC ) cannot be found.
The description for Event ID ( 4096 ) in Source ( BAS-NCC ) cannot be found.
The description for Event ID ( 4097 ) in Source ( BAS-NCC ) cannot be found.
The description for Event ID ( 4098 ) in Source ( BAS-NCC ) cannot be found.

or

Source: BAS-AS Event: 4, 4096, 4097, 4098
The description for Event ID ( 4 ) in Source ( BAS-AS ) cannot be found.
The description for Event ID ( 4096 ) in Source ( BAS-AS ) cannot be found.
The description for Event ID ( 4097 ) in Source ( BAS-AS ) cannot be found.
The description for Event ID ( 4098 ) in Source ( BAS-AS ) cannot be found.

The fix is to update two registry entries point to the most current Java.  For my example my current version of Java is 1.6.0_07.  Change

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BAS-AS\Parameters\JVM Library
C:\Program Files\Java\jre1.5.0_15\bin\client\jvm.dll
to
C:\Program Files\Java\jre1.6.0_07\bin\client\jvm.dll

and

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BAS-NCC\Parameters\JVM Library
C:\Program Files\Java\jre1.5.0_15\bin\client\jvm.dll
to
C:\Program Files\Java\jre1.6.0_07\bin\client\jvm.dll

NOTE that you may also need to update:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\BAS-AS\Parameters\JVM Library
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\BAS-NCC\Parameters\JVM Library

Start/Restart Blackberry services if necessary after changes.

You can also re-install Java 1.5.0_15 by navigating to the extracted BES 5 folder
\BlackBerry Enterprise Server 5.0.0\tools\Java 2 Runtime Environment, SE v1.5.0_15.msi

More can be found on Blackberry KB14697

1 comment:

Sam said...

Brilliant, this work like a charm.

Thank you very much.