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
>