jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rojas Buitrago, Sergio" <sro...@indra.es>
Subject configure persistenceManager with jndi
Date Tue, 18 Jan 2011 12:41:53 GMT
Hello.

I´m trying to configure my persistenceManager 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.

Sergio Rojas Buitrago
Desarrollo Software
Gestión Documental

Ronda de Toledo s/n
13003. Ciudad Real
España
T +34 926 27 08 49
Ext: 237849


srojas@indra.es
www.indra.es




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.

Mime
View raw message