This commit is contained in:
Lucio Lelii 2009-01-12 23:56:00 +00:00
parent a1e9228094
commit bd7e408408
2 changed files with 2 additions and 2 deletions

View File

@ -489,7 +489,7 @@ public class ModelerService {
logger.error("HSQLDB Error "+e);
throw new GCUBEUnrecoverableFault(e);
}
System.out.println("the scope is"+ServiceContext.getContext().getScope());
Thread deployVREThread= new Thread(new DeployVRE(resourceID));
ServiceContext.getContext().setScope(deployVREThread, ServiceContext.getContext().getScope());
logger.trace("Deploy VRE thread started");

View File

@ -105,7 +105,7 @@ public class DeployVRE implements Runnable{
System.out.println("fin qui ci sono 2");
services.setGHN(new String[]{this.getParameter().second});
arp.setServices(services);
System.out.println(ServiceContext.getContext().getScope().toString());
System.out.println(ServiceContext.getContext().getScope());
arp.setTargetScope(ServiceContext.getContext().getScope().toString()+"/"+this.getParameter().first);
String reportId=mbportType.addResources(arp);
System.out.println("fin qui ci sono 3");