Merge pull request #589 from lakshani/3.1.0-test

Fixed the issue in server startup- removed error logs
merge-requests/1/head
Chatura Dilan 8 years ago committed by GitHub
commit a5fe0af98e

@ -37,16 +37,11 @@ public class MDMComponent {
protected void activate(ComponentContext context) {
BundleContext bundleContext = context.getBundleContext();
mdmServiceRegistration = bundleContext.registerService(ApplicationOperations.class.getName(), new
ApplicationOperationsImpl(), null);
if (log.isDebugEnabled()) {
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);
}
}
protected void deactivate(ComponentContext context) {

Loading…
Cancel
Save