try {
InitialContext ctx = new InitialContext(new Hashtable(props));
home = (RemoteShellHome) ctx.lookup("ShellSession");
log.debug("ctx.lookup(\"ShellSession\"): " + home);
shellin = home.create();
log.debug("home.create(): " + shellin);
shellout = home.create(shellin.getSessionID());
log.debug("home.create(sessionID): " + shellout);