lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <>
Subject [jira] [Commented] (SOLR-3613) Namespace Solr's JAVA OPTIONS
Date Thu, 12 Jul 2012 23:09:35 GMT


Mark Miller commented on SOLR-3613:

bq. Another problematic one from solr.xml is this: hostPort="${jetty.port:}". It assumes Jetty
as Java Application Server,

Yup - another way that we have made the user experience better by assuming jetty. This is
exactly what I meant - this keeps you from having to specify the port twice on the cmd line
- silly when you should just be using jetty and we know the port.

I have been optimizing for jetty for a while now.

bq.  it feels awkward to say -Djetty.port=8080 to tell SolrCloud that Tomcat is running on
port 8080

They are free to change it - it's in solr.xml. I'd rather have our default system not be awkward
than worry about Tomcat being awkward. This is exactly what I've been talking about. For too
long we have been awkward for every thing rather than good for one thing.
> Namespace Solr's JAVA OPTIONS
> -----------------------------
>                 Key: SOLR-3613
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.0-ALPHA
>            Reporter: Jan H√łydahl
>             Fix For: 4.0
> Solr being a web-app, should play nicely in a setting where users deploy it on a shared
> To this regard Solr's JAVA_OPTS should be properly name spaced, both to avoid name clashes
and for clarity when reading your appserver startup script. We currently do that with most:
{{solr.solr.home,, solr.abortOnConfigurationError, solr.directoryFactory, solr.clustering.enabled,
solr.velocity.enabled etc}}, but for some opts we fail to do so.
> Before release of 4.0 we should make sure to clean this up.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message