users@glassfish.java.net

Re: [V3] Deploying a mail session as a JNDI resource

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Tue, 11 Nov 2008 14:15:14 -0800

I understand. It will definitely be there in v3 FCS. In fact, it is available
in GlassFish V2, but is not there in v3 Prelude.

But wait a minute -- did you say it is "Testing:GlassFish, Production:Jetty"
or the other way round?

-Kedar

akochnev wrote:
> I do have a pretty good idea of how to "manually" set up a mail session using
> plain javamail apis (or Spring for that matter). The problem is that I'm
> deploying to two different environments ( this is kinda funny, typically
> it's the othe way around : [test:'Glassfish', prod:'Jetty']), and the mail
> session is linked to in the deployment descriptor. It would be somewhat
> inconvenient to have to pick up a session from JNDI in one of the
> environments, and manually configure a session in the other.
>
> Anyway, is such a feature somewhere on the radar in the foreseeable future ?
>
> Cheers,
>
> Alex Kotchnev
>
> Kedar Mhaswade wrote:
>> Alex,
>>
>> No, this is not available for v3 Prelude.
>> You will have to use the mail session directly.
>>
>> -Kedar
>>
>> akochnev wrote:
>>> Is there a way to deploy a mail session as a JNDI resource w/ Glassfish
>>> v3 ?
>>> It seems that the admin interface only has JDBC resources, the asadmin
>>> command doesn't include a command to deploy one.
>>>
>>> Basically, I have an application that needs to look up a mail session
>>> from
>>> JNDI. It works OK in v2, Jetty, whatever else, but I can't find how to
>>> deploy the mail session in v3 so far. Can somebody give me a pointer ?
>>>
>>> Thanks,
>>>
>>> Alex Kotchnev
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>>
>