James Server
  1. James Server
  2. JAMES-1111

JamesMailserver throws Exception if defaultDomain does not exist

    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

      Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exporter' defined in class path resource [spring-beans.xml]: Cannot resolve reference to bean 'smtpserver' while setting bean property 'beans' with key [TypedStringValue: value [org.apache.james:type=server,name=smtpserver], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'smtpserver': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailserver': Invocation of init method failed; nested exception is org.apache.commons.configuration.ConfigurationException: Configured defaultDomain not exist in DomainList

        Activity

        Hide
        Norman Maurer added a comment -

        fixed.. Only log a WARN now

        Show
        Norman Maurer added a comment - fixed.. Only log a WARN now
        Hide
        Norman Maurer added a comment -

        Thats a chicken-egg-sitiuation.. as if you use a database based domainlist you need to start james before you can add the default domain

        Show
        Norman Maurer added a comment - Thats a chicken-egg-sitiuation.. as if you use a database based domainlist you need to start james before you can add the default domain

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development