Handle handle = null;
try
{
Context ctx = new InitialContext();
log.debug("+++ testPassivationByTime");
StatefulSessionLocalHome sessionHome = ( StatefulSessionLocalHome ) ctx.lookup("ejbcts/StatefulSessionLocalBean");
sessionBean1 = sessionHome.create("testPassivationByTimeLocal");
sessionBean1.ping();
handle = sessionBean1.getHandle();
log.debug("Waiting 41 seconds for passivation...");