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 Bug
    • Status: Resolved
    • Priority: Major 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>

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development