Welcome to Port3101.org : Your BES Connection Mark forums read | View Forum Leaders
Port3101.org : Your BES Connection



Reply
LinkBack Thread Tools Display Modes
KB12450 - BlackBerry MDS not using latest version of Java Runtime after BES upgrade
 
  #1 (permalink)  
Old 08-12-2009, 09:04 PM
hdawg's Avatar
Proprietor
 
Join Date: Nov 2008
Posts: 2,257
Blog Entries: 147
Default 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:
  1. Navigate to Start > Run.
  2. Type cmd and press Enter to open up the command prompt.
  3. 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)
  4. 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:
  1. In Windows® Explorer, navigate to C:\Program Files\Java.
  2. Locate the folder with the same version number as above.
  3. 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.
  1. Navigate to Start > Run.
  2. Type regedit and press Enter to open the registry editor.
  3. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry Mobile Data Service.
  4. 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"
  5. 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.
  1. Navigate to Start > Run.
  2. Type regedit and press Enter to open the registry editor.
  3. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry MDS Connection Service
  4. 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"
  5. 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/
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
KB17872 - How to upgrade or update the Java Runtime Environment on the BES hdawg Featured BlackBerry KB Articles 0 08-12-2009 09:06 PM
KB17430 - How to upgrade from BlackBerry Enterprise Server version 3.6 to BPS hdawg Featured BlackBerry KB Articles 0 06-24-2009 12:32 PM
KB18184 - Available upgrade paths for BlackBerry Enterprise Server version 5.0 hdawg Featured BlackBerry KB Articles 0 05-26-2009 01:52 PM
KB10354 - How to perform a phased upgrade of BES version 3.6 to 4.1 hdawg Featured BlackBerry KB Articles 0 01-22-2009 07:16 PM


All times are GMT -4. The time now is 04:17 AM.
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.


 

SEO by vBSEO 3.3.2 PL2