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
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
各式各样的问题都会出现,这该如何觉解决?
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