log.info("reinitCount: " + reinitCount + " calling exe: " + "org.jboss.fresh.shell.commands.EventNetAgentExe -ex -h " + host + (app == null ? "" : " -a " + app) + " -i " + agentid + " -c " + conid + (reinitCount != 1 ? " -k" : ""));
pinf = shellin.execute("org.jboss.fresh.shell.commands.EventNetAgentExe -ex -h " + host + (app == null ? "" : " -a " + app) + " -i " + agentid + " -c " + conid + (reinitCount != 1 ? " -k" : ""));
shin = new ShellObjectReader(shellin, pinf.procid);
shin.setBufferSize(500);
shout = new ShellObjectWriter(shellout, pinf.procid);
shout.setBufferSize(500);
//} catch(org.jboss.fresh.shell.ShellIOException ex) {
// Throwable th = ex.getCause();
// if(th instanceof TakenOverException) {