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
New Contributor
Posts: 3
Registered: ‎02-21-2012
My Device: 6.0

OTA Distribute Error : 907 Invalid COD HTTP Error 404: Not Found

Hi All,

 

I am new to the BB development. I have done my development and generate the .cod and .jad files from eclipse IDE. My .cod file size is 55 KB. I am planing to distribute my .cod file through OTA with tamcat server.

 

I have configured my web.xml as follows.

 

<mime-mapping>
<extension>jad</extension>
<mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
</mime-mapping>

<mime-mapping>
<extension>cod</extension>
<mime-type>application/vnd.rim.cod</mime-type>
</mime-mapping>

 

I have creaed one folder under webapps, which contains my .cod, .jad, WEB-INF(web.xml) and index.jsp files. Inside my jsp i have like 

 

<a href=sample.jad>Download Sample Application</a><br>

 

When i try to download from BB, it throws the following error.

 

907 Invalid COD HTTP Error 404: Not Found

 

Could you please help me on this issue?

 

Thanks

S.Saravanan

Contributor
Posts: 40
Registered: ‎10-10-2011
My Device: BB Curve&Bold

Re: OTA Distribute Error : 907 Invalid COD HTTP Error 404: Not Found

 

Clean Browser cache and Try it.

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

Re: OTA Distribute Error : 907 Invalid COD HTTP Error 404: Not Found

Just point the browsr directly to the JAD file.

 

E.

New Contributor
Posts: 3
Registered: ‎02-21-2012
My Device: 6.0

Re: OTA Distribute Error : 907 Invalid COD HTTP Error 404: Not Found

You mean, remove the jsp?
New Contributor
Posts: 3
Registered: ‎02-21-2012
My Device: 6.0

Re: OTA Distribute Error : 907 Invalid COD HTTP Error 404: Not Found

I have tried that also, but same error.
Developer
Posts: 729
Registered: ‎05-04-2011
My Device: 9700

Re: OTA Distribute Error : 907 Invalid COD HTTP Error 404: Not Found

Put a sniffer on your server and see if the request to the cod file has the correct URL.

 

E.