From 78a6bd674bfa72fad54957681e61e2f14903074d Mon Sep 17 00:00:00 2001 From: Lucio Lelii Date: Fri, 16 Jan 2009 11:31:03 +0000 Subject: [PATCH] git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/VREModeler@8459 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../vremodeler/impl/thread/DeployVRE.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/org/gcube/vremanagement/vremodeler/impl/thread/DeployVRE.java b/src/org/gcube/vremanagement/vremodeler/impl/thread/DeployVRE.java index 200bc8e..416e51c 100644 --- a/src/org/gcube/vremanagement/vremodeler/impl/thread/DeployVRE.java +++ b/src/org/gcube/vremanagement/vremodeler/impl/thread/DeployVRE.java @@ -62,8 +62,9 @@ public class DeployVRE extends Thread{ try { deployManagerOnVRE(); createVRE(); - logger.info("FINISHED"); + logger.info("Dploying of the VRE with id "+this.resourceId+" FINISHED"); }catch(Exception e){ + logger.error("Error deploying the VRE with id "+this.resourceId+" "+e); e.printStackTrace(); } } @@ -125,8 +126,8 @@ public class DeployVRE extends Thread{ return ""; } }; - System.out.println(vreName); - System.out.println(firstGHNId); + + vreManagerHandler.clearState(); vreManagerHandler.setHandled(new GCUBEServiceClientImpl()); Couple coupleParams= new Couple(vreName, firstGHNId); vreManagerHandler.setParameter(coupleParams); @@ -135,7 +136,7 @@ public class DeployVRE extends Thread{ try { vreManagerHandler.run(); } catch (Exception e) { - logger.error("Error deploying the VRE "+e); + logger.error("DeployingVRE step 1 -- failed "+e); throw new GCUBEFault(e); } this.vreName= vreName; @@ -146,6 +147,7 @@ public class DeployVRE extends Thread{ VREManagerServiceHandler vreManagerHandler= new VREManagerServiceHandler(){ //the parameter is resourceID + @SuppressWarnings("static-access") @Override protected String makeCall(VREManagerPortType vreManPortType) throws Exception { @@ -276,6 +278,7 @@ public class DeployVRE extends Thread{ try { vreManagerHandler.run(); } catch (Exception e) { + logger.error("DeployingVRE step 2 -- failed "+e); throw new GCUBEFault(e); }