On 26/03/2008, JS75 <[EMAIL PROTECTED]> wrote: > > Dear All: > > I use MQ 4.1 to replace my internal queue, and I'd like it to be persisitent > by SQL 2005. > Every thing goes well~!! > > Only one thing, I found warning like this ... > [java] 2008-03-26 15:36:25.390 WARN > [main] org.apache.activemq.store.jdbc.JDBCPersistenceAdapter - > Cannot create tables due to: > com.microsoft.sqlserver.jdbc.SQLServerException: > COMMIT TRANSACTION 要求沒有對應的 BEGIN TRANSACTION。 > > I know it is only a warning, but it confuses users. > Is there any way to get rid of it by cinfiguration or fix code ??
Try disabling the auto-creation of the tables via the createTablesOnStartup property on the JDBCPersistenceAdapter -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com