JDBC Connector Intermittent Issue related to non-existance of all.log file

Hi

I am using JDBC Connector V 5.2 on top of FAST ESP 5.3. Every thing is working fine, but sometimes the JDBC Connector displaying the below warning message.

00:02:33,093 WARN  [CCTKDocumentFeeder] java.io.FileNotFoundException: all.log (No such file or directory)Cannot open log file: /opt/datasearch/var/log/connectors/jdbc/<<collection name>>/all.log No logging to file enabled

The "WorkFolder" location in Configuration file is as below.
/opt/datasearch/var/log/connectors/jdbc

I also activated the DEBUG logging for JDBC Connector.

Start 2013/06/23 23:00:19
The Collection name is : <<Collection Name>>
Deleted connector output file successfully
Starting Database Extraction
23:00:38,456 INFO  [JDBCConnector] Starting the connector!
23:00:38,495 DEBUG [JDBCConnector] localConfigfileName: /opt/datasearch/data/connectorcontroller/JDBCConnector_<<Collection Name>>.xml
23:00:38,498 DEBUG [JDBCConnector] Action:start
00:02:32,806 INFO  [JDBCConnector] Validating config.......
00:02:32,808 DEBUG [JDBCConnector] Start read config
00:02:33,013 DEBUG [JDBCConnector] Finished reading configuration
00:02:33,017 INFO  [JDBCConnector] Initializing.......
00:02:33,021 DEBUG [JDBCConnector] Starting initialization
00:02:33,054 DEBUG [JDBCConnector] Finished initialization
00:02:33,062 INFO  [JDBCConnector] Starting crawl.......
00:02:33,071 INFO  [JDBCConnector] Will start up publishers......
00:02:33,093 WARN  [CCTKDocumentFeeder] java.io.FileNotFoundException: all.log (No such file or directory)Cannot open log file: /opt/datasearch/var/log/connectors/jdbc/<<collection name>>/all.log No logging to file enabled

The reason why I am saying this issue as intermittent because in another run it works fine as below.

Start 2013/06/24 23:00:23
The Collection name is : <<Collection Name>>
Deleted connector output file successfully
Starting Database Extraction
23:00:41,601 INFO  [JDBCConnector] Starting the connector!
23:00:41,655 DEBUG [JDBCConnector] localConfigfileName: /opt/datasearch/data/connectorcontroller/JDBCConnector_<<Collection Name>>.xml
23:00:41,656 DEBUG [JDBCConnector] Action:start
23:00:43,112 INFO  [JDBCConnector] Validating config.......
23:00:43,113 DEBUG [JDBCConnector] Start read config
23:00:43,484 DEBUG [JDBCConnector] Finished reading configuration
23:00:43,487 INFO  [JDBCConnector] Initializing.......
23:00:43,491 DEBUG [JDBCConnector] Starting initialization
23:00:43,515 DEBUG [JDBCConnector] Finished initialization
23:00:43,522 INFO  [JDBCConnector] Starting crawl.......
23:00:43,529 INFO  [JDBCConnector] Will start up publishers......
23:00:43,654 INFO  [CCTKDocumentFeeder] Publisher :Initializing: com.fastsearch.esp.cctk.publishers.CCTKDocumentFeeder
23:00:43,737 DEBUG [ChangeDetectorHypersonic] Change detection initialized:

After comparing both logs, I found that this warning of "all.log" is generating in only when it is waiting for validating the config file. In first run(the error one), you can see that it waited for 1 Hour 2 Minutes between "Action:Start" and "validating config".

As of now I am not able to get that why the connector is waiting for more than 1 hour in showing "validating config" message and this all.log file error occurs after that.

Please let me know if anyone else have faced this issue ea

June 25th, 2013 7:15pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics