e.printStackTrace();
    public static Transaction getTransaction (String jndiName)    throws NamingException    {        try        {            InitialContext ic = new InitialContext();            return (Transaction)ic.lookup(Transaction.class.getName()+"/"+jndiName);        }        catch (NameNotFoundException e)        {            return null;        }    }