Thanks Erik That did the trick for data directory.
I gave the -DSOLR_DATA=''%SOLR_DATA%" in the jboss run.bat and then i am using this variable in solrconfig.xml. This works fine But how can i redirect solr to a seperate lib directrory that is outside of the solr.home Is this possible in solr 1.3 Thanks con Erik Hatcher wrote: > > > On Mar 11, 2009, at 5:14 AM, con wrote: >> But still it is not working >> >> I changed the data directory accordingly, >> <dataDir>${SOLR_DATA}</dataDir> >> >> But this is not working and is giving the following error: >> >> SEVERE: Error in >> solrconfig.xml:org.apache.solr.common.SolrException: No >> system property or default value specified for SOLR_DATA > > For this to work, you have to set a JVM system property when launching > Solr: > > java -DSOLR_DATA=<desired data dir path> -jar start.jar > > Erik > > > -- View this message in context: http://www.nabble.com/Custom-path-for-solr-lib-and-data-folder-tp22450530p22451986.html Sent from the Solr - User mailing list archive at Nabble.com.