archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Höller <mar...@xss.co.at>
Subject Re: Trouble deploying Archiva 1.0 to JBoss 4.2.2.GA
Date Fri, 25 Jan 2008 12:09:22 GMT
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                   | martin.hoeller@xss.co.at
*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

Mime
View raw message