[JBoss JIRA] Created: (JBSEAM-4638) In Seam mail do not recommend replacing the mail-ra.rar in JBoss 5.x
by Samuel Mendenhall (JIRA)
In Seam mail do not recommend replacing the mail-ra.rar in JBoss 5.x
--------------------------------------------------------------------
Key: JBSEAM-4638
URL: https://jira.jboss.org/jira/browse/JBSEAM-4638
Project: Seam
Issue Type: Task
Components: Documentation Issues
Affects Versions: 2.2.1.CR1
Reporter: Samuel Mendenhall
Priority: Minor
Fix For: 2.2.1.CR2
In http://docs.jboss.org/seam/2.2.1.CR1/reference/en-US/html_single/#d0e20986 modify
"If you are using EJB then you can use a MDB (Message Driven Bean) to receive email. JBoss provides a JCA adaptor — mail-ra.rar — but the version distributed with JBoss AS has a number of limitations (and isn't bundled in some versions) therefore we recommend using the mail-ra.rar distributed with Seam (it's in the extras/ directory in the Seam bundle). mail-ra.rar should be placed in $JBOSS_HOME/server/default/deploy; if the version of JBoss AS you use already has this file, replace it."
To say if using JBoss AS 5.x and above the mail-ra.rar changes are merged into JBoss AS already. On AS 4.x it is still tech preview. The changes being fixes to the limitations that the docs originally noted, there should no longer be these limitations in JBoss AS 5.x but they are still in AS 4.x
Pete has said that his patches for the mail-ra.rar were all accepted into JBAS so these changes should be in the JBAS 5.x, thus the mail-ra.rar is up to par.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (JBSEAM-4590) Multiple war in ear - resources not isolated between wars
by Susanne Jarl (JIRA)
Multiple war in ear - resources not isolated between wars
----------------------------------------------------------
Key: JBSEAM-4590
URL: https://jira.jboss.org/jira/browse/JBSEAM-4590
Project: Seam
Issue Type: Bug
Affects Versions: 2.2.0.GA
Environment: JBoss 5.1.0.GA, Hot deployment. JDK 1.6
Reporter: Susanne Jarl
If you have a.war and b.war in an ear and try to send an email using org.jboss.seam.faces.Renderer this will only work for b.war and in a.war you will get an exception saying that the resource in b.war could not be found. So the renderer called from a.war looks for resources in b.war.
Kind of the same problem with s.graphicImage, only working in b.war, and when used in a.war the exception says it is looking for resources in b.war.
I use hot deployment.
If I start my application with only one of the war files at the time everything works perfectly fine. These issues did not exist in version 2.0.X, they appeared in 2.1. and has been around since then although changed a little between versions.
I have also tried 2.2.1. nightly build #164, since I thought that JBSEAM-4316 might solve this, but unfortunatally it did not.
I have in each war a jboss-web.xml looking like this example (with of course different unique names):
<jboss-web>
<class-loading java2ClassLoadingCompliance="false">
<loader-repository>
org.jboss.seam:archive=uniquename
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</class-loading>
</jboss-web>
jboss-app.xml looks like this:
<jboss-app>
<loader-repository>
org.jboss.seam:archive=myapp
<loader-repository-config>
java2ParentDelegation=false
</loader-repository-config>
</loader-repository>
</jboss-app>
Please solve this bug until next release. Thank you!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (JBSEAM-4630) File Attachment not Visible in certain versions of AppleMail
by Cody Lerum (JIRA)
File Attachment not Visible in certain versions of AppleMail
------------------------------------------------------------
Key: JBSEAM-4630
URL: https://jira.jboss.org/jira/browse/JBSEAM-4630
Project: Seam
Issue Type: Patch
Components: Mail
Affects Versions: 2.2.1.CR1
Reporter: Cody Lerum
Assignee: Pete Muir
I ran across an issue in production where a couple end users running AppleMail versions (2.1077) and (2.936) are unable to see PDF attachments to a seam mail.
Upon further investigation I've created a patch that fixes the message layout of messages which have attachments. The issue is where all attachment inline and other are added to a new multipart/related attached to the root multipart/mixed. This appears to cause issues if attachments are not inline.
Basically all messages start with a root multipart/mixed at the top level.
>From there, if there are no inline attachments then the message body is added to the root multipart/mixed and any attachments (non-inline) are also added to the root multipart/mixed.
If there are inline attachments then a multipart/related is created and added to the root multipart/mixed. The message body is added to the related as well as any inline attachments. Non inline attachments are added to the root multipart/mixed
if there is a text alternative to a html body then a multipart/alternative is created and added added either to the root multipart/mixed or to the multipart/related depending on if inline attachments exist.
I've tested with this current versions of Outlook, with Gmail and with current versions of AppleMail. The inline attachment shows as broken in Thunderbird, but it also shows that way in the current 2.2.0GA and 2.2.1CR1 and appears to be a bug in thunderbird.
I'm going to attach a patch and a graphic so you can visualize the layout under different scenarios.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month