Tweak the messages in the smoke test that checks the connection to Solr.
This commit is contained in:
parent
9f73647047
commit
5bd41ef88a
1 changed files with 6 additions and 4 deletions
|
@ -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.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue