From 5bd41ef88a52329f4b907619b2af6af5bb7da6a6 Mon Sep 17 00:00:00 2001 From: j2blake Date: Fri, 25 Nov 2011 17:41:23 +0000 Subject: [PATCH] Tweak the messages in the smoke test that checks the connection to Solr. --- .../vitro/webapp/servlet/setup/SolrSmokeTest.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/servlet/setup/SolrSmokeTest.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/servlet/setup/SolrSmokeTest.java index efbe3d505..deeda78c3 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/servlet/setup/SolrSmokeTest.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/servlet/setup/SolrSmokeTest.java @@ -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."); }