Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 13964 invoked from network); 17 Nov 2007 09:17:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Nov 2007 09:17:48 -0000 Received: (qmail 32312 invoked by uid 500); 17 Nov 2007 09:17:35 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 32278 invoked by uid 500); 17 Nov 2007 09:17:35 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 32269 invoked by uid 99); 17 Nov 2007 09:17:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2007 01:17:34 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2007 09:17:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C03B871420A for ; Sat, 17 Nov 2007 01:17:26 -0800 (PST) Message-ID: <22775470.1195291046776.JavaMail.jira@brutus> Date: Sat, 17 Nov 2007 01:17:26 -0800 (PST) From: "gkathiravan (JIRA)" To: dev@activemq.apache.org Subject: [jira] Issue Comment Edited: (AMQ-305) Add Postgres Support MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40641 ] kathiravan edited comment on AMQ-305 at 11/17/07 1:16 AM: ----------------------------------------------------------- SET AUTOCOMMIT TO OFF is no longer supported in Postgre8.1 When i start the broker with JDBCPersistence the following error occurs Nov 17, 2007 2:21:27 PM org.apache.activemq.store.jdbc.JDBCPersistenceAdapter createAdapter INFO: Database driver recognized: [postgresql_native_driver] Exception in thread "main" java.io.IOException: ERROR: SET AUTOCOMMIT TO OFF is no longer supported at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:43) at org.apache.activemq.store.jdbc.TransactionContext.getConnection(TransactionContext.java:62) at org.apache.activemq.store.jdbc.TransactionContext.begin(TransactionContext.java:147) at org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.start(JDBCPersistenceAdapter.java:156) at com.glenwood.Queue.StartBroker.createPersistenceAdapter(StartBroker.java:49) at com.glenwood.Queue.StartBroker.main(StartBroker.java:28) Caused by: java.sql.SQLException: ERROR: SET AUTOCOMMIT TO OFF is no longer supported at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:131) at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:482) at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:461) at org.postgresql.jdbc1.AbstractJdbc1Connection.setAutoCommit(AbstractJdbc1Connection.java:953) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.postgresql.ds.common.PooledConnectionImpl$ConnectionHandler.invoke(PooledConnectionImpl.java:360) at $Proxy0.setAutoCommit(Unknown Source) at org.apache.activemq.store.jdbc.TransactionContext.getConnection(TransactionContext.java:58) ... 4 more I am using postgresql-8.1-409.jdbc3.jar with Postgresql 8.1 ActiveMq.xml follows was (Author: kathiravan): SET AUTOCOMMIT TO OFF is no longer supported in Postgre8.0 When i start the broker with JDBCPersistence the following error occurs Nov 17, 2007 2:21:27 PM org.apache.activemq.store.jdbc.JDBCPersistenceAdapter createAdapter INFO: Database driver recognized: [postgresql_native_driver] Exception in thread "main" java.io.IOException: ERROR: SET AUTOCOMMIT TO OFF is no longer supported at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:43) at org.apache.activemq.store.jdbc.TransactionContext.getConnection(TransactionContext.java:62) at org.apache.activemq.store.jdbc.TransactionContext.begin(TransactionContext.java:147) at org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.start(JDBCPersistenceAdapter.java:156) at com.glenwood.Queue.StartBroker.createPersistenceAdapter(StartBroker.java:49) at com.glenwood.Queue.StartBroker.main(StartBroker.java:28) Caused by: java.sql.SQLException: ERROR: SET AUTOCOMMIT TO OFF is no longer supported at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:131) at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:482) at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:461) at org.postgresql.jdbc1.AbstractJdbc1Connection.setAutoCommit(AbstractJdbc1Connection.java:953) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.postgresql.ds.common.PooledConnectionImpl$ConnectionHandler.invoke(PooledConnectionImpl.java:360) at $Proxy0.setAutoCommit(Unknown Source) at org.apache.activemq.store.jdbc.TransactionContext.getConnection(TransactionContext.java:58) ... 4 more > Add Postgres Support > -------------------- > > Key: AMQ-305 > URL: https://issues.apache.org/activemq/browse/AMQ-305 > Project: ActiveMQ > Issue Type: New Feature > Components: Message Store > Reporter: Hiram Chirino > Fix For: 3.1 > > > The JDBC Message Store should support Postgresql -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.