06-21-2012 01:46 AM
06-21-2012 04:44 AM - edited 06-21-2012 04:46 AM
but, timeout is already set here.. as you can see in previous post.. now, I have changed the values, but still its blocking here..
private PushSDKProperties getProperties() {
PushSDKProperties p = new PushSDKPropertiesImpl();
p.setPublicPpgAddress(targetURL);
p.setHttpIsPersistent(false);
p.setHttpConnectionTimeout(20000);
p.setHttpReadTimeout(60000);
p.setUsingXmlParserDtdValidation(false);
return p;
}
Edit: Attached Screenshot of Tomact Logs..
06-21-2012 05:07 AM
I tested your code and it wokred fine, except I didn't run it inside a servlet but I doubt there is any issue there. My suspicion is you have an issue with a proxy or file wall.
To make it simple just run the test code in a runnable class from the cammand line. If that blocks then you have a network issue. Have you chcke dyou have no firewall blocking the PGP url? Iwould expect that to cause a timeout or an I/O error though.
So run the test code from a command line and see what you get. If that works but not in your sevlet then the issue is your tomcat configuration.
Your sceenhsot is not visible so I can't see what you had in your logs.
06-21-2012 08:24 AM
Thanks man, you are a champ
. I got it worked finally..
06-21-2012 09:53 AM
03-05-2013 10:10 AM
Good morning,
I'm trying to do the same thing with webworks (HTML5) application, push a request to get the geolocation data of the Blackberry device is any one could help me with that please.
regards,
Thanks.
03-05-2013 10:13 AM
Good morning,
I got the same push information to do a push request to get the geolocation data of the Blackberry device, is any one could help me with that please?
regards,
Thanks.
03-06-2013 03:07 AM
You really should start a new topic, please do so and I will take a look at your issue. Please include more details of exactly what you are pushing and the exact error response.
03-06-2013 03:18 PM
Thank you very much for your quick reply,
Is it under "Compose New message" that I can open a new Topic?
Regards,
Thanks.
03-06-2013 03:46 PM
I have opened a new Topic under this hyperlink,