Hello Edgar, It's nice to hear that someone has succeeded in connecting jackrabbit 1.1 to weblogic.
We changed our weblogic-ra file to match the one you provided but it's not clear to us what values to use during the configuration in the weblogic Portal Administration Console (when adding the repository). We use the following: Name: jackrabbit *?* Connection class: com.day.content.spi.jsr170.JNDIRepository username: weblogic password: weblogic retype password: weblogic Enable library services: false The repository is then shown in the repository tree, but it says it can't connect. Then we add the two following properties to our repository: jsr170.workspace default jsr170.jndi.name jackrabbit *?* *?* = we are not sure if these values are the correct ones to use We are using the following document from BEA to configure our repository: http://e-docs.bea.com/wlp/docs92/pdf/day170adapter_developers_guide.pdf Regards Jesper Klitgaard -----Original Message----- From: Edgar Poce [mailto:[EMAIL PROTECTED] Sent: 19. september 2006 09:11 To: [email protected] Subject: Re: Error adding repository using jackrabbit snapshot 1.1: "Object bound not of type javax.jcr.Repository: found a (org.apache.jackrabbit.jca.JCAResourceAdapter)" Hi Jesper, I installed weblogic and after following the jca connector instructions at [1] I found that your weblogic-ra file is wrong. Try the descriptor bellow. It works in my environment: weblogic 9.2 in xp. I'll add the how-to to the wiki asap. br, edgar ps, thanks for the fast try of the 1.1-snapshot, and please let us know how the connection leak fix worked. [1] http://edocs.bea.com/wls/docs92/resadapter/connect.html <?xml version="1.0" encoding="UTF-8"?> <weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90"> <jndi-name>jackrabbitRA</jndi-name> <enable-access-outside-app>true</enable-access-outside-app> <enable-global-access-to-classes>true</enable-global-access-to-classes> <outbound-resource-adapter> <connection-definition-group> <connection-factory-interface>javax.jcr.Repository</connection-factory-i nterface> <connection-instance> <jndi-name>jackrabbit</jndi-name> <connection-properties> <pool-params> <initial-capacity>2</initial-capacity> <max-capacity>10</max-capacity> <capacity-increment>1</capacity-increment> <shrinking-enabled>true</shrinking-enabled> <shrink-frequency-seconds>60</shrink-frequency-seconds> </pool-params> <properties> <property> <name>HomeDir</name> <value>/temp/jackrabbit</value> </property> <property> <name>ConfigFile</name> <value>/temp/jackrabbit/repository.xml</value> </property> </properties> </connection-properties> </connection-instance> </connection-definition-group> </outbound-resource-adapter> </weblogic-connector>
