[ 
https://issues.apache.org/jira/browse/GERONIMO-2972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christopher M. Cardona updated GERONIMO-2972:
---------------------------------------------

    Attachment: sendmail.war
                mailsession1-plan.xml
                GERONIMO-2972.patch

Attached are the ff. files:

1. GERONIMO-2972.patch - tried it on trunk rev 522662. This patch will create 
the "ger:" context and all created JavaMail resource is bound to this context 
using the 'name' key property from the object name of the gbean.

2. mailsession1-plan.xml - a plan to create a test JavaMail resource. After 
deploying, you can access the resource using "ger:/MailSession1".

3. sendmail.war - a webapp for sending test emails where you can specify the 
JNDI name of JavaMail session to use.

4. testjndi.war - a webapp for doing JNDI lookup and see if an object is bound 
to a given name.


> Bind JavaMail Session to Global JNDI
> ------------------------------------
>
>                 Key: GERONIMO-2972
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2972
>             Project: Geronimo
>          Issue Type: Sub-task
>      Security Level: public(Regular issues) 
>          Components: mail
>    Affects Versions: 2.0-M5
>            Reporter: Christopher M. Cardona
>         Assigned To: Christopher M. Cardona
>         Attachments: GERONIMO-2972.patch, mailsession1-plan.xml, sendmail.war
>
>
> Auto bind JavaMail Session objects to Global JNDI.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to