Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-2492

Microsoft SQL Server JDBC Driver 2.0 not recognized

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.3.0
    • 5.5.0
    • Broker
    • None
    • Patch Available

    Description

      The sqljdbc4.jar driver from http://www.microsoft.com/downloads/details.aspx?FamilyID=99b21b65-e98f-4a61-b811-19912601fdc9&displaylang=en is not recognized.

      The log says:
      INFO | Using Persistence Adapter: JDBCPersistenceAdapter(org.apache.commons.dbcp.BasicDataSource@47570945)
      WARN | Database lock driver override not found for : [microsoft_sql_server_jdbc_driver_2_0]. Will use default implementation.

      The fix is to add
      activemq-core\src\main\resources\META-INF\services\org\apache\activemq\store\jdbc\microsoft_sql_server_jdbc_2_0_driver
      activemq-core\src\main\resources\META-INF\services\org\apache\activemq\store\jdbc\lock\microsoft_sql_server_jdbc_2_0_driver

      With the same content as the microsoft_sql_server_2005_driver in both directories.

      I've attached a pach

      Attachments

        Activity

          People

            gtully Gary Tully
            senni Steffen Enni
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: