Hi tim,

The client code shouldn't be aware of the JCA code, you should be
able to connect to jackrabbit with the following code:

repo = (Repository)ctx.lookup("jackrabbit");
Session session = repo.login([credentials]);

Remember to put the weblogic descriptor inside the rar file
(META-INF/weblogic-ra.xml) to make it work.
download it from
http://svn.apache.org/viewvc/jackrabbit/trunk/jca/deploy/weblogic/weblogic-ra.xml?revision=448000&view=markup

In case it doesn't work let me know and I'll put the the rar file and
a client war in a public web server for you to download.

br,
edgar

On 11/7/06, Timothy J Brown <[EMAIL PROTECTED]> wrote:
Hello,



I am getting close to accessing Jackrabbit from Weblogic, however, I am
running into the following error:



Trying to login into the repo and get a jcr session ------



<Nov 7, 2006 11:59:27 AM EST> <Warning> <Connector> <BEA-190032> <<
jackrabbit >

ResourceAllocationException thrown by resource adapter on call to
ManagedConnectionFactory.createManagedConnection():

"javax.resource.spi.ResourceAdapterInternalException: Failed to create
managed connection:

java.lang.IllegalArgumentException: No Configuration was registered that can
handle the configuration named Jackrabbit ">

No Configuration was registered that can handle the configuration named
JackrabbIt



It appears that I am able to get the jackrabbit handle, but I cannot log
into the repository and get this error.



Does anyone have an example that shows how to connect to a jackrabbit
resource adapter?



Thanks,



Tim





Reply via email to