]
Dimitris Andreadis resolved JBAS-3372.
--------------------------------------
Resolution: Done
Mark as resolved until we find some problem with it.
Replace Sun javamail (mail.jar) with a source-code friendly licensed
implementation
-----------------------------------------------------------------------------------
Key: JBAS-3372
URL:
http://jira.jboss.com/jira/browse/JBAS-3372
Project: JBoss Application Server
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Other
Reporter: Dimitris Andreadis
Assigned To: Dimitris Andreadis
Fix For: JBossAS-5.0.0.Beta, JBossAS-4.0.5.CR1
GNU JavaMail is a free implementation of the JavaMail API specification, version 1.3.
We want to use it as a replacement for Sun's mail.jar
The sources can be downloaded from here:
http://www.gnu.org/software/classpathx/javamail/javamail.html
Issues with replacement by classpathx-mail:
jbossws must be patched to use gnu-handlers instead of sun-handlers
+//import com.sun.mail.handlers.multipart_mixed;
+import gnu.mail.handler.MultipartMixed;
+//import com.sun.mail.handlers.text_html;
+import gnu.mail.handler.TextHtml;
+//import com.sun.mail.handlers.text_plain;
+import gnu.mail.handler.TextPlain;
testsuite/src/main/org/jboss/test/classloader/resource/ResourceTest.java
must be patched, because it refers to javamail.default.address.map and
javamail.default.providers while in classpathx-mail these are named javamail.address.map
and javamail.providers in classpathx-mail This change isn't essential to javamail;
those files (+javamail.jar) were chosen because they were supposed to be always there. The
real purpose of ResouceTest.java is to check access to resouces, so any adequate resources
could be the test objects. But the resource test is executed very often and in different
contexts. Therefore the adjustment is important for testsuite.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: