You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-dev@james.apache.org by Apache Wiki <wi...@apache.org> on 2010/06/11 09:09:28 UTC

[James Wiki] Update of "Compile and run James 3" by norman

Dear Wiki user,

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

The "Compile and run James 3" page has been changed by norman.
http://wiki.apache.org/james/Compile%20and%20run%20James%203?action=diff&rev1=3&rev2=4

--------------------------------------------------

  == Usage of embedded JCR to store (Imap-)Messages ==
   * edit $SERV/conf/spring-beans.xml
    * comment '''JPA implementation of IMAP Storage''' containing beans "sessionMapperFactory", "subscriper" and "mailboxmanager" out
-   * uncomment '''JCR implementation of IMAP Storage''' containing beans "imapCndLoader", "jcrUtils", "sessionJcrRepository", "sessionMapperFactory", "subscriper" and "mailboxmanager" and fix "sessionMapperFactory" to look like:
+   * uncomment '''JCR implementation of IMAP Storage''' containing beans "imapCndLoader", "jcrUtils", "sessionJcrRepository", "sessionMapperFactory", "subscriper", "mailboxmanager", "uidConsumer" and "nodeLocker"
  
- {{{
-     <bean id="sessionMapperFactory" class="org.apache.james.imap.jcr.JCRMailboxSessionMapperFactory">
-         <constructor-arg index="0" ref="sessionJcrRepository"/>
-         <constructor-arg index="1" ref="sessionMapperFactoryNodeLocker"/>
-     </bean>
- }}}
-  * and add bean named "sessionMapperFactoryNodeLocker" looking like:
- 
- {{{
-     <bean id="sessionMapperFactoryNodeLocker" class="org.apache.james.imap.jcr.JCRVmNodeLocker">
-     </bean>
- }}}
- As in current version (10th of juni 2010) the code has changed but the default config does not contain the node locker.
-