BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-16-2010, 07:04 AM   #1 (permalink)
New Member
 
Join Date: Feb 2010
Model: 9500
PIN: N/A
Carrier: NA
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default 907 invalid COD. HTTP error 404: not found

Please Login to Remove!

Hi All,

I am very much new to blackberry development. I am using JDE4.7.
Currently I am facing problem while installing the application on my blackberry simulator.Its a simple helloWorld application.

I have .COD file, .jad file and .jar file placed in server(tomcat). I have written a servlet which download the .jad file.

But, when I hit the url of that servlet from my blackberry browser, I get
" 907 invalid COD. HTTP Error 404: file not foud. "

I have made sure that .COD file is not corrupted, Mime type used is correct,
Cod file has no siblings.

Can anyone help me out in this. "how to install an application in BB simulator"
Offline  
Old 03-16-2010, 10:51 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2010
Model: N/A
PIN: N/A
Carrier: Fledge
Posts: 43
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Smile,

Why you are trying to do an over-the-air installation on your simulator?

Make sure that your .jad and .cod files have only alphanumeric characters in them (no spaces, etc).
Offline  
Old 03-17-2010, 08:21 AM   #3 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

INspect the JAD and make sure it is not referencing an "obsolete" COD file. This can happen if your project got smaller at some point, requiring fewer cod's.

As a general rule, delete your COD and JAD prior to doing your production build. THis insures that the files are created from scratch and there are no artifacts from earlier compiles.
Offline  




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