try
{
localServer = new LocalTestServer();
localServer.start("all", true);
localServer.deployQueue("Queue", null, false);
// lookup the connection factory and the queue which we'll send to the client VM via a
// serialized instances saved in file
InitialContext ic = new InitialContext(ServerManagement.getJNDIEnvironment());