Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C693E435 for ; Tue, 5 Feb 2013 09:04:15 +0000 (UTC) Received: (qmail 21820 invoked by uid 500); 5 Feb 2013 09:04:14 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 21776 invoked by uid 500); 5 Feb 2013 09:04:14 -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 21747 invoked by uid 99); 5 Feb 2013 09:04:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 09:04:13 +0000 Date: Tue, 5 Feb 2013 09:04:13 +0000 (UTC) From: =?utf-8?Q?Petr_N=C3=ADdl_=28JIRA=29?= To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (AMQ-3914) Add support for MS SQL JDBC driver 4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-3914?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D135711= 63#comment-13571163 ]=20 Petr N=C3=ADdl edited comment on AMQ-3914 at 2/5/13 9:04 AM: -------------------------------------------------------- I would recommend to reopen this issue and rename the file '/META-INF/servi= ces/org/apache/activemq/store/jdbc/microsoft_sql_server_jdbc_driver_4_0' to= '/META-INF/services/org/apache/activemq/store/jdbc/microsoft_jdbc_driver_4= _0_for_sql_server'. The problem is that Microsoft changed the format of its driver's product na= me (com.microsoft.sqlserver.jdbc.SQLServerDriver.PRODUCT_NAME) from 'Micros= oft SQL Server JDBC Driver 3.0' to 'Microsoft JDBC Driver 4.0 for SQL Serve= r'. Similar problem is that there is no file with database locker definition fo= r MS SQL Server. Again, it should be sufficient to copy the 3.0 file and re= name it. =20 was (Author: pnidl): I would recommend to reopen this issue and rename the file '/META-INF/s= ervices/org/apache/activemq/store/jdbc/microsoft_sql_server_jdbc_driver_4_0= ' to '/META-INF/services/org/apache/activemq/store/jdbc/microsoft_jdbc_driv= er_4_0_for_sql_server'. The problem is that Microsoft changed the format of its driver's product na= me (com.microsoft.sqlserver.jdbc.SQLServerDriver.PRODUCT_NAME) from 'Micros= oft SQL Server JDBC Driver 3.0' to 'Microsoft JDBC Driver 4.0 for SQL Serve= r'. =20 > Add support for MS SQL JDBC driver 4.0 > -------------------------------------- > > Key: AMQ-3914 > URL: https://issues.apache.org/jira/browse/AMQ-3914 > Project: ActiveMQ > Issue Type: Improvement > Components: Message Store > Affects Versions: 5.5.1 > Reporter: Henrik Karlsson > Assignee: Claus Ibsen > Priority: Minor > Fix For: 5.7.0 > > > When using MS SQL JDBC Driver version 4.0 ActiveMQ can't find a "Database= adapter driver override" as it does with version 3.0 of the driver. > Version 4.0 > {noformat} > 2012-07-06 09:50:33,639 | INFO | Database adapter driver override not fo= und for : [microsoft_jdbc_driver_4_0_for_sql_server]. Will use default imp= lementation. | org.apache.activemq.store.jdbc.JDBCPersistenceAdapter | Wrap= perSimpleAppMain > 2012-07-06 09:50:33,639 | INFO | Database lock driver override not found= for : [microsoft_jdbc_driver_4_0_for_sql_server]. Will use default implem= entation. | org.apache.activemq.store.jdbc.JDBCPersistenceAdapter | Wrapper= SimpleAppMain > {noformat} > Version 3.0 > {noformat} > 2012-07-06 10:09:37,322 | INFO | Database adapter driver override recogn= ized for : [microsoft_sql_server_jdbc_driver_3_0] - adapter: class org.apac= he.activemq.store.jdbc.adapter.TransactJDBCAdapter | org.apache.activemq.st= ore.jdbc.JDBCPersistenceAdapter | WrapperSimpleAppMain > 2012-07-06 10:09:37,322 | INFO | Database lock driver override recognize= d for : [microsoft_sql_server_jdbc_driver_3_0] - adapter: class org.apache.= activemq.store.jdbc.adapter.TransactDatabaseLocker | org.apache.activemq.st= ore.jdbc.JDBCPersistenceAdapter | WrapperSimpleAppMain > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira