protected void setUp() throws Exception { super.setUp(); if (jarNames == null) return; JBossTestCase.deploymentException = null; try { // deploy the comma seperated list of jars StringTokenizer st = new StringTokenizer(jarNames, ", "); while (st.hasMoreTokens()) { String jarName = st.nextToken(); this.redeploy(jarName); this.getLog().debug("deployed package: " + jarName); } } catch (Exception ex) { // Throw this in testServerFound() instead. JBossTestCase.deploymentException = ex; } // wait a few seconds so that the cluster stabilize synchronized (this) { wait(2000); } }
protected void setUp() throws Exception { super.setUp(); if (jarNames == null) return; JBossTestCase.deploymentException = null; try { // deploy the comma seperated list of jars StringTokenizer st = new StringTokenizer(jarNames, ", "); while (st.hasMoreTokens()) { String jarName = st.nextToken(); this.redeploy(jarName); this.getLog().debug("deployed package: " + jarName); } } catch (Exception ex) { // Throw this in testServerFound() instead. JBossTestCase.deploymentException = ex; } // wait a few seconds so that the cluster stabilize synchronized (this) { wait(2000); } }
protected void setUp() throws Exception { super.setUp(); deploymentException = null; try { this.delegate.init(); if (this.delegate.isSecure()) this.delegate.login(); if (jarNames == null) return; // deploy the comma seperated list of jars StringTokenizer st = new StringTokenizer(jarNames, ", "); while (st != null && st.hasMoreTokens()) { String jarName = st.nextToken(); this.redeploy(jarName); this.getLog().debug("deployed package: " + jarName); } } catch (Exception ex) { // Throw this in testServerFound() instead. deploymentException = ex; } }
protected void setUp() throws Exception { super.setUp(); deploymentException = null; try { this.delegate.init(); if (this.delegate.isSecure()) this.delegate.login(); if (jarNames == null) return; // deploy the comma seperated list of jars StringTokenizer st = new StringTokenizer(jarNames, ", "); while (st != null && st.hasMoreTokens()) { String jarName = st.nextToken(); this.redeploy(jarName); this.getLog().debug("deployed package: " + jarName); } } catch (Exception ex) { // Throw this in testServerFound() instead. deploymentException = ex; } }