
01-20-2009, 07:27 PM
|
 |
Proprietor
|
|
Join Date: Nov 2008
Posts: 2,238
|
|
KB04329 - Error 203 The system could not find the environment option that was entered
KB04329 - Error 203 The system could not find the environment option that was entered
Environment
- BlackBerry® Enterprise Server software versions 4.0 and 4.1
- BlackBerry® Mobile Data Service (BlackBerry MDS)
Overview
After upgrading to BlackBerry Enterprise Server software version 4.0 or 4.1, the following error message appears:
Could not start the BlackBerry Mobile Data Service on Local Computer. Error 203: The system could not find the environment option that was entered.
Cause
Summary of Causes
The issue may be caused by one of the following:
- The Java Runtime Environment (JRE™) is not installed on the BlackBerry Enterprise Server.
- An incorrect version of the JRE is installed, or the JRE has been recently updated on the BlackBerry Enterprise Server.
- The BlackBerry Enterprise Server is not pointing to the jvm.dll file.
Resolution
Complete the appropriate resolution for the cause. If the error still occurs after completing the resolution, follow the instructions in the Additional Information section.
Cause 1
The JRE is not installed on the BlackBerry Enterprise Server.
Resolution
To check if the JRE is installed on the BlackBerry Enterprise Server, look for Java Runtime Environment in the list of currently installed programs in the Add/Remove Programs list.
If the JRE is not installed, go to the Sun Developer Network web site to download and install the correct version of JRE. Please note the following:
- JRE 1.5 or 1.6 is required for BlackBerry Enterprise Server software version 4.1
- JRE 1.4.2 is required for BlackBerry Enterprise Server software version 4.0
Cause 2
An incorrect version of the JRE is installed, or the JRE has been recently updated on the BlackBerry Enterprise Server.
Resolution
To resolve this issue, complete the following steps:
- In Windows® Explorer, navigate to C:\Program Files\Java\j2re1.4.2_03.
- If J2RE 1.4.2_03 is not installed, go to the Sun Developer Network web site to download and install the correct JRE version.
Note: Remove any existing version of the JRE prior to installing this version.
- JRE 1.5 or 1.6 is required for BlackBerry Enterprise Server software version 4.1
- JRE 1.4.2 is required for BlackBerry Enterprise Server software version 4.0
Cause 3
The BlackBerry Enterprise Server is not pointing to the jvm.dll file. Check for the ImagePath string value in the following registry key:
For BlackBerry Enterprise Server software version 4.1:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry MDS Connection Service
For BlackBerry Enterprise Server software version 4.0:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry Mobile Data Service
If the ImagePath string value exists, the Value data field is blank or is pointing to the JRE folder from a previous version of the JRE.
Resolution
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.
To resolve this issue, complete the following steps:
- Open the Registry Editor.
- Go to the registry key listed above to check for the ImagePath string value.
- If the ImagePath string value does not exist, repair the BlackBerry Enterprise Server installation through Add/Remove Programs. This updates the BlackBerry Mobile Data Service registry keys. For more information, see the BlackBerry Enterprise Server Installation Guide. Note: For BlackBerry Enterprise Server software version 4.1.3 or later, the option to repair is not available. Re-apply the service pack to replace the registry key.
If the ImagePath string value exists, double-click it and type the correct path to the jvm.dll file in the Value data field, as shown in the following example for BlackBerry Enterprise Server software version 4.1:
"C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\bin\bmds.exe" -s jvmpath="C:\Program Files\Java\<JRE folder>\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\Servers\<server_name>\\" webserverdir="C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\webserver\\" -log.console -rbes "<server_name>"
where <server_name> is the name of the BlackBerry Enterprise Server MDS Connection Service and <JRE folder> is the name of the JRE folder located in C:\Program Files\Java\.
- Press ENTER and close the Registry Editor.
- Restart the BlackBerry Mobile Data Service from the Windows administrative tools.
Important: Restarting certain BlackBerry Enterprise Server services will delay email message delivery to BlackBerry smartphones. For more information, see KB04789.
Additional Information
If the error still appears after completing the troubleshooting steps in the Resolution section, complete the following steps:
- Go to <drive>:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\classpath.
- Check for missing files in this directory. Some files that may be missing are as follows:
- bmds.jar
- clibwrapper_jiio.jar
- commons-fileupload-1.0.jar
- dom.jar
- ecma.jar
- jai_codec.jar
- If the files are missing, repair the BlackBerry Enterprise Server installation through Add\Remove Programs in the Control Panel, and then selecting BlackBerry Server.
- Click Support Information and select Repair.
- Verify that the missing files are now installed on the BlackBerry Enterprise Server, and then restart the BlackBerry Mobile Data Service.
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.
|