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

                 Key: JAMES-1115
                 URL: https://issues.apache.org/jira/browse/JAMES-1115
             Project: JAMES Server
          Issue Type: Bug
    Affects Versions: 3.0-M1
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 3.0-M2


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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to