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() { private void warnForbidden() {
ss.warning(listener, "Can't connect to the Solr search engine. " ss.warning(listener, "Can't connect to the Solr search engine. "
+ "The server will not accept connections from this host. " + "The Solr server will not accept connections from this "
+ "Check the value of vitro.local.solr.ipaddress.mask " + "host. Check the value of "
+ "in deploy.properties"); + "vitro.local.solr.ipaddress.mask in "
+ "deploy.properties -- "
+ "does it authorize access from this IP address?");
} }
private void warnBadHttpStatus(int status) { private void warnBadHttpStatus(int status) {
ss.warning(listener, "Can't connect to the Solr search engine. " 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 " + ". Check the value of vitro.local.solr.url in "
+ "deploy.properties."); + "deploy.properties.");
} }