jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edgar Poce" <edgarp...@gmail.com>
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)"
Date Tue, 19 Sep 2006 07:11:27 GMT
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-interface>
	
		<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>

Mime
View raw message