geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark <>
Subject Re: Deployment EJB with Mail Resource References
Date Wed, 02 Mar 2005 21:03:23 GMT

I've got the resource ref to work - thanks.  However, I have a few 

1. During deployment resource references appear to be resolved by 
looking for a gbean with a matching "namePart" as the needed resource 

2. Instead of changing the j2ee-server-plan.xml , it would probably be 
better to have an example on the wiki of a plan with definitions for 
resource references and then the ejb's definition.  This way a user can 
deploy a single plan

3. It appears that there are no transport implementations provided by 
Geronimo.  Sending an SMTP messages does nothing.  I believe the 
JavaMail Reference Implementation contains a reference transport 
implementation that would probably work with Geronimo.  I assume that 
for certification Geronimo only requries the implementation of the 
JavaMail APIs and not the actual transports.


> David Jencks wrote:
>> It looks like despite all the work on mail lately no one remembered 
>> to  put a mail gbean in the j2ee-server-plan.xml or anywhere else.
>> Adding something like this to your app plan or j2ee-server-plan.xml  
>> should help:
>>     <gbean namePart="mail/MailSession"  
>> class="org.apache.geronimo.mail.MailGBean">
>>         <attribute name="properties">
>>         </attribute>
>>     </gbean>
>> thanks
>> david jencks
>> On Mar 1, 2005, at 11:39 AM, Mark wrote:

View raw message