anchor.diff:                   java.net.InetAddress,
                    java.net.UnknownHostException,
                    java.util.Date"%>
  +
  +<%@include file="header.jsp" %>
  +
   <%
  -  SolrCore core = SolrCore.getSolrCore();
  -  Integer port = new Integer(request.getServerPort());
  -  IndexSchema schema = core.getSchema();
  -  String collectionName = schema!=null ? schema.getName():"unknown";
  -
  -  String rootdir = "/var/opt/resin3/"+port.toString();
  -  File pidFile = new File(rootdir + "/logs/resin.pid");
  -  String startTime = "";
  -
  -  try {
  -    startTime = (pidFile.lastModified() > 0)
  -              ? new Date(pidFile.lastModified()).toString()
  -                    : "No Resin Pid found (logs/resin.pid)";
  -  } catch (Exception e) {
  -    out.println("<ERROR>");
  -    out.println("Couldn't open Solr pid file:" + e.toString());
  -    out.println("</ERROR>");
  -  }
  -
  -  String hostname="localhost";
  -  try {
  -    InetAddress addr = InetAddress.getLocalHost();
  -    // Get IP Address
  -    byte[] ipAddr = addr.getAddress();
  -    // Get hostname
  -    // hostname = addr.getHostName();
  -    hostname = addr.getCanonicalHostName();
  -  } catch (UnknownHostException e) {}
  -
  -  File slaveinfo = new File(rootdir + "/logs/snappuller.status");
  +  File slaveinfo = new File(cwd + "/logs/snappuller.status");
   
     StringBuffer buffer = new StringBuffer();
     String mode = "";
  
positive.code:   if (slaveinfo.canRead()) {
      // Slave instance
      mode = "Slave";
      File slavevers = new File(rootdir + "/logs/snapshot.current");
      BufferedReader inforeader = new BufferedReader(new FileReader(slaveinfo));
      BufferedReader versreader = new BufferedReader(new FileReader(slavevers));
      buffer.append("<tr>\n" +
  
negative.code:     }
    }
  %>
  
  
  </body>
  </html>
  