Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.4-INCUBATING
-
None
-
mac
Description
After updating all the configuration files and follow all the steps described in http://incubator.apache.org/airavata/documentation/howto/howto.html doc, server start-up fails with the following exception
1801057 [Thread-14] ERROR org.apache.airavata.wsmg.msgbox.Storage.dbpool.MessageBoxDB - Caught exception while removing old entries from msgbox db table
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SQL_TSI_FRAC_SECOND, time, CURRENT_TIMESTAMP) > 172800000' at line 1
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:409)
at com.mysql.jdbc.Util.getInstance(Util.java:384)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2568)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2113)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2409)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2327)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2312)
at org.apache.airavata.wsmg.commons.storage.JdbcStorage.executeUpdateAndClose(JdbcStorage.java:116)
at org.apache.airavata.wsmg.msgbox.Storage.dbpool.MessageBoxDB.removeAncientMessages(MessageBoxDB.java:235)
at org.apache.airavata.wsmg.msgbox.Storage.dbpool.DatabaseStorageImpl.removeAncientMessages(DatabaseStorageImpl.java:113)
at org.apache.airavata.wsmg.msgbox.MsgBoxServiceSkeleton$DeleteOldMessageRunnable.run(MsgBoxServiceSkeleton.java:175)
at java.lang.Thread.run(Thread.java:680)