Anyone encounter a problem when changing their hostname? (via /etc/conf.d/hostname or just the hostname command) I'm getting this error when going to the admin screen, I have a feeling it's a simple fix. It seems to work when it thinks the machine's name is just 'localhost'.
org.apache.jasper.JasperException: Exception in JSP: /admin/_info.jsp:43 40: } 41: 42: String collectionName = schema!=null ? schema.getName():"unknown"; 43: InetAddress addr = InetAddress.getLocalHost(); 44: String hostname = addr.getCanonicalHostName(); 45: 46: String defaultSearch = ""; Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:467) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:133) root cause java.net.UnknownHostException: app10: app10 java.net.InetAddress.getLocalHost(InetAddress.java:1308) org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:95) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:133) -- View this message in context: http://www.nabble.com/Problem-with-machine-hostname-and-Solr-Tomcat-tf3816176.html#a10803121 Sent from the Solr - User mailing list archive at Nabble.com.