Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-1304

Context xml for JCR is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0-beta3
    • 3.0-beta4
    • None
    • None

    Description

      Bug in the conf/context/james-mailbox-jcr-context.xml prevents usage of Java Content Repository

      replace:

      <bean id="jcr-sessionMapperFactory" class="org.apache.james.mailbox.jcr.JCRMailboxSessionMapperFactory">
      <constructor-arg index="0" ref="jcr-sessionJcrRepository"/>
      <constructor-arg index="1" ref="jpa-uidProvider"/>
      <constructor-arg index="2" ref="jpa-modSeqProvider"/>
      </bean>

      with:

      <bean id="jcr-sessionMapperFactory" class="org.apache.james.mailbox.jcr.JCRMailboxSessionMapperFactory">
      <constructor-arg index="0" ref="jcr-sessionJcrRepository"/>
      <constructor-arg index="1" ref="jcr-uidProvider"/>
      <constructor-arg index="2" ref="jcr-modSeqProvider"/>
      </bean>

      Attachments

        Activity

          People

            norman Norman Maurer
            jan.moxter Jan Moxter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: