You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by "Chathuri Wimalasena (JIRA)" <ji...@apache.org> on 2012/08/23 20:50:42 UTC

[jira] [Updated] (AIRAVATA-544) Could not deploy WS-Messenger with MySQL

     [ https://issues.apache.org/jira/browse/AIRAVATA-544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chathuri Wimalasena updated AIRAVATA-544:
-----------------------------------------

    Attachment: AIRAVATA-544.patch

Hi Lahiru, 

Attaching the patch with necessary changes. Pleas apply the patch from root-level of airavata-source distribution.

Regards,
Chathuri
                
> Could not deploy WS-Messenger with MySQL
> ----------------------------------------
>
>                 Key: AIRAVATA-544
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-544
>             Project: Airavata
>          Issue Type: Bug
>          Components: WS-Messenger
>    Affects Versions: 0.4-INCUBATING
>         Environment: mac
>            Reporter: Chathuri Wimalasena
>             Fix For: 0.5-INCUBATING
>
>         Attachments: AIRAVATA-544.patch
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira