git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/VREModeler@8285 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
bd7e408408
commit
78412724f5
|
@ -490,7 +490,8 @@ public class ModelerService {
|
||||||
throw new GCUBEUnrecoverableFault(e);
|
throw new GCUBEUnrecoverableFault(e);
|
||||||
}
|
}
|
||||||
System.out.println("the scope is"+ServiceContext.getContext().getScope());
|
System.out.println("the scope is"+ServiceContext.getContext().getScope());
|
||||||
Thread deployVREThread= new Thread(new DeployVRE(resourceID));
|
DeployVRE deployVREThread= new DeployVRE(resourceID);
|
||||||
|
|
||||||
ServiceContext.getContext().setScope(deployVREThread, ServiceContext.getContext().getScope());
|
ServiceContext.getContext().setScope(deployVREThread, ServiceContext.getContext().getScope());
|
||||||
logger.trace("Deploy VRE thread started");
|
logger.trace("Deploy VRE thread started");
|
||||||
deployVREThread.start();
|
deployVREThread.start();
|
||||||
|
|
|
@ -39,7 +39,7 @@ import org.w3c.dom.Document;
|
||||||
import org.w3c.dom.NodeList;
|
import org.w3c.dom.NodeList;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
public class DeployVRE implements Runnable{
|
public class DeployVRE extends Thread{
|
||||||
|
|
||||||
private static GCUBELog logger= new GCUBELog(DeployVRE.class);
|
private static GCUBELog logger= new GCUBELog(DeployVRE.class);
|
||||||
private ISPublisher publisher;
|
private ISPublisher publisher;
|
||||||
|
|
Loading…
Reference in New Issue