BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 04-19-2006, 11:15 AM   #1
autsoldnow
Thumbs Must Hurt
 
Join Date: Feb 2006
Location: Canada
Model: 7250
Carrier: Telus
Posts: 131
Default BES Error

Please Login to Remove!

When I restart the server I get the following error mesange in the Event View under System:

Source: Service Control Manager
Event ID: 7023
Description:

The BlackBerry Mobile Data Service service terminated with the following error:
The system could not find the environment option that was entered.

---

There no link to Microsoft tech forums.

Thanks
Andrew
Offline  
Old 04-19-2006, 11:58 AM   #2
d_fisher
Retired BlackBerryForums.com Moderator
 
d_fisher's Avatar
 
Join Date: Oct 2005
Location: Columbus, OH
Model: 9700
OS: SID 6.7
Carrier: AT&T
Posts: 4,455
Default

I am going to go out on a limb and say that your error message has something to do with the Java CLASSPATH, or system PATH variables.
__________________
Doug

Remember, please try searching first!

Need a screenshot? ... Like JavaLoader?
Try using BBscreen .....Use JL_Cmder!
or BBScreenShooter!

[SIGPIC][/SIGPIC]
Offline  
Old 04-19-2006, 12:16 PM   #3
autsoldnow
Thumbs Must Hurt
 
Join Date: Feb 2006
Location: Canada
Model: 7250
Carrier: Telus
Posts: 131
Default

Quote:
Originally Posted by d_fisher
I am going to go out on a limb and say that your error message has something to do with the Java CLASSPATH, or system PATH variables.
How should the classpath look?

This is the current class path in BES which points to the old company site, and or developement stuff:

.;e:\ASNWeb\deploys\activation.jar;e:\ASNWeb\deplo ys\mail.jar;e:\ASNWeb\jdbcDrivers\msbase.jar;e:\AS NWeb\jdbcDrivers\msutil.jar;e:\ASNWeb\jdbcDrivers\ mssqlserver.jar;e:\ASNWeb\jdbcDrivers\JSQLConnect. jar;

Thanks
Andrew
Offline  
Old 04-19-2006, 12:28 PM   #4
autsoldnow
Thumbs Must Hurt
 
Join Date: Feb 2006
Location: Canada
Model: 7250
Carrier: Telus
Posts: 131
Default

I think you ment this path right?

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\BlackBerry Mobile Data Service (key)

Andrew
Offline  
Old 04-19-2006, 12:47 PM   #5
autsoldnow
Thumbs Must Hurt
 
Join Date: Feb 2006
Location: Canada
Model: 7250
Carrier: Telus
Posts: 131
Default Fixed

I fixed it.. thanks!

Andrew
Offline  
Old 05-02-2006, 11:59 AM   #6
proltdman
New Member
 
Join Date: May 2006
Model: 7100T
Posts: 5
Default

How did you fix the error I am getting the same error. Please help
Offline  
Old 05-02-2006, 12:05 PM   #7
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

Quote:
Originally Posted by proltdman
How did you fix the error I am getting the same error. Please help
under the registry key above, the command-line to start the MDS service has a path to the Java installation - make sure that is correct. for instance, if you update JRE on your BES, then there's a good chance the command-line start for the MDS service is still pointing in the old directory (which may or may not exist anymore).
__________________
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 05-03-2006, 06:25 AM   #8
proltdman
New Member
 
Join Date: May 2006
Model: 7100T
Posts: 5
Default

Okay I change it to the correct path of the updated jre folder and the service started but then stopped without an error. When you try to restart the service it cames back with the origiinal error.
Offline  
Old 05-03-2006, 08:37 AM   #9
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

paste the command-line startup
__________________
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 05-03-2006, 08:47 AM   #10
proltdman
New Member
 
Join Date: May 2006
Model: 7100T
Posts: 5
Default

"C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\bin\BMDS.exe" -s jvmpath="C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll" -XX:+DisableExplicitGC -Xss64K -Xmx128M -Xms64M -XX:NewSize=24M -XX:MaxNewSize=64M -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\HC-LONGEN11" -log.console -rbes "HC-LONGEN11"
Offline  
Old 05-03-2006, 09:19 AM   #11
proltdman
New Member
 
Join Date: May 2006
Model: 7100T
Posts: 5
Default

Hmm okay I think I looked at the error code wrong this is the error code I am getting

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7031
Date: 5/3/2006
Time: 3:10:33 PM
User: N/A
Computer: HC-LONGEN1
Description:
The BlackBerry Mobile Data Server HC-LONGEN11 service terminated unexpectedly. It has done this 12 time(s). The following corrective action will be taken in 0 milliseconds: No action.

Some suggested it was the SRP identifier which has been blocked but I have contacted Vodafone and they are looking to see if that is the case. I was moving the BES server to a new server but I failed horribly and have restored the BES server back to the original just to get it all working again and try again at a later stage
Offline  
Old 05-04-2006, 08:45 AM   #12
proltdman
New Member
 
Join Date: May 2006
Model: 7100T
Posts: 5
Default

Solved it! The Mobile Data server was trying to start a non-existent database
ie the Database was called hc-longen1 and it was try to start hc-longen11 so I removed the database and renamed it to hc-longen11 and presto the service started. can't believe it was that simple in the end I think I was close to losing my job for being down almost 2 days. Thanks for you input jibi and sorry autsoldnow for hijacking your thread. Hope that helps anyone else that comes across that error.
Offline  
Old 04-13-2007, 05:34 AM   #13
Mogsy
Knows Where the Search Button Is
 
Mogsy's Avatar
 
Join Date: May 2006
Location: Scotland
Model: 9000
OS: 4.6.0.162
PIN: 25632EB1
Carrier: Vodafone
Posts: 40
Default

I got this error as well after upgrading to 4.0 SP6. I was missing the Jave path in the registry entry, having got an error during the install saying no version of Jave had been found, despite several updates of 5.0 showing on the system.

Fix was to add the file path for the Java DLL inside the quotes in the right part of the registry key. Service started no problem after that.
__________________
Desktop Manager 4.7.050
BES 5.0 mr1 Server with Exchange 2k3/Outlook 2007
Offline  
Old 10-27-2007, 05:19 AM   #14
CsabiDuke
New Member
 
Join Date: Sep 2007
Model: 8100
PIN: N/A
Carrier: IT
Posts: 4
Default

I too fix this error.
My cause: I needed to install the jre-1_5_0_11, because it is need for the MDS. I installed, and this is startec succesfully!
Download from here: Archive: Download Java 2 Platform Standard Edition (J2SE) 5.0 Update 11 the JRE 5.0 Update 11!
Offline  
Old 10-27-2007, 10:23 PM   #15
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default

Quote:
Originally Posted by CsabiDuke View Post
I too fix this error.
My cause: I needed to install the jre-1_5_0_11, because it is need for the MDS. I installed, and this is startec succesfully!
Download from here: Archive: Download Java 2 Platform Standard Edition (J2SE) 5.0 Update 11 the JRE 5.0 Update 11!
wouldn't this be installed though when you install BES?
Offline  
Closed Thread



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


USED Moxa NPort5610-16 16-port RS-232 Serial Communication Server picture

USED Moxa NPort5610-16 16-port RS-232 Serial Communication Server

$284.58



Server - 92020 - Double Dip Server picture

Server - 92020 - Double Dip Server

$348.84



EMC2 HPE-S HPES Server picture

EMC2 HPE-S HPES Server

$465.00



NEW FSP FSP350-701UH Server Power Supply 350W picture

NEW FSP FSP350-701UH Server Power Supply 350W

$149.56



Intel Server Board S3210SH picture

Intel Server Board S3210SH

$149.98



AB New Sealed 1734-AENTR Server Point C I/O Dual Port Network Adapter 1734-AENT picture

AB New Sealed 1734-AENTR Server Point C I/O Dual Port Network Adapter 1734-AENT

$355.99







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