Just thought this might be important to some of you.
Due to the packaging of the naming-*jar files in the Alfresco war file it is not possible to get the java:comp/env context.
If you remove these jars things work as they would typically with Tomcat. Note – other things may break. I have discussed it with a few folks and the impact of removing these jars is that LDAP related functionality will break. I have not confirmed this.