views:

70

answers:

1
+2  A: 

My guess is you're using JavaMail to send an email, but you don't need attachments.

The activation framework is used to find handlers for more advanced situations - such as sending attachments. JavaMail will look for the JAF when it's first initialized. If your program is working without it, you don't need to worry about the warning.

(Our build system always had this and it never caused a problem.)

Jon Skeet
Actually, I'm not sending any emails... I'm really not sure what could have prompt this warning.I guess I'll let it be.
Dana
If you're not sending any emails, that's somewhat odd. Do you know what your code is doing around the time it logs this warning? Perhaps some third party library is initializing bits of JavaMail for some reason? Are you using any JavaMail code for email address validation or something similar?
Jon Skeet
I found the source that initialized JavaMail in some lower level library. I'm not really using the mail functionality but am forced to load this library for other reasons. Thanks for your help.
Dana