Hey Rick, I know you are working on the javamail code. Is this something you can help with? See below....

On Feb 7, 2006, at 6:03 PM, Changshin Lee wrote:

Currently ant clean all-tests fails at test.saaj package test:

TestAttachment

- java.io.IOException:
javax.activation.UnsupportedDataTypeException: multipart/related; type="text/xml"; start="<DCD809ADF0929061EEBD95D393FAA38E>";;boundary=---- =_Part_0.1139364018621
        at javax.activation.DataHandler.writeTo(DataHandler.java:76)
        at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:513)
at org.apache.axis.attachments.MimeUtils.writeToMultiPartStream (MimeUtils.java:202) at org.apache.axis.attachments.AttachmentsImpl.writeContentToStream (AttachmentsImpl.java:493)
        at org.apache.axis.Message.writeTo(Message.java:545)
at test.saaj.TestAttachment.testStringAttachment (TestAttachment.java:55)
[...]

TestAttachmentSerialization

- java.io.IOException:
javax.activation.UnsupportedDataTypeException: multipart/related; type="text/xml"; start="<BB649A1F2EB5FA531EA2D7CDC8E1063F>";;boundary=---- =_Part_0.1139364114325
        at javax.activation.DataHandler.writeTo(DataHandler.java:76)
        at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:513)
at org.apache.axis.attachments.MimeUtils.writeToMultiPartStream (MimeUtils.java:202) at org.apache.axis.attachments.AttachmentsImpl.writeContentToStream (AttachmentsImpl.java:493)
        at org.apache.axis.Message.writeTo(Message.java:545)
at test.saaj.TestAttachmentSerialization.saveMsgWithAttachments (TestAttachmentSerialization.java:113)
[...]

Note that activation.jar and mail.jar from Sun solves these problems.


So I added the javamail and activation jars from geronimo specs assuming they would work as well (or as bad) as the sun ones for Axis' purpose, but it looks like we were lucky enough to uncover a really great test case :)

You know what's going on here?

-David

Reply via email to