0

使用 WebDSl eclipse 插件将我的 webDSL 应用程序部署到 Tomcat v6.0 时出现以下错误

    type Exception report

    message 

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception 

   javax.servlet.ServletException: Servlet.init() for servlet mainservlet threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Unknown Source)


    root cause 

    org.hibernate.TransactionException: Transaction not successfully started
org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:179)
utils.DispatchServlet.tryLoadGlobalsAndPerformInit(DispatchServlet.java:31)
utils.DispatchServlet.init(DispatchServlet.java:39)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Unknown Source)

它昨晚停止工作。我尝试重新启动但不起作用:(

4

1 回答 1

0

“事务未成功启动”错误表明数据库连接存在问题。尝试使用命令行客户端登录 MySQL,以验证 MySQL 是否正在运行并且凭据是否正确。登录后,检查数据库是否存在。

如需进一步帮助,您还可以访问 IRC(irc.freenode.net 上的#webdsl 频道),在邮件列表中提问(https://mailman.st.ewi.tudelft.nl/listinfo/webdsl),或在http上发布问题://yellowgrass.org/project/WebDSL

于 2013-08-22T10:46:50.343 回答