Answering myself,
I was doing test and debug on the JCA component, and I found
that JR-JCA does not read repository home dir from system properties.
I think that could be easy add this feature, because JCA use the
default TransientRepository class.
If we change a validation in
org.apache.jackrabbit.core.RepositoryFactoryImpl:
public Repository getRepository(Map parameters) throws
RepositoryException {
if (parameters == null) {
return getRepository(null, Collections.emptyMap());
}....
.......
for this
public Repository getRepository(Map parameters) throws RepositoryException
{
if (parameters == null || parameters.isEmprty()) {
return getRepository(null, Collections.emptyMap());
}....
.......
it could works, for JCA but I don't know if this affect other
components.
someone have ideas?
best regards.
--
View this message in context:
http://jackrabbit.510166.n4.nabble.com/jackrabbit-JCA-home-configuration-tp3594250p3606306.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.