users@glassfish.java.net

Re: Has anyone tried Jackrabbit on Glassfish?

From: Sahoo <sahoo_at_sun.com>
Date: Fri, 03 Oct 2008 09:29:41 +0530

I googled for Glassfish and Jackrabbit, found some useful links. Here
they go:
http://epesh.blog-city.com/jackrabbit_and_glassfish_v2.htm
http://www.mail-archive.com/users@jackrabbit.apache.org/msg04710.html

Kenneth Yue wrote:
> All,
>
> I followed the web-applications bundle deployment model as described
> in http://jackrabbit.apache.org/deployment-models.html and
> http://jackrabbit.apache.org/application-bundle-howto.html. My
> deployment descriptor looks exactly like the one described in
> http://jackrabbit.apache.org/jcr-client-application-howto.html. This
> works fine on Tomcat 6, but I can't get it to work on Glassfish V2.
> Since Glassfish V2 doesn't understand META-INF/context.xml, I use
> asadmin create-custom-resource to register the bindable repository
> factory, like this:
>
> ./asadmin create-custom-resource --target domain --restype
> javax.jcr.Repository --factoryclass
> org.apache.jackrabbit.core.jndi.BindableRepositoryFactory --property
> configFilePath=/home/yue/SWA/repository.xml:repHomeDir=/home/yue/SWA
> jcr/repository
>
> The exception I get is NameNotFoundException. Does anyone know what
> configuration step I've missed? Thanks.
>
> Ken
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>