起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1735|回复: 5

[结贴] WeX5后台服务卡死情况

[复制链接]

10

主题

35

帖子

126

积分

初级会员

Rank: 2

积分
126
发表于 2018-7-14 11:35:58 | 显示全部楼层 |阅读模式
一个简单的列表页面连续反复刷新多几次时就发现卡死
浏览器里无反应
日志里只能看到如下信息:
2018-07-14 11:23:23 开始-WINDOW生成中间文件: /UI2/to/yard/ctMove.w
2018-07-14 11:23:23 结束-WINDOW生成中间文件: /UI2/to/yard/ctMove.w
2018-07-14 11:23:23 开始-中间文件生成缓存文件: /UI2/to/yard/ctMove.w
2018-07-14 11:23:23 结束-中间文件生成缓存文件: /UI2/to/yard/ctMove.w
2018-07-14 11:23:24 DataUtils.getConnection:java:comp/env/TM,jdbcracle:thin172.26.70.11:1521rcl, UserName=ZJCW0724, Oracle JDBC driver
2018-07-14 11:23:25 开始-WINDOW生成中间文件: /UI2/to/yard/ctMove.w
2018-07-14 11:23:25 结束-WINDOW生成中间文件: /UI2/to/yard/ctMove.w
2018-07-14 11:23:25 开始-中间文件生成缓存文件: /UI2/to/yard/ctMove.w
2018-07-14 11:23:25 结束-中间文件生成缓存文件: /UI2/to/yard/ctMove.w
2018-07-14 11:23:25 DataUtils.getConnection:java:comp/env/TM,jdbcracle:thin172.26.70.11:1521rcl, UserName=ZJCW0724, Oracle JDBC driver
2018-07-14 11:23:26 开始-WINDOW生成中间文件: /UI2/to/yard/ctMove.w
2018-07-14 11:23:26 结束-WINDOW生成中间文件: /UI2/to/yard/ctMove.w
2018-07-14 11:23:26 开始-中间文件生成缓存文件: /UI2/to/yard/ctMove.w
2018-07-14 11:23:26 结束-中间文件生成缓存文件: /UI2/to/yard/ctMove.w
2018-07-14 11:23:27 DataUtils.getConnection:java:comp/env/TM,jdbcracle:thin172.26.70.11:1521rcl, UserName=ZJCW0724, Oracle JDBC driver
2018-07-14 11:23:28 开始-WINDOW生成中间文件: /UI2/to/yard/ctMove.w
2018-07-14 11:23:28 结束-WINDOW生成中间文件: /UI2/to/yard/ctMove.w
2018-07-14 11:23:28 开始-中间文件生成缓存文件: /UI2/to/yard/ctMove.w
2018-07-14 11:23:28 结束-中间文件生成缓存文件: /UI2/to/yard/ctMove.w
2018-07-14 11:24:05 开始-WINDOW生成中间文件: /UI2/to/yard/ctMove.w
2018-07-14 11:24:05 结束-WINDOW生成中间文件: /UI2/to/yard/ctMove.w
2018-07-14 11:24:05 开始-中间文件生成缓存文件: /UI2/to/yard/ctMove.w
2018-07-14 11:24:05 结束-中间文件生成缓存文件: /UI2/to/yard/ctMove.w
2018-07-14 11:24:19 开始-WINDOW生成中间文件: /UI2/to/yard/ctMove.w
2018-07-14 11:24:19 结束-WINDOW生成中间文件: /UI2/to/yard/ctMove.w
2018-07-14 11:24:19 开始-中间文件生成缓存文件: /UI2/to/yard/ctMove.w
2018-07-14 11:24:19 结束-中间文件生成缓存文件: /UI2/to/yard/ctMove.w


卡死的情况日志里没有DataUtils.getConnection列出
会是哪个环节问题呢?

10

主题

35

帖子

126

积分

初级会员

Rank: 2

积分
126
 楼主| 发表于 2018-7-15 10:56:16 | 显示全部楼层
关闭tomcat时会有大量这个错误,是否有关?
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.Depends$1] (value [com.justep.ui.Depends$1@32050b]) and a value of type [com.justep.ui.Depends] (value [com.justep.ui.Depends@15f2099]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.JustepConfig$1] (value [com.justep.ui.JustepConfig$1@b87581]) and a value of type [java.lang.String] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.JustepConfig$1] (value [com.justep.ui.JustepConfig$1@b87581]) and a value of type [java.lang.String] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.WindowCompiler2$1] (value [com.justep.ui.WindowCompiler2$1@13e4d19]) and a value of type [java.lang.String] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.filesystem.a] (value [com.justep.filesystem.a@434cc8]) and a value of type [java.lang.String] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.WindowCompiler2$2] (value [com.justep.ui.WindowCompiler2$2@6b39c2]) and a value of type [java.lang.Boolean] (value [true]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.Depends$1] (value [com.justep.ui.Depends$1@32050b]) and a value of type [com.justep.ui.Depends] (value [com.justep.ui.Depends@12f3ee]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.JustepConfig$1] (value [com.justep.ui.JustepConfig$1@b87581]) and a value of type [java.lang.String] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.WindowCompiler2$1] (value [com.justep.ui.WindowCompiler2$1@13e4d19]) and a value of type [java.lang.String] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.filesystem.a] (value [com.justep.filesystem.a@434cc8]) and a value of type [java.lang.String] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.WindowCompiler2$2] (value [com.justep.ui.WindowCompiler2$2@6b39c2]) and a value of type [java.lang.Boolean] (value [true]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.Depends$1] (value [com.justep.ui.Depends$1@32050b]) and a value of type [com.justep.ui.Depends] (value [com.justep.ui.Depends@1467c87]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.JustepConfig$1] (value [com.justep.ui.JustepConfig$1@b87581]) and a value of type [java.lang.String] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.WindowCompiler2$1] (value [com.justep.ui.WindowCompiler2$1@13e4d19]) and a value of type [java.lang.String] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.filesystem.a] (value [com.justep.filesystem.a@434cc8]) and a value of type [java.lang.String] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.WindowCompiler2$2] (value [com.justep.ui.WindowCompiler2$2@6b39c2]) and a value of type [java.lang.Boolean] (value [true]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.filesystem.a] (value [com.justep.filesystem.a@434cc8]) and a value of type [java.lang.String] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.JustepConfig$1] (value [com.justep.ui.JustepConfig$1@b87581]) and a value of type [java.lang.String] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.WindowCompiler2$1] (value [com.justep.ui.WindowCompiler2$1@13e4d19]) and a value of type [java.lang.String] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.filesystem.a] (value [com.justep.filesystem.a@434cc8]) and a value of type [java.lang.String] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.WindowCompiler2$2] (value [com.justep.ui.WindowCompiler2$2@6b39c2]) and a value of type [java.lang.Boolean] (value [true]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
七月 15, 2018 10:54:06 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/x5] created a ThreadLocal with key of type [com.justep.ui.Depends$1] (value [com.justep.ui.Depends$1@32050b]) and a value of type [com.justep.ui.Depends] (value [com.justep.ui.Depends@1182679]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
回复 支持 反对

使用道具 举报

10

主题

35

帖子

126

积分

初级会员

Rank: 2

积分
126
 楼主| 发表于 2018-7-15 11:06:41 | 显示全部楼层
跟踪前端卡死的请求:
wex5卡死.png
回复 支持 反对

使用道具 举报

10

主题

35

帖子

126

积分

初级会员

Rank: 2

积分
126
 楼主| 发表于 2018-7-15 11:53:56 | 显示全部楼层
已解决,请结帖
回复 支持 反对

使用道具 举报

发表于 2018-7-16 15:41:17 | 显示全部楼层

请问什么原因??欢迎分享解决方法
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

10

主题

35

帖子

126

积分

初级会员

Rank: 2

积分
126
 楼主| 发表于 2018-7-19 10:34:58 | 显示全部楼层
自己写的代码里调用DataUtils的query方法,忘了对Connection进行close了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-5-4 15:56 , Processed in 0.070145 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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