Community
Participate
Working Groups
Build Identifier: The ./repository/ext/javax.mail.glassfish_1.4.1.v201005082020.jar bundle is missing an import for javax.net. When I tried to send a mail using JavaMail I got a ClassNotFoundException on javax.net.SocketFactory from the KernelBundleClassLoader for the javax.mail.glassfish bundle. When I replaced javax.mail.glassfish with the mail-1.4.4 bundle from mvn:javax.mail.mail/1.4.4 then it worked fine. Reproducible: Always Steps to Reproduce: 1. Start Virgo 2. Try to send an e-mail from code. 3.
Is this running Virgo Tomcat Server or Virgo Jetty Server?
Virgo Jetty.
Raised http://java.net/jira/browse/GLASSFISH-17986 to get the missing import fixed. Meanwhile, this problem can be worked around as described in the FAQ: http://wiki.eclipse.org/Virgo/FAQ#How_can_I_import_a_package_into_someone_else.27s_bundle_without_hacking_the_manifest.3F
Re-opening to cover upgrading JavaMail since v1.4.4 contains the missing imports.
*** This bug has been marked as a duplicate of bug 493611 ***