Hi Marcel,
AFAIK you use a JNDI datasource just fine. In a current project we're just
using JNDI for using a MySQL database.
The configuration looks like this:
<PersistenceManager
class="org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager">
<param name="driver" value="javax.naming.InitialContext"/>
<param name="url" value="java:comp/env/jdbc/repositoryDS"/>
<param name="schemaObjectPrefix" value="${wsp.name}_"/>
<param name="externalBLOBs" value="true"/>
<param name="consistencyCheck" value="false"/>
<param name="consistencyFix" value="false"/>
</PersistenceManager>
Cheers,
Jeroen
On Wed, Aug 21, 2013 at 3:37 PM, Marcel Stör <[email protected]> wrote:
> JNDIDatabasePersistenceManager has been deprecated for nearly three years
> now. However, looking at all the available bundled implementations and
> asking the search engine of my choice I wasn't able to find a PM that is
> based on a JNDI datasource.
> How to go about this?
>
> Cheers,
> Marcel
>
> --
> Marcel Stör, http://frightanic.com
> Couchsurfing:
> http://www.couchsurfing.com/**people/marcelstoer<http://www.couchsurfing.com/people/marcelstoer>
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>
--
Jeroen Reijn
Solution Architect
Hippo
Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 101 Main Street, Cambridge, MA 02142
US +1 877 414 4776 (toll free)
Europe +31(0)20 522 4466
www.onehippo.com
http://about.me/jeroenreijn