geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick McGuire (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-2498) Geronimo should use the full javamail uber jar instead of just the spec jar + provider jar.
Date Mon, 16 Oct 2006 10:48:34 GMT
Geronimo should use the full javamail uber jar instead of just the spec jar + provider jar.
-------------------------------------------------------------------------------------------

                 Key: GERONIMO-2498
                 URL: http://issues.apache.org/jira/browse/GERONIMO-2498
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: mail
    Affects Versions: 1.2
            Reporter: Rick McGuire
         Assigned To: Rick McGuire
            Priority: Minor
             Fix For: 1.2


Unlike the Sun version of javamail, the Geronimo version is split into a spec jar and a provider
jar.  This has caused numerous problems with users attempting to use javamail from their applications.
 Many base components have a javamail spec dependency, which causes the javamail api classes
to be loaded, but not the provider classes.  The first hint of a problem is usually a NoSuchProvider
exception thrown when trying to create an smtp transport instance.  This generally takes some
time to sort out.  And even once the dependency is added, there has been at least one occasion
where it was necessary to change the application to explicitly set the context classloader
before creating the Transport, thus requiring a change from an application that worked on
other servers.  Again, this was caused by having spec and provider jars managed by different
classloader instances. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message