Hi, I'm currently hunting a bug where the org.apache.sling.jcr.base.util.RepositoryAccessor cannot cast an object acquired via JNDI to Repository, although the object does implement the Repository interface. That Repository object is initialized in a different webapp than the one which runs Sling.
The javax.jcr.Repository interface is loaded via my web container's lib directory, so in theory both webapps should see the same interface and the cast should work. It did work in a previous version of my app which uses Sling SVN revision 651211, so I'm wondering if the new behavior is caused by changes in Sling (I haven't tried going back to that version yet). Does anyone know what might have changed in Sling to cause this problem? -Bertrand
