jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Jackrabbit Model 2 Deployment in Tomcat 5.5.17
Date Wed, 26 Jul 2006 19:10:37 GMT
Hi,

On 7/25/06, Shanmugam Gopal <haishanmugam@hotmail.com> 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/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development

Mime
View raw message