lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Au (JIRA)" <>
Subject [jira] Commented: (SOLR-333) distributiondump.jsp gets the path to logs wrong
Date Mon, 13 Aug 2007 20:09:31 GMT


Bill Au commented on SOLR-333:

I am going to update the JSP to behave the same way as Solr does in determining solr home:

1) JNDI lookup
2) system property solr.solr.home
3) default to cwd

Ken, so you will need to do either 1) or 2) to set Solr home.

> distributiondump.jsp gets the path to logs wrong
> ------------------------------------------------
>                 Key: SOLR-333
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>         Environment: Tomcat 5.5
>            Reporter: Ken Prows
>            Assignee: Bill Au
>             Fix For: 1.2
> I can't seem to get the Distribution Info page to work. 
> I think it is because I have a custom path to solr. My path to the logs directory looks
like this: /apps/search/solr/catalog/logs (The base url to solr ends up being
I have to create my path like this in order to have multiple instances of solr running in
the same container.
> distributiondump.jsp is creating the path to the status file using: cwd + "/solr/logs/snapshot.current",
which ends up being wrong. 
> Would it be possible to make it use a rootdir variable like: rootdir + "/logs/snapshot.current"?
If there is no way to determine the rootdir, perhaps it could be added to solrconfig.xml (or
at least let it be overridden there.)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message