IOSession bean = getIOSession();
try
{
/* This test will fail because the calling thread it not in the root
thread group so we just log a warning */
bean.renameThread();
log.warn("Was able to call IOSession.renameThread");
}
catch(Exception e)
{
log.debug("IOSession.renameThread failed as expected", e);