[jboss-jira] [JBoss JIRA] Closed: (JBMESSAGING-218) Persistent services are very noisy in the logs when the table(s) they are trying to create already exists

Tim Fox (JIRA) jira-events at lists.jboss.org
Mon Apr 30 09:45:40 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBMESSAGING-218?page=all ]

Tim Fox closed JBMESSAGING-218.
-------------------------------

    Resolution: Won't Fix

set createTablesOnStartup to false if you don't want to attempt to create tables every time.

Note the excpetions are logged at DEBUG - so change your log4j settings if you don't like them.

> Persistent services are very noisy in the logs when the table(s) they are trying to create already exists
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: JBMESSAGING-218
>                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-218
>             Project: JBoss Messaging
>          Issue Type: Sub-task
>          Components: Messaging Core Persistence
>            Reporter: Ovidiu Feodorov
>            Priority: Minor
>             Fix For: Unscheduled
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> JDBCDurableSubscriptionStore, JDBCMessageStore, JDBCTransactionLog try to create their corresponding tables during their inialization procedure and litter the logs with SQLException stack traces if the corresponding tables exist:
>  java.sql.SQLException: Table already exists: TRANSACTION in statement [CREATE TABLE TRANSACTION]
> 	at org.hsqldb.jdbc.Util.sqlException(Util.java:61)
> 	at org.hsqldb.jdbc.jdbcStatement.fetchResult(jdbcStatement.java:1580)
>         .....
> Use a less noisy way to insure the tables exist. Swallowing the SQLException is not a solution, since it may signal other problems with the database.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list