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

New Developer
Posts: 11
Registered: ‎03-25-2009
My Device: Not Specified
Accepted Solution

MDS Simulator limits

<2009-04-23 15:40:39.464 EDT>:[1562]::: Sending, TAG = 141426903, DEVICEPIN = 2100000a, VERSION = 16, CONNECTIONID = 19
46929342, SEQUENCE = 37, TYPE = ERROR, SIZE = 62, ERRORCODE = -1, ERRORMSG = [Ex
ceeded the limit of number of bytes allowed per connection!]>
Getting this error when testing large data transfers through MDS simulator while testing my app in JDE.  I've read you can tune this on BES/MDS, but I'm just in simulator.  And I don't see a property in rimpublic.property config file.
Anyone know how to configure this? 
New Developer
Posts: 11
Registered: ‎03-25-2009
My Device: Not Specified

Re: MDS Simulator limits

I'll answer myself. :-)


I wasn't able to determine if there was a setting for the MDS simulator to increase the max bytes per connection.  However, a satisfactory workaround was to bypass MDS simulator and use direct TCP:


        if ( DeviceInfo.isSimulator() )
// add this to your connection ";deviceside=true;ConnectionTimeout=15000"