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

James fails to start when Maildir is used because of an incorrect bean-name in spring-beans.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0-M1
    • 3.0-M2
    • None
    • None

    Description

      In spring-beans.xml we have:

      <bean id="sessionMapperFactory" class="org.apache.james.adapter.mailbox.maildir.MaildirMailboxSessionMapperFactoryUtil" factory-method="create">
      <constructor-arg index="0" ref="filesystem"/>
      <constructor-arg index="1" ref="James"/>
      <constructor-arg index="2" value="file://var/mail/maildir/"/>
      </bean>

      This must be changed to:

      <bean id="sessionMapperFactory" class="org.apache.james.adapter.mailbox.maildir.MaildirMailboxSessionMapperFactoryUtil" factory-method="create">
      <constructor-arg index="0" ref="filesystem"/>
      <constructor-arg index="1" ref="mailserver"/>
      <constructor-arg index="2" value="file://var/mail/maildir/"/>
      </bean>

      Attachments

        Activity

          People

            norman Norman Maurer
            norman Norman Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: