jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-132) BindableRepositoryFactory requires exact resource type
Date Fri, 10 Jun 2005 12:22:46 GMT
     [ http://issues.apache.org/jira/browse/JCR-132?page=all ]

Jukka Zitting updated JCR-132:

    Attachment: BindableRepositoryFactory.patch

Attached a simple patch that shuold fix this issue by relaxing the code in BindableRepositoryFactory.

> BindableRepositoryFactory requires exact resource type
> ------------------------------------------------------
>          Key: JCR-132
>          URL: http://issues.apache.org/jira/browse/JCR-132
>      Project: Jackrabbit
>         Type: Wish
>   Components: config
>  Environment: JNDI
>     Reporter: Jukka Zitting
>     Priority: Trivial
>  Attachments: BindableRepositoryFactory.patch
> The org.apache.jackrabbit.jndi.BindableRepositoryFactory class requires the exact class
name org.apache.jackrabbit.jndi.BindableRepository to be specified for the JNDI resource that
the factory is responsible for. However the current deployment model 2 howto document suggest
that the more generic interface name javax.jcr.Repository be used instead. Currently this
suggested configuration results in a null JNDI resource .
> This issue should be fixed by either fixing the documentation (I can do this) or by relaxing
the code in BindableRepositoryFactory. I'll attach a patch that does the latter, please comment
on what you think is the best solution.
> This issue was detected during the mailing list thread
> http://www.mail-archive.com/jackrabbit-dev@incubator.apache.org/msg01324.html

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message