BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-10-2008, 07:11 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2008
Model: 8800
PIN: N/A
Carrier: ATT
Posts: 65
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Getting Error 907 Invalid Cod when downloading application through BES using OTA

Please Login to Remove!

Hi All,

I have developed an application in BlackBerry, using JDE 4.2.1 and the size of my cod file is about 260KB. So, the JDE is generating xxx.cod file and xxx.jad file. As cod file is 260KB, there are sibling cod files in it, they are xxx.cod, xxx-1.cod, xxx-2.cod, and xxx-3.cod, but the jad whic is generated contains RIM-COD-URL parameter from 0 through 9, and RIM-COD-Size from 0 through 9 and RIM-COD-SHA1 from 0 through 9, even though my cod file is having siblings from xxx.cod to xxx-3.cod. So, I I removed all the above parameter from 4 to 9 and kept only 0 to 3 parameters. Also, i updated the jad file by using UpdateJad.exe utility. And also I modified the RIM-COD-URL parameter from xxx.cod to "http://ip-address/xxx.cod"(full path) and kept the jad and all sibling cod files on webserver. Also, I have followed all the steps mention in this link Livelink - Redirection.

So, now when I am making the connection from blackberry browser using the Wi-Fi(here my request is not going through the BES, as my service provider doesn't have the BES), I am able to download the application on my blackberry and it is running properly on my blackberry.
SO, with the same url, when my client is making connection from US, with the ATT service provider(I think here request must be going through BES), it is giving the Download failed with error as "Error 907: Invalid COD".

I am not able to figured out the exact problem here, as it is working properly on my side.Here is my jad file on the web server..
RIM-MIDlet-Flags-1: 0
MIDlet-Jar-Size: 193554
MIDlet-Name: xxx
MIDlet-Jar-URL: xxx.jar
MicroEdition-Configuration: CLDC-1.1
RIM-COD-Module-Dependencies: net_rim_cldc,net_rim_bbapi_pim,net_rim_xml,net_ri m_os,net_rim_bbapi_phone,net_rim_bbapi_invoke
RIM-COD-URL-3: http://ip-address/xxx.cod
RIM-COD-URL-2: http://ip-address/xxx-2.cod
RIM-COD-URL-1: http://ip-address/xxx-1.cod
RIM-COD-URL: http://ip-address/xxx.cod
RIM-COD-Module-Name: xxx
RIM-COD-Size-3: 62160
RIM-COD-Size-2: 28932
RIM-COD-Size-1: 77704
RIM-COD-Size: 95500
RIM-COD-SHA1-3: ae 63 16 e0 a0 6b 0e 98 82 64 34 ea 99 63 cb 62 cc 0f 67 27
RIM-COD-SHA1-2: 6b 94 33 7a 32 23 c5 8b 10 65 7f ed 73 d4 f1 df ec 99 8d 39
RIM-COD-SHA1-1: 7d d5 25 fc 8f 0d d6 57 a3 2f 27 6f ff 2a 06 a0 bb 37 7c ea
RIM-COD-SHA1: 56 c4 f9 44 2b 8a 35 f2 cb 48 78 30 97 6b b0 bb d1 03 9d 1a
MicroEdition-Profile: MIDP-2.0
MIDlet-Vendor: <unknown>
MIDlet-1: ,,
Manifest-Version: 1.0
MIDlet-Version: 0.0


I hope I am clear to you. Any, suggestion will be greatly appreciated. is there any other thing I need to configure in Jad file, I have kept only jad and cod files on web-server.

Thanks and waiting for your replys...
Offline  
Old 06-16-2008, 02:47 AM   #2 (permalink)
Thumbs Must Hurt
 
shraddha294's Avatar
 
Join Date: Oct 2007
Location: Hyderabad
Model: 8800
PIN: N/A
Carrier: TMobile
Posts: 111
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

For OTA, unzip your sibling cod files from the main cod file... and place jad and cod files together.
Offline  
Old 06-16-2008, 02:59 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2008
Model: 8300
PIN: N/A
Carrier: O2
Posts: 17
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I started getting this and noticed that in the jad a couple of extra lines had appeared from no where like RIM-COD-URL-1 and RIM-COD-SHA1-1. Got rid of them and it worked again.
Offline  
Old 06-19-2008, 07:05 AM   #4 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2008
Model: 8800
PIN: N/A
Carrier: ATT
Posts: 65
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your replys,

I tried both the ways you suggested but not able to get it working
Can anyone please guide me here...
Thanks
Offline  
Closed Thread


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-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.