This commit is contained in:
Lucio Lelii 2009-01-16 11:31:03 +00:00
parent 58c65de5e3
commit 78a6bd674b
1 changed files with 7 additions and 4 deletions

View File

@ -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<String, String> coupleParams= new Couple<String, String>(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<String, String> vreManagerHandler= new VREManagerServiceHandler<String,String>(){
//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);
}