axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Jordahl <>
Subject RE: Test problems with attachments/SAAJ
Date Wed, 31 Mar 2004 14:57:17 GMT


- Use the correct mail.jar file.  I was using javamail.jar from a GNU

- We require a JUnit later than 3.7 (specifically 3.8.1 worked).

Lesson: Never delete youe *entire* source tree and start from scratch
without saving the jar files in you java/lib directory.

Hopefully the functional tests will all pass now. :-)

Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: Tom Jordahl [] 
Sent: Wednesday, March 31, 2004 9:48 AM
To: ''
Subject: RE: Test problems with attachments/SAAJ

Still more problems, this time *building* the functional tests.  Where does
"assertFalse" come from?

     [java]   [foreach]
C:\dev\ws-axis\java\build\work\test\wsdl\extensibility\E cannot resolve symbol
     [java]   [foreach] symbol  : method assertFalse (boolean)
     [java]   [foreach] location: class
     [java]   [foreach]         assertFalse(t2 instanceof
     [java]   [foreach]         ^

Why is this so hard?  :-(

Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: Tom Jordahl [] 
Sent: Wednesday, March 31, 2004 9:37 AM
To: ''
Subject: Test problems with attachments/SAAJ

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

    [junit] Running test.saaj.PackageTests
    [junit] -
    [junit] javax.activation.UnsupportedDataTypeException: no object DCH for
MIME type multipart/related; type="text/xml";
    [junit]     boundary="----=_Part_0_974870.1080743295140"
    [junit]     at
    [junit]     at
    [junit]     at

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

View raw message