BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-20-2005, 01:16 AM   #1 (permalink)
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
Post Thanks: 0
Thanked 1 Time in 1 Post
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 (permalink)
Thumbs Must Hurt
 
Join Date: Jul 2005
Model: 8700
Carrier: Cingular
Posts: 64
Post Thanks: 0
Thanked 0 Times in 0 Posts
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 (permalink)
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
Post Thanks: 0
Thanked 1 Time in 1 Post
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

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





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