Also one addition: The problem of activation and mail API in OSGi is not a new one, see e.g. here: http://thecarlhall.wordpress.com/2009/10/27/javamail-in-osgi/ or here: http://nostacktrace.com/dev/2010/6/24/sending-multipart-mail-in-an-osgi-container.html
Simply adding activation and mail bundles cannot solve the problem, as the activation classloader has to access the mail bundle. Adding both bundles as endorsed libs would be a solution to the problem. Another would be to merge both bundles or to patch the activation bundle to require the mail bundle. But I'm surprised that adding the mail bundle a second time (as pax-jetty feature does) causes the same problem as if activation cannot access the mail bundle. Regards Jochen -- View this message in context: http://karaf.922171.n3.nabble.com/Discussion-Enabling-logging-mails-in-Karaf-tp4034241p4034248.html Sent from the Karaf - User mailing list archive at Nabble.com.
