Context xml for JCR is wrong
----------------------------

                 Key: JAMES-1304
                 URL: https://issues.apache.org/jira/browse/JAMES-1304
             Project: JAMES Server
          Issue Type: Bug
    Affects Versions: 3.0-beta3
            Reporter: Jan Moxter


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>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to