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/08/14 17:29:16 UTC

[jira] Closed: (JAMES-1036) XMLVirtualUserTable throws exceptions when virtual domain not defined

     [ https://issues.apache.org/jira/browse/JAMES-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Charles closed JAMES-1036.
-------------------------------

    Resolution: Fixed

http://svn.apache.org/viewvc?rev=985511&view=rev

> XMLVirtualUserTable throws exceptions when virtual domain not defined
> ---------------------------------------------------------------------
>
>                 Key: JAMES-1036
>                 URL: https://issues.apache.org/jira/browse/JAMES-1036
>             Project: JAMES Server
>          Issue Type: Bug
>            Reporter: Eric Charles
>            Assignee: Eric Charles
>
> - enableVirtualHosting set to false in James.xml and localhost.net as default domain
> - eric user defined via the adduser in remote manager (so eric@localhost.net is the mailbox)
> - virtualusertable-store configured with 
> <table name="DefaultVirtualUserTable" class="org.apache.james.vut.XMLVirtualUserTable">
>         <recursiveMapping> true </recursiveMapping>
>         <mappingLimit> 10 </mappingLimit>
>         <mapping> eric-map@test-map.net=eric </mapping>
>     </table>
> Sending a mail to eric-map@test-map.net gives
> INFO  17:16:28,148 | james.smtpserver | Successfully spooled mail Mail1281798987889-1 from eric@localhost.net on 127.0.0.1 for [eric-map@test-map.net]
> INFO  17:16:28,605 | james.mailetcontext | Error while storing mail.
> java.lang.ArrayIndexOutOfBoundsException: 1
> 	at org.apache.james.impl.vut.AbstractVirtualUserTable.getMappings(AbstractVirtualUserTable.java:163)
> 	at org.apache.james.impl.vut.AbstractVirtualUserTable.getMappings(AbstractVirtualUserTable.java:110)
> 	at org.apache.james.transport.mailets.VirtualUserTable.processMail(VirtualUserTable.java:89)
> 	at org.apache.james.transport.mailets.AbstractVirtualUserTableMailet.service(AbstractVirtualUserTableMailet.java:76)
> 	at org.apache.james.transport.camel.MailetProcessor.process(MailetProcessor.java:60)
> 	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)

-- 
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