It seems that the casting inbox.next() to EmailDigest is failing in GroupwareSample.java, with the exception. Anything else I tried to cast it to fails as well, any help would be appriciated!

Thanks,
Udi

---
Exception in thread "main" java.lang.ClassCastException: java.lang.String
        at de.bea.domingo.groupware.map.EmailMapper.map(EmailMapper.java:121)
        at de.bea.domingo.map.BaseDatabase.map(BaseDatabase.java:233)
        at de.bea.domingo.groupware.map.MailDatabase$MailIterator.next(MailDatabase.java:326)
        at GroupwareSample.run(GroupwareSample.java:109)
        at GroupwareSample.main(GroupwareSample.java:61)