BlackBerryForums.com : Your Number One BlackBerry Community
     

»Sponsored Links


BlackBerryApps.com Best Sellers



Reply
 
LinkBack Thread Tools
  (#1 (permalink)) Old
Hatchy Offline
Thumbs Must Hurt
 
Posts: 56
Join Date: Oct 2005
Model: 8700
Carrier: Rogers
Default Upgrading an Application via BES Push - 10-14-2009, 12:30 PM

Hi there. I hope this is the correct forum for this question.

We recently deployed an application for a client, using .cod/.alx files (via a BES push). The BES is version 4.1.6 for Domino.

We later had to upgrade the application, again, using .cod/.alx files. The file names were RENAMED for the upgrade, from helloWorld01.cod/hellowWorld01.alx to helloWorld02.cod/hellowWorld02.alx. The Internal project name remained the same. The BES did NOT recognize this as an "upgrade", and pushed out a second application.

I haven't seen any documentation from RIM which states that this isn't supported.

When I deploy the exact same application via a URL download (using .cod/.jad files), the application upgrades fine (even with renamed .cod/.jad files). The device does in fact recognize the application as an "upgrade" (same internal file name) and it works fine. I would have expected the BES to handle this the same way.

Thanks for any insight!
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
Dubdub Offline
BBF Moderator
 
Dubdub's Avatar
 
Posts: 8,424
Join Date: Nov 2005
Location: New Hampshire
Model: 9000
OS: 4.6
PIN: Ask
Carrier: ATT
Default 10-14-2009, 03:01 PM

Please do not double post.

Second thread closed with no comments.

http://www.blackberryforums.com/deve...-bes-push.html
   
Reply With Quote
  (#3 (permalink)) Old
hrbuckley Offline
CrackBerry Addict
 
Posts: 831
Join Date: Jan 2006
Model: 9000
OS: 4.6.0.303
Carrier: Rogers CA
Default 10-14-2009, 04:04 PM

To get the BES to push it as an update you have to increment the version number in the ALX file. I don't know what changing the file names would do to a BES push, never tried it, but file names are largely irrelevant for an OTA load since they are really just a location reference for the web server.

For what it is worth what I've noticed:
OTA: displays version data from the JAD file, but uses the version data from the COD file
DM: displays the version data from the ALX file, but seems to only worry about the version data from the COD file
BES: display and uses the version data from the ALX file
Kind of makes sense if you think about it. OTA only worries about one COD file (or group of associated files). The DM may have to deal with multiple CODs in a package (for multiple versions of devices) but is only dealing with one device at a time. The BES has to handle multiple devices of probably multiple versions.

I've gone through many compile/load cycles with my dev hardware only to load the new package on the BES, having forgotten to increment the ALX version, and wait for hours until smacking my forehead and fixing it.


BPS/Zarafa

Last edited by hrbuckley : 10-14-2009 at 04:07 PM.
   
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright © 2004-2009 BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.