Jerome Louvel <contact <at> noelios.com> writes:
> > > Hi Matthieu, > > Some thoughts: > > 1) Would it be possible that you have two applications/WARs/EARs deployed to > the same JBoss instance? > > 2) Maybe you have some older Restlet JARs in a JBoss common or shared > directory? > > 3) When you undeploy your WAR/EAR and relaunch JBoss do your error messages > go away? > > 4) Did you try to deploy the WAR file alone, without a parent EAR? > > Best regards, > Jerome > Hello Jerome, Thierry I finally found out what was going on. I'm not sure whether it regards mostly Restlet or Jboss. I have 2 archives containing restlet components, and only one is intended to contain the JavaMailClientHelper. I tried to have them both in a ear as well as to deploy them separatly, without ear: I always got that deployment error on the JavaMailClientHelper constructor. Watching more closely it turned out that the deployment error occured on the archive NOT containing JavaMailClientHelper (and which has no functional reason to). Anyhow I decided to add JavaMailClientHelper to both archives, even the one that doesn't need it. And this worked: no more deployment error. Thanks for your help: question (1) below was a precious hint. At least in the course of this issue some corrections were made on JavaMailClientHelper ;-) Best regards

