01-09-2009 07:48 AM
Hi,
The Wi-Fi Network connection throwing an IOException "java.io.IOException: Open tunnel - max timeout"
This is the request i used :
StreamConnection stream = (StreamConnection)Connector.open("http://mob.i-waves.com/ServerWebApp/Sathyam/sathya
I m using JDE - 4.3.0 and BB device simulator 8120.
Should i change any setting in my simulator to make it run?
I think i m missing something here.
Thanks
01-09-2009 08:05 AM - edited 01-09-2009 08:05 AM
Do you have started MDS simulator along with your device simulator ?
MDS simulator provides internet access to the device simulator.
01-09-2009 08:07 AM
You can download MDS Simulator from here:
https://www.blackberry.com/Downloads/entry.do?code
It is listed as "Blackberry Email and MDS Services Simulator Package"
01-09-2009 08:55 AM
I didn't think the Simulator supported Wi-Fi, or does that depend on the device? I will have to give it try!
Rather than running the MDS Simulator, you can just append ";deviceside=true" to the connection URL (in pace of anything else) and that will work on the simulator. Using ";deviceside=true" will test your network processing, but clearly not whether Wi-Fi works! I'll have a go at testing this and come back to you, unless someone else already knows if you really can use ";interface=wifi" on the simulator?
01-09-2009 08:55 AM
Hi,
I have started MDS.
And i also tried using http Connection:
conn = (HttpConnection)Connector.open(url+";interface=wif
But no luck.
Still i m having same exception : java.io.IOException: Open tunnel - max timeout
Thanks.
01-09-2009 09:27 AM
Found it:
Sorry you can't test ";interrace=wifi" on the simulator. ![]()
01-09-2009 09:49 AM
Hi,
Thanks tor your reply.