jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Trivial Update of "JackRabbitOnWeblogic" by RayPolk
Date Wed, 19 Sep 2007 18:23:59 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by RayPolk:
http://wiki.apache.org/jackrabbit/JackRabbitOnWeblogic

------------------------------------------------------------------------------
  
  === (work in progress) ===
  
-  * Download rar
-  * Explode the rar putting jars in system class path & exploded rar/META-INF/ra.xml
& weblogic-ra.xml in autodeploy dir (WLS Console doesn't seem to work well with .rar files)
+  * Download Jackrabbit JCA Resource Adapter (e.g. jackrabbit-jca-1.3.1.rar ) from - http://jackrabbit.apache.org/downloads.html
+  * Explode the rar putting jars in system class path & only the MANIFEST.MF, ra.xml
& weblogic-ra.xml in autodeploy/jackrabbit-jca-1.3.1/META-INF dir (WLS Console doesn't
seem to work well with .rar files)
-  * modify ra.xml to point to repository directory & repository.xml (repository must
be in domain root or BEA_HOME) 
+  * modify ra.xml to point to repository directory & repository.xml (repository must
be in domain root or BEA_HOME)
+ (((
+ <?xml version="1.0" encoding="UTF-8"?>
+ <!--
+   Sample ra.xml
+   -->
+ <connector xmlns="http://java.sun.com/xml/ns/j2ee"
+     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+            http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
+     version="1.5">
+ 
+     <display-name>Jackrabbit JCR Adapter</display-name>
+     <vendor-name>Apache.org</vendor-name>
+     <eis-type>JCR Adapter</eis-type>
+     <resourceadapter-version>1.0</resourceadapter-version>
+ 
+     <resourceadapter>
+         <resourceadapter-class>org.apache.jackrabbit.jca.JCAResourceAdapter</resourceadapter-class>
+         <outbound-resourceadapter>
+ 
+             <connection-definition>
+                 <managedconnectionfactory-class>org.apache.jackrabbit.jca.JCAManagedConnectionFactory</managedconnectionfactory-class>
+                 
+                 <config-property>
+                     <config-property-name>HomeDir</config-property-name>
+                     <config-property-type>java.lang.String</config-property-type>
+                     <config-property-value>
+                         @DOMAIN_HOME/jackrabbit
+                     </config-property-value>
+                 </config-property>
+                 <config-property>
+                     <config-property-name>ConfigFile</config-property-name>
+                     <config-property-type>java.lang.String</config-property-type>
+                     <config-property-value>
+                         @DOMAIN_HOME/jackrabbit/repository.xml
+                     </config-property-value>
+                 </config-property>
+                 
+                 <connectionfactory-interface>javax.jcr.Repository</connectionfactory-interface>
+                 <connectionfactory-impl-class>org.apache.jackrabbit.jca.JCARepositoryHandle</connectionfactory-impl-class>
+                 
+                 <connection-interface>javax.jcr.Session</connection-interface>
+                 <connection-impl-class>org.apache.jackrabbit.jca.JCASessionHandle</connection-impl-class>
+             </connection-definition>
+             
+             <transaction-support>XATransaction</transaction-support>
+             <reauthentication-support>false</reauthentication-support>
+         </outbound-resourceadapter>            
+     </resourceadapter>
+ </connector>
+ ))) 
+ 
+ (((
+ <?xml version="1.0" encoding="UTF-8"?>
+ <!DOCTYPE weblogic-connection-factory-dd SYSTEM "http://www.bea.com/servers/wls810/dtd/weblogic810-ra.dtd"
>
+ 
+ <!--
+   Sample weblogic-ra.xml
+   -->
+ 
+ <weblogic-connection-factory-dd>
+   <connection-factory-name>contentRepository</connection-factory-name>
+   <jndi-name>repository</jndi-name>
+ 
+   <pool-params>
+     <initial-capacity>10</initial-capacity>
+     <max-capacity>50</max-capacity>
+     <capacity-increment>1</capacity-increment>
+     <shrinking-enabled>true</shrinking-enabled>
+     <connection-profiling-enabled>true</connection-profiling-enabled>
+     <shrink-frequency-seconds>5</shrink-frequency-seconds>
+ 
+     <inactive-connection-timeout-seconds>0</inactive-connection-timeout-seconds>
+     <highest-num-waiters>2147483647</highest-num-waiters>
+     <highest-num-unavailable>0</highest-num-unavailable>
+     <connection-creation-retry-frequency-seconds>1</connection-creation-retry-frequency-seconds>
+ 
+     <connection-reserve-timeout-seconds>10</connection-reserve-timeout-seconds>
+     <test-frequency-seconds>0</test-frequency-seconds>
+     <match-connections-supported>true</match-connections-supported>
+   </pool-params>
+ </weblogic-connection-factory-dd>
+ )))
   * write scripting to map dirs to local system
   * add entry to content-config.xml
   * write custom node type def file (cnd)
   * write code against jackrabbit api to create types & content
   * add app lifecycle listener or filter to call type creation code
+  * use federated cm api to create and access content
  

Mime
View raw message