• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with connecting to my mail server  RSS feed

 
Vinayak Jallapelli
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am getting the following exception while i am trying to connect to my mail server.

javax.mail.MessagingException: dummyCertificate.DummySSLSocketFactory;
nested exception is:
java.net.SocketException: dummyCertificate.DummySSLSocketFactory
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:441)
at javax.mail.Service.connect(Service.java:300)
at javax.mail.Service.connect(Service.java:159)
at serverConnection.MailServerConnection.setServerConnection(MailServerConnection.java:75)
at servlets.MailAuthenticatorServlet.doGet(MailAuthenticatorServlet.java:47)
at servlets.MailAuthenticatorServlet.doPost(MailAuthenticatorServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: dummyCertificate.DummySSLSocketFactory
at javax.net.ssl.DefaultSSLSocketFactory.createSocket(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.mail.util.SocketFetcher.getSocket0(SocketFetcher.java:309)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:129)
at com.sun.mail.iap.Protocol.<init>(Protocol.java:66)
at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:69)
at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:414)


Please help me.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!