java.lang.NoSuchFieldError: contentStream
at com.sun.mail.pop3.POP3Message.getContentStream
(POP3Message.java:115)
at javax.mail.internet.MimePartDataSource.getInputStream(MimePartDataSource.java:61)
at com.sun.mail.handlers.text_plain.getContent(text_plain.java:65)
at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:755)
at javax.activation.DataHandler.getContent(DataHandler.java:511)
at javax.mail.internet.MimeMessage.getContent(MimeMessage.java:1072)
Now, the contentStream field is a protected field of the class javax.mail.internet.MimeMessage,
which com.sun.mail.pop3.POP3Message extends. The method getContentStream is a
protected method within POP3Message, the result being a protected method trying
to reach a protected field in its superclass. It works fine during testing as
an application, but not as an EJB in WLS6.1beta.
What am I missing here?
It looks like there's a version issue between the javamail classes
downloaded from sun and the javamail classes included in JSDKEE.
-Ben
"Axel Wathne" <awa...@hotmail.com> wrote in message news:<3b4c06ab$1...@newsgroups.bea.com>...