Forwarding as it has been rejected... ---------- Forwarded message ---------- From: Guillaume Nodet <[EMAIL PROTECTED]> Date: Apr 5, 2006 1:21 AM Subject: Re: [servicemix-user] Problem in invoking a sample email component using commons-email To: [email protected] Cc: [email protected]
Hi Pavan ! Glad it now works for you. I think that the behavior difference between your 2.1-SNAPSHOT (nobody should use it, really) and the 3.0-SNAPSHOT is due to the fact that we use an updated version of the javamail and activation jars from Geronimo. If you look at the stack trace for 2.1, you will see a java.lang.UnsupportedOperationException: Method not yet implemented when calling javax.mail.internet.MimeBodyPart.setFileName. This has been implemented in the version that ships with Geronimo, but it seems it does not fully work yet. Do you have a simple test case we could try to fix ? In such a case, would you mind creating a jira issue and attach it (or send it to me if needed). Thanks a lot, Guillaume Nodet On 4/4/06, Pavan Kumar <[EMAIL PROTECTED]> wrote: > Hi Guillaume, > > Thanks for the quick response. > > I tried replacing the activation and javamail jars in servicemix with the > jars from sun. > The process went on well and the output was also fine. This worked out well > for the > 3.0 snapshot, but failed in case of 2.1-snapshot with the same error "Cannot > attach file" as > mentioned earlier. > > Just for the information I wanted to know , what can be the possible cause > of the error in > case of 2.1-snapshot. > > Thanks, > Pavan Kumar >
