Hi

This is a Bug. Created STANBOL-610. Hope to fix it later today.

best
Rupert

On 10.05.2012, at 15:57, seralf wrote:

> Hi
> i have a little error if i try to launch the indexer passing to it a custom
> config directory.
> 
> if i use the command:
>>> java -Xmx1024m -jar
> bin/org.apache.stanbol.entityhub.indexing.genericrdf-0.9.0-incubating-SNAPSHOT-jar-with-dependencies.jar
> index ./prova
> 
> The error is always similar to this:
> 
> 15:49:02,094 [main] INFO  config.IndexingConfig - Indexing directory:
> /home/seralf/Scrivania/indici/prova/indexing
> 15:49:02,096 [main] INFO  config.IndexingConfig - No 'indexing.properties'
> found via classpath. Loading Resource viathe classpath is deactivated.
> 15:49:02,096 [main] INFO  config.IndexingConfig - Classpath Indexing Root
> null
> 15:49:02,096 [main] INFO  config.IndexingConfig - request for Resource
> indexing.properties (folder: prova/indexing/config)
> 15:49:02,096 [main] INFO  config.IndexingConfig -  > rquested Resource not
> found
> Exception in thread "main" java.lang.IllegalArgumentException: Unable to
> find configuration file 'indexing.properties'!
>    at
> org.apache.stanbol.entityhub.indexing.core.config.IndexingConfig.loadConfig(IndexingConfig.java:592)
>    at
> org.apache.stanbol.entityhub.indexing.core.config.IndexingConfig.<init>(IndexingConfig.java:278)
>    at
> org.apache.stanbol.entityhub.indexing.core.IndexerFactory.create(IndexerFactory.java:80)
>    at org.apache.stanbol.entityhub.indexing.Main.main(Main.java:64)
> 
> please note that the "./prova" directory actually contains the searched
> file. I tried using a nested "indexing/conf" directory al well as a nested
> "config" directory directly.

Reply via email to