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] Update of "JackrabbitOnGlassfish" by GustavoOrair
Date Tue, 20 Dec 2011 22:24:37 GMT
Dear Wiki user,

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

The "JackrabbitOnGlassfish" page has been changed by GustavoOrair:
http://wiki.apache.org/jackrabbit/JackrabbitOnGlassfish?action=diff&rev1=1&rev2=2

Comment:
Adding jackrabbit-jca  deploy  command line

  This document describes how to 
   * Deploy Jackrabbit on Glassfish with JCA.
-  * Access the repository from session beans
  
  Feel free to make changes to this document. 
  
@@ -11, +10 @@

   1. Copy the jcr-2.0.jar from the specification package to {{{$GLASSFISH_HOME/domains/$DOMAIN_NAME/lib}}}.
Remember that you must not include the jcr jar in any local client application at the risk
of getting ClassCastExceptions when trying to access the repository through JNDI.
   1. Restart the Glassfish domain.
   1. Download the latest [[http://jackrabbit.apache.org/downloads.html|Jackrabbit JCA archive]]
and deploy it either through the Glassfish Admin console or by asadmin command line deploy.
+ {{{
+ bin/asadmin deploy jackrabbit-jca.rar
+ }}}
+     /!\ Prefer to name the file jackrabbit-jca.rar because the name of this file will be
the name of the resource-adapter.
+ 
   1. Create the Connection pool either through Connector -> Connector Connection Pool
or by asadmin command line:
  {{{
    bin/asadmin create-connector-connection-pool --raname $rar-name --connectiondefinition
javax.jcr.Repository --property HomeDir=$homeDir --description "Connection Pool" jcr_connection_pool

Mime
View raw message