Welcome!

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

Reply
Contributor
Posts: 31
Registered: ‎08-30-2011
My Device: 9810
My Carrier: idea celluler
Accepted Solution

Deploy cod file using OTA(On The Air) ?

Hi all,

 

I have developed a small blackberry app and want to deploy it using OTA. I have deployed a war file which includes .cod,.jad and .alx file. But when I run the URL and try to download the jad file it gives me error.

 

"907 invalid COD http error 404 not found "

 

 

Can any one help me to resolve this issue ?

 

Thanks,

Manish Kumar

Developer
Posts: 729
Registered: ‎05-04-2011
My Device: 9700

Re: Deploy cod file using OTA(On The Air) ?

The .cod file the complier creates is usually an archive of other cod files.

 

Extract the initial .cod using WinZip (or other application) to another directory, copy the .jad file to reside next to the extracted cod file and change your URL accordingly.

 

Check this link:

 

http://assets.handango.com/marketing/developerTeam/BlackBerryOTADeployment.pdf

 

E.

Developer
Posts: 17,019
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Deploy cod file using OTA(On The Air) ?

404 means http not found. one of the files linked in the jad file is missing.
delete the jad file from your deployment folder and re-compile the project, most likely it was not updated correctly.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Contributor
Posts: 31
Registered: ‎08-30-2011
My Device: 9810
My Carrier: idea celluler

Re: Deploy cod file using OTA(On The Air) ?

Hi Maadani,

 

Thanks a lot.

 

 

 

 

 

 

Regards,

Manish Kumar