Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.

Posts: 167
Registered: ‎11-12-2008
My Device: Not Specified

Invalid COD 907

I'm building with 4.5...


Followed these steps:



1. Erase the JAD file
2. Do a "clean" build
3. Sign the app (if it needs to be signed)
4. Copy the .COD file to the ZIP extension
5. Unzip this file to get the individual COD files
6. Deploy the individual COD files and the JAD file to your server.


1. Erase the JAD file2. Do a "clean" build3. Sign the app (if it needs to be signed)4. Copy the .COD file to the ZIP extension5. Unzip this file to get the individual COD files6. Deploy the individual COD files and the JAD file to your server.


However, I still get a 907 error.  I also noticed that the JAD had wrong filesizes, so I fixed those.  That also didn't work.


Anything else I can do?


Here's my JAD:



Manifest-Version: 1.0

MIDlet-Version: 0.0

MIDlet-Jar-Size: 622829

RIM-COD-URL-3: BlackBerry-3.cod

RIM-COD-SHA1-3: 5c c3 50 7f 8b ab d4 a6 00 65 e6 6e 83 a7 4a 55 20 41 50 36

RIM-COD-URL-2: BlackBerry-2.cod

MicroEdition-Configuration: CLDC-1.1

MIDlet-Jar-URL: BlackBerry.jar

RIM-COD-Module-Dependencies: net_rim_cldc,net_rim_bbapi_browser,net_rim_bb_framework_api,net_rim_os,net_rim_xml,net_rim_xml_org,net_rim_satsa

RIM-COD-SHA1-2: 94 7b 46 79 1e de e1 e8 af 02 b1 a9 df e2 27 9f e0 9a 93 63

RIM-COD-URL-1: BlackBerry-1.cod

RIM-COD-SHA1-1: 63 fd 80 cc b0 62 ea 84 21 7a 52 d2 43 3c d7 4d 7d 18 77 df

RIM-COD-Size-3: 58700

RIM-MIDlet-Flags-2: 1

RIM-COD-Size-2: 58828

RIM-MIDlet-Flags-1: 2

RIM-COD-Size-1: 65484

RIM-COD-Module-Name: BlackBerry

MIDlet-Name: BlackBerry

RIM-COD-Size: 76368

RIM-COD-Creation-Time: 1281545863

MIDlet-2: AlternateEntry,,gui

MIDlet-1: ,,

RIM-COD-URL: BlackBerry.cod

RIM-COD-SHA1: 17 8f 0b 9f d8 22 49 ea 1f 95 46 1f 09 cb e6 95 01 f0 19 73

MicroEdition-Profile: MIDP-2.0

MIDlet-Vendor: <unknown>


Posts: 167
Registered: ‎11-12-2008
My Device: Not Specified

Re: Invalid COD 907

Note that this happens even if I grab the COD files that are working on my production server, which would lead me to believe that the MIME types weren't set up correctly.  However, they are...


Also could be useful - I'm using a 9700 hotspot browser on 5.0.