Return-Path: X-Original-To: apmail-manifoldcf-dev-archive@www.apache.org Delivered-To: apmail-manifoldcf-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 8092918926 for ; Wed, 24 Feb 2016 18:57:18 +0000 (UTC) Received: (qmail 45839 invoked by uid 500); 24 Feb 2016 18:57:18 -0000 Delivered-To: apmail-manifoldcf-dev-archive@manifoldcf.apache.org Received: (qmail 45782 invoked by uid 500); 24 Feb 2016 18:57:18 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 45751 invoked by uid 99); 24 Feb 2016 18:57:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Feb 2016 18:57:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 214622C14F8 for ; Wed, 24 Feb 2016 18:57:18 +0000 (UTC) Date: Wed, 24 Feb 2016 18:57:18 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CONNECTORS-1281) Bug for crawling documents from Microsoft SQL database MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CONNECTORS-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wright resolved CONNECTORS-1281. ------------------------------------- Resolution: Fixed r1732206 > Bug for crawling documents from Microsoft SQL database > ------------------------------------------------------- > > Key: CONNECTORS-1281 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1281 > Project: ManifoldCF > Issue Type: Bug > Components: JDBC connector > Affects Versions: ManifoldCF 2.2, ManifoldCF 2.3 > Reporter: Olivier Tavard > Assignee: Karl Wright > Fix For: ManifoldCF 2.4 > > Attachments: CONNECTORS-1281.patch > > > Hi, > I have some issue to crawl documents from a Microsoft SQL database. > The jtds-1.2.4.jar is well present in my MCF installation (MCF built from sources and jtds.jar added in lib-proprietary from the ant script) > After crawling about 200 documents the job does not do anything and the following error is present for each document crawled : > {code:xml} > FATAL 2016-02-24 18:27:47,078 (Startup thread) - Error tossed: null > java.lang.AbstractMethodError > at net.sourceforge.jtds.jdbc.ConnectionJDBC2.isValid(ConnectionJDBC2.java:2589) > at org.apache.manifoldcf.core.jdbcpool.ConnectionPool.getConnection(ConnectionPool.java:92) > at org.apache.manifoldcf.jdbc.JDBCConnectionFactory.getConnection(JDBCConnectionFactory.java:132) > at org.apache.manifoldcf.jdbc.JDBCConnection$PreparedStatementQueryThread.run(JDBCConnection.java:1389) > {code} > It seems that there is an issue with the validation of the connection between MCF and JTDS : http://stackoverflow.com/questions/26404283/java-hibernate-with-sql-server-2012-not-working > What is the best way to fix it ? Do we need to implement our own isValid() method and do a simple select into it ? > By the way, we do not have this issue with MCF 2.0.1. > Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)