BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-20-2005, 01:16 AM   #1
jibi
BlackBerry God
 
jibi's Avatar
 
Join Date: Oct 2004
Location: Jibi's Secret Place
Model: 8900
OS: 4.6.1.174
Carrier: AT&T
Posts: 11,310
Default Upgrading JRE from 1.4.2_03 to 1.4.2_07 or greater

Please Login to Remove!

Just an FYI for those of you who have been suggested by RIM to upgrade JRE on the BES server to fix the memory leak issue for MDS and the version of JRE 1.4.2_03 that was included with BES 4.0 (mind you, a known memory leak, yet the JRE version was STILL included with SP1), the MDS service's startup parameters need to be changed after you have upgraded JRE.

- Uninstall previous version of JRE (1.4.2_03)
- Reboot will be required; I'd suggest deleting the installation directory for this version (usually located in C:\Program Files\Java)
- Install new version (1.4.2_07 or greater; currently available versions are 1.4.2_08 and 1.5.0_04)
- Stop the MDS service (unless its already stopped itself)
- Click on Start then Run and type in regedit and click OK
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\BlackBerry Mobile Data Service key
- Double-click on 'ImagePath' (it will look like something below):

D:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\bin\bmds.exe -s jvmpath="C:\Program Files\Java\j2re1.4.2_03\bin\client\jvm.dll" -XX:+DisableExplicitGC -Xss64K -Xmx256M -Xms96M -XX:NewSize=32M -XX:MaxNewSize=96M -XX:NewRatio=2 classpathdir="D:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\classpath\\" wrkdir="D:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\Servers\SERVERNAME1\\" webserverdir="D:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\webserver\\" -log.console -rbes "SERVERNAME1"

- Change the jvmpath= variable to reflect the new version and path (if changed during a custom install); i.e.- jvmpath="C:\Program Files\Java\j2re1.4.2_08\bin\client\jvm.dll"
- Close out of Registry Editor and start the service up

RIM not only says the newer versions are supported by the BES software as well as RIM's support, but they also suggest doing so.

BTW, the error being received prior to the change is the following:

The BlackBerry Mobile Data Service service terminated with the following error:
Overlapped I/O operation is in progress.


and

[EN= 997] [EMSG= Overlapped I/O operation is in progress. (0x3e5)] [SRC=.\source\javaserver.c][LINE=810]
__________________
In the beginning the Universe was created. This has made a lot of people very angry and is widely regarded as a bad move.
Offline  
Old 08-02-2005, 09:44 AM   #2
TroyB
Thumbs Must Hurt
 
Join Date: Jul 2005
Model: 8700
Carrier: Cingular
Posts: 64
Default

So, I went to see what version of JRE I'm running and it appears I actually have BOTH 1.4.2_03 and 1.5.0_04 running but the Registry key still points to the older version. Do I then just need to point it to the newer one?
Offline  
Old 08-02-2005, 09:51 AM   #3
jibi
BlackBerry God
 
jibi's Avatar
 
Join Date: Oct 2004
Location: Jibi's Secret Place
Model: 8900
OS: 4.6.1.174
Carrier: AT&T
Posts: 11,310
Default

If you'd like, sure. Its not going to fix any issues, but I would say its completely up to you on what you want to do.
__________________
In the beginning the Universe was created. This has made a lot of people very angry and is widely regarded as a bad move.
Offline  
Closed Thread


Thread Tools

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 Off

Forum Jump


5Pcs DC 100V 10A Voltmeter Ammeter Digital Volt Amp Meter Voltage Current Gauge picture

5Pcs DC 100V 10A Voltmeter Ammeter Digital Volt Amp Meter Voltage Current Gauge

$12.94



Analog DC Panel AMP VOLT Current Ammeter Voltmeter Voltage Gauge 10A 30A 50V picture

Analog DC Panel AMP VOLT Current Ammeter Voltmeter Voltage Gauge 10A 30A 50V

$14.49



USB Power Meter Tester Current Multimeter Voltmeter Ammeter Detector LCD Display picture

USB Power Meter Tester Current Multimeter Voltmeter Ammeter Detector LCD Display

$16.19



US Stock Analog Panel AMP Current Ammeter Meter Gauge 85C1 0-5A DC picture

US Stock Analog Panel AMP Current Ammeter Meter Gauge 85C1 0-5A DC

$13.78



US Stock Analog Panel AMP Current Ammeter Meter Gauge 85C1 0-10A DC picture

US Stock Analog Panel AMP Current Ammeter Meter Gauge 85C1 0-10A DC

$13.94



Digital AC Voltage Meter 100A/80~260V Power Energy Voltmeter Ammeter Multimeter picture

Digital AC Voltage Meter 100A/80~260V Power Energy Voltmeter Ammeter Multimeter

$15.29







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.