You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Tom Jordahl <to...@macromedia.com> on 2004/03/31 16:36:47 UTC

Test problems with attachments/SAAJ

I am getting the following failure when I try "all-tests":

    [junit] Running test.saaj.PackageTests
    [junit] - java.io.IOException:
    [junit] javax.activation.UnsupportedDataTypeException: no object DCH for
MIME type multipart/related; type="text/xml";
start="<6B1089B34803408B01C4357D60A39
3A5>";
    [junit]     boundary="----=_Part_0_974870.1080743295140"
    [junit]     at
javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:851)
    [junit]     at
javax.activation.DataHandler.writeTo(DataHandler.java:305)
    [junit]     at
javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1774)


Anyone know if I am missing a jar file or something?

     [echo] === Required Libraries (for building code) ===
     [echo] activation.present=true
     [echo] commons-discovery.present=true
     [echo] commons-logging.present=true
     [echo] wsdl4j.present=true

     [echo] --- Optional Libraries (for building code) ---
     [echo] attachments.present=true
     [echo] bsf.present=${bsf.present}
     [echo] castor.present=${castor.present}
     [echo] commons-httpclient.present=${commons-httpclient.present}
     [echo] commons-net.present=${commons-net.present}
     [echo] ibm.jsse.present=${ibm.jsse.present}
     [echo] jimi.present=${jimi.present}
     [echo] jms.present=true
     [echo] jdk14.jsse.present=${jdk14.jsse.present}
     [echo] mailapi.present=true
     [echo] regexp.present=true
     [echo] security.present=${security.present}
     [echo] servlet.present=true
     [echo] sun.jsse.present=true

     [echo] --- Miscellaneous (for running tests) ---
     [echo] axis-ant.present=true
     [echo] clover.present=${clover.present}
     [echo] httpunit.present=${httpunit.present}
     [echo] junit.present=true
     [echo] log4j.present=true


--
Tom Jordahl
Macromedia Server Development