You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by "Rojas Buitrago, Sergio" <sr...@indra.es> on 2011/01/18 15:23:22 UTC

persistenceManager with jndi

Hello.

I´m trying to configure my persistenceManager (PostgreSQLPersistenceManager) using jndi. I want to indicate
the database configuration from bootstrap.properties config file, but don`t
know how can I make it.

Is this possible?

My persistenceMangager looks like:

<PersistenceManager

class="org.apache.jackrabbit.core.persistence.bundle.PostgreSQLPersistenceManager">
                        <param name="driver"
value="javax.naming.InitialContext" />
                        <param name="url" value="java:???" />
                       <param name="schemaObjectPrefix" value="${wsp.name}_" />
                        <param name="schema" value="postgresql" />
                </PersistenceManager>

I don´t know what should i put in the url parameter, and how can I associate
this with the keys in bootstrap.properties.

can anybody help me?

Thanks and regards.



________________________________
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Si no es vd. el destinatario indicado, queda notificado que la lectura, utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente.
Evite imprimir este mensaje si no es estrictamente necesario.

This email and any file attached to it (when applicable) contain(s) confidential information that is exclusively addressed to its recipient(s). If you are not the indicated recipient, you are informed that reading, using, disseminating and/or copying it without authorisation is forbidden in accordance with the legislation in effect. If you have received this email by mistake, please immediately notify the sender of the situation by resending it to their email address.
Avoid printing this message if it is not absolutely necessary.