Hi there!

I have a question concerned with ability to use relative path for the config 
files.

I am deploying Solr within a custom war application and it requires a path to 
its config files. Also I'm using Tomcat 7 for the deployment. Before parallel 
deployment I had this entry in context.xml:

<Environment name="solr/home" 
value="${ROOTDIR}/app/A1/webapps/search-internal/WEB-INF/classes/solr" 
type="java.lang.String" override="false"/>

But now, I cannot predict the name of the application path (since it looks like 
this "search-internal##11081701"). I have also been unsucessful in putting this 
environment entry inside the application itself and using a relative path, 
since it appears to be relative to tomcat and not to the application.

Is there some magic like a ${APP_ROOT} variable I can use?

Would be very appreciated for any comments.




Regards, Ksenia Khailenko




---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to