內容 |
|
由于jforum是一个用maven的构建标准开发的一个项目,故我在eclipse调试运行的时候首先考虑用到的web容器就是jetty,其二是 tomcat,
打开如下网址: http://localhost:8080/jforum/install.jsp
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page /install.jsp at line 1
1: <jsp:forward page="install/install.page?module=install&action=welcome"/>
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:553)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:442)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause
javax.servlet.ServletException: Servlet.init() for servlet install threw exception
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
org.apache.jsp.install_jsp._jspService(install_jsp.java:60)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause
net.jforum.exceptions.ForumStartupException: Error while starting JForum
freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
java.security.AccessController.doPrivileged(Native Method)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:108)
net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
org.apache.jsp.install_jsp._jspService(install_jsp.java:60)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause
java.io.FileNotFoundException: C:\shunWS\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jforum\templates does not exist.
freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
java.security.AccessController.doPrivileged(Native Method)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:108)
net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
org.apache.jsp.install_jsp._jspService(install_jsp.java:60)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.16 logs.
Apache Tomcat/7.0.16
以下是eclipse打印出的日记记录:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page /install.jsp at line 1
1: <jsp:forward page="install/install.page?module=install&action=welcome"/>
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:553)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:442)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause
javax.servlet.ServletException: Servlet.init() for servlet install threw exception
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
org.apache.jsp.install_jsp._jspService(install_jsp.java:60)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause
net.jforum.exceptions.ForumStartupException: Error while starting JForum
freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
java.security.AccessController.doPrivileged(Native Method)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:108)
net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
org.apache.jsp.install_jsp._jspService(install_jsp.java:60)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause
java.io.FileNotFoundException: C:\shunWS\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jforum\templates does not exist.
freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
java.security.AccessController.doPrivileged(Native Method)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:108)
net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
org.apache.jsp.install_jsp._jspService(install_jsp.java:60)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.16 logs.
Apache Tomcat/7.0.16
jetty
HTTP ERROR 500
Problem accessing /jforum/install.jsp. Reason:
Error while starting JForum
Caused by:
net.jforum.exceptions.ForumStartupException: Error while starting JForum
at freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
at java.security.AccessController.doPrivileged(Native Method)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:108)
at net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:767)
at org.apache.jsp.install_jsp._jspService(org.apache.jsp.install_jsp:46)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: java.io.FileNotFoundException: C:\shunWS\jforum\src\main\webapp\templates does not exist.
... 38 more
Caused by:
java.io.FileNotFoundException: C:\shunWS\jforum\src\main\webapp\templates does not exist.
at freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
at java.security.AccessController.doPrivileged(Native Method)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:108)
at net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:767)
at org.apache.jsp.install_jsp._jspService(org.apache.jsp.install_jsp:46)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Powered by Jetty://
以下是eclipse下使用jetty时候打印出的日记记录:
Running Jetty 6.1.26
2013-10-11 19:50:33.703:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
ParentLoaderPriority enabled
Context path:/jforum
ProjectClassLoader: entry=C:\shunWS\jforum\target\classes
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\dumbster\dumbster\1.6\dumbster-1.6.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\junit\junit\4.11\junit-4.11.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\javax\activation\activation\1.1.1\activation-1.1.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\javax\mail\mail\1.4.7\mail-1.4.7.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\jdom\jdom2\2.0.5\jdom2-2.0.5.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\commons-codec\commons-codec\1.6\commons-codec-1.6.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\commons-fileupload\commons-fileupload\1.3\commons-fileupload-1.3.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\commons-io\commons-io\2.2\commons-io-2.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\freemarker\freemarker\2.3.19\freemarker-2.3.19.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\htmlparser\htmlparser\2.1\htmlparser-2.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\htmlparser\htmllexer\2.1\htmllexer-2.1.jar
ProjectClassLoader: entry=C:\Program Files\Java\jdk1.6.0_26\lib\tools.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\lucene\lucene-analyzers\3.6.2\lucene-analyzers-3.6.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\lucene\lucene-core\3.6.2\lucene-core-3.6.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\lucene\lucene-highlighter\3.6.2\lucene-highlighter-3.6.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\lucene\lucene-memory\3.6.2\lucene-memory-3.6.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\lucene\lucene-queries\3.6.2\lucene-queries-3.6.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\jakarta-regexp\jakarta-regexp\1.4\jakarta-regexp-1.4.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\beanshell\bsh\2.0b5\bsh-2.0b5.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\quartz-scheduler\quartz\2.1.7\quartz-2.1.7.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\jboss\cache\jbosscache-core\3.2.7.GA\jbosscache-core-3.2.7.GA.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\jboss\javaee\jboss-transaction-api\1.0.1.GA\jboss-transaction-api-1.0.1.GA.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\jboss\jboss-common-core\2.2.19.GA\jboss-common-core-2.2.19.GA.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\jboss\logging\jboss-logging-spi\2.1.2.GA\jboss-logging-spi-2.1.2.GA.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\net\sf\ehcache\ehcache-core\2.4.8\ehcache-core-2.4.8.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\net\sf\ehcache\ehcache-jgroupsreplication\1.4\ehcache-jgroupsreplication-1.4.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\jgroups\jgroups\2.12.3.Final\jgroups-2.12.3.Final.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\octo\captcha\jcaptcha\1.0\jcaptcha-1.0.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\octo\captcha\jcaptcha-api\1.0\jcaptcha-api-1.0.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\jhlabs\imaging\01012005\imaging-01012005.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\slf4j\slf4j-api\1.7.5\slf4j-api-1.7.5.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\slf4j\slf4j-log4j12\1.7.5\slf4j-log4j12-1.7.5.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\c3p0\c3p0\0.9.1.2\c3p0-0.9.1.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\mysql\mysql-connector-java\5.1.25\mysql-connector-java-5.1.25.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\postgresql\postgresql\9.1-901.jdbc3\postgresql-9.1-901.jdbc3.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\hsqldb\hsqldb\2.2.9\hsqldb-2.2.9.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\oracle\ojdbc14\10.2.0.4.0\ojdbc14-10.2.0.4.0.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\tika\tika-parsers\1.4\tika-parsers-1.4.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\tika\tika-core\1.4\tika-core-1.4.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\gagravarr\vorbis-java-tika\0.1\vorbis-java-tika-0.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\gagravarr\vorbis-java-core\0.1\vorbis-java-core-0.1-tests.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\edu\ucar\netcdf\4.2-min\netcdf-4.2-min.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\james\apache-mime4j-core\0.7.2\apache-mime4j-core-0.7.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\james\apache-mime4j-dom\0.7.2\apache-mime4j-dom-0.7.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\commons\commons-compress\1.5\commons-compress-1.5.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\tukaani\xz\1.2\xz-1.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\pdfbox\pdfbox\1.8.1\pdfbox-1.8.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\pdfbox\fontbox\1.8.1\fontbox-1.8.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\pdfbox\jempbox\1.8.1\jempbox-1.8.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\bouncycastle\bcmail-jdk15\1.45\bcmail-jdk15-1.45.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\bouncycastle\bcprov-jdk15\1.45\bcprov-jdk15-1.45.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\poi\poi\3.9\poi-3.9.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\poi\poi-scratchpad\3.9\poi-scratchpad-3.9.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\poi\poi-ooxml\3.9\poi-ooxml-3.9.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\poi\poi-ooxml-schemas\3.9\poi-ooxml-schemas-3.9.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\xmlbeans\xmlbeans\2.3.0\xmlbeans-2.3.0.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\apache\geronimo\specs\geronimo-stax-api_1.0_spec\1.0.1\geronimo-stax-api_1.0_spec-1.0.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\ccil\cowan\tagsoup\tagsoup\1.2.1\tagsoup-1.2.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\ow2\asm\asm-debug-all\4.1\asm-debug-all-4.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\googlecode\mp4parser\isoparser\1.0-RC-1\isoparser-1.0-RC-1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\aspectj\aspectjrt\1.6.11\aspectjrt-1.6.11.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\drewnoakes\metadata-extractor\2.6.2\metadata-extractor-2.6.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\adobe\xmp\xmpcore\5.1.2\xmpcore-5.1.2.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\xerces\xercesImpl\2.8.1\xercesImpl-2.8.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\xml-apis\xml-apis\1.3.03\xml-apis-1.3.03.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\de\l3s\boilerpipe\boilerpipe\1.1.0\boilerpipe-1.1.0.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\rome\rome\0.9\rome-0.9.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\jdom\jdom\1.0\jdom-1.0.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\org\gagravarr\vorbis-java-core\0.1\vorbis-java-core-0.1.jar
ProjectClassLoader: entry=C:\Documents and Settings\shun\.m2\repository\com\googlecode\juniversalchardet\juniversalchardet\1.0.3\juniversalchardet-1.0.3.jar
ProjectClassLoader: entry=C:\shunWS\jforum\src\main\webapp\WEB-INF\lib\sqljdbc4.jar
Excluded entry=C:\shunWS\jforum\target\test-classes
2013-10-11 19:50:33.875:INFO::jetty-6.1.26
2013-10-11 19:50:34.953:INFO::Started SelectChannelConnector@0.0.0.0:8080
2013-10-11 19:51:53.453:WARN:/jforum:unavailable
net.jforum.exceptions.ForumStartupException: Error while starting JForum
at freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
at java.security.AccessController.doPrivileged(Native Method)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:10
at net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:767)
at org.apache.jsp.install_jsp._jspService(org.apache.jsp.install_jsp:46)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:92
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
2013-10-11 19:51:53.453:WARN::/jforum/install.jsp
net.jforum.exceptions.ForumStartupException: Error while starting JForum
at freemarker.cache.FileTemplateLoader$1.run(FileTemplateLoader.java:125)
at java.security.AccessController.doPrivileged(Native Method)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:122)
at freemarker.cache.FileTemplateLoader.<init>(FileTemplateLoader.java:10
at net.jforum.JForumBaseServlet.init(JForumBaseServlet.java:100)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:767)
at org.apache.jsp.install_jsp._jspService(org.apache.jsp.install_jsp:46)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:92
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
望指点...谢谢..
|
 |
|
使用以下命令之前,您已在D盘下建有app文件夹,且存放有ojdbc14.jar包
D:\>mvn install:install-file -Dfile=D:\app\ojdbc14.jar -DgroupId=com.oracle -D artifactId=ojdbc14 -Dversion=10.2.0.4.0 -Dpackaging=jar
|
 |
|
Downloaded: http://repo1.maven.org/maven2/com/thoughtworks/xstream/xstream/1.4.3/xstream-1.4.3.jar (471 KB at 191.7 KB/sec)
Downloaded: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/3.0.8/plexus-utils-3.0.8.jar (227 KB at 146.2 KB/sec)
[INFO] Packaging webapp
[INFO] Assembling webapp [jforum] in [C:\Users\shun\workspace\iforum\target\jforum]
[INFO] Processing war project
[INFO] Copying webapp webResources [C:\Users\shun\workspace\iforum\.] to [C:\Users\shun\workspace\iforum\target\jforum]
[INFO] Copying webapp resources [C:\Users\shun\workspace\iforum\src\main\webapp]
[INFO] Building jar: C:\Users\shun\workspace\iforum\target\jforum\WEB-INF\lib\jforum-2.3.5-snapshot.jar
[INFO] Webapp assembled in [8635 msecs]
[INFO] Building war: C:\Users\shun\workspace\iforum\target\jforum.war
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ jforum ---
[INFO] Installing C:\Users\shun\workspace\iforum\target\jforum.war to C:\Users\shun\.m2\repository\net\jforum\jforum\2.3.5-snapshot\jforum-2.3.5-snapshot.war
[INFO] Installing C:\Users\shun\workspace\iforum\pom.xml to C:\Users\shun\.m2\repository\net\jforum\jforum\2.3.5-snapshot\jforum-2.3.5-snapshot.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.668s
[INFO] Finished at: Mon Sep 23 20:46:17 CST 2013
[INFO] Final Memory: 7M/17M
[INFO] ------------------------------------------------------------------------
问题已解决...
|
 |
|
shun wrote:
INSERT INTO jforum_api (api_key, api_validity) VALUES ('api.key.test', '2013-09-24 00:00:00')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2375)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2359)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
at net.jforum.api.integration.rest.ApiInsertDeleteDAO.insert(RESTAuthenticationTestCase.java:122)
at net.jforum.api.integration.rest.RESTAuthenticationTestCase.createApiKey(RESTAuthenticationTestCase.java:61)
at net.jforum.api.integration.rest.RESTAuthenticationTestCase.setUp(RESTAuthenticationTestCase.java:91)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:56,882 DEBUG [DefaultConnectionTester] Testing a Connection in response to an Exception:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_api' doesn't exist
Query being executed when exception was thrown:
INSERT INTO jforum_api (api_key, api_validity) VALUES ('api.key.test', '2013-09-24 00:00:00')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2375)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2359)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
at net.jforum.api.integration.rest.ApiInsertDeleteDAO.insert(RESTAuthenticationTestCase.java:122)
at net.jforum.api.integration.rest.RESTAuthenticationTestCase.createApiKey(RESTAuthenticationTestCase.java:61)
at net.jforum.api.integration.rest.RESTAuthenticationTestCase.setUp(RESTAuthenticationTestCase.java:91)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.068 sec <<< FAILURE!
Running net.jforum.AutoLoginTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running net.jforum.entities.BanlistTestCase
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running net.jforum.entities.PoolChangesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running net.jforum.entities.TopicTypeComparatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running net.jforum.OnlineUsersTest
10:17:56,946 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:56,958 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:56,958 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:56,958 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:56,958 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:56,958 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:56,959 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:56,959 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:56,959 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:56,959 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:56,959 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:56,959 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:56,959 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:56,962 DEBUG [SessionFacade ] Removing session 0_1379902676960
10:17:56,962 DEBUG [SessionFacade ] Removing session 1_1379902676960
10:17:56,962 DEBUG [SessionFacade ] Removing session logged_1379902676962
10:17:56,962 DEBUG [SessionFacade ] Removing session 0_1379902676962
10:17:56,962 DEBUG [SessionFacade ] Removing session 1_1379902676962
10:17:56,963 DEBUG [SessionFacade ] Removing session 2_1379902676962
10:17:56,963 DEBUG [SessionFacade ] Removing session 1_1379902676963
10:17:56,963 DEBUG [SessionFacade ] Removing session 1_1379902676963
10:17:56,963 DEBUG [SessionFacade ] Removing session 3_1379902676963
10:17:56,963 DEBUG [SessionFacade ] Removing session 2_1379902676963
10:17:56,963 DEBUG [SessionFacade ] Removing session 3_1379902676963
10:17:56,963 DEBUG [SessionFacade ] Removing session 4_1379902676963
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
Running net.jforum.search.LuceneSearchTestCase
10:17:56,980 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,185 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:1> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:lucene is a gem in the open source world>>
10:17:57,227 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:2> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:lucene in action is the authoritative guide to lucene>>
10:17:57,230 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:1> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:Powers search in surprising places [...] open to everyone>>
10:17:57,235 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:2> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:It introduces you to searching, sorting, filtering and highlighting [...]>>
10:17:57,242 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:1> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:How to integrate lucene into your applications>>
10:17:57,248 INFO [LuceneSearch ] searching for: open lucene xpto authoritative
10:17:57,262 INFO [LuceneSearch ] criteria=[+(forum.id:1) AND +((contents:open OR subject:open)(contents:lucene OR subject:lucene)(contents:xpto OR subject:xpto)(contents:authoritative OR subject:authoritative))]
10:17:57,305 INFO [LuceneSearch ] hits=3
10:17:57,306 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,311 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:1> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:>>
10:17:57,317 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:2> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:>>
10:17:57,322 INFO [LuceneSearch ] searching for:
10:17:57,322 INFO [LuceneSearch ] criteria=[+(forum.id:1)]
10:17:57,323 INFO [LuceneSearch ] hits=1
10:17:57,323 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,326 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:lucene is a gem in the open source world>>
10:17:57,329 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:lucene in action is the authoritative guide to lucene>>
10:17:57,335 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:Powers search in surprising places [...] open to everyone>>
10:17:57,337 INFO [LuceneSearch ] searching for: open lucene
10:17:57,337 INFO [LuceneSearch ] criteria=[+((contents:open OR subject:open)(contents:lucene OR subject:lucene))]
10:17:57,341 INFO [LuceneSearch ] hits=3
10:17:57,342 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,345 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:java> indexed,tokenized<contents:>>
10:17:57,347 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:something else> indexed,tokenized<contents:>>
10:17:57,350 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:debug> indexed,tokenized<contents:>>
10:17:57,352 INFO [LuceneSearch ] searching for: java
10:17:57,352 INFO [LuceneSearch ] criteria=[+(+(contents:java OR subject:java))]
10:17:57,353 INFO [LuceneSearch ] hits=1
10:17:57,353 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,356 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:a regular text with some magic word>>
10:17:57,358 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:say shazan to see the magic happen>>
10:17:57,360 INFO [LuceneSearch ] searching for: magic regular
10:17:57,360 INFO [LuceneSearch ] criteria=[+(+(contents:magic OR subject:magic)+(contents:regular OR subject:regular))]
10:17:57,361 INFO [LuceneSearch ] hits=1
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.396 sec
Running net.jforum.summary.SummaryTest
10:17:57,366 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,367 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties ...
10:17:57,368 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties
10:17:57,368 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/generic/generic_queries.sql ...
10:17:57,369 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.sql ...
10:17:57,369 INFO [ConfigLoader ] Loading data access driver net.jforum.dao.mysql.MysqlDataAccessDriver
10:17:57,374 DEBUG [DynamicPooledDataSourceManagerMBean] MBean: com.mchange.v2.c3p0:type=PooledDataSource[1hge32a8xk59p8y1pel8f9|1024994] registered.
10:17:57,374 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties ...
10:17:57,375 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties
10:17:57,378 DEBUG [NewPooledConnection ] com.mchange.v2.c3p0.impl.NewPooledConnection@1ce3fc5 handling a throwable.
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,378 DEBUG [SqlUtils ] Attempted to convert SQLException to SQLException. Leaving it alone. [SQLState: 42S02; errorCode: 1146]
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,379 DEBUG [DefaultConnectionTester] Testing a Connection in response to an Exception:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,382 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,383 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties ...
10:17:57,383 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties
10:17:57,383 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/generic/generic_queries.sql ...
10:17:57,384 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.sql ...
10:17:57,384 INFO [ConfigLoader ] Loading data access driver net.jforum.dao.mysql.MysqlDataAccessDriver
10:17:57,392 DEBUG [DynamicPooledDataSourceManagerMBean] MBean: com.mchange.v2.c3p0:type=PooledDataSource[1hge32a8xk59p8y1pel8f9|18bbf55] registered.
10:17:57,393 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties ...
10:17:57,393 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.<init>(ServerSocket.java:194)
at java.net.ServerSocket.<init>(ServerSocket.java:106)
at com.dumbster.smtp.SimpleSmtpServer.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
10:17:57,395 DEBUG [NewPooledConnection ] com.mchange.v2.c3p0.impl.NewPooledConnection@1ce3fc5 handling a throwable.
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,395 DEBUG [SqlUtils ] Attempted to convert SQLException to SQLException. Leaving it alone. [SQLState: 42S02; errorCode: 1146]
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,396 DEBUG [DefaultConnectionTester] Testing a Connection in response to an Exception:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,398 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,399 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties ...
10:17:57,400 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties
10:17:57,400 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/generic/generic_queries.sql ...
10:17:57,401 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.sql ...
10:17:57,401 INFO [ConfigLoader ] Loading data access driver net.jforum.dao.mysql.MysqlDataAccessDriver
10:17:57,406 DEBUG [DynamicPooledDataSourceManagerMBean] MBean: com.mchange.v2.c3p0:type=PooledDataSource[1hge32a8xk59p8y1pel8f9|1e91a4d] registered.
10:17:57,407 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties ...
10:17:57,407 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.<init>(ServerSocket.java:194)
at java.net.ServerSocket.<init>(ServerSocket.java:106)
at com.dumbster.smtp.SimpleSmtpServer.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
10:17:57,410 DEBUG [NewPooledConnection ] com.mchange.v2.c3p0.impl.NewPooledConnection@1ce3fc5 handling a throwable.
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,411 DEBUG [SqlUtils ] Attempted to convert SQLException to SQLException. Leaving it alone. [SQLState: 42S02; errorCode: 1146]
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,411 DEBUG [DefaultConnectionTester] Testing a Connection in response to an Exception:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,419 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,420 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties ...
10:17:57,420 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties
10:17:57,420 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/generic/generic_queries.sql ...
10:17:57,424 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.sql ...
10:17:57,425 INFO [ConfigLoader ] Loading data access driver net.jforum.dao.mysql.MysqlDataAccessDriver
10:17:57,430 DEBUG [DynamicPooledDataSourceManagerMBean] MBean: com.mchange.v2.c3p0:type=PooledDataSource[1hge32a8xk59p8y1pel8f9|96b5c2] registered.
10:17:57,431 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties ...
10:17:57,431 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.<init>(ServerSocket.java:194)
at java.net.ServerSocket.<init>(ServerSocket.java:106)
at com.dumbster.smtp.SimpleSmtpServer.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
10:17:57,433 DEBUG [NewPooledConnection ] com.mchange.v2.c3p0.impl.NewPooledConnection@1ce3fc5 handling a throwable.
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.GeneratedConstructorAccessor6.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,433 DEBUG [SqlUtils ] Attempted to convert SQLException to SQLException. Leaving it alone. [SQLState: 42S02; errorCode: 1146]
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.GeneratedConstructorAccessor6.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,435 DEBUG [DefaultConnectionTester] Testing a Connection in response to an Exception:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.GeneratedConstructorAccessor6.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.073 sec <<< FAILURE!
Running net.jforum.util.I18nTest
10:17:57,444 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,449 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,449 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,449 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,449 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,449 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,449 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,450 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,450 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,450 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,450 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,450 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,450 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,450 INFO [FileMonitor ] Watching /C:/Users/shun/workspace/iforum/target/test-classes/config/languages/default.properties
10:17:57,451 INFO [FileMonitor ] Watching /C:/Users/shun/workspace/iforum/target/test-classes/config/languages/orange.properties
10:17:57,451 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,454 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,455 INFO [FileMonitor ] Watching /C:/Users/shun/workspace/iforum/target/test-classes/config/languages/cheese.properties
10:17:57,455 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,458 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,458 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,460 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,460 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,460 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,460 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,460 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,460 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,460 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,461 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,461 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,461 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,461 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,461 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,461 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,464 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,464 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,464 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,464 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,466 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,469 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,470 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,473 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,474 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,477 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,478 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,481 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,482 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,485 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,486 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,486 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec
Running net.jforum.util.preferences.SystemGlobalsTest
10:17:57,490 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/test-classes/config/SystemGlobalsTest.properties ...
10:17:57,491 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/test-classes/config/SystemGlobalsTest.properties ...
10:17:57,492 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/test-classes/config/SystemGlobalsTest.properties ...
10:17:57,493 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/test-classes/config/userDefaultsTest.properties ...
10:17:57,493 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/test-classes/config/userDefaultsTest.properties
10:17:57,493 INFO [SystemGlobals ] Key 'blablabla' is not found in /C:/Users/shun/workspace/iforum/target/test-classes/config/SystemGlobalsTest.properties and /C:/Users/shun/workspace/iforum/target/WEB-INF/config/jforum-custom.conf
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running net.jforum.util.preferences.VariableExpanderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running net.jforum.util.SafeHtmlTest
10:17:57,501 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,533 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,535 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,536 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec
Running net.jforum.util.URLNormalizerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Results :
Tests in error:
testInReplyToIncorrectShouldCreateNewTopic(net.jforum.api.integration.mail.pop.POPListenerTestCase): Error while trying to start ForumRepository: net.jforum.exceptions.DatabaseException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_categories' doesn't exist
Query being executed when exception was thrown:
SELECT categories_id, title, display_order, moderated FROM jforum_categories ORDER BY display_order
testInReplyToCreateNewTopicThenReply(net.jforum.api.integration.mail.pop.POPListenerTestCase): Error while trying to start ForumRepository: net.jforum.exceptions.DatabaseException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_categories' doesn't exist
Query being executed when exception was thrown:
SELECT categories_id, title, display_order, moderated FROM jforum_categories ORDER BY display_order
testSimple(net.jforum.api.integration.mail.pop.POPListenerTestCase): Error while trying to start ForumRepository: net.jforum.exceptions.DatabaseException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_categories' doesn't exist
Query being executed when exception was thrown:
SELECT categories_id, title, display_order, moderated FROM jforum_categories ORDER BY display_order
testValid(net.jforum.api.integration.rest.RESTAuthenticationTestCase): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_api' doesn't exist
Query being executed when exception was thrown:
INSERT INTO jforum_api (api_key, api_validity) VALUES ('api.key.test', '2013-09-24 00:00:00')
testInvalid(net.jforum.api.integration.rest.RESTAuthenticationTestCase): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_api' doesn't exist
Query being executed when exception was thrown:
INSERT INTO jforum_api (api_key, api_validity) VALUES ('api.key.test', '2013-09-24 00:00:00')
testListPosts(net.jforum.summary.SummaryTest): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
testLoadRecipients(net.jforum.summary.SummaryTest): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
testScheduler(net.jforum.summary.SummaryTest): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
testSendMails(net.jforum.summary.SummaryTest): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
Tests run: 62, Failures: 0, Errors: 9, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.939s
[INFO] Finished at: Mon Sep 23 10:17:57 CST 2013
[INFO] Final Memory: 16M/73M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on project jforum: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\shun\workspace\iforum\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
各式各样的问题都会出现,这该如何觉解决?
问题出于我的mysql...
以下是解决问题的办法:
3
mysql> source C:\项目所处工作空间\src\main\config\database\mysql\mysql_db_struct.sql
4
mysql> source C:\项目所处工作空间\src\main\config\database\mysql\mysql_data_dump.sql
|
 |
|
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JForum 2.3.5-snapshot
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.157s
[INFO] Finished at: Mon Sep 23 17:32:32 CST 2013
[INFO] Final Memory: 1M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "maven". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-site, site, post-site, site-deploy, pre-clean, clean, post-clean. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException
|
 |
|
INSERT INTO jforum_api (api_key, api_validity) VALUES ('api.key.test', '2013-09-24 00:00:00')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2375)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2359)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
at net.jforum.api.integration.rest.ApiInsertDeleteDAO.insert(RESTAuthenticationTestCase.java:122)
at net.jforum.api.integration.rest.RESTAuthenticationTestCase.createApiKey(RESTAuthenticationTestCase.java:61)
at net.jforum.api.integration.rest.RESTAuthenticationTestCase.setUp(RESTAuthenticationTestCase.java:91)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:56,882 DEBUG [DefaultConnectionTester] Testing a Connection in response to an Exception:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_api' doesn't exist
Query being executed when exception was thrown:
INSERT INTO jforum_api (api_key, api_validity) VALUES ('api.key.test', '2013-09-24 00:00:00')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2375)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2359)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
at net.jforum.api.integration.rest.ApiInsertDeleteDAO.insert(RESTAuthenticationTestCase.java:122)
at net.jforum.api.integration.rest.RESTAuthenticationTestCase.createApiKey(RESTAuthenticationTestCase.java:61)
at net.jforum.api.integration.rest.RESTAuthenticationTestCase.setUp(RESTAuthenticationTestCase.java:91)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.068 sec <<< FAILURE!
Running net.jforum.AutoLoginTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running net.jforum.entities.BanlistTestCase
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec
Running net.jforum.entities.PoolChangesTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Running net.jforum.entities.TopicTypeComparatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Running net.jforum.OnlineUsersTest
10:17:56,946 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:56,958 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:56,958 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:56,958 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:56,958 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:56,958 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:56,959 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:56,959 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:56,959 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:56,959 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:56,959 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:56,959 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:56,959 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:56,962 DEBUG [SessionFacade ] Removing session 0_1379902676960
10:17:56,962 DEBUG [SessionFacade ] Removing session 1_1379902676960
10:17:56,962 DEBUG [SessionFacade ] Removing session logged_1379902676962
10:17:56,962 DEBUG [SessionFacade ] Removing session 0_1379902676962
10:17:56,962 DEBUG [SessionFacade ] Removing session 1_1379902676962
10:17:56,963 DEBUG [SessionFacade ] Removing session 2_1379902676962
10:17:56,963 DEBUG [SessionFacade ] Removing session 1_1379902676963
10:17:56,963 DEBUG [SessionFacade ] Removing session 1_1379902676963
10:17:56,963 DEBUG [SessionFacade ] Removing session 3_1379902676963
10:17:56,963 DEBUG [SessionFacade ] Removing session 2_1379902676963
10:17:56,963 DEBUG [SessionFacade ] Removing session 3_1379902676963
10:17:56,963 DEBUG [SessionFacade ] Removing session 4_1379902676963
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec
Running net.jforum.search.LuceneSearchTestCase
10:17:56,980 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,185 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:1> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:lucene is a gem in the open source world>>
10:17:57,227 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:2> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:lucene in action is the authoritative guide to lucene>>
10:17:57,230 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:1> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:Powers search in surprising places [...] open to everyone>>
10:17:57,235 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:2> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:It introduces you to searching, sorting, filtering and highlighting [...]>>
10:17:57,242 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:1> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:How to integrate lucene into your applications>>
10:17:57,248 INFO [LuceneSearch ] searching for: open lucene xpto authoritative
10:17:57,262 INFO [LuceneSearch ] criteria=[+(forum.id:1) AND +((contents:open OR subject:open)(contents:lucene OR subject:lucene)(contents:xpto OR subject:xpto)(contents:authoritative OR subject:authoritative))]
10:17:57,305 INFO [LuceneSearch ] hits=3
10:17:57,306 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,311 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:1> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:>>
10:17:57,317 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:2> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:>>
10:17:57,322 INFO [LuceneSearch ] searching for:
10:17:57,322 INFO [LuceneSearch ] criteria=[+(forum.id:1)]
10:17:57,323 INFO [LuceneSearch ] hits=1
10:17:57,323 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,326 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:lucene is a gem in the open source world>>
10:17:57,329 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:lucene in action is the authoritative guide to lucene>>
10:17:57,335 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:Powers search in surprising places [...] open to everyone>>
10:17:57,337 INFO [LuceneSearch ] searching for: open lucene
10:17:57,337 INFO [LuceneSearch ] criteria=[+((contents:open OR subject:open)(contents:lucene OR subject:lucene))]
10:17:57,341 INFO [LuceneSearch ] hits=3
10:17:57,342 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,345 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:java> indexed,tokenized<contents:>>
10:17:57,347 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:something else> indexed,tokenized<contents:>>
10:17:57,350 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:debug> indexed,tokenized<contents:>>
10:17:57,352 INFO [LuceneSearch ] searching for: java
10:17:57,352 INFO [LuceneSearch ] criteria=[+(+(contents:java OR subject:java))]
10:17:57,353 INFO [LuceneSearch ] hits=1
10:17:57,353 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,356 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:a regular text with some magic word>>
10:17:57,358 DEBUG [LuceneIndexer ] Indexed Document<stored,indexed<post.id:0> stored,indexed<forum.id:0> stored,indexed<topic.id:0> stored,indexed<user.id:0> stored,indexed<date:20130923101757> indexed,tokenized<subject:> indexed,tokenized<contents:say shazan to see the magic happen>>
10:17:57,360 INFO [LuceneSearch ] searching for: magic regular
10:17:57,360 INFO [LuceneSearch ] criteria=[+(+(contents:magic OR subject:magic)+(contents:regular OR subject:regular))]
10:17:57,361 INFO [LuceneSearch ] hits=1
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.396 sec
Running net.jforum.summary.SummaryTest
10:17:57,366 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,367 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties ...
10:17:57,368 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties
10:17:57,368 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/generic/generic_queries.sql ...
10:17:57,369 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.sql ...
10:17:57,369 INFO [ConfigLoader ] Loading data access driver net.jforum.dao.mysql.MysqlDataAccessDriver
10:17:57,374 DEBUG [DynamicPooledDataSourceManagerMBean] MBean: com.mchange.v2.c3p0:type=PooledDataSource[1hge32a8xk59p8y1pel8f9|1024994] registered.
10:17:57,374 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties ...
10:17:57,375 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties
10:17:57,378 DEBUG [NewPooledConnection ] com.mchange.v2.c3p0.impl.NewPooledConnection@1ce3fc5 handling a throwable.
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,378 DEBUG [SqlUtils ] Attempted to convert SQLException to SQLException. Leaving it alone. [SQLState: 42S02; errorCode: 1146]
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,379 DEBUG [DefaultConnectionTester] Testing a Connection in response to an Exception:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,382 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,383 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties ...
10:17:57,383 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties
10:17:57,383 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/generic/generic_queries.sql ...
10:17:57,384 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.sql ...
10:17:57,384 INFO [ConfigLoader ] Loading data access driver net.jforum.dao.mysql.MysqlDataAccessDriver
10:17:57,392 DEBUG [DynamicPooledDataSourceManagerMBean] MBean: com.mchange.v2.c3p0:type=PooledDataSource[1hge32a8xk59p8y1pel8f9|18bbf55] registered.
10:17:57,393 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties ...
10:17:57,393 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.<init>(ServerSocket.java:194)
at java.net.ServerSocket.<init>(ServerSocket.java:106)
at com.dumbster.smtp.SimpleSmtpServer.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
10:17:57,395 DEBUG [NewPooledConnection ] com.mchange.v2.c3p0.impl.NewPooledConnection@1ce3fc5 handling a throwable.
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,395 DEBUG [SqlUtils ] Attempted to convert SQLException to SQLException. Leaving it alone. [SQLState: 42S02; errorCode: 1146]
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,396 DEBUG [DefaultConnectionTester] Testing a Connection in response to an Exception:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,398 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,399 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties ...
10:17:57,400 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties
10:17:57,400 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/generic/generic_queries.sql ...
10:17:57,401 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.sql ...
10:17:57,401 INFO [ConfigLoader ] Loading data access driver net.jforum.dao.mysql.MysqlDataAccessDriver
10:17:57,406 DEBUG [DynamicPooledDataSourceManagerMBean] MBean: com.mchange.v2.c3p0:type=PooledDataSource[1hge32a8xk59p8y1pel8f9|1e91a4d] registered.
10:17:57,407 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties ...
10:17:57,407 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.<init>(ServerSocket.java:194)
at java.net.ServerSocket.<init>(ServerSocket.java:106)
at com.dumbster.smtp.SimpleSmtpServer.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
10:17:57,410 DEBUG [NewPooledConnection ] com.mchange.v2.c3p0.impl.NewPooledConnection@1ce3fc5 handling a throwable.
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,411 DEBUG [SqlUtils ] Attempted to convert SQLException to SQLException. Leaving it alone. [SQLState: 42S02; errorCode: 1146]
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,411 DEBUG [DefaultConnectionTester] Testing a Connection in response to an Exception:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,419 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,420 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties ...
10:17:57,420 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.properties
10:17:57,420 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/generic/generic_queries.sql ...
10:17:57,424 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/database/mysql/mysql.sql ...
10:17:57,425 INFO [ConfigLoader ] Loading data access driver net.jforum.dao.mysql.MysqlDataAccessDriver
10:17:57,430 DEBUG [DynamicPooledDataSourceManagerMBean] MBean: com.mchange.v2.c3p0:type=PooledDataSource[1hge32a8xk59p8y1pel8f9|96b5c2] registered.
10:17:57,431 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties ...
10:17:57,431 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/quartz-jforum.properties
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.<init>(ServerSocket.java:194)
at java.net.ServerSocket.<init>(ServerSocket.java:106)
at com.dumbster.smtp.SimpleSmtpServer.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
10:17:57,433 DEBUG [NewPooledConnection ] com.mchange.v2.c3p0.impl.NewPooledConnection@1ce3fc5 handling a throwable.
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.GeneratedConstructorAccessor6.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,433 DEBUG [SqlUtils ] Attempted to convert SQLException to SQLException. Leaving it alone. [SQLState: 42S02; errorCode: 1146]
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.GeneratedConstructorAccessor6.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
10:17:57,435 DEBUG [DefaultConnectionTester] Testing a Connection in response to an Exception:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
at sun.reflect.GeneratedConstructorAccessor6.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at net.jforum.dao.generic.GenericUserDAO.findByName(GenericUserDAO.java:908)
at net.jforum.summary.SummaryTest.createTestPost(SummaryTest.java:67)
at net.jforum.summary.SummaryTest.setUp(SummaryTest.java:62)
at junit.framework.TestCase.runBare(TestCase.java:139)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.073 sec <<< FAILURE!
Running net.jforum.util.I18nTest
10:17:57,444 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,449 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,449 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,449 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,449 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,449 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,449 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,450 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,450 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,450 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,450 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,450 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,450 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,450 INFO [FileMonitor ] Watching /C:/Users/shun/workspace/iforum/target/test-classes/config/languages/default.properties
10:17:57,451 INFO [FileMonitor ] Watching /C:/Users/shun/workspace/iforum/target/test-classes/config/languages/orange.properties
10:17:57,451 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,454 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,454 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,455 INFO [FileMonitor ] Watching /C:/Users/shun/workspace/iforum/target/test-classes/config/languages/cheese.properties
10:17:57,455 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,458 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,458 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,458 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,460 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,460 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,460 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,460 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,460 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,460 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,460 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,461 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,461 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,461 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,461 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,461 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,461 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,464 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,464 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,464 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,464 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,465 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,466 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,469 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,469 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,470 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,473 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,473 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,474 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,477 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,477 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,478 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,481 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,481 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
10:17:57,482 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,485 INFO [ConfigLoader ] Using cache engine: net.jforum.cache.DefaultCacheEngine
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BBCodeRepository
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RankingRepository
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SmiliesRepository
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.ForumRepository
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.TopicRepository
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.SessionFacade
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.PostRepository
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.Tpl
10:17:57,485 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.RolesRepository
10:17:57,486 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.SecurityRepository
10:17:57,486 INFO [ConfigLoader ] Creating an instance of net.jforum.repository.BanlistRepository
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec
Running net.jforum.util.preferences.SystemGlobalsTest
10:17:57,490 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/test-classes/config/SystemGlobalsTest.properties ...
10:17:57,491 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/test-classes/config/SystemGlobalsTest.properties ...
10:17:57,492 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/test-classes/config/SystemGlobalsTest.properties ...
10:17:57,493 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/test-classes/config/userDefaultsTest.properties ...
10:17:57,493 INFO [SystemGlobals ] Added /C:/Users/shun/workspace/iforum/target/test-classes/config/userDefaultsTest.properties
10:17:57,493 INFO [SystemGlobals ] Key 'blablabla' is not found in /C:/Users/shun/workspace/iforum/target/test-classes/config/SystemGlobalsTest.properties and /C:/Users/shun/workspace/iforum/target/WEB-INF/config/jforum-custom.conf
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running net.jforum.util.preferences.VariableExpanderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running net.jforum.util.SafeHtmlTest
10:17:57,501 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,533 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,535 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
10:17:57,536 INFO [SystemGlobals ] Loading /C:/Users/shun/workspace/iforum/target/jforum/WEB-INF/config/SystemGlobals.properties ...
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec
Running net.jforum.util.URLNormalizerTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Results :
Tests in error:
testInReplyToIncorrectShouldCreateNewTopic(net.jforum.api.integration.mail.pop.POPListenerTestCase): Error while trying to start ForumRepository: net.jforum.exceptions.DatabaseException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_categories' doesn't exist
Query being executed when exception was thrown:
SELECT categories_id, title, display_order, moderated FROM jforum_categories ORDER BY display_order
testInReplyToCreateNewTopicThenReply(net.jforum.api.integration.mail.pop.POPListenerTestCase): Error while trying to start ForumRepository: net.jforum.exceptions.DatabaseException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_categories' doesn't exist
Query being executed when exception was thrown:
SELECT categories_id, title, display_order, moderated FROM jforum_categories ORDER BY display_order
testSimple(net.jforum.api.integration.mail.pop.POPListenerTestCase): Error while trying to start ForumRepository: net.jforum.exceptions.DatabaseException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_categories' doesn't exist
Query being executed when exception was thrown:
SELECT categories_id, title, display_order, moderated FROM jforum_categories ORDER BY display_order
testValid(net.jforum.api.integration.rest.RESTAuthenticationTestCase): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_api' doesn't exist
Query being executed when exception was thrown:
INSERT INTO jforum_api (api_key, api_validity) VALUES ('api.key.test', '2013-09-24 00:00:00')
testInvalid(net.jforum.api.integration.rest.RESTAuthenticationTestCase): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_api' doesn't exist
Query being executed when exception was thrown:
INSERT INTO jforum_api (api_key, api_validity) VALUES ('api.key.test', '2013-09-24 00:00:00')
testListPosts(net.jforum.summary.SummaryTest): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
testLoadRecipients(net.jforum.summary.SummaryTest): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
testScheduler(net.jforum.summary.SummaryTest): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
testSendMails(net.jforum.summary.SummaryTest): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jforum.jforum_users' doesn't exist
Query being executed when exception was thrown:
SELECT user_id, username, user_email, deleted FROM jforum_users WHERE LOWER(username) LIKE LOWER('Admin')
Tests run: 62, Failures: 0, Errors: 9, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.939s
[INFO] Finished at: Mon Sep 23 10:17:57 CST 2013
[INFO] Final Memory: 16M/73M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on project jforum: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\shun\workspace\iforum\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
各式各样的问题都会出现,这该如何觉解决?
|
 |
|
|
|