Commit 57a4459c authored by Bill Lynch's avatar Bill Lynch Committed by bill

Compile fixes


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@74 b35dd754-fafc-0310-a699-88a17e54d16e
parent dcffb573
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
} }
%> %>
<%@ include file="setup-global.jsp" %> <%@ include file="setup-global.jspf" %>
<jsp:useBean id="adminManager" class="org.jivesoftware.util.WebManager" /> <jsp:useBean id="adminManager" class="org.jivesoftware.util.WebManager" />
<% // Get parameters <% // Get parameters
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
org.jivesoftware.database.DbConnectionManager, org.jivesoftware.database.DbConnectionManager,
org.jivesoftware.database.JNDIDataSourceProvider" %> org.jivesoftware.database.JNDIDataSourceProvider" %>
<%@ include file="setup-global.jsp" %> <%@ include file="setup-global.jspf" %>
<% // check for embedded mode: <% // check for embedded mode:
if (embeddedMode) { if (embeddedMode) {
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
static final String EMBEDDED = "embedded"; static final String EMBEDDED = "embedded";
%> %>
<%@ include file="setup-global.jsp" %> <%@ include file="setup-global.jspf" %>
<% // Get parameters <% // Get parameters
String mode = ParamUtils.getParameter(request,"mode"); String mode = ParamUtils.getParameter(request,"mode");
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
org.jivesoftware.database.DefaultConnectionProvider" org.jivesoftware.database.DefaultConnectionProvider"
%> %>
<%@ include file="setup-global.jsp" %> <%@ include file="setup-global.jspf" %>
<% // Get parameters <% // Get parameters
String driver = ParamUtils.getParameter(request,"driver"); String driver = ParamUtils.getParameter(request,"driver");
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<%@ page import="java.lang.reflect.Method, <%@ page import="java.lang.reflect.Method,
java.io.File" %> java.io.File" %>
<%-- note, the loadClass method is defined in setup-global.jsp --%> <%-- note, the loadClass method is defined in setup-global.jspf --%>
<% // Check the user's environment for minimum requirements. <% // Check the user's environment for minimum requirements.
...@@ -20,47 +20,47 @@ ...@@ -20,47 +20,47 @@
boolean jiveHomeExists = false; boolean jiveHomeExists = false;
File jiveHome = null; File jiveHome = null;
// Check for JDK 1.3 // Check for JDK 1.5
// try { try {
// loadClass("java.util.concurrent.ConcurrentHashMap"); loadClass("java.util.concurrent.ConcurrentHashMap");
// jdk13Installed = true; jdk13Installed = true;
// } }
// catch (ClassNotFoundException cnfe) {} catch (ClassNotFoundException cnfe) {}
// // Check for Servlet 2.3: // Check for Servlet 2.3:
// try { try {
// Class c = loadClass("javax.servlet.http.HttpSession"); Class c = loadClass("javax.servlet.http.HttpSession");
// Method m = c.getMethod("getAttribute",new Class[]{String.class}); Method m = c.getMethod("getAttribute",new Class[]{String.class});
// servlet22Installed = true; servlet22Installed = true;
// } }
// catch (ClassNotFoundException cnfe) {} catch (ClassNotFoundException cnfe) {}
// // Check for JSP 1.1: // Check for JSP 1.1:
// try { try {
// loadClass("javax.servlet.jsp.tagext.Tag"); loadClass("javax.servlet.jsp.tagext.Tag");
// jsp11Installed = true; jsp11Installed = true;
// } }
// catch (ClassNotFoundException cnfe) {} catch (ClassNotFoundException cnfe) {}
// // Check that the Messenger jar are installed: // Check that the Messenger jar are installed:
// try { try {
// loadClass("org.jivesoftware.xmpp.XMPPServer"); loadClass("org.jivesoftware.xmpp.XMPPServer");
// jiveJarsInstalled = true; jiveJarsInstalled = true;
// } }
// catch (ClassNotFoundException cnfe) {} catch (ClassNotFoundException cnfe) {}
// Try to determine what the jiveHome directory is: // Try to determine what the jiveHome directory is:
// try { try {
// Class jiveGlobalsClass = loadClass("org.jivesoftware.xmpp.JiveGlobals"); Class jiveGlobalsClass = loadClass("org.jivesoftware.xmpp.JiveGlobals");
// Method getJiveHomeMethod = jiveGlobalsClass.getMethod("getJiveHome", null); Method getJiveHomeMethod = jiveGlobalsClass.getMethod("getJiveHome", (Class[])null);
// String jiveHomeProp = (String)getJiveHomeMethod.invoke(jiveGlobalsClass, null); String jiveHomeProp = (String)getJiveHomeMethod.invoke(jiveGlobalsClass, (Object[])null);
// if (jiveHomeProp != null) { if (jiveHomeProp != null) {
// jiveHome = new File(jiveHomeProp); jiveHome = new File(jiveHomeProp);
// if (jiveHome.exists()) { if (jiveHome.exists()) {
// jiveHomeExists = true; jiveHomeExists = true;
// } }
// } }
// } }
// catch (Exception e) { catch (Exception e) {
// e.printStackTrace(); e.printStackTrace();
// } }
// If there were no errors, redirect to the main setup page // If there were no errors, redirect to the main setup page
if (!jdk13Installed || !servlet22Installed || !jsp11Installed || !jiveJarsInstalled if (!jdk13Installed || !servlet22Installed || !jsp11Installed || !jiveJarsInstalled
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
java.util.HashMap, java.util.HashMap,
java.net.InetAddress" %> java.net.InetAddress" %>
<%@ include file="setup-global.jsp" %> <%@ include file="setup-global.jspf" %>
<% // Get parameters <% // Get parameters
String domain = ParamUtils.getParameter(request,"domain"); String domain = ParamUtils.getParameter(request,"domain");
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
static final String JIVE_CONFIG_FILE = "jive_config_file"; static final String JIVE_CONFIG_FILE = "jive_config_file";
%> %>
<%@ include file="setup-global.jsp" %> <%@ include file="setup-global.jspf" %>
<%@ include file="setup-env-check.jspf" %> <%@ include file="setup-env-check.jspf" %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment