Welcome!

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

Reply
New Contributor
Posts: 2
Registered: ‎07-17-2010
My Device: 8700
My Carrier: vodafone

Blackberry ESS problem(Very Urgent)

I wanted to test an app I wrote by sending emails via the ESS in connected mode.
I entered pop & smtp Server names and other details of gmail

like

Email.deviceId =2100000A
Email.pop3Server=pop.gmail.com
Email.smtpServer=smtp.gmail.com
Email.personal=anita

Email.address=lakambleanita@gmail.com
Email.smtpPort=587
Email.pop3Port=995



and it seems to work.
But after a short time I get the following error messages:





<Sat Jul 17 17:30:22 IST 2010>: [22] :<ERROR>:<LAYER = ESS, Messaging Exception>

<Sat Jul 17 17:30:22 IST 2010>: [23] :<ERROR>:<LAYER = ESS, EVENT = Exception, C
onnect failed;
LAYER = ESS, EVENT = Exception, nested exception is:
LAYER = ESS, EVENT = Exception, java.net.ConnectException: Connection ti
med out: connect
<Sat Jul 17 17:30:22 IST 2010>: [23] :<ERROR>:<javax.mail.MessagingException: Co
nnect failed;
nested exception is:
java.net.ConnectException: Connection timed out: connect>
<Sat Jul 17 17:30:22 IST 2010>: [23] :<ERROR>:<at com.sun.mail.pop3.POP3Store.pr
otocolConnect(POP3Store.java:106)>
<Sat Jul 17 17:30:22 IST 2010>: [23] :<ERROR>:<at javax.mail.Service.connect(Ser
vice.java:233)>
<Sat Jul 17 17:30:22 IST 2010>: [23] :<ERROR>:<at javax.mail.Service.connect(Ser
vice.java:134)>
<Sat Jul 17 17:30:22 IST 2010>: [23] :<ERROR>:<at net.rim.mailboxwatcher.vwyy.vX
X(Unknown Source)>
<Sat Jul 17 17:30:22 IST 2010>: [23] :<ERROR>:<at net.rim.mailboxwatcher.vwyy.ru
n(Unknown Source)>
<Sat Jul 17 17:30:22 IST 2010>: [24] :<ERROR>:<LAYER = ESS, messaging exception>

<Sat Jul 17 17:30:22 IST 2010>: [25] :<ERROR>:<LAYER = ESS, EVENT = Exception, N
ot connected
<Sat Jul 17 17:30:22 IST 2010>: [25] :<ERROR>:<javax.mail.MessagingException: No
t connected>
<Sat Jul 17 17:30:22 IST 2010>: [25] :<ERROR>:<at com.sun.mail.pop3.POP3Store.ch
eckConnected(POP3Store.java:223)>
<Sat Jul 17 17:30:22 IST 2010>: [25] :<ERROR>:<at com.sun.mail.pop3.POP3Store.ge
tFolder(POP3Store.java:205)>
<Sat Jul 17 17:30:22 IST 2010>: [25] :<ERROR>:<at net.rim.mailboxwatcher.vwyy.ru
n(Unknown Source)>
<Sat Jul 17 17:30:35 IST 2010>: [26] :<DEBUG>:<LAYER = UDP, EVENT = Receiving, S
IZE = 40, SOURCE = localhost:19780, DESTINATION = localhost>
<Sat Jul 17 17:30:35 IST 2010>: [27] :<DEBUG>:<LAYER = UDP, EVENT = Sending, SIZ
E = 11, SOURCE = , DESTINATION = localhost:19780>



Anybody having any idea of this?

I would really appreciate it.

Thank you!!

BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Blackberry ESS problem(Very Urgent)

Something is blocking the connection to your mail servers.  Are you able to connect using another email program?  If so, check any local firewalls running on your PC to ensure that the ESS has permission to make the required connections.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Highlighted
Visitor
Posts: 1
Registered: ‎07-26-2012
My Device: 9700
My Carrier: None

Re: Blackberry ESS problem(Very Urgent)

I am running my email client and ESS on a virtual machine. Here is the scenario

 

1) ESS starts perfectly

2) Device simulator starts perfectly and connects to ESS

3) When my email client sends email with attachment (HTM) ESS server screen throws exception and email is not received in the device simulator (9700)

 

Exception in thread "Thread-8" java.lang.NullPointerException at net.rim.mailboxwatcher.yww.run(Unknown Source)

 

Facts:

Using standalone mode. POP3 and SMTP ports are configured

There is not place in the email client to configure POP3 port.

SMTP server is congifured as "localhost" on email client.

 

Can someone suggest what should be the reason on the exception and how i can prevent it from happening?

 

Thanks

Abhi

 

aatul@carlsonwagonlit.com