I am able to store messages in database, but unable to retrieve the same
message, when I printed the message count using Folder object, it was 0.

And the exception in pop3server.log is.

 [ERROR  ] (pop3server): Exception during connection from 127.0.0.1
(127.0.0.1) : java.lang.String
java.lang.ClassCastException: java.lang.String
        at org.apache.james.core.MailImpl.getSize(MailImpl.java:141)
        at
org.apache.james.pop3server.POP3Handler.doSTAT(POP3Handler.java:247)
        at
org.apache.james.pop3server.POP3Handler.parseCommand(POP3Handler.java:190)
        at
org.apache.james.pop3server.POP3Handler.handleConnection(POP3Handler.java:12
6)
        at
org.apache.avalon.cornerstone.blocks.connection.ConnectionRunner.run(Connect
ion.java:163)
        at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
        at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)

Could anyone help me out what configuration I have left out.

Thanks
srinivas


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to