- BlackBerry Support Community Forums
- Welcome & Introductions
- Announcements
- Your Stories
- Smartphones
- BlackBerry® Bold™ 9700 smartphone
- BlackBerry® Tour™ 9630
- BlackBerry Storm - BlackBerry 9500 Series Smartphone
- BlackBerry Bold - BlackBerry 9000 Series Smartphone -
- BlackBerry Curve - BlackBerry 8900 Series Smartphone
- BlackBerry 8800 Series Smartphone
- BlackBerry Curve 8500 Series Smartphone
- BlackBerry Curve - BlackBerry 8300 Series Smartphone
- BlackBerry Pearl - BlackBerry 8100 and 8200 Series Smartphone
- Other BlackBerry Smartphones and Devices
- General BlackBerry Smartphone Functions and Features
- BlackBerry Accessories
- Software
- BlackBerry® Desktop Software
- BlackBerry® for Mac
- BlackBerry® Device Software
- BlackBerry® Applications, Third-Party Applications & BlackBerry App World
- BlackBerry App World - General Discussions
- Downloaded Applications for BlackBerry Devices
- Solutions
- BlackBerry® Enterprise Server Version 5.0
- BlackBerry® Enterprise Solution
- BlackBerry® Internet Service
- BlackBerry® Professional Software
- BlackBerry® Training and Certification
- BlackBerry® Training and Certification
- BlackBerry Development
- Dev Blog
- BlackBerry App World™ Development
- Java Development
- Web Development
- MDS Runtime Development
- BlackBerry Enterprise Server Development
- Product Management: The BlackBerry Application Platform
- BlackBerry Themes & Animated Graphics
- BlackBerry Push Development
- Testing and Deployment
- Community Forums Feedback
- Forum Feedback and Ideas
- BlackBerry Community Post
- BlackBerry Community Post
- Register
- ·
- Sign In
- ·
- Help
- ·
- New Topics
- ·
- New Posts
- BlackBerry Support Community Forums
- :
- BlackBerry Development
- :
- Java Development
- :
- 8900 http comm hangs after second connection (not ...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
8900 http comm hangs after second connection (not seen with 83XX devices or 8900 simulator) ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-29-2009 10:09 AM
I current have a j2me app deployed in production onto various BB devices. The app is fairly simple and essentially collects data from the user (via text fields, combo boxes etc.) and sends this data to our server via an http connection
The app has been deployed in production for over 6 months and working with end-users using various BB devices, such as the 8310, 8320 and 9000.
Our end-users now upgrading to the 8900, and we assumed that our app would work in the same manner as it does the on 8320 - I even tested my app on the 8900 simulator and everything works fine.
However, using the app on a real 8900 device connected to the Vodafone Network here in the UK has thrown up some bizarre problems. The app installs OTA fine, initially communicates fine (as we login via an http post), but then any subsequent communication attempt over http simply hang with no error thrown?
Closing the app does not cause any change, and any communication attempt hangs. If I reboot the device (battery out etc) and start the app then I can connect one more time, and then the app simply hangs again.
I can't track the cause down, and the fact that the other physical devices and even the 8900 simulator work fine is bizarre!
Any help or pointer as to where to start looking in my code/settings would be much appreciated?
Daniel
Daniel Bryant | Tai-Dev Ltd | daniel.bryant@tai-dev.co.uk
Solved! Go to Solution.
Re: 8900 http comm hangs after second connection (not seen with 83XX devices or 8900 simulator) ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-29-2009 11:33 PM
Re: 8900 http comm hangs after second connection (not seen with 83XX devices or 8900 simulator) ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-30-2009 03:51 AM
Thanks John - I really should have thought of that myself ![]()
I'll give it a try over the next couple of days and let you know how I get on...
Daniel Bryant | Tai-Dev Ltd | daniel.bryant@tai-dev.co.uk
Re: 8900 http comm hangs after second connection (not seen with 83XX devices or 8900 simulator) ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-30-2009 04:04 AM
Re: 8900 http comm hangs after second connection (not seen with 83XX devices or 8900 simulator) ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-05-2009 04:16 AM
Hi,
Very interesting indeed. The app appears to hang after we attempt to open an arbitary http connection (of which throughout the app lifecycle we have done many times before)
The debug window in the JDE then suddenly fills with the text included below... My thoughts now point to a memory/gc problem?
Best wishes,
Daniel
++++++++++++++++ doInitialise ++++++++++++++
Writing 3
---- END storesubmittedobservation com.triopsis.mob.dao.SubmittedObservation@7c7b84da
++++++++++++++ Index 19 : We are going to read 10000 bytes
Send Observation Packet #20 of 75 sz 10000b. TransientPK# 20
JVM: bklt[1] @7221680: JBSC on=0
JVM: bklt[1] @7221680: SC 0
JVM: bklt[1]: setTimeout 30
VM:+GC(f)w=10
VM:-GCt=43,b=1,r=0,g=f,w=10
VM:+RR
RX=10.2M,RF=10.6M,FF=115M,OF=383.2K,OS=10.8M,ON=12
RA=12.4M,RS=10.8M,RN=51.2K
TA=7.5M,TS=0,TN=30.6K
PA=0,PS=0,PN=20.9K
R0=70.6M,1=420.6K,2=15K,3=86.8K,4=2.2M,7=100.9K,8=
VM:-RR
RX=10.2M,RF=10.9M,FF=114.6M,OF=383.2K,OS=10.5M,ON=
RA=12.1M,RS=10.5M,RN=50.6K
TA=7.9M,TS=0,TN=31.2K
PA=0,PS=0,PN=20.9K
R0=70.6M,1=420.6K,2=15K,3=86.8K,4=2.2M,7=100.9K,8=
VM:+CR
VM:-CR=5
FS: CLEAN(710 5)
VM:ICSFv=1,w=131044
Daniel Bryant | Tai-Dev Ltd | daniel.bryant@tai-dev.co.uk
Re: 8900 http comm hangs after second connection (not seen with 83XX devices or 8900 simulator) ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-05-2009 09:57 AM
Re: 8900 http comm hangs after second connection (not seen with 83XX devices or 8900 simulator) ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-07-2009 11:38 AM
Ah - that was it! What strange behaviour/output from the device (and not from other older devices or the Simulator?)
There are still a few other bugs I've got to tidy up and then hammer the testing, but everything looks good and your advice has been invaluable!
Thanks Again John,
Daniel
Daniel Bryant | Tai-Dev Ltd | daniel.bryant@tai-dev.co.uk
Shortcut Navigation
Copyright © 2010 Research In Motion Limited, unless otherwise noted.





