BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 01-21-2011, 10:01 AM   #1
shaptoni
Knows Where the Search Button Is
 
Join Date: Jan 2011
Model: 8900
PIN: N/A
Carrier: t-mob
Posts: 18
Default managing applications - not ready to deliver

Please Login to Remove!

I am experiencing issues with managing applications on BES 5.

I am able to create an application control policy and deploy applications but when I come to removing/updating applications, the jobs end up in “Running” state or “optimized out” or “not ready to deliver”

Example:
Deploy Bloomberg v1.10 – successful
Remove Bloomberg v1.10 – “not ready to deliver”
Replace v1.10 with v1.11 – “Running”

I cant see anything wrong with my config and don’t understand why attempting to remove Bloomberg results in “not ready to deliver”
The logs don’t seem to be showing me anything obvious.
Can anyone point me in the right direction here?
Thanks
Offline  
Old 01-21-2011, 10:03 AM   #2
Dubdub
Appleinator
 
Dubdub's Avatar
 
Join Date: Nov 2005
Location: New Hampshire
Model: App6+
OS: AJBR549
PIN: Ask
Carrier: ATT & Verizon
Posts: 20,038
Default Re: managing applications - not ready to deliver

Moved to a more appropriate section
__________________
-->>BB FAQ

-->>Stinsonddog's Tip Site!

-->>Twitter


If someone helps, tell them by clicking the Thanks button.!!
Offline  
Old 01-22-2011, 01:06 AM   #3
noname
BlackBerry Extraordinaire
 
noname's Avatar
 
Join Date: Sep 2005
Location: Congested Islet of "Foreign Talents" (> 45% of workforce) - Singapore.
Model: Z10
OS: 10.0.0
PIN: NUKE(PAP)
Carrier: Singtel
Posts: 1,504
Default Re: managing applications - not ready to deliver

If the application needs to be installed as soon as possible, configure the application deployment schedule (before assigning software configuration to the users) by completing the following steps:
  1. On the left pane, under Devices, expand Deployment jobs.
  2. Click Specify Job Schedule Settings.
  3. Click Edit Job Schedule Settings.
  4. Set the Default Delay to one minute (this can be left as default).
  5. Click Save All.
Note: The Deploy Now option no longer exists for BES 5.0 unlike BES 4.1.

For Job Task status, refer below:-
KB18284-Job Task status descriptions in the BlackBerry Administration Service console
__________________
Native but 4th class citizen of a nation governed by idiots who import congestions & contention.
Offline  
Old 01-24-2011, 06:54 AM   #4
shaptoni
Knows Where the Search Button Is
 
Join Date: Jan 2011
Model: 8900
PIN: N/A
Carrier: t-mob
Posts: 18
Default Re: managing applications - not ready to deliver

Thanks for the response, however, I am not worried about the speed of delivery.

My issue is that I am unable to even remove applications, example:
Task ID Task type Task Task dependency Optimizing task Status
532 Application Removing 531 Not ready to deliver More...

The task is still running now, how is it possible that I was able to add the application but now cannot remove/upgrade it?

Not policy/permission changes have been made
Any more ideas?

Thanks
Offline  
Old 01-31-2011, 09:01 AM   #5
shaptoni
Knows Where the Search Button Is
 
Join Date: Jan 2011
Model: 8900
PIN: N/A
Carrier: t-mob
Posts: 18
Default Re: managing applications - not ready to deliver

This is a known issue:

See KB23685 "BlackBerry Application Service Jobs and Tasks are not being processed"

However, I needed to create a script to delete JobTasks and JobTaskDependencies

Hopefully v5.0.3 will fix this
Offline  
Old 01-31-2011, 05:28 PM   #6
arjey
New Member
 
Join Date: Jan 2011
Model: 9700
PIN: N/A
Carrier: Telstra
Posts: 3
Default Re: managing applications - not ready to deliver

Hi Shaptoni,

I was just going a quick Google search - I have ran into the same issue where the remove task will stay on "Not ready to deliver", but when the install of the new version of Bloomberg happens (v11.2) - it will turn to a failure as the it will notice that the BlackBerry device still contains some modules of the old version that are similar, if not the same, on the new version. I am yet to come up with a consistent workaround on the issue. I have tried removing them from the group and waiting it out as the domain policy has "No third party apps" set to enable - so it will send a remove que from there. I have also tried a 3 group process where you have the original group that has the old version of Bloomberg, another group that just has RepliGo and the same policy as the original prod Bloomberg group but has the old version of Bloomberg set to disallow rather than required so it will send a remove command that way and the third group having the new version of Bloomberg installed.

This is a known issue with 5.0.2 MR1 - It states this in the Release Notes. I have been back and forth with RIM T-Support which have been very helpful with trying to find a workaround. This issue has been resolved in 5.0.2 MR3

Shaptoni - Are you able to share the query you ran against the database with me? I'm curious to see what it changes table wise..

I have also found that the error is consistent with 9700 devices, but for the older devices like 8100 pearl's for example running on 4.2.1 firmware it will work fine.

I'm leaning more towards the fact that the device.xml and vendor.xml files need to be updated on the server, but other applications send fine.
Offline  
Old 01-31-2011, 05:31 PM   #7
arjey
New Member
 
Join Date: Jan 2011
Model: 9700
PIN: N/A
Carrier: Telstra
Posts: 3
Default Re: managing applications - not ready to deliver

Another note - another way to kill pending tasks on a user is to move them to another server.. If anyone else has any other way of performing this - besides running a query against the database, let me know!

I'm yet to find a consistent workaround! It's doing my head in!
Offline  
Old 02-01-2011, 05:20 AM   #8
shaptoni
Knows Where the Search Button Is
 
Join Date: Jan 2011
Model: 8900
PIN: N/A
Carrier: t-mob
Posts: 18
Default Re: managing applications - not ready to deliver

thanks for your comments arjey, here is the script that I ran:

--------------------------------------------------------------------------
begin tran
declare @jobid int
set @jobid = nnn

delete from [BASJobTaskDependencies] where taskid in (select taskid from dbo.BASJobTasks where jobid = @jobid)
delete from [BASJobTaskDependencies] where dependentontaskid in (select taskid from dbo.BASJobTasks where jobid = @jobid)
delete from [BASJobTaskDependencies] where taskid in (select taskid from BASJobTasks where OptimizedOutByTaskId in (select taskid from dbo.BASJobTasks where jobid = @jobid))
delete from [BASJobTaskDependencies] where dependentontaskid in (select taskid from BASJobTasks where OptimizedOutByTaskId in (select taskid from dbo.BASJobTasks where jobid = @jobid))

delete from BASJobTasks where OptimizedOutByTaskId in (select taskid from dbo.BASJobTasks where jobid = @jobid)
delete from BASJobTasks where jobid = @jobid

delete from dbo.BASJobs where jobid = @jobid
--------------------------------------------------------------------------

only "commit" if it works for you!
Offline  
Old 02-01-2011, 06:19 AM   #9
JabbaTH
New Member
 
Join Date: Nov 2006
Model: 8700
Carrier: Orange
Posts: 3
Default Re: managing applications - not ready to deliver

Quote:
Originally Posted by arjey View Post
Another note - another way to kill pending tasks on a user is to move them to another server.. If anyone else has any other way of performing this - besides running a query against the database, let me know!
Incidentally you don't need to have a second server. Select user, select Switch BlackBery user to different server, existing server is only option, select yes to switch user and cause all tasks to fail.

Worked for me!
Offline  
Old 02-07-2011, 02:36 AM   #10
arjey
New Member
 
Join Date: Jan 2011
Model: 9700
PIN: N/A
Carrier: Telstra
Posts: 3
Default Re: managing applications - not ready to deliver

or you could do that!

I've done even more research and testing on this issue and I can re-produce it quiet easily. What actually happens is that - the application is supposed to set a que to remove itself and then send out/install the new version. But what is happening is the install que will send first and the remove que will go out second thus will cause the job task to fail the install que as there is a version already on the device and because the remove que is a dependent task it will turn back a dependency failure on the job tasks list. then you will re-send the application which will include IT policy and everytime you send it you will see a massive dependency task list for the new task you have just created.. (hope that didn't confuse you too much).

I have a script I'm going to run soon to test that it will remove the dependency que and I can start fresh by using a different method without having to update the applications manually.
Offline  
Old 02-09-2011, 08:30 PM   #11
pfowler
Knows Where the Search Button Is
 
pfowler's Avatar
 
Join Date: May 2008
Location: Palo Alto, CA
Model: 8310
PIN: N/A
Carrier: ATT
Posts: 39
Default Re: managing applications - not ready to deliver

Our application seems to occasionally fall into this same problem of being stuck in the deploy queue. I'll try some of these tricks to see if it can resolve it next time a customer support call comes in.
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

Similar Threads for: managing applications - not ready to deliver
Thread Thread Starter Forum Replies Last Post
DM doesn't show all applications that I have on bb jin_berry General 9000 Series Discussion - Bold 5 12-19-2008 11:21 AM
FAQ: Restore data AND 3rd party applications after Error 507 (Failed OS install) Mark Rejhon Aftermarket Software 6 11-29-2008 03:23 PM
NEW 9500/9530 Power Point Presentation!! Jason Mark General 9500 Series Discussion - Storm 5 10-06-2008 03:08 PM
[2005-04-04] RIM to Preview Next Generation BlackBerry MDS at WES bfrye BlackBerry In the News 3 04-13-2005 08:02 AM
Lost applications? KendallParis General Legacy Device Discussion 13 10-20-2004 11:08 PM


Jelenko Commodore LS VPF with Pump  picture

Jelenko Commodore LS VPF with Pump

$875.00



Vintage Holt Commodore Commercial Floor Scrubber Polisher Buffer Burnisher picture

Vintage Holt Commodore Commercial Floor Scrubber Polisher Buffer Burnisher

$599.99



Mitsubishi Control Board DM00N649.  SM76A127G02 . Ductless unit 47-0910KR (C64) picture

Mitsubishi Control Board DM00N649. SM76A127G02 . Ductless unit 47-0910KR (C64)

$120.00



3D MULTIMEDIA VIDEO CARD C64/V2 1MB picture

3D MULTIMEDIA VIDEO CARD C64/V2 1MB

$94.05



POLAR PLASTICS C64 Construction Film,6x100,4Mil,Clear PK 4 picture

POLAR PLASTICS C64 Construction Film,6x100,4Mil,Clear PK 4

$178.04



Kenwood TK290 TK-290 VHF 146-174 160ch 5watt DTMF Radio with charger/Antenna C64 picture

Kenwood TK290 TK-290 VHF 146-174 160ch 5watt DTMF Radio with charger/Antenna C64

$75.75







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