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.
Sorry about the delayed response – i did not see that you replied (i usually get an email notification which I did not get for some reason) I'll try to come back here to night and see if I can provide some pointers. I'm here in the forums on a mission at the moment and don't have the time to answer.
Ok Russ. I will wait for your response. Are you aware of any one using this JNDI - JCR adapter approach in production applications? We are also looking at other options like creating the service interface and the service implementation based on alfresco's web services API.