Hi, On 7/25/06, Shanmugam Gopal <[EMAIL PROTECTED]> wrote:
I am trying for Model 2 deployment of Jackrabbit repository in Tomcat 5.5.17 I am getting java.lang.ClassCastException: org.apache.jackrabbit.core.jndi.BindableRepository exception when I try to cast the looked up repository to javax.jcr.Repository.
It's most likely caused by the Repository class not being shared between the web applications. If each of them loads the class locally from WEB-INF/lib/jcr-1.0.jar and not from shared/lib/jcr-1.0.jar or some other shared location, then they won't be able to share a Repository. BR, Jukka Zitting -- Yukatan - http://yukatan.fi/ - [EMAIL PROTECTED] Software craftsmanship, JCR consulting, and Java development
