problem with remotely managed index recreation

Submitted by jvevfvf on Thu, 2012-03-29 15:52.Troubleshooting

Hi,

I'm doing a wget on the url for recreating an index:

wget --output-file=$index.1 --output-document=$index.2 "http://$HOST:$PORT/dbsight/scheduleAJob.do?indexName=$index&cmd=stopIndexing%20unlockStoppedIndex%20maybeBuildSynonyms%20reCreateIndex%20reBuildDictionary%20buildDictionaryIfNeeded&text=Recreate%20Index"

The wget works, and the index creation runs. I can see that its created files, but i when i do a search, i get no data back. This is only for the first time that its run - when there is no index data at all. If i run it after i've manually done the index, its fine. Even if i stop tomcat, remove the whole index directory, and restart, the wget still works and i can see the index. There must be something with the first time its being run that i'm missing.

The logs when doing via wget show:

bash-3.2$ cat pg_long.log
WARN 2012-03-30 09:40:38,506- stopping indexing for pg
INFO 2012-03-30 09:40:38,507- ~~~~~~~ pg:unlockStoppedIndex ...
INFO 2012-03-30 09:40:38,508- unlock temp files if exists
INFO 2012-03-30 09:40:38,548- ~~~~~~~ pg:maybeBuildSynonyms ...
INFO 2012-03-30 09:40:38,552- ~~~~~~~ pg:reCreateIndex ...
INFO 2012-03-30 09:40:38,557- buiding index for pg
INFO 2012-03-30 09:40:38,559- re-creating index ...
INFO 2012-03-30 09:40:38,560- Working in directory:/var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main
INFO 2012-03-30 09:40:43,564- DB Connection using : oracle.jdbc.driver.OracleDriver
INFO 2012-03-30 09:40:43,565- jdbc.url=jdbc:oracle:thin:@nntmtd01-vip:1521:PRD1
INFO 2012-03-30 09:40:43,566- jdbc.username=prod (hidden jdbc.password)
INFO 2012-03-30 09:40:44,329- Loaded Oracle from file:/var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/lib/ext/jdbc/oracle/ojdbc14.jar
INFO 2012-03-30 09:40:44,340- DBCP prepared statement pooling enabled
INFO 2012-03-30 09:40:44,348- Existing Period Table: null
INFO 2012-03-30 09:40:44,352- TaskScheduler provider class is 'class net.javacoding.xsearch.core.task.c.a'
INFO 2012-03-30 09:40:44,366- Starting 7 fetcher workers...
INFO 2012-03-30 09:40:44,373- Creating index writer under directory: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg
INFO 2012-03-30 09:40:44,375- Loading Analyzer:net.javacoding.xsearch.indexer.analyzer.NumberLowerCaseAnalyzer
INFO 2012-03-30 09:40:44,376- Creating Writer on org.apache.lucene.store.NIOFSDirectory@/var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main
WARN 2012-03-30 09:40:44,453- IFD [main]: setInfoStream deletionPolicy=org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy@112da40
WARN 2012-03-30 09:40:44,455- IW 0 [main]: setInfoStream: dir=org.apache.lucene.store.NIOFSDirectory@/var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main mergePolicy=org.apache.lucene.index.LogByteSizeMergePolicy@b6d6ab mergeScheduler=org.apache.lucene.index.ConcurrentMergeScheduler@1c7865b ramBufferSizeMB=16.0 maxBufferedDocs=-1 maxBuffereDeleteTerms=-1 maxFieldLength=2147483647 index=
WARN 2012-03-30 09:40:44,457- IW 0 [main]: setRAMBufferSizeMB 16.0
WARN 2012-03-30 09:40:44,458- IW 0 [main]: setMaxFieldLength 10000
INFO 2012-03-30 09:40:44,459- writer created
INFO 2012-03-30 09:40:44,592- Dir size:52 Bytes
INFO 2012-03-30 09:40:44,595- Getting the connection...
INFO 2012-03-30 09:40:44,782- Database Product Name : Oracle
INFO 2012-03-30 09:40:44,783- Database Product Version : Oracle Database 11g Release 11.1.0.0.0 - Production
INFO 2012-03-30 09:40:44,784- Database Major Version : 11
INFO 2012-03-30 09:40:44,784- Database Minor Version : 1
INFO 2012-03-30 09:40:44,785- Driver Name : Oracle JDBC driver
INFO 2012-03-30 09:40:44,785- Driver Version : 10.2.0.2.0
INFO 2012-03-30 09:40:44,786- JDBC Major Version : 10
INFO 2012-03-30 09:40:44,786- JDBC Minor Version : 2
INFO 2012-03-30 09:40:44,787- Maximum Number of Connections : 0
INFO 2012-03-30 09:40:44,787- URL : jdbc:oracle:thin:@host:1521:PRD1
INFO 2012-03-30 09:40:44,788- User Name : PROD
INFO 2012-03-30 09:40:44,788- Connected.
INFO 2012-03-30 09:40:44,789- Preparing the statement...
INFO 2012-03-30 09:40:44,874- select TYPESPDO_PROTECTIONTYPE.name_ as TYPE_NAME, to_char(to_dec(trim(to_char('1038','0XXX')) || '0003')) as CLASSID, domain.name as NEW_STATUS,
decode(to_char(PROTECTION_GROUPS.LIFETIME_END,'YYYY'),'2038',' ',to_char(PROTECTION_GROUPS.LIFETIME_END,'DD/MM/YYYY')) as NEW_LIFETIME_END,
PROTECTION_GROUPS.* from PROTECTION_GROUPS, TYPESPDO_PROTECTIONTYPE, domain where PROTECTION_GROUPS.FK_PROTECTION_TYPE = TYPESPDO_PROTECTIONTYPE.oid_ and domain.domain_type='AOCMN_STATUS' and domain.VALUE = to_char(PROTECTION_GROUPS.STATUS) and PROTECTION_GROUPS.status < 7
order by PROTECTION_GROUPS.pdsaudit_lastmodifiedtime desc
INFO 2012-03-30 09:40:44,875- Set Fetch Size to 1000
INFO 2012-03-30 09:40:44,877- Fetch Timeout to 3600 seconds.
INFO 2012-03-30 09:40:44,877- executing the statement...
INFO 2012-03-30 09:40:45,092- w[32|28:4|0]0.0K(4.4):0.0K(0.0)/s
INFO 2012-03-30 09:40:45,486- 180 documents to index
INFO 2012-03-30 09:40:45,488- Scheduled Period to index:[2011/11/04 17:07:53 EST ~ 2012/03/27 05:10:14 EST]
INFO 2012-03-30 09:40:45,489- Full Index Period:[2011/11/04 17:07:53 EST ~ 2012/03/27 05:10:14 EST]
WARN 2012-03-30 09:40:45,959- stopping indexing for pg
WARN 2012-03-30 09:40:45,960- stopping indexing for pg
INFO 2012-03-30 09:40:46,963- Stopping all threads...
INFO 2012-03-30 09:40:46,963- Stop retrieving ...
WARN 2012-03-30 09:40:46,964- stopping indexing for pg
INFO 2012-03-30 09:40:47,001- Period Table: [2011/11/04 17:07:53 EST ~ 2012/03/27 05:10:14 EST]
INFO 2012-03-30 09:40:47,002- Releasing connection pool...
INFO 2012-03-30 09:40:47,007- Stopping fetchers...
INFO 2012-03-30 09:40:47,007- Stopping writers...
INFO 2012-03-30 09:40:47,008- Shutting down schedulers...
INFO 2012-03-30 09:40:47,008- Releasing index writer pool...
WARN 2012-03-30 09:40:47,009- IW 0 [main]: now flush at close
WARN 2012-03-30 09:40:47,010- IW 0 [main]: flush: segment=_0 docStoreSegment=_0 docStoreOffset=0 flushDocs=true flushDeletes=true flushDocStores=true numDocs=180 numBufDelTerms=180
WARN 2012-03-30 09:40:47,010- IW 0 [main]: index before flush
WARN 2012-03-30 09:40:47,012- IW 0 [main]: DW: flush postings as segment _0 numDocs=180
WARN 2012-03-30 09:40:47,013- IW 0 [main]: DW: closeDocStore: 2 files to flush to segment _0 numDocs=180
WARN 2012-03-30 09:40:47,090- IW 0 [main]: DW: oldRAMSize=374784 newFlushedSize=79298 docs/MB=2,380.182 new/old=21.158%
WARN 2012-03-30 09:40:47,093- IFD [main]: now checkpoint "segments_1" [1 segments ; isCommit = false]
WARN 2012-03-30 09:40:47,097- IFD [main]: now checkpoint "segments_1" [1 segments ; isCommit = false]
WARN 2012-03-30 09:40:47,098- IFD [main]: delete "_0.fdt"
WARN 2012-03-30 09:40:47,099- IFD [main]: delete "_0.frq"
WARN 2012-03-30 09:40:47,100- IFD [main]: delete "_0.nrm"
WARN 2012-03-30 09:40:47,100- IFD [main]: delete "_0.fdx"
WARN 2012-03-30 09:40:47,101- IFD [main]: delete "_0.tii"
WARN 2012-03-30 09:40:47,102- IFD [main]: delete "_0.tis"
WARN 2012-03-30 09:40:47,103- IFD [main]: delete "_0.prx"
WARN 2012-03-30 09:40:47,103- IFD [main]: delete "_0.fnm"
WARN 2012-03-30 09:40:47,104- IW 0 [main]: DW: apply 180 buffered deleted terms and 0 deleted docIDs and 0 deleted queries on 1 segments.
WARN 2012-03-30 09:40:47,131- IW 0 [main]: DW: apply deletes took 27 msec
WARN 2012-03-30 09:40:47,132- IFD [main]: now checkpoint "segments_1" [1 segments ; isCommit = false]
WARN 2012-03-30 09:40:47,133- IW 0 [main]: LMP: findMerges: 1 segments
WARN 2012-03-30 09:40:47,134- IW 0 [main]: LMP: level -1.0 to 3.7058332: 1 segments
WARN 2012-03-30 09:40:47,135- IW 0 [main]: CMS: now merge
WARN 2012-03-30 09:40:47,135- IW 0 [main]: CMS: index: _0:c180
WARN 2012-03-30 09:40:47,136- IW 0 [main]: CMS: no more merges pending; now return
WARN 2012-03-30 09:40:47,137- IW 0 [main]: CMS: now merge
WARN 2012-03-30 09:40:47,137- IW 0 [main]: CMS: index: _0:c180
WARN 2012-03-30 09:40:47,138- IW 0 [main]: CMS: no more merges pending; now return
WARN 2012-03-30 09:40:47,138- IW 0 [main]: now call final commit()
WARN 2012-03-30 09:40:47,139- IW 0 [main]: startCommit(): start sizeInBytes=0
WARN 2012-03-30 09:40:47,140- IW 0 [main]: startCommit index=_0:c180 changeCount=4
WARN 2012-03-30 09:40:47,140- IW 0 [main]: now sync _0.cfs
WARN 2012-03-30 09:40:47,158- IW 0 [main]: done all syncs
WARN 2012-03-30 09:40:47,159- IW 0 [main]: commit: pendingCommit != null
WARN 2012-03-30 09:40:47,164- IW 0 [main]: commit: wrote segments file "segments_2"
WARN 2012-03-30 09:40:47,165- IFD [main]: now checkpoint "segments_2" [1 segments ; isCommit = true]
WARN 2012-03-30 09:40:47,166- IFD [main]: deleteCommits: now decRef commit "segments_1"
WARN 2012-03-30 09:40:47,166- IFD [main]: delete "segments_1"
WARN 2012-03-30 09:40:47,167- IW 0 [main]: commit: done
WARN 2012-03-30 09:40:47,168- IW 0 [main]: at close: _0:c180
INFO 2012-03-30 09:40:47,169- Directory is marked ready: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main
INFO 2012-03-30 09:40:47,169- Indexing Context closed!
INFO 2012-03-30 09:40:47,170- Directory is marked ready as up-to-date: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main
INFO 2012-03-30 09:40:47,171- Directory is marked ready as up-to-date: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main
WARN 2012-03-30 09:40:47,174- Failed to ask server to refresh via
INFO 2012-03-30 09:40:47,175- ~~~~~~~ pg:reBuildDictionary ...
ERROR 2012-03-30 09:40:47,176- Failed To Contact to stop spell check index
INFO 2012-03-30 09:40:47,194- Opened index pg
INFO 2012-03-30 09:40:47,230- Directory is marked ready: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/dictionary
INFO 2012-03-30 09:40:47,231- Complete Directory For pg
INFO 2012-03-30 09:40:47,231- ~~~~~~~ pg:buildDictionaryIfNeeded ...
INFO 2012-03-30 09:40:49,104- Directory is marked ready: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/dictionary/spell_check
INFO 2012-03-30 09:40:49,105- ------- pg:completed, Time used: 10 seconds
INFO 2012-03-30 09:40:49,105- Stop retrieving ...
WARN 2012-03-30 09:40:49,106- stopping indexing for pg
INFO 2012-03-30 09:40:49,187- Period Table: [2011/11/04 17:07:53 EST ~ 2012/03/27 05:10:14 EST]
INFO 2012-03-30 09:40:49,188- Indexing Context closed!

and then when doing via the dashboard show:

WARN 2012-03-30 09:45:24,479- stopping indexing for pg
INFO 2012-03-30 09:45:24,481- ~~~~~~~ pg:unlockStoppedIndex ...
INFO 2012-03-30 09:45:24,481- unlock temp files if exists
INFO 2012-03-30 09:45:24,515- ~~~~~~~ pg:maybeBuildSynonyms ...
INFO 2012-03-30 09:45:24,518- ~~~~~~~ pg:reCreateIndex ...
INFO 2012-03-30 09:45:24,523- buiding index for pg
INFO 2012-03-30 09:45:24,525- re-creating index ...
INFO 2012-03-30 09:45:24,527- Working in directory:/var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main1
INFO 2012-03-30 09:45:29,532- DB Connection using : oracle.jdbc.driver.OracleDriver
INFO 2012-03-30 09:45:29,533- jdbc.url=jdbc:oracle:thin:@host:1521:PRD1
INFO 2012-03-30 09:45:29,534- jdbc.username=prod (hidden jdbc.password)
INFO 2012-03-30 09:45:30,313- Loaded Oracle from file:/var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/lib/ext/jdbc/oracle/ojdbc14.jar
INFO 2012-03-30 09:45:30,330- DBCP prepared statement pooling enabled
INFO 2012-03-30 09:45:30,583- Existing Period Table: [2011/11/04 17:07:53 EST ~ 2012/03/27 05:10:14 EST]
INFO 2012-03-30 09:45:30,586- TaskScheduler provider class is 'class net.javacoding.xsearch.core.task.c.a'
INFO 2012-03-30 09:45:30,599- Starting 7 fetcher workers...
INFO 2012-03-30 09:45:30,606- Creating index writer under directory: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg
INFO 2012-03-30 09:45:30,607- Loading Analyzer:net.javacoding.xsearch.indexer.analyzer.NumberLowerCaseAnalyzer
INFO 2012-03-30 09:45:30,609- Creating Writer on org.apache.lucene.store.NIOFSDirectory@/var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main1
WARN 2012-03-30 09:45:30,697- IFD [main]: setInfoStream deletionPolicy=org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy@15c998a
WARN 2012-03-30 09:45:30,699- IW 0 [main]: setInfoStream: dir=org.apache.lucene.store.NIOFSDirectory@/var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main1 mergePolicy=org.apache.lucene.index.LogByteSizeMergePolicy@6458a6 mergeScheduler=org.apache.lucene.index.ConcurrentMergeScheduler@1f82ab4 ramBufferSizeMB=16.0 maxBufferedDocs=-1 maxBuffereDeleteTerms=-1 maxFieldLength=2147483647 index=
WARN 2012-03-30 09:45:30,700- IW 0 [main]: setRAMBufferSizeMB 16.0
WARN 2012-03-30 09:45:30,702- IW 0 [main]: setMaxFieldLength 10000
INFO 2012-03-30 09:45:30,703- writer created
INFO 2012-03-30 09:45:30,715- Getting the connection...
INFO 2012-03-30 09:45:30,715- Dir size:52 Bytes
INFO 2012-03-30 09:45:30,920- Database Product Name : Oracle
INFO 2012-03-30 09:45:30,922- Database Product Version : Oracle Database 11g Release 11.1.0.0.0 - Production
INFO 2012-03-30 09:45:30,922- Database Major Version : 11
INFO 2012-03-30 09:45:30,923- Database Minor Version : 1
INFO 2012-03-30 09:45:30,923- Driver Name : Oracle JDBC driver
INFO 2012-03-30 09:45:30,924- Driver Version : 10.2.0.2.0
INFO 2012-03-30 09:45:30,924- JDBC Major Version : 10
INFO 2012-03-30 09:45:30,925- JDBC Minor Version : 2
INFO 2012-03-30 09:45:30,925- Maximum Number of Connections : 0
INFO 2012-03-30 09:45:30,926- URL : jdbc:oracle:thin:@nntmtd01-vip:1521:PRD1
INFO 2012-03-30 09:45:30,927- User Name : PROD
INFO 2012-03-30 09:45:30,927- Connected.
INFO 2012-03-30 09:45:30,928- Preparing the statement...
INFO 2012-03-30 09:45:31,018- select TYPESPDO_PROTECTIONTYPE.name_ as TYPE_NAME, to_char(to_dec(trim(to_char('1038','0XXX')) || '0003')) as CLASSID, domain.name as NEW_STATUS,
decode(to_char(PROTECTION_GROUPS.LIFETIME_END,'YYYY'),'2038',' ',to_char(PROTECTION_GROUPS.LIFETIME_END,'DD/MM/YYYY')) as NEW_LIFETIME_END,
PROTECTION_GROUPS.* from PROTECTION_GROUPS, TYPESPDO_PROTECTIONTYPE, domain where PROTECTION_GROUPS.FK_PROTECTION_TYPE = TYPESPDO_PROTECTIONTYPE.oid_ and domain.domain_type='AOCMN_STATUS' and domain.VALUE = to_char(PROTECTION_GROUPS.STATUS) and PROTECTION_GROUPS.status < 7
order by PROTECTION_GROUPS.pdsaudit_lastmodifiedtime desc
INFO 2012-03-30 09:45:31,019- Set Fetch Size to 1000
INFO 2012-03-30 09:45:31,021- Fetch Timeout to 3600 seconds.
INFO 2012-03-30 09:45:31,021- executing the statement...
INFO 2012-03-30 09:45:31,229- w[35|31:4|0]0.0K(4.5):0.0K(0.0)/s
INFO 2012-03-30 09:45:31,623- 180 documents to index
INFO 2012-03-30 09:45:31,624- Scheduled Period to index:[2011/11/04 17:07:53 EST ~ 2012/03/27 05:10:14 EST]
INFO 2012-03-30 09:45:31,625- Full Index Period:[2011/11/04 17:07:53 EST ~ 2012/03/27 05:10:14 EST]
WARN 2012-03-30 09:45:31,718- stopping indexing for pg
WARN 2012-03-30 09:45:31,719- stopping indexing for pg
INFO 2012-03-30 09:45:32,723- Stopping all threads...
INFO 2012-03-30 09:45:32,724- Stop retrieving ...
WARN 2012-03-30 09:45:32,724- stopping indexing for pg
INFO 2012-03-30 09:45:32,763- Period Table: [2011/11/04 17:07:53 EST ~ 2012/03/27 05:10:14 EST]
INFO 2012-03-30 09:45:32,764- Releasing connection pool...
INFO 2012-03-30 09:45:32,769- Stopping fetchers...
INFO 2012-03-30 09:45:32,769- Stopping writers...
INFO 2012-03-30 09:45:32,770- Shutting down schedulers...
INFO 2012-03-30 09:45:32,770- Releasing index writer pool...
WARN 2012-03-30 09:45:32,771- IW 0 [main]: now flush at close
WARN 2012-03-30 09:45:32,771- IW 0 [main]: flush: segment=_0 docStoreSegment=_0 docStoreOffset=0 flushDocs=true flushDeletes=true flushDocStores=true numDocs=180 numBufDelTerms=180
WARN 2012-03-30 09:45:32,772- IW 0 [main]: index before flush
WARN 2012-03-30 09:45:32,774- IW 0 [main]: DW: flush postings as segment _0 numDocs=180
WARN 2012-03-30 09:45:32,775- IW 0 [main]: DW: closeDocStore: 2 files to flush to segment _0 numDocs=180
WARN 2012-03-30 09:45:32,853- IW 0 [main]: DW: oldRAMSize=374784 newFlushedSize=79298 docs/MB=2,380.182 new/old=21.158%
WARN 2012-03-30 09:45:32,855- IFD [main]: now checkpoint "segments_1" [1 segments ; isCommit = false]
WARN 2012-03-30 09:45:32,860- IFD [main]: now checkpoint "segments_1" [1 segments ; isCommit = false]
WARN 2012-03-30 09:45:32,861- IFD [main]: delete "_0.fdt"
WARN 2012-03-30 09:45:32,862- IFD [main]: delete "_0.frq"
WARN 2012-03-30 09:45:32,863- IFD [main]: delete "_0.nrm"
WARN 2012-03-30 09:45:32,864- IFD [main]: delete "_0.fdx"
WARN 2012-03-30 09:45:32,865- IFD [main]: delete "_0.tii"
WARN 2012-03-30 09:45:32,865- IFD [main]: delete "_0.tis"
WARN 2012-03-30 09:45:32,866- IFD [main]: delete "_0.prx"
WARN 2012-03-30 09:45:32,867- IFD [main]: delete "_0.fnm"
WARN 2012-03-30 09:45:32,868- IW 0 [main]: DW: apply 180 buffered deleted terms and 0 deleted docIDs and 0 deleted queries on 1 segments.
WARN 2012-03-30 09:45:32,897- IW 0 [main]: DW: apply deletes took 30 msec
WARN 2012-03-30 09:45:32,898- IFD [main]: now checkpoint "segments_1" [1 segments ; isCommit = false]
WARN 2012-03-30 09:45:32,899- IW 0 [main]: LMP: findMerges: 1 segments
WARN 2012-03-30 09:45:32,899- IW 0 [main]: LMP: level -1.0 to 3.7058332: 1 segments
WARN 2012-03-30 09:45:32,900- IW 0 [main]: CMS: now merge
WARN 2012-03-30 09:45:32,901- IW 0 [main]: CMS: index: _0:c180
WARN 2012-03-30 09:45:32,901- IW 0 [main]: CMS: no more merges pending; now return
WARN 2012-03-30 09:45:32,902- IW 0 [main]: CMS: now merge
WARN 2012-03-30 09:45:32,902- IW 0 [main]: CMS: index: _0:c180
WARN 2012-03-30 09:45:32,903- IW 0 [main]: CMS: no more merges pending; now return
WARN 2012-03-30 09:45:32,904- IW 0 [main]: now call final commit()
WARN 2012-03-30 09:45:32,904- IW 0 [main]: startCommit(): start sizeInBytes=0
WARN 2012-03-30 09:45:32,905- IW 0 [main]: startCommit index=_0:c180 changeCount=4
WARN 2012-03-30 09:45:32,906- IW 0 [main]: now sync _0.cfs
WARN 2012-03-30 09:45:32,926- IW 0 [main]: done all syncs
WARN 2012-03-30 09:45:32,927- IW 0 [main]: commit: pendingCommit != null
WARN 2012-03-30 09:45:32,933- IW 0 [main]: commit: wrote segments file "segments_2"
WARN 2012-03-30 09:45:32,933- IFD [main]: now checkpoint "segments_2" [1 segments ; isCommit = true]
WARN 2012-03-30 09:45:32,934- IFD [main]: deleteCommits: now decRef commit "segments_1"
WARN 2012-03-30 09:45:32,935- IFD [main]: delete "segments_1"
WARN 2012-03-30 09:45:32,935- IW 0 [main]: commit: done
WARN 2012-03-30 09:45:32,936- IW 0 [main]: at close: _0:c180
INFO 2012-03-30 09:45:32,937- Directory is marked ready: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main1
INFO 2012-03-30 09:45:32,938- Indexing Context closed!
INFO 2012-03-30 09:45:32,938- Directory is marked ready as up-to-date: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main1
INFO 2012-03-30 09:45:32,939- Directory is marked not ready: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main
INFO 2012-03-30 09:45:32,940- Directory is marked ready as up-to-date: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main1
INFO 2012-03-30 09:45:32,940- Directory is marked not ready: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main
INFO 2012-03-30 09:45:33,263- ~~~~~~~ pg:reBuildDictionary ...
INFO 2012-03-30 09:45:34,637- Opened index pg
INFO 2012-03-30 09:45:34,685- Directory is marked ready: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/dictionary
INFO 2012-03-30 09:45:34,686- Complete Directory For pg
INFO 2012-03-30 09:45:34,696- ~~~~~~~ pg: ...
INFO 2012-03-30 09:45:34,696- ~~~~~~~ pg:buildDictionaryIfNeeded ...
INFO 2012-03-30 09:45:34,697- ~~~~~~~ pg:ping-a-url ...
INFO 2012-03-30 09:45:34,698- ------- pg:completed, Time used: 10 seconds
INFO 2012-03-30 09:45:34,698- Stop retrieving ...
WARN 2012-03-30 09:45:34,698- stopping indexing for pg
INFO 2012-03-30 09:45:34,718- Period Table: [2011/11/04 17:07:53 EST ~ 2012/03/27 05:10:14 EST]
INFO 2012-03-30 09:45:34,719- Indexing Context closed!

Doing a diff, i see:

< INFO Existing Period Table: [2011/11/04 17:07:53 EST ~ 2012/03/27 05:10:14 EST]
---
> INFO Existing Period Table: null

< INFO Directory is marked ready as up-to-date: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main1
< INFO Directory is marked not ready: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main
< INFO Directory is marked ready as up-to-date: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main1
< INFO Directory is marked not ready: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main
---
> INFO Directory is marked ready as up-to-date: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main
> INFO Directory is marked ready as up-to-date: /var/s2net/resman/systems/PROD/Reporter/webapps/dbsight/WEB-INF/data/indexes/pg/main
> WARN Failed to ask server to refresh via

> ERROR Failed To Contact to stop spell check index

Can anyone help?

ta

Jeff

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Submitted by jvevfvf on Thu, 2012-03-29 19:40.

The same thing happens if i just let the scheduler do an incremental index when there is no index present - it runs, it uses up disk, but nothing returns.

I'm using dbsight 3 (latest) (due to java limitations)

Cheers

jeff

Submitted by will on Thu, 2012-03-29 22:58.

because "Failed to ask server to refresh via"

This is because the URL of the server is empty. So the indexer could not tell the server to reload the index.

You need to make sure the WEB-INF/data/log/http.xml has the correct information.

Submitted by jvevfvf on Sun, 2012-04-01 17:25.

Thanks Will - that fixed it.

Cheers

Jeff