05-02-2010 04:05 PM
05-03-2010 12:19 PM
I haven't been able to reproduce this. What BlackBerry smartphone simulator model and BlackBerry device software version are you testing on? You can find this under Options, About on the BlackBerry smartphone simulator.
Can you provide a sample URL that triggers this behaviour? Are you going through a proxy server?
05-03-2010 12:27 PM
I'm not sure that I understand the problem symptoms here properly. In one case you seem to testing text files, in another, a JAD file.
To simppify things, can we look at one proglem at a time. The one to start with appears to be the JAD file.
I presume that you have updated Apache so that jad and cod files are sent with the correct MIME attribute?
Assuming tha is the case, what you seem to be saying is tha tthe Browser (and you are using the BlackBerry Browser I assume) on the SImualtor does not pick up the JAD file, so you get this error message "Error: Invalid manifest... " when you point your Browser at a downlaodable JAD file. Is ths correct?
05-03-2010 03:08 PM
Simulator version is 188.8.131.52.
Inside the simulator I tried to run various device/OS versions, such as 8120 184.108.40.206 and 9550 220.127.116.115
MDS is from JDE 5.0 or 4.7 (does not matter)
> Can you provide a sample URL that triggers this behaviour?
I am testing on a local machine, so I am using a local URLs, such as
I can give you a routable URL to my home PC via a E-Mail, but I do not want to post it here.
> In one case you seem to testing text files, in another, a JAD file.
I intentionally switched from JAD file to plain text file to avoid possible problem with MIME types.
Once the problem with plain text file is solved (for example if I switch from Apache to Tomcat),
then JAD file also loaded and installed successfully.
05-03-2010 04:23 PM
Does the problem only occur if the file is exactly 256 bytes? Or does this happen with 256 and higher?
05-03-2010 05:09 PM
> Does the problem only occur if the file is exactly 256 bytes? Or does this happen with 256 and higher?
Sure. I wrote "Cannot download more than 256 bytes".
I should have said "Cannot download more than 255 bytes"
As I explained, the difference is that Apache sends 255 byte payload
in the same packet as the HTTP headers. But 256 (and larger) payload
is sent in a separate packet.
05-04-2010 09:50 AM
I've also been testing with Apache version 2.2 and haven't been able to reproduce this.
Please send me a PM with a URL to your sample files. Thanks.