Commit 7e21dde4 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Added some extra debugging.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10801 b35dd754-fafc-0310-a699-88a17e54d16e
parent 566314d6
...@@ -160,6 +160,8 @@ public class SchemaManager { ...@@ -160,6 +160,8 @@ public class SchemaManager {
} }
} }
catch (SQLException sqle) { catch (SQLException sqle) {
// The database schema must not be installed.
Log.debug("SchemaManager: Error verifying "+schemaKey+" version, probably ignorable.", sqle);
DbConnectionManager.closeResultSet(rs); DbConnectionManager.closeResultSet(rs);
DbConnectionManager.closeStatement(pstmt); DbConnectionManager.closeStatement(pstmt);
if (schemaKey.equals("openfire")) { if (schemaKey.equals("openfire")) {
...@@ -173,6 +175,8 @@ public class SchemaManager { ...@@ -173,6 +175,8 @@ public class SchemaManager {
} }
} }
catch (SQLException sqlea) { catch (SQLException sqlea) {
// The database schema must not be installed.
Log.debug("SchemaManager: Error verifying "+schemaKey+" version, probably ignorable.", sqlea);
DbConnectionManager.closeResultSet(rs); DbConnectionManager.closeResultSet(rs);
DbConnectionManager.closeStatement(pstmt); DbConnectionManager.closeStatement(pstmt);
// Releases of Openfire before 2.6.0 stored a major and minor version // Releases of Openfire before 2.6.0 stored a major and minor version
...@@ -190,7 +194,7 @@ public class SchemaManager { ...@@ -190,7 +194,7 @@ public class SchemaManager {
} }
catch (SQLException sqle2) { catch (SQLException sqle2) {
// The database schema must not be installed. // The database schema must not be installed.
Log.debug("SchemaManager: Error verifying server version", sqle2); Log.debug("SchemaManager: Error verifying "+schemaKey+" version, probably ignorable", sqle2);
} }
} }
} }
......
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