activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: COMMIT TRANSACTION 要求沒有對應的 BEGIN TRANSACTION
Date Wed, 26 Mar 2008 11:28:40 GMT
On 26/03/2008, JS75 <jean_su@abovee.com> 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

Mime
View raw message