Project

General

Profile

Revision 8324

Added by Jing Tao almost 8 years ago

Add a jsp file to display the schema modification exception.

View differences:

lib/admin/solr-schema-warn.jsp
1
<%@ page language="java" %>
2
<%@ page import="java.util.Vector,edu.ucsb.nceas.metacat.database.DBVersion,edu.ucsb.nceas.metacat.MetacatVersion" %>
3

  
4
<%
5
	/**
6
 *  '$RCSfile$'
7
 *    Copyright: 2008 Regents of the University of California and the
8
 *               National Center for Ecological Analysis and Synthesis
9
 *  For Details: http://www.nceas.ucsb.edu/
10
 *
11
 *   '$Author: walker $'
12
 *     '$Date: 2013-09-19 11:59:52 -0700 (Thu, 19 Sep 2013) $'
13
 * '$Revision: 8245 $'
14
 * 
15
 * This program is free software; you can redistribute it and/or modify
16
 * it under the terms of the GNU General Public License as published by
17
 * the Free Software Foundation; either version 2 of the License, or
18
 * (at your option) any later version.
19
 *
20
 * This program is distributed in the hope that it will be useful,
21
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
 * GNU General Public License for more details.
24
 *
25
 * You should have received a copy of the GNU General Public License
26
 * along with this program; if not, write to the Free Software
27
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28
 */
29
%>
30

  
31
<%
32
	MetacatVersion metacatVersion = (MetacatVersion)request.getAttribute("metacatVersion"); 	
33
	DBVersion databaseVersion = (DBVersion)request.getAttribute("databaseVersion");
34
	Vector<String> updateScriptList = (Vector<String> )request.getAttribute("updateScriptList");
35
	String supportEmail = (String)request.getAttribute("supportEmail");
36
%>
37

  
38
<html>
39
<head>
40

  
41
<title>Existing Customized Solr Schema Warning</title>
42
<%@ include file="./head-section.jsp"%>
43
</head>
44
<body>
45
<%@ include file="./header-section.jsp"%>
46

  
47
<div class="document">
48
	<h2>Database Install/Upgrade Utility</h2>
49
	
50
	<p><%@ include file="page-message-section.jsp"%></p>
51
    <p><div class="alert alert-error">
52
        Note: after configuring Metacat and restarting Tomcat, you have to issue a 'reindexall' action as an administrator to rebuild the Solr index.</div></p>
53
	<input class="button" type="button" value="Okay" onClick="forward('./admin?configureType=configure&processForm=false')"> 
54
	
55
</div>
56
	<%@ include file="./footer-section.jsp"%>
57

  
58
</body>
59
</html>
0 60

  

Also available in: Unified diff