« Return to Thread: Trouble deploying Archiva 1.0 to JBoss 4.2.2.GA

Re: Trouble deploying Archiva 1.0 to JBoss 4.2.2.GA

by matinh :: Rate this Message:

Reply to Author | View in Thread

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@...
*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


signature.asc (196 bytes) Download Attachment

 « Return to Thread: Trouble deploying Archiva 1.0 to JBoss 4.2.2.GA