This commit is contained in:
Lucio Lelii 2008-12-02 10:03:38 +00:00
parent ea244d4b0e
commit 310cfd9a0a
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ public class ServiceContext extends GCUBEServiceContext{
protected void onReady() throws Exception{
logger.info("ready event invoked on " + this.getName());
IStoDBUtil.initDB(ServiceContext.getContext().getStartScopes()[0]);
IStoDBUtil.initDB(ServiceContext.getContext().getStartScopes()[0].isInfrastructure()? ServiceContext.getContext().getStartScopes()[1]: ServiceContext.getContext().getStartScopes()[0]);
}