本帖最后由 hspcyeling 于 2018-5-16 13:02 编辑
是不支持tomcat 7 吗,我将系统自带的tomcat 6拷过去,运行正常。
HTTP Status 500 - 执行Action:joeshop/joeshop/queryImgdata失败,Action[joeshop/joeshop/queryImgdata]执行失败,获取数据库[java:comp/env/joeshop]连接失败,可能原因:数据库已经关闭或者数据源配置错误
type Exception report message 执行Action:joeshop/joeshop/queryImgdata失败,Action[joeshop/joeshop/queryImgdata]执行失败,获取数据库[java:comp/env/joeshop]连接失败,可能原因:数据库已经关闭或者数据源配置错误 description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: 执行Action:joeshop/joeshop/queryImgdata失败,Action[joeshop/joeshop/queryImgdata]执行失败,获取数据库[java:comp/env/joeshop]连接失败,可能原因:数据库已经关闭或者数据源配置错误 com.justep.baas.servlet.BaasServlet.execService(Unknown Source) com.justep.baas.servlet.BaasServlet.service(Unknown Source) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause com.justep.baas.action.ActionException: Action[joeshop/joeshop/queryImgdata]执行失败,获取数据库[java:comp/env/joeshop]连接失败,可能原因:数据库已经关闭或者数据源配置错误 com.justep.baas.action.Engine.execAction(Unknown Source) com.justep.baas.action.Engine.execAction(Unknown Source) com.justep.baas.servlet.BaasServlet.execService(Unknown Source) com.justep.baas.servlet.BaasServlet.service(Unknown Source) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.86 logs.
日志
信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@6c9f1e7f')
五月 16, 2018 12:07:44 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [WeX5_Baas_Servlet] in context with path [/baas] threw exception [执行Action:joeshop/joeshop/queryImgdata失败,Action[joeshop/joeshop/queryImgdata]执行失败,获取数据库[java:comp/env/joeshop]连接失败,可能原因:数据库已经关闭或者数据源配置错误] with root cause
com.justep.baas.action.ActionException: Action[joeshop/joeshop/queryImgdata]执行失败,获取数据库[java:comp/env/joeshop]连接失败,可能原因:数据库已经关闭或者数据源配置错误
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(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2555)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2544)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
|