From fdf20e6b0f3b529055be72526b09ac761dd354e5 Mon Sep 17 00:00:00 2001 From: Massimiliano Assante Date: Thu, 18 Apr 2019 11:14:50 +0000 Subject: [PATCH] disabled cache at startup git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/branches/portal/social-networking-library-ws/2.2@179082 82a268e6-3cf1-43bd-a215-b396298e98cf --- .settings/org.eclipse.wst.common.component | 3 +++ .../social/networking/liferay/ws/ServletContextClass.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component index cf0f016..bc5c1fe 100644 --- a/.settings/org.eclipse.wst.common.component +++ b/.settings/org.eclipse.wst.common.component @@ -13,6 +13,9 @@ uses + + uses + uses diff --git a/src/main/java/org/gcube/portal/social/networking/liferay/ws/ServletContextClass.java b/src/main/java/org/gcube/portal/social/networking/liferay/ws/ServletContextClass.java index 5dcca04..e992d05 100644 --- a/src/main/java/org/gcube/portal/social/networking/liferay/ws/ServletContextClass.java +++ b/src/main/java/org/gcube/portal/social/networking/liferay/ws/ServletContextClass.java @@ -20,7 +20,7 @@ public class ServletContextClass implements ServletContextListener notifierToken = arg0.getServletContext().getInitParameter("NOTIFIER_TOKEN"); // start the thread to retrieve infrastructure users (which is, build up the singleton) - UsersCache.getSingleton(); + //UsersCache.getSingleton(); }