none
run JDBC connector schedule RRS feed

  • Question

  • Is it possible to configure JDBC connector to run on a schedule via the ESP admin gui?

     

    Thank you very much.

    Tuesday, April 12, 2011 8:51 AM

Answers

  • you have to use the connect.sh or connect.bat (windows) shell script found in  "$FASTSEARCH/connectors/jdbc/bin".   Setup your scheduler cron job or the window scheduler to execute the script 

    cd to $FASTSEARCH/connectors/jdbc/bin

    command:   connect start -f <PATH TO YOUR JDBC CONFIG FILE>  (usually $FASTSEARCH\data\connectorcontroller\JDBCConnector_YOUR_COLLECTION_NAME.xml)

     

    Tuesday, April 12, 2011 8:23 PM

All replies

  • you have to use the connect.sh or connect.bat (windows) shell script found in  "$FASTSEARCH/connectors/jdbc/bin".   Setup your scheduler cron job or the window scheduler to execute the script 

    cd to $FASTSEARCH/connectors/jdbc/bin

    command:   connect start -f <PATH TO YOUR JDBC CONFIG FILE>  (usually $FASTSEARCH\data\connectorcontroller\JDBCConnector_YOUR_COLLECTION_NAME.xml)

     

    Tuesday, April 12, 2011 8:23 PM
  • When I run this command I get an error message:

    E:\esp\connectors\jdbc\bin>connect -f "E:\esp\data\connectorcontroller\JDBCConnector_mycollectionname.xml"
    Copyright (c) Microsoft Corporation.  All rights reserved.


    Exception in thread "main" java.lang.NoClassDefFoundError: Files

    Can you please help?


    Chandra Sekhar
    Thursday, November 3, 2011 7:36 PM