Huisheng, I tested with JDK 1.5 and got an exception too. Why it works under JDK 1.5 in Hudson is beyond me.
[aguizar@siankaan test-db]$ mvn -Dtest=AttachmentTest -V test
Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500)
Java version: 1.5.0_20
OS name: "linux" version: "2.6.32.11-99.fc12.i686" arch: "i386" Family: "unix"
-------------------------------------------------------
Tests in error:
testVariableAttachment(org.jbpm.test.activity.mail.AttachmentTest)
The exception is:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type image/gif
I'll upgrade activation.jar to 1.1.1 as you suggested. Thanks for the patience.