On Mon, 2009-03-16 at 22:27 +0100, Andreas Veithen wrote:
> Thorsten,
> 
> I updated the Axiom dependencies to point to the (recently released)
> 1.6 version of geronimo-javamail_1.4_spec. I believe this should solve
> the mail issue (at least the issues we saw in the Axis2 mail transport
> are solved in that version). Note that this JAR only contains the
> JavaMail API, but no providers. That means that even if both
> Geronimo's and Sun's implementations are on the classpath, there
> should be no problem.
> 
> I also added an entry in the FAQ section of the Axiom site discussing
> the JAF/JavaMail issue.
> 
> All this will be available/published with the next Axiom release.
> 

Thank you very much Andreas, that is fantastic news. I will try it out
ASAP.

salu2

> Regards,
> 
> Andreas
> 
> On Mon, Mar 16, 2009 at 13:40, Thorsten Scherler
> <thorsten.scherler....@juntadeandalucia.es> wrote:
> > On Mon, 2009-03-16 at 13:11 +0100, Andreas Veithen wrote:
> >> Thorsten,
> >>
> >> Axiom requires the Java Activation Framework and JavaMail API, and it
> >> declares the Geronimo implementations as dependencies. If you want
> >> Sun's implementations, then indeed you need to exclude these
> >> dependencies, but at the same time you need to make sure that your
> >> project depends (directly or transitively) on the corresponding
> >> artifacts. Note that there has been a discussion [1] about which
> >> implementations should be used by Axiom, but there is no consensus.
> >>
> >
> > Thanks Andreas for pointing out the issue. The only thing that I do not
> > get is that AXIOM is for me about creating a OM for stax. I understand
> > dependencies for StAX but not for mail/activation. In my use case I need
> > AXIOM to create an object model and here I do not need mail/activation
> > at all.
> >
> > To wrapping up and add my 2 cents to the discussion WSCOMMONS-417 it was
> > quite time intensive to find out that an Axiom dependency caused that
> > our mails failed. Meaning as long as Geronimo does not work as expected
> > and we cannot ship with sun we should at least add a BIG HEADSUP that
> > using AXIOM out of the box may cause the side effect that mailing may
> > fail if not used with suns libs.
> >
> > salu2
> >
> >> Andreas
> >>
> >> [1] https://issues.apache.org/jira/browse/WSCOMMONS-417
> >>
> >> On Mon, Mar 16, 2009 at 12:57, Thorsten Scherler
> >> <thorsten.scherler....@juntadeandalucia.es> wrote:
> >> > On Fri, 2009-03-13 at 11:29 +0100, Javier Puerto wrote:
> >> >> I have changed the dependency in the pom to look like this:
> >> >> <dependency>
> >> >>  <groupId>org.apache.ws.commons.axiom</groupId>
> >> >>   <artifactId>axiom-impl</artifactId>
> >> >>   <version>1.2.6</version>
> >> >>   <exclusions>
> >> >>    <exclusion>
> >> >>     <groupId>org.apache.geronimo.specs</groupId>
> >> >>     <artifactId>geronimo-activation_1.1_spec</artifactId>
> >> >>    </exclusion>
> >> >>    <exclusion>
> >> >>     <groupId>org.apache.geronimo.specs</groupId>
> >> >>     <artifactId>geronimo-javamail_1.4_spec</artifactId>
> >> >>    </exclusion>
> >> >>   </exclusions>
> >> >> </dependency>
> >> >
> >> > Actually that makes me wonder why this are dependencies for AXIOM to
> >> > start with? Do we really need this dependencies for axiom, or is it save
> >> > to just exclude them?
> >> >
> >> > salu2
> >> > --
> >> > Thorsten Scherler <thorsten.at.apache.org>
> >> > Open Source Java <consulting, training and solutions>
> >> >
> >> > Sociedad Andaluza para el Desarrollo de la Sociedad
> >> > de la Información, S.A.U. (SADESI)
> >> >
> >> >
> >> >
> >> >
> >> >
> > --
> > Thorsten Scherler <thorsten.at.apache.org>
> > Open Source Java <consulting, training and solutions>
> >
> > Sociedad Andaluza para el Desarrollo de la Sociedad
> > de la Información, S.A.U. (SADESI)
> >
> >
> >
> >
> >
-- 
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>

Sociedad Andaluza para el Desarrollo de la Sociedad 
de la Información, S.A.U. (SADESI)




Reply via email to