Commit d71f6321 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Compilation fix.

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@2951 b35dd754-fafc-0310-a699-88a17e54d16e
parent 0df205c9
...@@ -52,10 +52,9 @@ ...@@ -52,10 +52,9 @@
"org.jivesoftware.database.JNDIDataSourceProvider"); "org.jivesoftware.database.JNDIDataSourceProvider");
// Save the name (must do this *first* before initializing // Save the name (must do this *first* before initializing
// the JNDIDataSourceProvider // the JNDIDataSourceProvider
JiveGlobals.setProperty("database.JNDIProvider.name",lookupName); JiveGlobals.setXMLProperty("database.JNDIProvider.name",lookupName);
// Use the Jive default connection provider // Use the Jive default connection provider
JNDIDataSourceProvider conProvider = new JNDIDataSourceProvider(); JNDIDataSourceProvider conProvider = new JNDIDataSourceProvider();
conProvider.setProperty("name", lookupName);
// Set the provider in the connection manager // Set the provider in the connection manager
DbConnectionManager.setConnectionProvider(conProvider); DbConnectionManager.setConnectionProvider(conProvider);
// Try to establish a connection to the datasource // Try to establish a connection to the datasource
......
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