diff --git a/etc/hsqldb/vdldb.script b/etc/hsqldb/vdldb.script index 46d7e36..e7fb779 100644 --- a/etc/hsqldb/vdldb.script +++ b/etc/hsqldb/vdldb.script @@ -49,7 +49,7 @@ INSERT INTO PORTLETRELTOFUNCT VALUES(0,'searchGUI#Search') INSERT INTO PORTLETRELTOFUNCT VALUES(0,'collectionsnavigator#CollectionsNavigatorPortlet') INSERT INTO PORTLETRELTOFUNCT VALUES(0,'newresultset#newresultset') INSERT INTO PORTLETRELTOFUNCT VALUES(0,'Metadata_Viewing_Portlet#Metadata_Viewing_Portlet') -INSERT INTO PORTLETRELTOFUNCT VALUES(0,'VRE InformationSpace Editor#VREInformationSpaceEditorPortlet') +INSERT INTO PORTLETRELTOFUNCT VALUES(0,'VREInformationSpaceEditor#VREInformationSpaceEditorPortlet') INSERT INTO PORTLETRELTOFUNCT VALUES(12,'quicksearchportlet#QuickSearchPortlet') INSERT INTO PORTLETRELTOFUNCT VALUES(12,'newresultset#newresultset') INSERT INTO PORTLETRELTOFUNCT VALUES(12,'Metadata_Viewing_Portlet#Metadata_Viewing_Portlet') diff --git a/src/org/gcube/vremanagement/vremodeler/impl/thread/DeployVRE.java b/src/org/gcube/vremanagement/vremodeler/impl/thread/DeployVRE.java index 9cfe727..bda67bd 100644 --- a/src/org/gcube/vremanagement/vremodeler/impl/thread/DeployVRE.java +++ b/src/org/gcube/vremanagement/vremodeler/impl/thread/DeployVRE.java @@ -370,7 +370,6 @@ public class DeployVRE extends Thread{ try { vreManagerHandler.run(); } catch (Exception e) { - e.printStackTrace(); logger.error("DeployingVRE step 2 -- failed "+e); throw new GCUBEFault(e); } diff --git a/src/org/gcube/vremanagement/vremodeler/impl/util/VREManagerServiceHandler.java b/src/org/gcube/vremanagement/vremodeler/impl/util/VREManagerServiceHandler.java index 48302e3..3061725 100644 --- a/src/org/gcube/vremanagement/vremodeler/impl/util/VREManagerServiceHandler.java +++ b/src/org/gcube/vremanagement/vremodeler/impl/util/VREManagerServiceHandler.java @@ -45,7 +45,7 @@ public abstract class VREManagerServiceHandler extends GCUBEServiceHandler @Override protected List findInstances() throws Exception { - System.out.println("findinstance called"); + logger.info("findinstance called"); try{ ISClient client = GHNContext.getImplementation(ISClient.class); GCUBERIQuery query = client.getQuery(GCUBERIQuery.class); @@ -61,7 +61,7 @@ public abstract class VREManagerServiceHandler extends GCUBEServiceHandler for (GCUBERunningInstance instance : client.execute(query, scope)) eprs.add(instance.getAccessPoint().getEndpoint("gcube/vremanagement/VREManager")); return eprs; - }catch(Exception e){e.printStackTrace(); throw e;} + }catch(Exception e){logger.error(e); throw e;} } protected abstract T makeCall(VREManagerPortType mbportType) throws Exception; diff --git a/src/org/gcube/vremanagement/vremodeler/portallayout/LayoutCreation.java b/src/org/gcube/vremanagement/vremodeler/portallayout/LayoutCreation.java index d499e4f..91ae35d 100644 --- a/src/org/gcube/vremanagement/vremodeler/portallayout/LayoutCreation.java +++ b/src/org/gcube/vremanagement/vremodeler/portallayout/LayoutCreation.java @@ -97,7 +97,7 @@ public class LayoutCreation { Element informationSpaceFrame = XMLUtil.createTextElement(doc, "frame", null,new Couple("can-modify", "false"), new Couple("inner-padding", ""), new Couple("label", "") ,new Couple("outer-padding", ""),new Couple("required-role", ""),new Couple("style", ""),new Couple("transparent", "true"),new Couple("visible", "true"),new Couple("width", "") ); - Element informationSpacePortlet= XMLUtil.createTextElement(doc, "portlet-class", "VRE InformationSpace Editor#VREInformationSpaceEditorPortlet"); + Element informationSpacePortlet= XMLUtil.createTextElement(doc, "portlet-class", "VREInformationSpaceEditor#VREInformationSpaceEditorPortlet"); informationSpaceFrame.appendChild(informationSpacePortlet); informationSpaceColumn.appendChild(informationSpaceFrame);