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

QQ登录

只需一步,快速开始

查看: 2723|回复: 4

[处理中3] action执行错误,already closed

[复制链接]

23

主题

122

帖子

195

积分

初级会员

Rank: 2

积分
195
QQ
发表于 2018-11-13 11:18:07 | 显示全部楼层 |阅读模式
2018-11-13 11:02:32 DataUtils.getConnection:java:comp/env/system,org.apache.tomc
at.dbcp.dbcp.PoolableConnection@c04a29
2018-11-13 11:02:32 Action[org/login/loginAction]执行失败,Already closed.
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at com.justep.baas.action.Engine.execAction(Unknown Source)
        at com.justep.baas.action.Engine.execAction(Unknown Source)
        at com.justep.baas.servlet.BaasServlet.execService(Unknown Source)
        at com.justep.baas.servlet.BaasServlet.service(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLException: Already closed.
        at org.apache.tomcat.dbcp.dbcp.PoolableConnection.close(PoolableConnecti
on.java:114)
        at org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrap
per.close(PoolingDataSource.java:191)
        at com.justep.baas.action.ActionContext$CoreConnection.forcedClose(Unkno
wn Source)
        at com.justep.baas.action.ActionContext.closeConnection(Unknown Source)
        at org.Login__do.loginAction(Login__do.java:118)
        ... 20 more
2018-11-13 11:02:32 Action[org/login/loginAction]执行失败,Already closed.
com.justep.baas.action.ActionException: Action[org/login/loginAction]执行失败,A
lready closed.
        at com.justep.baas.action.Engine.execAction(Unknown Source)
        at com.justep.baas.action.Engine.execAction(Unknown Source)
        at com.justep.baas.servlet.BaasServlet.execService(Unknown Source)
        at com.justep.baas.servlet.BaasServlet.service(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
        at java.lang.Thread.run(Thread.java:745)
2018-11-13 11:03:02 Connection attempt failed with 'java.net.ConnectException: C
onnection refused: connect'. Retrying.
2018-11-13 11:03:13 DataUtils.getConnection:java:comp/env/system,jdbc:mysql://12
7.0.0.1:3308/x5sys, UserName=root@localhost, MySQL Connector Java
null--->[HTTP/1.1 200 OK]
Server--->[akka-http/2.4.10]
Access-Control-Allow-Origin--->[*]
Access-Control-Allow-Credentials--->[true]
Access-Control-Allow-Methods--->[GET, POST, PUT]
Content-Length--->[19]
Date--->[Tue, 13 Nov 2018 03:03:13 GMT]
Access-Control-Allow-Headers--->[DNT,Keep-Alive,User-Agent,X-Requested-With,If-M
odified-Since,Cache-Control,Content-Type,Accept,Range]
Content-Type--->[text/plain; charset=UTF-8]
2018-11-13 11:03:14 DataUtils.getConnection:java:comp/env/system,jdbc:mysql://12
7.0.0.1:3308/x5sys, UserName=root@localhost, MySQL Connector Java
2018-11-13 11:03:16 DataUtils.getConnection:java:comp/env/system,jdbc:mysql://12
7.0.0.1:3308/x5sys, UserName=root@localhost, MySQL Connector Java
2018-11-13 11:03:19 DataUtils.getConnection:java:comp/env/work,org.apache.tomcat
.dbcp.dbcp.PoolableConnection@171b1a9
2018-11-13 11:03:19 Action[work/news/queryOa_news]执行失败,Already closed.

23

主题

122

帖子

195

积分

初级会员

Rank: 2

积分
195
QQ
 楼主| 发表于 2018-11-13 11:18:39 | 显示全部楼层
打开APP时会出现这个错误
回复 支持 反对

使用道具 举报

发表于 2018-11-13 13:28:09 | 显示全部楼层
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

1

主题

65

帖子

114

积分

初级会员

Rank: 2

积分
114
QQ
发表于 2018-11-13 17:49:36 | 显示全部楼层
good
个人作品展示:www.headset.xin
回复

使用道具 举报

23

主题

122

帖子

195

积分

初级会员

Rank: 2

积分
195
QQ
 楼主| 发表于 2018-12-2 10:25:30 | 显示全部楼层
嗯,谢谢,改了以后就一直没再出现这个错误。已解决可以结贴了
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-23 01:44 , Processed in 0.104764 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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