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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-M1
    • Fix Version/s: 3.0-M2
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: