/** * Re-initializes the {@link InitialContext}. * * @throws Exception for any error */ public void reinit() throws Exception { initialContext = null; server = null; init(); }
/** * Re-initializes the {@link InitialContext}. * * @throws Exception for any error */ public void reinit() throws Exception { initialContext = null; server = null; init(); }
/** * The JUnit setup method * * @throws Exception for any error */ public void setUp() throws Exception { super.setUp(); log = getLog(); log.debug("JBossTestServices.setUp()"); init(); log.info("jbosstest.beancount: " + System.getProperty("jbosstest.beancount")); log.info("jbosstest.iterationcount: " + System.getProperty("jbosstest.iterationcount")); log.info("jbosstest.threadcount: " + System.getProperty("jbosstest.threadcount")); log.info("jbosstest.nodeploy: " + System.getProperty("jbosstest.nodeploy")); log.info("jbosstest.jndiurl: " + this.getJndiURL()); log.info("jbosstest.jndifactory: " + this.getJndiInitFactory()); }
/** * The JUnit setup method * * @throws Exception for any error */ public void setUp() throws Exception { super.setUp(); log = getLog(); log.debug("JBossTestServices.setUp()"); init(); log.info("jbosstest.beancount: " + System.getProperty("jbosstest.beancount")); log.info("jbosstest.iterationcount: " + System.getProperty("jbosstest.iterationcount")); log.info("jbosstest.threadcount: " + System.getProperty("jbosstest.threadcount")); log.info("jbosstest.nodeploy: " + System.getProperty("jbosstest.nodeploy")); log.info("jbosstest.jndiurl: " + this.getJndiURL()); log.info("jbosstest.jndifactory: " + this.getJndiInitFactory()); }
public void init() throws Exception super.init();
public void init() throws Exception super.init();
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; } }