The example 'java5-earsample' depends on the mail service but it is not specified.
The ejb manifest file could contain the following entry: Require-JOnAS-Services: mail
The manifest file can now be specified in the EZB ant tasks (1.2.0-M1-SNAPSHOT): we could use this feature.