powered by Jive Software

Email Listener, Security.setProperty

Hi, I’m not knowledgable in ssl matters.

I am/was having problems with email listener. Whenever I started it, I got

a stack trace with the message

Error while initializing email listener

javax.mail.MessagingException: Unconnected sockets not implemented;

nested exception is:

I debugged the actual code and found that when I comment out the following line

from EmailListener.java, the problem goes away.

line 254: Security.setProperty(“ssl.SocketFactory.provider”, SSL_FACTORY);

I believe it’s still using SSL as it’s going out on port 993 to gmail,etc…

Any idea why that line of code causes me such problems?


I have been testing Openfire 3.4.4 on Fedora 8 with Sun JVM (doesn’t seem to work with Fedora 8 IcedTea Java build).

Trying to get the Email Listener working with Gmail’s IMAP functionality (that requires SSL on Port 993), and having similar problems. Error log is attached.

It appears that there is a bug when using the IMAP function + SSL.

Suggestions anyone?
EmailListener errorlog.txt (8380 Bytes)

Any suggestions on what the problem might be?