Merge pull request #590 from lakshani/master

Fixed the issue in server startup- removed error logs
merge-requests/1/head
Hasunie 8 years ago committed by GitHub
commit 8954c51c01

@ -37,15 +37,10 @@ public class MDMComponent {
protected void activate(ComponentContext context) { protected void activate(ComponentContext context) {
BundleContext bundleContext = context.getBundleContext(); BundleContext bundleContext = context.getBundleContext();
mdmServiceRegistration = bundleContext.registerService(ApplicationOperations.class.getName(), new
ApplicationOperationsImpl(), null);
if (log.isDebugEnabled()) { if (log.isDebugEnabled()) {
log.debug("WSO2MDM MDM Component activated"); log.debug("WSO2MDM MDM Component activated.");
}
try {
mdmServiceRegistration = bundleContext.registerService(ApplicationOperations.class.getName(), new
ApplicationOperationsImpl(), null);
} catch (Throwable e) {
log.error("Failed to activate org.wso2.carbon.appmgt.mdm.restconnector.internal." +
"MDMComponent : " + e);
} }
} }

Loading…
Cancel
Save