Java Mail:Exception reading response; nested exception is: java.net.SocketException: Conne

原创 2013年12月03日 17:23:46
2013-12-03 17:17:56,740 INFO [com.amaxgs.sonoscape.k3integration.business.ERPInt
egration] - Prepare connect database, please waiting...................
2013-12-03 17:17:56,756 INFO [com.amaxgs.sonoscape.k3integration.business.ERPInt
egration] - Successfully connect database!
2013-12-03 17:17:56,917 INFO [com.amaxgs.sonoscape.k3integration.business.ERPInt
egration] - Mail Sever : 
2013-12-03 17:17:56,917 INFO [com.amaxgs.sonoscape.k3integration.business.ERPInt
egration] - Mail User : 
2013-12-03 17:17:56,918 INFO [com.amaxgs.sonoscape.k3integration.business.ERPInt
egration] - Mail Password : 
javax.mail.MessagingException: Exception reading response;
  nested exception is:
        java.net.SocketException: Connection reset
        at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java
:1462)
        at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260)
        at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:37
0)
        at javax.mail.Service.connect(Service.java:275)
        at javax.mail.Service.connect(Service.java:156)
        at com.amaxgs.sonoscape.k3integration.util.Mail.sendout(Mail.java:148)
        at com.amaxgs.sonoscape.k3integration.dao.AgileTempDao.checkSuccess(Agil
eTempDao.java:96)

相关文章推荐

Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.Conne

运行javaEE出现这样的问题: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION...

nested exception is java.net.UnknownHostException: ibatis.apache.org

程序是使用ant打包的jar包服务,在windows上可正常运行,但是移植到linux上后,使用java -jar jar包名,运行这个jar包,会报下边的这些问题: Caused by: org....

HTTP Status 500 - Handler processing failed; nested exception is java.lang.OutOfMemoryError: PermGen

HTTP Status 500 - Handler processing failed; nested exception is java.lang.OutOfMemoryError: PermGen...

spring quartz:Instantiation of bean failed; nested exception is java.lang.IncompatibleClassChangeErr

spring 调度类初始化失败,分析是jar包冲突,日志如下: org.springframework.beans.factory.BeanCreationException: Error creat...

Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: 'sessionFa

添加上如下的一句就可以了 default-autowire="byName" default-lazy-init="true" 然后Spring的配置改为 ...

Request processing failed; nested exception is java.lang.NullPointerException

七月 14, 2017 4:38:59 下午 org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service(...

spring-data-redis用配置类连接时,抛异常Cannot get Jedis connection; nested exception is java.lang.NullPointerE

前提:Redis服务器已经运行,且端口号,服务器地址都已经配置正常,但任然抛出无法获取连接异常 原来的代码如下:[java] view plain copy print?@Bean     publi...
  • JavaMoo
  • JavaMoo
  • 2017年07月27日 19:32
  • 950

Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: com/mchange/v2/ser

在学习spring的过程中,运用c3p0作为数据源,练习配置bean的外部文件加载,出现如下错误: org.springframework.beans.factory.BeanCreatio...

spring RMI demo运行报错-nested exception is java.rmi.ConnectException: Connection refused to host: local

spring RMI demo运行报错
  • just3do
  • just3do
  • 2017年06月16日 11:18
  • 540

nested exception is java.lang.NoSuchFieldError: FAIL_ON_SYMBOL_HASH_OVERFLOW

背景: 今天往项目中集成elasticsearch的时候,在spring.xml中通过xml注入bean的时候,出现下面的异常: org.springframework.beans.facto...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Java Mail:Exception reading response; nested exception is: java.net.SocketException: Conne
举报原因:
原因补充:

(最多只允许输入30个字)