Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 411533
Collapse All | Expand All

(-)a/bundles/org.eclipse.orion.server.core/src/org/eclipse/orion/internal/server/core/Activator.java (-2 / +2 lines)
Lines 87-100 public class Activator implements BundleActivator { Link Here
87
			}
87
			}
88
			if (services.size() == 1) {
88
			if (services.size() == 1) {
89
				metastoreServiceReference = services.iterator().next();
89
				metastoreServiceReference = services.iterator().next();
90
				logger.info("Found metastore service: " + metastoreServiceReference); //$NON-NLS-1$
90
				logger.debug("Found metastore service: " + metastoreServiceReference); //$NON-NLS-1$
91
				metastore = bundleContext.getService(metastoreServiceReference);
91
				metastore = bundleContext.getService(metastoreServiceReference);
92
			}
92
			}
93
			if (metastore == null) {
93
			if (metastore == null) {
94
				//if we still don't have a store then something is wrong with server configuration
94
				//if we still don't have a store then something is wrong with server configuration
95
				final String msg = "Invalid server configuration. Failed to initialize a metadata store"; //$NON-NLS-1$
95
				final String msg = "Invalid server configuration. Failed to initialize a metadata store"; //$NON-NLS-1$
96
				final IllegalStateException failure = new IllegalStateException(msg);
96
				final IllegalStateException failure = new IllegalStateException(msg);
97
				logger.info(msg, failure);
97
				logger.debug(msg, failure);
98
				throw failure;
98
				throw failure;
99
			}
99
			}
100
		}
100
		}

Return to bug 411533