james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <server-...@james.apache.org>
Subject [jira] Created: (JAMES-970) LocalJamesUsersRepository should check instanceof implementation
Date Fri, 19 Feb 2010 17:12:28 GMT
LocalJamesUsersRepository should check instanceof implementation
----------------------------------------------------------------

                 Key: JAMES-970
                 URL: https://issues.apache.org/jira/browse/JAMES-970
             Project: JAMES Server
          Issue Type: Bug
          Components: UsersStore & UsersRepository
    Affects Versions: 3.0, 3.0-M1, Trunk
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 3.0-M1


Have a test set up on a FreeBSD 7.2-RELEASE-p6 server with Java version 1.6.0_07 and virtual
hosting enabled.

Have created five test domains with one user each.

When a test message is sent to a user, for example, postmaster@localhost, one copy of the
message is correctly stored in "var/mail/inboxes/localhost/postmaster/" and a second copy
is stored in "var/mail/error".

The corresponding mailet.log entry is:
--------------------------------------------------------------------
INFO  11:03:58,837 | james.mailetcontext | Error while storing mail.
java.lang.ClassCastException:org.apache.james.server.jpa.JPAUsersRepository cannot be cast
to org.apache.james.impl.jamesuser.JamesUsersRepository
       at org.apache.james.impl.jamesuser.LocalJamesUsersRepository.getMappings(LocalJamesUsersRepository.java:62)
       at org.apache.james.transport.mailets.UsersRepositoryAliasingForwarding.processMail(UsersRepositoryAliasingForwarding.java:103)
       at org.apache.james.transport.mailets.AbstractVirtualUserTableMailet.service(AbstractVirtualUserTableMailet.java:68)
       at org.apache.james.transport.mailets.LocalDelivery.service(LocalDelivery.java:93)
       at org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:456)
       at org.apache.james.container.spring.StateAwareProcessorList.service(StateAwareProcessorList.java:127)
       at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:164)
       at java.lang.Thread.run(Thread.java:619)
INFO  11:03:58,847 | james.mailetcontext | Storing mail Mail1266595438838-14 in file://var/mail/error
--------------------------------------------------------------------

Any ideas?

Thank you

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


Mime
View raw message