Re: Setting hostPort in System properties

2013-08-13 Thread Erick Erickson
Unless this is a copy/paste error, it's just wrong -DjhostPort=8080 jhostPort? But more to the point, your specification is wrong. The sysprop that would be substituted is "port" since that's what's in ${port:}. Try: ${hostPort:} Best Erick On Tue, Aug 13, 2013 at 3:47 AM, Prasi S wrote:

Setting hostPort in System properties

2013-08-13 Thread Prasi S
Hi, when i set solr hostPort in tomcat system properties, it is not working. If I specify that in solr.xml then it is working. Is it mandatory that hostPort shouls be set only in solr.xml ? Solr.xml setting: ${host:} *${port:}* Tomcat runtime setting: * * *set JAVA_OPTS=-Dprogram.na