I was able to get email working on JBoss by moving javax.mail.*,
com.sun.mail.*, and most of javax.activation.* and com.sun.activation.*
into our project, completely removing our dependency on the conflicted
packages. While far from ideal, this unblocked a critical feature.I'd
still be interested to hear the proper solution for this issue.
I'm not familiar with JBoss. I don't understand the instructions in that
link. Which WEB-INF does it mean?This is a turnkey AWS JBoss AEM Forms
box. I tried removing the javax.mail module from JBoss, but JBoss would
not start without it.
java.lang.LinkageError: loader constraint violation: when resolving
the class loader (instance of
org/apache/felix/framework/BundleWiringImpl$BundleClassLoader) of the
current class, javax/mail/internet/MimeMessage, and the class loader
(instance of org/jboss/modules/ModuleClassLoader) for the method's
defining class, com/sun/mail/util/PropUtil, have different Class objects
for the type javax/...
Hi Scott,Any updates? I've tried changing around my pom.xml dependency
settings, but nothing has made any difference.The error I'm getting now
is slightly different (and much less helpful) than
[javax.mail:1.5.0.b01]The code in q...
Hi Scott,I've written my own mail service as suggested, using the
JavaMail API, but I still get the error:java.lang.LinkageError: Failed
to link javax/mail/Session (Module "javax.mail.api:main" from local
module loader @33e5ccce (finder: local module finder @5a42bbf4 (roots:
Thanks for the suggestions. I've looked at that page before, and I don't
see that it differs from what I'm doing aside from using the
filesystem.As to your other suggestions, the input source encoding is
set on line 112 above, and removing setLinearizedPDF didn't make a
I've written a servlet to generate Document of Record PDFs for our
forms. After some work, I've gotten it to output PDFs, but the PDFs are
always damaged.Viewing the PDFs in a text editor doesn't reveal anything
obviously wrong. Using an online PDF repair tool shows the following
errors:0x8041010B - E - The 'xref' keyword was not found or the xref
table is malformed. - File: 20185000044 (4).pdfRecover XREF
table.0x8A117FFD - E - Error in Flate stream: data error. - Object No.:
12 - File: 2018500...