[ABI 5.1] 计划任务发邮件异常

19696
13

bigeye0517 小试身手Lv3

发表于2020-7-8 09:55

悬赏1

已解决

楼主
我在设置了邮件服务器SMTP,并且用一个报表导出后发送邮件正常。
但我在计划任务里设置了发送邮件的地址,却收不到邮件。执行计划任务没报错,但没有显示发送邮件的相关信息。

最近看过此主题的会员

niuyi688988

嗨我来了

keer_

最佳答案
此问题补丁为 ABI-12570-ebibase2.zip (2.54 KB, 下载次数: )
补丁的安装步骤为:
1.下载补丁并解压
2.停止中间件服务,将解压后的文件夹按照对应路径替换至对应的文件中即可,
该补丁需要打到war包下面WEB-INF\lib里找到ebibase的jar相同路径中,用补丁里面的两个js文件替换相同路径下的两个js,替换前建议先备份原来的文件;
3.清理中间件及浏览器缓存后(若中间件是tomcat,需要删除temp和work文件夹下的所有文件),重启中间件服务器
4.针对于该问题,必须要清理浏览器缓存
具体可参考视频:https://pan.baidu.com/s/1kWFh39t

为方便您这边以后问题的处理,请您这边自行做好环境上已打补丁的记录和维护工作,感谢您的配合!

13个回答

只看楼主

xxxl 数据领袖Lv6

发表于2020-7-8 10:24

只看该作者

取消 关注该作者的回复

沙发

您在系统管理》性能与维护》java控制台》启动java控制台,再进行一遍您这个操作看看java控制台里有什么错误信息

bigeye0517 小试身手Lv3

发表于2020-7-8 10:35

只看该作者

取消 关注该作者的回复

板凳

  1. 2020-07-08 10:31:20.067 [http-nio-8080-exec-5] INFO  c.e.e.a.u.rptshow.ActionShowReport  request:org.apache.catalina.util.ParameterMap@205a6c75
  2. 2020-07-08 10:31:20.085 [http-nio-8080-exec-5] INFO  c.e.e.a.u.rptshow.ActionShowReport  reportid:EANA$2$2$1$9a7a1a9c603e4cf2b5ff07c3a7bfdebf$34f19e63d2a643c78aabdce0f03cfe80.rpttpl
  3. 2020-07-08 10:31:20.104 [http-nio-8080-exec-5] INFO  c.e.e.a.u.r.ActionShowReportPage  request:org.apache.catalina.util.ParameterMap@405a36c0
  4. 2020-07-08 10:31:20.119 [http-nio-8080-exec-8] ERROR o.s.b.web.support.ErrorPageFilter  Cannot forward to error page for request [/vfs/root/syan/vfs/root/syan/vfs/public/syan/stop.png] as the response has already been committed. As a result, the response may have the wrong status code. If your application is running on WebSphere Application Server you may be able to resolve this problem by setting com.ibm.ws.webcontainer.invokeFlushAfterService to false
  5. 2020-07-08 10:31:20.119 [http-nio-8080-exec-9] ERROR o.s.b.web.support.ErrorPageFilter  Cannot forward to error page for request [/vfs/root/syan/vfs/root/syan/vfs/public/syan/arrows.png] as the response has already been committed. As a result, the response may have the wrong status code. If your application is running on WebSphere Application Server you may be able to resolve this problem by setting com.ibm.ws.webcontainer.invokeFlushAfterService to false
  6. 2020-07-08 10:31:20.119 [http-nio-8080-exec-6] ERROR o.s.b.web.support.ErrorPageFilter  Cannot forward to error page for request [/vfs/root/syan/vfs/root/portals/resources/templates/coolblack/favicon.ico] as the response has already been committed. As a result, the response may have the wrong status code. If your application is running on WebSphere Application Server you may be able to resolve this problem by setting com.ibm.ws.webcontainer.invokeFlushAfterService to false
  7. 2020-07-08 10:31:20.119 [http-nio-8080-exec-1] ERROR o.s.b.web.support.ErrorPageFilter  Cannot forward to error page for request [/vfs/root/syan/vfs/root/syan/vfs/public/syan/play.png] as the response has already been committed. As a result, the response may have the wrong status code. If your application is running on WebSphere Application Server you may be able to resolve this problem by setting com.ibm.ws.webcontainer.invokeFlushAfterService to false
  8. 2020-07-08 10:31:20.120 [http-nio-8080-exec-5] INFO  c.e.e.a.u.r.ActionShowReportPage  reportid:EANA$2$2$1$9a7a1a9c603e4cf2b5ff07c3a7bfdebf$34f19e63d2a643c78aabdce0f03cfe80.rpttpl
  9. 2020-07-08 10:31:20.264 [http-nio-8080-exec-5] INFO  c.e.e.a.u.r.ActionShowReportPage  execute_calcnow
  10. 2020-07-08 10:31:21.397 [http-nio-8080-exec-5] INFO  c.e.e.w.GeneralHandlerMethodArgumentResolver  ClientResultHandlerMethodArgumentResolver.resolveArgument()
  11. 2020-07-08 10:32:10.482 [es_pool-thread-66] INFO  c.e.e.thread.ThreadPoolImpl  create new Thread with id : 2079
  12. 2020-07-08 10:32:20.498 [http-nio-8080-exec-6] INFO  c.e.e.a.u.rptshow.ActionShowReport  request:org.apache.catalina.util.ParameterMap@205a6c75
  13. 2020-07-08 10:32:20.514 [http-nio-8080-exec-6] INFO  c.e.e.a.u.rptshow.ActionShowReport  reportid:EANA$2$2$1$9a7a1a9c603e4cf2b5ff07c3a7bfdebf$c13fe5a55fc94111825cd0d21eaae9f3.rpttpl
  14. 2020-07-08 10:32:20.532 [http-nio-8080-exec-6] INFO  c.e.e.a.u.r.ActionShowReportPage  request:org.apache.catalina.util.ParameterMap@59058da9
  15. 2020-07-08 10:32:20.547 [http-nio-8080-exec-6] INFO  c.e.e.a.u.r.ActionShowReportPage  reportid:EANA$2$2$1$9a7a1a9c603e4cf2b5ff07c3a7bfdebf$c13fe5a55fc94111825cd0d21eaae9f3.rpttpl
  16. 2020-07-08 10:32:20.563 [http-nio-8080-exec-6] INFO  c.e.e.a.u.r.ActionShowReportPage  execute_calcnow
  17. 2020-07-08 10:32:21.384 [http-nio-8080-exec-4] INFO  c.e.e.w.GeneralHandlerMethodArgumentResolver  ClientResultHandlerMethodArgumentResolver.resolveArgument()
复制代码


受累帮忙看一下,什么意思

xxxl 数据领袖Lv6

发表于2020-7-8 11:48

只看该作者

取消 关注该作者的回复

地板

您的邮件配置是否正确在资源管理器的\root\conf\mail\mail-config.properties或者\root\mail\mail-config.properties文件中不同版本路径不一样,打开文件,根据注释配置相应的发送地址、登录账号、端口、邮箱密码。再者需要检查一下您的防火墙是否拦截了25端口

bigeye0517 小试身手Lv3

发表于2020-7-8 13:16

只看该作者

取消 关注该作者的回复

5#

我之前制作的报表,计算后,导出为Excel,然后用邮件发送,这个都是正常的,也能收到邮件。说明smtp的设置是没问题的。但为什么计划任务就不行呢?

xxxl 数据领袖Lv6

发表于2020-7-8 15:10

只看该作者

取消 关注该作者的回复

6#

bigeye0517 发表于 2020-7-8 13:16
我之前制作的报表,计算后,导出为Excel,然后用邮件发送,这个都是正常的,也能收到邮件。说明smtp的设置 ...

计划任务参考这个帖子设置您看看http://bbs.esensoft.com/thread-133920-1-1.html

bigeye0517 小试身手Lv3

发表于2020-7-9 10:34

只看该作者

取消 关注该作者的回复

7#

xxxl 发表于 2020-7-8 15:10
计划任务参考这个帖子设置您看看http://bbs.esensoft.com/thread-133920-1-1.html

你好,我按照这个帖子设置做了一遍,还是不行,请帮忙找技术人员看一下。谢谢!

xxxl 数据领袖Lv6

发表于2020-7-9 11:05

只看该作者

取消 关注该作者的回复

8#

bigeye0517 发表于 2020-7-9 10:34
你好,我按照这个帖子设置做了一遍,还是不行,请帮忙找技术人员看一下。谢谢! ...

您检查一下这里这个文件是否还存在

bigeye0517 小试身手Lv3

发表于2020-7-9 12:26

只看该作者

取消 关注该作者的回复

9#

xxxl 发表于 2020-7-9 11:05
您检查一下这里这个文件是否还存在

没有,syan文件夹下就这四个文件

xxxl 数据领袖Lv6

发表于2020-7-9 14:10

只看该作者

取消 关注该作者的回复

10#

bigeye0517 发表于 2020-7-9 12:26
没有,syan文件夹下就这四个文件

可能是bug了,我这边帮您提交帖子,您回一下我给您发的站内私信

xxxl 数据领袖Lv6

发表于2020-7-14 17:17

只看该作者

取消 关注该作者的回复

11#

可以再提供一下您计划任务具体是怎么配置的吗

上一页12下一页共2页

登录后可回答问题,请登录注册

快速回复 返回顶部 返回列表

小时

全天响应

分钟

快速处理问题

工程师强势助力

明星产品
解决方案
联系合作

400咨询:400-0011-866

技术支持QQ:400-0011-866(工作日9:00-18:00)

产品建议邮箱yixin@esensoft.com

关注我们

扫TA学习更多干货

一对一专家交流

版权所有© 2006-2024 北京亿信华辰软件有限责任公司 京ICP备07017321号 京公网安备11010802016281号