当Microsoft数据库的事务日志已满时,我的jsp站点以及asp站点开始抛出错误消息。所以我进入并缩小了日志文件,asp网站开始工作得很好,但是jsp网站仍然因为无法启动新事务而抛出错误。我是JSP的新手,所以仍然想弄明白。 JSP站点在Windows机器上的tomcat服务器上运行。我需要做些什么才能重置jsp站点。我附上了堆栈跟踪:
processloginaction com.ibatis.common.jdbc.exception.NestedSQLException:无法启动事务。原因:com.ibatis.sqlmap.engine.transaction.TransactionException:TransactionManager无法启动新事务。交易已经开始。引起:com.ibatis.sqlmap.engine.transaction.TransactionException:TransactionManager无法启动新事务。交易已经开始。在com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.startTransaction(SqlMapExecutorDelegate.java:728)在com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.startTransaction(SqlMapSessionImpl.java:129)在com.ibatis.sqlmap.engine .impl.SqlMapClientImpl.startTransaction(SqlMapClientImpl.java:101)在action.ProcessLoginAction.execute(ProcessLoginAction.java:170)在org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)在org.apache。 struts.action.RequestProcessor.process(RequestProcessor.java:226)在org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)在org.apache.struts.action.ActionServlet.doPost(ActionServlet.java: 415)在javax.servlet.http.HttpServlet.service(HttpServlet.java:709)在javax.servlet.http.HttpServlet.service(HttpServlet.java:802)在org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain .java:252)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 173)在org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)在org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)在org.apache.catalina.core.StandardHostValve .invoke(StandardHostValve.java:126)在org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)在org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)在有机apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)在org.apache.coyote.http11.Http11Processor.process(Http11Processor。 Java的:869)在org.apache.coyote.http11.Http11BaseProtocol $在org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)在org.apache Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) .tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)at org.apache.tomcat.util.threads.Thr eadPool $ ControlRunnable.run(ThreadPool.java:684)在java.lang.Thread.run(Thread.java:619)产生的原因:com.ibatis.sqlmap.engine.transaction.TransactionException:事务管理器无法启动新的事务。交易已经开始。 at com.ibatis.sqlmap.engine.transaction.TransactionManager.begin(TransactionManager.java:46)at com.ibatis.sqlmap.engine.transaction.TransactionManager.begin(TransactionManager.java:39)at com.ibatis.sqlmap.engine com.ibatis.sqlmap.engine.transaction.TransactionException:.impl.SqlMapExecutorDelegate.startTransaction(SqlMapExecutorDelegate.java:726)... 24由多个引起事务管理器无法启动新的事务。交易已经开始。 at com.ibatis.sqlmap.engine.transaction.TransactionManager.begin(TransactionManager.java:46)at com.ibatis.sqlmap.engine.transaction.TransactionManager.begin(TransactionManager.java:39)at com.ibatis.sqlmap.engine .impl.SqlMapExecutorDelegate.startTransaction(SqlMapExecutorDelegate.java:726)在com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.startTransaction(SqlMapSessionImpl.java:129)在com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.startTransaction(SqlMapClientImpl的.java:101)在action.ProcessLoginAction.execute(ProcessLoginAction.java:170)在org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)在org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:226)在org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)在org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)在javax.servlet.http包.httpServlet.service(HttpServlet.java:709)在javax.servlet.http.HttpServlet.service(HttpServlet.java:802)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)在org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)在org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:213)在org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)在org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)在org.apache.catalina .valves.ErrorReportValve.invoke(ErrorReportValve.java:105)在org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)在org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107 )在org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)在org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)在org.apache.coyote.http11.Http11BaseProtocol $ org.apache.tomcat.util.net.PoolTc上的Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) pEndpoint.processSocket(PoolTcpEndpoint.java:527)org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)at org.apache.tomcat.util.threads.ThreadPool $ ControlRunnable.run(ThreadPool。 java:684)在java.lang.Thread.run(Thread.java:619)
答案 0 :(得分:0)
我想重新启动服务器对我有用。但不明白为什么?
答案 1 :(得分:0)
您可能已在当前正在运行的事务中启动了另一个事务。如果要在一个事务中运行另一个事务,请尝试使用线程