On Wednesday 23 January 2008 wrote Martin Höller:
> Step 3a) is to comment this entry out from web.xml
>
>   <!--
>   <resource-ref>
>      <res-ref-name>mail/Session</res-ref-name>
>      <res-type>javax.mail.Session</res-type>
>      <res-auth>Container</res-auth>
>      <res-sharing-scope>Shareable</res-sharing-scope>
>   </resource-ref>
>   -->
>
> It would probably be better to configure this resource somehow but I
> don't know how to do this. Any suggestions?

Ok instead of commenting it out one can configure the java mail service for 
tomcat. This is usually done by adapting the file 
JBOSS_HOME/server/default/deploy/mail-service.xml. Instructions can be 
found here: http://wiki.jboss.org/wiki/Wiki.jsp?page=JavaMail

hth,
- martin
-- 
Martin Höller                   | [EMAIL PROTECTED]
*x Software + Systeme           | http://www.xss.co.at/
Karmarschgasse 51/2/20          | Tel: +43-1-6060114-30
A-1100 Vienna, Austria          | Fax: +43-1-6060114-71

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to