Title: RE: [JBoss-user] Accessing JavaMail session
Timely thread - I needed to do exactly this today.  I used your example, but found I only needed this in jboss.xml:  Is there a reason you included resource-ref in your example jboss.xml?

and jboss.xml

<entreprise-beans>

      <session>
         <ejb-name>tspace/Mailer</ejb-name> 
     </session>

</entreprise-beans>

<resource-managers>
      <resource-manager>
         <res-name>mail/Mail</res-name>
         <res-jndi-name>java:/Mail</res-jndi-name>
      </resource-manager>
</resource-managers>

Reply via email to