You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by jsmarks <jm...@salo.com> on 2013/04/10 20:30:52 UTC
JCA using RMI in a Weblogic server
We are running jackrabbit under a Weblogic server. We access the repository
via rmi from a separate Weblogic server that runs our application. We want
to use jackrabbit Sessions we get from repository logins as XAResources with
jackrabbit JCA. I think I get just about everything that needs to be done
with jackrabbit-jca-2.4.3.rar, including changes to ra.xml, setting
<config-property-value> for RepositoryURI, and adding weblogic-ra.xml before
rebuilding the rar.
Based on other postings, I try to install the rar as an application from the
Weblogic console, but it fails with a ClassDefNotFound for
javax.jcr.Repository. Should I try installing as a library?
I'd also like someone to confirm that if I'm using RepositoryURI as a
<config-property>, I don't need to specify HomeDir or ConfigFile.
Other postings suggest that using RMI is preferred. What is it that I'm
missing here?
BTW, everything works fine when I just write the code creating the
Repository and enlist Sessions in Weblogic XA transactions. I just got the
impression that JCA was the preferred method for doing what we want to do.
--
View this message in context: http://jackrabbit.510166.n4.nabble.com/JCA-using-RMI-in-a-Weblogic-server-tp4658208.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.