public void createStatefulSessionHandle(String testName)
{
log.info("createStatefulSessionHandle");
try
{
StatefulSessionHome home = (StatefulSessionHome) sessionCtx.getEJBHome();
StatefulSession bean = home.create(testName);
bean.incCounter();
Handle handle = bean.getHandle();
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ObjectOutputStream oos = new ObjectOutputStream(baos);
oos.writeObject(handle);