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 "JackrabbitOnJBoss" by GustavoOrair
Date Mon, 28 Mar 2011 23:14:43 GMT
Dear Wiki user,

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

The "JackrabbitOnJBoss" page has been changed by GustavoOrair.
The comment on this change is: Improving the explaining about exposing JNDI and WebDav.


  Now a JCR RMI server is running at jnp://localhost:1099/jcrServer
- === Expose the local repository through Webdav ===
+ === Expose the local repository through JNDI and Webdav ===
+ To expose a local repository through JNDI (local) and WebDav (remote) simultaneously, you
will need a Jackrabbit WebApp.
   * build or download jcr-webapp from http://svn.apache.org/repos/asf/jackrabbit/tags/2.0.0/jackrabbit-webapp
+ By default, JackRabbit WebApp register the JNDI name using a dummy class (org.apache.jackrabbit.core.jndi.provider.DummyInitialContextFactory)
and the repository will be available just to the app.
+ Follow these steps to expose JNDI globally and use the repository according to Model 2 -
Shared J2EE Resource:
   * configure jcr-webapp to connect to the local repository. see [[attachment:web.xml]]
     * disable repository startup servlet in web.xml.
     * Change the JNDI Name.
       It must match the jndi-name set in jcr-ds.xml. default is "java:jcr/local"
     * disable JNDI environment variables for creating the initial context.
+      So, the webapp use the default properties received from the application server.
   * copy jackrabbit-webapp-2.0.0.war to the deploy folder in jboss as jackrabbit-server.war
+ Notice that by default JackRabbit WebApp expose the WebDav server.
  Now the webdav server is running at http://localhost:8080/jackrabbit-server
  === Access the repository from a session bean ===

View raw message