import javax.security.auth.login.Configuration;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.argeo.cms.CmsException;
import org.argeo.node.ArgeoLogger;
import org.argeo.node.NodeConstants;
* access to kernel information for the rest of the bundle (and only it)
*/
public class Activator implements BundleActivator {
+ private final static Log log = LogFactory.getLog(Activator.class);
+
private static Activator instance;
private BundleContext bc;
initArgeoLogger();
initNode();
} catch (Exception e) {
- e.printStackTrace();
- throw new CmsException("Cannot initialize node", e);
+ log.error("## FATAL: CMS activator failed", e);
+ // throw new CmsException("Cannot initialize node", e);
}
}