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



Reply
LinkBack Thread Tools Display Modes
KB17872 - How to upgrade or update the Java Runtime Environment on the BES
 
  #1 (permalink)  
Old 08-12-2009, 09:06 PM
hdawg's Avatar
Proprietor
 
Join Date: Nov 2008
Posts: 2,257
Blog Entries: 147
Default KB17872 - How to upgrade or update the Java Runtime Environment on the BES

KB17872 - How to upgrade or update the Java Runtime Environment on the BlackBerry Enterprise Server


Environment

  • BlackBerry® Enterprise Server versions 4.0 and 4.1
  • Java® Runtime Environment (JRE™) versions 1.5 and 1.6



Overview

How to upgrade the Java Runtime Environment (JRE)

Upgrading the JRE on the BlackBerry Enterprise Server can affect two services. The BlackBerry MDS Connection Service and BlackBerry Instant Messaging Connector.
This Knowledge Base article (KB12450) is an excellent article for confirming where the current installation of the JRE is. 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.
Download the update you wish to install on the BlackBerry Enterprise Server.
Confirm the current settings:
  • Open a command prompt on the BlackBerry Enterprise Server (Start -> Run -> cmd) and enter "java -version". This will report the current running version.
  • On the BlackBerry Enterprise Server, browse to c:\Program Files\Java\\bin\client. Right-click on jvm.dll and select Properties. Click on the Version tab and select Full Version.
  • Open the Registry on the BlackBerry Enterprise Server (Start -> Run -> regedit). Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry MDS Connection Service. Double-click on ImagePath and locate the path to the jvm.dll.
Export the Registry for these keys (right-click and select Export) as a backup:
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry MDS Connection Service
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry Collaboration Service
Perform the installation/upgrade.
Update the settings in the Registry.
  1. Log into the BlackBerry Enterprise Server as the BlackBerry service account (BESAdmin).
  2. Open the Registry and browse to these keys:
    • BlackBerry MDS Connection Service : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry MDS Connection Service
      Double-click the ImagePath string value and update the jvmpath variable to the udpated location of jvm.dll. Do not change any other settings.
    The value of this REG_Expand_SZ should be similar to the follow:
    " C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\bin\bmds.exe" -s jvmpath="C:\Program Files\Java\jre1.6.0_02\bin\client\jvm.dll" -XX:+DisableExplicitGC -Xss128K -Xmx768M -Xms128M classpathdir="C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\classpath\\" wrkdir="C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\Servers\BESNAME1\\" webserverdir="C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\webserver\\" -rbes "BESNAME1_MDS-CS_1"
    • BlackBerry Instant Messaging Connector : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry Collaboration Service
      Double-click the ImagePath string value and update the jvmpath variable to the udpated location of jvm.dll. Do not change any other settings.
The value of this REG_Expand_SZ should be similar to the follow:
" C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BBIM\bin\bcol.exe" -s jvmpath="C:\Program Files\Java\jre1.6.0_02\bin\client\jvm.dll" -XX:+DisableExplicitGC -Xss64K -Xmx512M -Xms128M classpathdir="C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BBIM\classpath\\" wrkdir="C:\Program Files\Research In Motion\BlackBerry Enterprise Server\BBIM\Servers\BESNAME1\\" -feature cwa -rimbes "BESNAME1_BBIM_1"
After making the above modifications and pointing to the updated versions of the jvm.dll files you must restart the modified services.

__________________
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
BES MDS not starting (Java problem) master811 Port 3101: The BES Admin Bar & Grill 1 05-30-2010 10:02 PM
KB04730 - Unable to install BlackBerry MDS Runtime due to missing dependencies hdawg Featured BlackBerry KB Articles 0 08-23-2009 09:04 PM
KB12450 - BlackBerry MDS not using latest version of Java Runtime after BES upgrade hdawg Featured BlackBerry KB Articles 0 08-12-2009 09:04 PM
KB05018 - Visual C++ Runtime Error when opening BlackBerry Manager hdawg Featured BlackBerry KB Articles 0 02-02-2009 11:04 PM
KB14946 - BES Manager Microsoft Visual C++ Runtime Library error... Si Featured BlackBerry KB Articles 0 11-25-2008 10:31 AM


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


 

SEO by vBSEO 3.3.2 PL2