
08-12-2009, 09:04 PM
|
 |
Proprietor
|
|
Join Date: Nov 2008
Posts: 2,238
|
|
KB12450 - BlackBerry MDS not using latest version of Java Runtime after BES upgrade
KB12450 - BlackBerry Mobile Data Service or BlackBerry MDS is not using the latest version of Java Runtime following an upgrade of the BlackBerry Enterprise Server
Environment
- BlackBerry® Enterprise Server software versions 4.0 and 4.1
- Java® 2 Runtime Environment (J2RE)
Overview
After upgrading to BlackBerry Enterprise Server software, the newly installed J2RE version 1.4.2_12 is not used to run the BlackBerry® Mobile Data Service or the BlackBerry® Mobile Data System (BlackBerry MDS).
Cause
During the upgrade of the BlackBerry Enterprise Server, another version of the Java Runtime Environment (JRE) is installed. The BlackBerry Mobile Data Service, or the BlackBerry MDS Connection Service is using the wrong version of the JRE.
Resolution
To resolve this issue, complete the following steps:
Step 1: Determine which version of the JRE is currently running on the Windows® operating system by completing the following steps:
- Navigate to Start > Run.
- Type cmd and press Enter to open up the command prompt.
- At the command prompt, type java -version. You should see output similar to the following:
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)
- Take note of the Java version being displayed (which in the above example is 1.5.0_07).
Note: Find the location of the jvm.dll file being used by completing the following steps:
- In Windows® Explorer, navigate to C:\Program Files\Java.
- Locate the folder with the same version number as above.
- Navigate to the bin subfolder and then to the client subfolder. The jvm.dll file should be at this location.
The path should be similar to C:\Program Files\Java\jre1.5.0_07\bin\client\jvm.dll.
STEP 2: Determine the version of JRE being used by the BlackBerry Mobile Data Service or BlackBerry MDS Connection Service:
For BlackBerry Enterprise Server 4.0:
Warning: The following procedure involves modifying the computer registry. This can cause substantial damage to the Windows operating system. Document and back up the registry entries prior to implementing any changes.
- Navigate to Start > Run.
- Type regedit and press Enter to open the registry editor.
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry Mobile Data Service.
- In the right pane, double-click the ImagePath registry key. The ImagePath key should be similar to the following:
C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\bin\bmds.exe -s jvmpath="c:\Program Files\Java\jre1.5.0_07\bin\client\jvm.dll" -XX:+DisableExplicitGC -Xss64K -Xmx256M -Xms96M -XX:NewSize=32M -XX:MaxNewSize=96M-XX:NewRatio=2 classpathdir="C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\classpath\\"wrkdir="C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\webserver\\" -log.console -rbes"CN=BESNAME/OU=ORGUNIT/O=ORG"
- Replace the following: jvmpath="c:\Program Files\Java\jre1.5.0_07\bin\client\jvm.dll" with the correct path to the jvm.dll file as noted above.
Note: A restart of the BlackBerry® Mobile Data Service is required for changes to take effect.
Important: Restarting certain BlackBerry Enterprise Server services will delay email message delivery to BlackBerry smartphones. For more information, see KB04789.
For BlackBerry Enterprise Server 4.1:
Warning: The following procedure involves modifying the computer registry. This can cause substantial damage to the Windows operating system. Document and back up the registry entries prior to implementing any changes.
- Navigate to Start > Run.
- Type regedit and press Enter to open the registry editor.
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry MDS Connection Service
- In the right pane, double-click the ImagePath registry key. The ImagePath key should be similar to the following:
C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\bin\bmds.exe -s jvmpath="c:\ProgramFiles\Java\jre1.5.0_07\bin\client\jvm.dll" -XX:+DisableExplicitGC -Xss64K -Xmx768M -Xms128M classpathdir="c:\ProgramFiles\Research In Motion\BlackBerry Enterprise Server\MDS\classpath\\" wrkdir="c:\Program Files\Research In Motion\BlackBerryEnterprise Server\MDS\Servers\Instance\\" webserverdir="c:\Program Files\Research In Motion\BlackBerry EnterpriseServer\MDS\webserver\\" -rbes "BESNAME_MDS-CS_1"
- Replace the following: jvmpath="c:\Program Files\Java\jre1.5.0_07\bin\client\jvm.dll" with the correct path to the jvm.dll file as noted above. Note: A restart of the BlackBerry MDS Connection Service is required for changes to take effect.
Important: Restarting certain BlackBerry Enterprise Server services will delay email message delivery to BlackBerry smartphones. For more information, see KB04789.
__________________
http://blog.port3101.org/hdawg/
The views expressed by me on Port3101 and its affiliated sites are my own and do not necessarily reflect the views of my employer.
|