"Error: 1067. The process terminated unexpectedly" appears when trying to start the BlackBerry Mobile Data Service

Article ID: KB11113

Type: Support Content

Last Modified: 07-19-2013

 

Product(s) Affected:

  • BlackBerry Enterprise Server for Microsoft Exchange
CollapseEnvironment
  • BlackBerry Enterprise Server 3.6 to 5.0
  • Windows Server 2000 SP4 and 2003
CollapseOverview

The following error message appears when starting the BlackBerry Mobile Data System:

Could not start the Mobile Data Service on the local computer. Error: 1067. The process terminated unexpectedly.

CollapseCause

More than one instance of the Java Runtime Environment (JRE) is installed on the computer hosting the BlackBerry Enterprise Server. For example, the following versions are installed:

  • J2SE Runtime Environment 5.0 Update 4
  • Java 2 Runtime Environment, SE v1.4.1_02
CollapseResolution
Complete the following steps for BlackBerry Enterprise Server 4.1 SP3 to 5.0 SP1:
  1. Remove all JRE versions from the BlackBerry Enterprise Server.
  2. Restart the BlackBerry Enterprise Server.

    Important: Restarting the BlackBerry Enterprise Server delays email message delivery to BlackBerry smartphones. For more information, see KB04789.

  3. Install the JRE version that was included with the BlackBerry Enterprise Server software. The Java installation file is available in the Tools directory from the installation media. If this is not possible, download the Java 2 Runtime Environment, Standard Edition 1.4.2_13 (or higher).

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:

  1. Open the Registry Editor.
  2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry MDS Connection Service and check for the ImagePath string value. If the ImagePath string value does not exist, re-apply the service pack to recreate the registry key. If the ImagePath string value does exist, 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 version 4.1 and 5.0:
     
    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 -Xss128K -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\ \\" 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 one of the following locations:
     
    • 64-bit OS:
      C:\Program Files (x86)\Java\<java version>\bin
    • 32-bit OS:
      C:\Program Files\Java\<java version>\bin
       
  3. Press Enter and close the Registry Editor.
  4. Restart BlackBerry MDS Connection Service from the Windows administrative tools.

Important: Restarting certain BlackBerry Enterprise Server services delays email message delivery to BlackBerry smartphones. For more information, see KB04789.

Complete the following steps for BlackBerry Enterprise Server 3.6 SP7:

  1. Remove all JRE versions from the BlackBerry Enterprise Server.
  2. Restart the BlackBerry Enterprise Server.

    Important: Restarting the BlackBerry Enterprise Server delays email message delivery to BlackBerry smartphones. For more information, see KB04789.

  3. Install the JRE version that was included with the BlackBerry Enterprise Server. If this is not possible, download the Java 2 Runtime Environment, Standard Edition 1.4.2_13. Note: Sun Online Account name and password is required to access the web site.
  4. In the Control Panel, open Add/Remove Programs.
  5. Select BlackBerry Enterprise Server and click the Change button.
  6. On the wizard that appears, select the Modify option and remove the MDS Service #1 component.
  7. Restart the BlackBerry Enterprise Server.
  8. In the Control Panel, open Add/Remove Programs.
  9. Select the BlackBerry Enterprise Server component and click the Change button.
  10. On the wizard that appears, select the Modify option and add the MDS Service #1 component. If prompted for the BlackBerry Enterprise Server software installation media, obtain it and proceed with the installation process.

Disclaimer

By downloading, accessing or otherwise using the Knowledge Base documents you agree:

   (a) that the terms of use for the documents found at www.blackberry.com/legal/knowledgebase apply to your use or reference to these documents; and

   (b) not to copy, distribute, disclose or reproduce, in full or in part any of the documents without the express written consent of RIM.


Visit the BlackBerry Technical Solution Center at www.blackberry.com/btsc.