BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-10-2006, 03:42 AM   #1
stefan
Knows Where the Search Button Is
 
stefan's Avatar
 
Join Date: Oct 2004
Model: Curve
Carrier: Vodafone
Posts: 26
Default SMTP error

Please Login to Remove!

I connect using SMTP from a MIDP application to local mail server. The application runs on the simulator 4.0 with MDS 4.0. I tried to make no use of BlackBerry Mail API and use only SocketConnection on port 25
The problem is that if the message size is above a certain limit the MDS log file displays the following error:

<2006-08-09 22:47:11 EEST>:[393]:<MDS_MDS>:<DEBUG>:<java.io.IOException: The VectorInputStream[] is closed!>
<2006-08-09 22:47:11 EEST>:[393]:<MDS_MDS>:<DEBUG>:<at rimmir.mirrim.mir.xvvw.write(Unknown Source)>
<2006-08-09 22:47:11 EEST>:[393]:<MDS_MDS>:<DEBUG>:<at java.io.DataOutputStream.write(DataOutputStream.ja va:85)>
<2006-08-09 22:47:11 EEST>:[393]:<MDS_MDS>:<DEBUG>:<at net.rim.protocol.iplayer.connection.handler.device .defaulthandler.wvvv.start(Unknown Source)>
<2006-08-09 22:47:11 EEST>:[393]:<MDS_MDS>:<DEBUG>:<at net.rim.protocol.iplayer.connection.yzxy.run(Unkno wn Source)>
<2006-08-09 22:47:11 EEST>:[393]:<MDS_MDS>:<DEBUG>:<at net.rim.utility.threading.yvxw.run(Unknown Source)>
<2006-08-09 22:47:11 EEST>:[394]:<MDS_MDS>:<DEBUG>:<LAYER = IPPP, EVENT = Exception, java.io.IOException: The VectorInputStream[] is closed!
LAYER = IPPP, EVENT = Exception, at rimmir.mirrim.mir.xvvw.zXX(Unknown Source)
LAYER = IPPP, EVENT = Exception, at net.rim.protocol.iplayer.device.wvwy.sendIOExcepti on(Unknown Source)
LAYER = IPPP, EVENT = Exception, at net.rim.protocol.iplayer.connection.handler.device .defaulthandler.wvvv.start(Unknown Source)
LAYER = IPPP, EVENT = Exception, at net.rim.protocol.iplayer.connection.yzxy.run(Unkno wn Source)
LAYER = IPPP, EVENT = Exception, at net.rim.utility.threading.yvxw.run(Unknown Source)

The message gets on the server but is truncated (e.g. instead of "abcdefg" we get only "efg")
Offline  
Old 08-14-2006, 04:17 AM   #2
stefan
Knows Where the Search Button Is
 
stefan's Avatar
 
Join Date: Oct 2004
Model: Curve
Carrier: Vodafone
Posts: 26
Default

More discoveries:

add deviceside=true and the message gets sent correctly as the MDS is ignored.
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


CNH Case Hydraulic Cylinder Ram 20

CNH Case Hydraulic Cylinder Ram 20" 3000 PSI 84381557 40TD16-175 New

$645.00



10T Hydraulic Cylinder Jack 10.2cm Single Acting Porta Power Jack Lifting Ram US picture

10T Hydraulic Cylinder Jack 10.2cm Single Acting Porta Power Jack Lifting Ram US

$100.70



RAM MODULE (COMES WITH WIRING HARDNESS) picture

RAM MODULE (COMES WITH WIRING HARDNESS)

$200.00



100 Ton Hydraulic Cylinder Jack 200cc Stroke Ram Low Profile Flat Lift Cylinder picture

100 Ton Hydraulic Cylinder Jack 200cc Stroke Ram Low Profile Flat Lift Cylinder

$130.48



Kinetic Water Ram Model E by Hydraulic MFG CO USA NO Case picture

Kinetic Water Ram Model E by Hydraulic MFG CO USA NO Case

$99.95



50-TON HYDRAULIC RAM JACK porta power type cylinder lifting jacks rams picture

50-TON HYDRAULIC RAM JACK porta power type cylinder lifting jacks rams

$118.74







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.