2008/8/6 Henrib <[EMAIL PROTECTED]> > > My bad, sorry, I read too fast and skipped the fist necessary which is to > get > solr.home through JNDI which you can't have nor set I presume... (which > from > there would allow reading a multicore.properties, etc...)
The most irritating thing is that he can't set -Dsolr.solr.home but I can hack the SolrResourceLoader to load it from another JVM argument. Man, I hate sysadmins nowadays! > > I can only hope you are not running on Websphere (where the same kind of > sysadmin go ballistic when they see logs in their console...) LOL This specific sysdamin loves logs. And we are working with weblogic. I think this will be a nice use case. As the project goes to production and I get time to live again, I expect to write my experiences with Solr on this project. That will be fun. > > Cheers > Henrib > > > zayhen wrote: > > > > Hello Henrib, > > > > I have read the issue and it seems an interesting feature for Solr, but I > > don't see how it address to my needs, as I need to point Solr to the > > multicore.properties file. > > > > Actually, I have already resolved my problem, hacking SolrResourceLoader > > so > > that it can load a solr.properties file inside a directory defined in a > > standard JVM argument the sysadmin puts on all JVM's (I know this is > > stupid. > > He could put the solr.home, but NO, he said! Use the standards! F0cking > > sysadmin...) > > > > > > -- > View this message in context: > http://www.nabble.com/Loading-solr-from-.properties-file-tp18851924p18860185.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- Alexander Ramos Jardim