Tweak the messages in the smoke test that checks the connection to Solr.

This commit is contained in:
j2blake 2011-11-25 17:41:23 +00:00
parent 9f73647047
commit 5bd41ef88a

View file

@ -106,14 +106,16 @@ public class SolrSmokeTest implements ServletContextListener {
private void warnForbidden() {
ss.warning(listener, "Can't connect to the Solr search engine. "
+ "The server will not accept connections from this host. "
+ "Check the value of vitro.local.solr.ipaddress.mask "
+ "in deploy.properties");
+ "The Solr server will not accept connections from this "
+ "host. Check the value of "
+ "vitro.local.solr.ipaddress.mask in "
+ "deploy.properties -- "
+ "does it authorize access from this IP address?");
}
private void warnBadHttpStatus(int status) {
ss.warning(listener, "Can't connect to the Solr search engine. "
+ "The server returned a status code of " + status
+ "The Solr server returned a status code of " + status
+ ". Check the value of vitro.local.solr.url in "
+ "deploy.properties.");
}