You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Eric Charles (JIRA)" <se...@james.apache.org> on 2010/04/10 15:27:50 UTC

[jira] Created: (JAMES-990) Exception at first start for JDBCDomainList Configuration

Exception at first start for JDBCDomainList Configuration
---------------------------------------------------------

                 Key: JAMES-990
                 URL: https://issues.apache.org/jira/browse/JAMES-990
             Project: JAMES Server
          Issue Type: Bug
          Components: SpoolManager & Processors
    Affects Versions: Trunk
            Reporter: Eric Charles
            Priority: Minor


Build and deploy current trunk.

Configuration scenario 1:
---------------------------------

- James.xml:
<enableVirtualHosting> true </enableVirtualHosting>

- domainlist.xml : 
   <!-- comment this if you use JDBCDomainList -->
   <!-- 
   <domainnames>
        <domainname>localhost</domainname>
    </domainnames>
   -->
    <!-- uncomment this if you use JDBCDomainList -->
    <repositoryPath>db://maildb/domain</repositoryPath>
    <sqlFile>file://conf/sqlResources.xml</sqlFile>

- springbeans.xml
use the <bean id="domainlist" class="org.apache.james.domain.JDBCDomainList"/>
and not the <bean id="domainlist" class="org.apache.james.domain.XMLDomainList"/>

run.sh gives an exception
Caused by: org.apache.commons.configuration.ConfigurationException: Configured defaultdomain could not get added to DomainList

run.sh a second time, everything's ok

Configuration scenario 2:
-----------------------------------

Same, but don't comment the domainnames in domainlist.xml
run.sh gives the same exception

run.sh a second time, everything's ok


PS : By the way, with the embedded derby out-of-the-box, could the default config be enableVirtualHosting=true and JDBCDomainList.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Assigned: (JAMES-990) Exception at first start for JDBCDomainList Configuration

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer reassigned JAMES-990:
-----------------------------------

    Assignee: Norman Maurer

> Exception at first start for JDBCDomainList Configuration
> ---------------------------------------------------------
>
>                 Key: JAMES-990
>                 URL: https://issues.apache.org/jira/browse/JAMES-990
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: SpoolManager & Processors
>    Affects Versions: Trunk
>            Reporter: Eric Charles
>            Assignee: Norman Maurer
>            Priority: Minor
>
> Build and deploy current trunk.
> Configuration scenario 1:
> ---------------------------------
> - James.xml:
> <enableVirtualHosting> true </enableVirtualHosting>
> - domainlist.xml : 
>    <!-- comment this if you use JDBCDomainList -->
>    <!-- 
>    <domainnames>
>         <domainname>localhost</domainname>
>     </domainnames>
>    -->
>     <!-- uncomment this if you use JDBCDomainList -->
>     <repositoryPath>db://maildb/domain</repositoryPath>
>     <sqlFile>file://conf/sqlResources.xml</sqlFile>
> - springbeans.xml
> use the <bean id="domainlist" class="org.apache.james.domain.JDBCDomainList"/>
> and not the <bean id="domainlist" class="org.apache.james.domain.XMLDomainList"/>
> run.sh gives an exception
> Caused by: org.apache.commons.configuration.ConfigurationException: Configured defaultdomain could not get added to DomainList
> run.sh a second time, everything's ok
> Configuration scenario 2:
> -----------------------------------
> Same, but don't comment the domainnames in domainlist.xml
> run.sh gives the same exception
> run.sh a second time, everything's ok
> PS : By the way, with the embedded derby out-of-the-box, could the default config be enableVirtualHosting=true and JDBCDomainList.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Updated: (JAMES-990) Exception at first start for JDBCDomainList Configuration

Posted by "Eric Charles (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Charles updated JAMES-990:
-------------------------------

    Attachment: james-990.patch

Attached james-990.patch solves the described issue.
It also allows to take into account the defaultDomain defined in James.xml.


> Exception at first start for JDBCDomainList Configuration
> ---------------------------------------------------------
>
>                 Key: JAMES-990
>                 URL: https://issues.apache.org/jira/browse/JAMES-990
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: SpoolManager & Processors
>    Affects Versions: Trunk
>            Reporter: Eric Charles
>            Assignee: Norman Maurer
>            Priority: Minor
>         Attachments: james-990.patch
>
>
> Build and deploy current trunk.
> Configuration scenario 1:
> ---------------------------------
> - James.xml:
> <enableVirtualHosting> true </enableVirtualHosting>
> - domainlist.xml : 
>    <!-- comment this if you use JDBCDomainList -->
>    <!-- 
>    <domainnames>
>         <domainname>localhost</domainname>
>     </domainnames>
>    -->
>     <!-- uncomment this if you use JDBCDomainList -->
>     <repositoryPath>db://maildb/domain</repositoryPath>
>     <sqlFile>file://conf/sqlResources.xml</sqlFile>
> - springbeans.xml
> use the <bean id="domainlist" class="org.apache.james.domain.JDBCDomainList"/>
> and not the <bean id="domainlist" class="org.apache.james.domain.XMLDomainList"/>
> run.sh gives an exception
> Caused by: org.apache.commons.configuration.ConfigurationException: Configured defaultdomain could not get added to DomainList
> run.sh a second time, everything's ok
> Configuration scenario 2:
> -----------------------------------
> Same, but don't comment the domainnames in domainlist.xml
> run.sh gives the same exception
> run.sh a second time, everything's ok
> PS : By the way, with the embedded derby out-of-the-box, could the default config be enableVirtualHosting=true and JDBCDomainList.

-- 
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (JAMES-990) Exception at first start for JDBCDomainList Configuration

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-990.
---------------------------------

    Fix Version/s: 3.0-M1
       Resolution: Fixed

Patch committed, thanks a bunch Eric!

> Exception at first start for JDBCDomainList Configuration
> ---------------------------------------------------------
>
>                 Key: JAMES-990
>                 URL: https://issues.apache.org/jira/browse/JAMES-990
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: SpoolManager & Processors
>    Affects Versions: Trunk
>            Reporter: Eric Charles
>            Assignee: Norman Maurer
>            Priority: Minor
>             Fix For: 3.0-M1
>
>         Attachments: james-990.patch
>
>
> Build and deploy current trunk.
> Configuration scenario 1:
> ---------------------------------
> - James.xml:
> <enableVirtualHosting> true </enableVirtualHosting>
> - domainlist.xml : 
>    <!-- comment this if you use JDBCDomainList -->
>    <!-- 
>    <domainnames>
>         <domainname>localhost</domainname>
>     </domainnames>
>    -->
>     <!-- uncomment this if you use JDBCDomainList -->
>     <repositoryPath>db://maildb/domain</repositoryPath>
>     <sqlFile>file://conf/sqlResources.xml</sqlFile>
> - springbeans.xml
> use the <bean id="domainlist" class="org.apache.james.domain.JDBCDomainList"/>
> and not the <bean id="domainlist" class="org.apache.james.domain.XMLDomainList"/>
> run.sh gives an exception
> Caused by: org.apache.commons.configuration.ConfigurationException: Configured defaultdomain could not get added to DomainList
> run.sh a second time, everything's ok
> Configuration scenario 2:
> -----------------------------------
> Same, but don't comment the domainnames in domainlist.xml
> run.sh gives the same exception
> run.sh a second time, everything's ok
> PS : By the way, with the embedded derby out-of-the-box, could the default config be enableVirtualHosting=true and JDBCDomainList.

-- 
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org