BlackBerry Policy Service stops responding and returns the error "Failed with returned code 10" during an automatic application control policy update
.DocInformation{ float: right; width:230px; color: Black; font-family: Verdana, Geneva, Arial, Helvetica; font-size: 8pt; font-style: normal; font-variant: normal; font-weight: normal; text-align: left; text-decoration: none; text-indent: 0em; text-transform: none; BORDER-RIGHT: 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; BORDER-LEFT: 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: 1px solid; BACKGROUND-COLOR: #f9f9f9; border-color: #a0a0a0; }
Contents [show]
**
Products
**
Environment
**
Overview
**
Cause
**
Resolution
**
Workaround
/html; charset=UTF-8" http-equiv="Content-Type"/>
BlackBerry Policy Service stops responding and returns the error "Failed with returned code 10" during an automatic application control policy update
.DocInformation{ float: right; width:230px; color: Black; font-family: Verdana, Geneva, Arial, Helvetica; font-size: 8pt; font-style: normal; font-variant: normal; font-weight: normal; text-align: left; text-decoration: none; text-indent: 0em; text-transform: none; BORDER-RIGHT: 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: 1px solid; PADDING-LEFT: 5px; PADDING-BOTTOM: 5px; BORDER-LEFT: 1px solid; PADDING-TOP: 5px; BORDER-BOTTOM: 1px solid; BACKGROUND-COLOR: #f9f9f9; border-color: #a0a0a0; }
Contents [show]
**
Products
**
Environment
**
Overview
**
Cause
**
Resolution
**
Workaround
Doc ID: KB14551
Modified Date: 01-07-2010
Document Type: Support

Print this page Products - BlackBerry® Enterprise Server
Environment - BlackBerry Enterprise Server versions 4.0 SP7 to 4.1 SP4
- SDR137620
Overview
The BlackBerry Policy service stops responding every four hours in BlackBerry Enterprise Server version 4.0 SP7 to 4.1 SP4, during the poll for missing applications.
The following appears in the logs:
[30000] (10/11 10:23:30.260):{0x1BD8} DBChangeMonitor::CheckDatabaseForChanges - No changes detected.
[40000] (10/11 10:23:36.135):{0x1AA8} RequestHandler::PollForMissingApps: Starting Poll For Missing Apps.
[40304] (10/11 10:23:36.135):{0x1DF4} WorkerThreadPool:: ThreadProc(): Thread released with empty queue
[30000] (10/11 10:23:36.495):{0x1AA8} loaderGetFileInfo("D:\Program Files\Research In Motion\BlackBerry Enterprise Server\PackageCache\FILESHARE_sgp2018\Research In Motion\{762AF025-5F67-4FBA-9410-87714793773D}\CDMA\rim8830c.sfi", 00F5DDFC)
failed with returned code 10.
[10000] (10/11 10:23:37.385):{0x1AA8} DefaultHandler - exception caught thread Id=0x1AA8
[10000] (10/11 10:23:37.385):{0x1AA8} DefaultHandler - Killing program
Cause
There are problems reading an application file in the
PackageCache folder.
Resolution
To resolve this issue, upgrade to BlackBerry Enterprise Server version 4.1 Service Pack 5.
Workaround
The purpose of the automatic application control policy update is to support administrators who replace .cod files of third-party applications within the Shared Applications folder of a software configuration without re-indexing the share. It is safe to turn off this functionality. Turning off this functionality will not affect other application push functionalities. However, if any changes are made to the shared Applications folder, you will have to manually re-index the third-party application list. Please refer to article
KB03748 for more information.
There are two workarounds for this problem.
Workarounds - Disable the automatic refresh of the application control policy.
- Remove the software from the shared directory.
Workaround 1 Warning: The following procedure involves modifying the computer registry. This can cause substantial damage to the Windows® operating system. Document and back up the existing registry entries prior to implementing any changes.
To turn off the automatic application control policy update functionality, complete the following steps:
- Click Start and then Run.
- Type regedit and then press ENTER.
- Go to HKEY_LOCAL_MACHINE\Software\Research In Motion\BlackBerry Enterprise Server\BlackBerry IT Admin Server\.
- Create a new DWORD value and name it DisableAppControlPolicyUpdates.
- Modify DisableAppControlPolicyUpdates and set the numerical value to 1.
- Restart the BlackBerry Policy Service.
Workaround 2
To remove the software from the shared directory, complete the following steps:
- Open the Control Panel and uninstall the BlackBerry® Device Software.
- Open a command prompt and type cd \Program Files\Common Files\Research In Motion\Apploader\.
- Type loader.exe /reindex. The application loader tool updates the software index structure in the network drive and adds any missing index files.
Disclaimer By downloading, accessing or otherwise using the Knowledge Base documents you agree: ***(a) that the terms of use for the documents found at http://www.blackberry.com/support/kn...sclaimer.shtml 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
http://www.blackberry.com/btsc.
More...