java.lang.reflect.InvocationTargetException: Base table or view not found message from server: "Unknown table 'jforum_roles' in MULTI DELETE"
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.sql.SQLException: Base table or view not found message from server: "Unknown table 'jforum_roles' in MULTI DELETE"
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1997)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1167)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1278)
at com.mysql.jdbc.Connection.execSQL(Connection.java:2247)
I have a couple of forums on a staging server. when I export the databases to the production server and redeploy the web app I get this error
The table is certianly there.
I have even tried a fresh install with the same results.
Is this possibly an MySQL versioning issue:
don@linode1.vawter.com:/usr/local/catalina/webapps/joanieforum
$ mysql --version
mysql Ver 14.7 Distrib 4.1.8a, for pc-linux-gnu (i386) (production fails)
don@linode1.vawter.com:/usr/local/catalina/webapps/joanieforum
$ exit
logout
Connection to linode closed.
don@blackbox:~$ mysql --version
mysql Ver 12.22 Distrib 4.0.23, for pc-linux-gnu (i386) (staging works)
+-------------------------+
| Tables_in_jforum_joanie |
+-------------------------+
| jforum_banlist |
| jforum_categories |
| jforum_config |
| jforum_forums |
| jforum_groups |
| jforum_posts |
| jforum_posts_text |
| jforum_privmsgs |
| jforum_privmsgs_text |
| jforum_ranks |
| jforum_role_values |
| jforum_roles |
| jforum_search_results |
| jforum_search_topics |
| jforum_search_wordmatch |
| jforum_search_words |
| jforum_sessions |
| jforum_smilies |
| jforum_themes |
| jforum_topics |
| jforum_topics_watch |
| jforum_user_groups |
| jforum_users |
| jforum_vote_desc |
| jforum_vote_results |
| jforum_vote_voters |
| jforum_words |
+-------------------------+
27 rows in set (0.00 sec)
[originally posted on jforum.net by donniev]