jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cory Prowse <c...@prowse.com>
Subject How to access JNDI datasource in Glassfish
Date Thu, 05 Aug 2010 23:16:01 GMT
I've managed to successfully deploy Jackrabbit to Glassfish (v3.0.1) using the JCA package,
but to get it working with a JNDI datasource I needed the following:

<PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager">
	<param name="driver" value="javax.naming.InitialContext" />
	<param name="url" value="jndi:jdbc/Workspaces" />
	<param name="schema" value="derby" />
	<param name="schemaObjectPrefix" value="${wsp.name}_" />

Note the url value.

Perhaps the wiki could be updated at:

-- Cory
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message