Philipp Mack created KARAF-6297:
-----------------------------------
Summary: LinkageError with Java 8 (OpenJ9) and Aries-JAX-RS
Key: KARAF-6297
URL: https://issues.apache.org/jira/browse/KARAF-6297
Project: Karaf
Issue Type: Bug
Components: karaf
Affects Versions: 4.2.5, 4.2.4, 4.2.3, 4.2.2
Environment: Karaf 4.2.2
Java 8 (OpenJ9)
Boot features: aries-jax-rs-whiteboard, aries-jax-rs-whiteboard-jackson
Reporter: Philipp Mack
Attachments: karaf-linkage-error-stacktrace.txt
When starting Karaf 4.2.2 - 4.2.5 with Java 8 (OpenJ9) and Aries-JAX-RS 1.0.4
as boot features (aries-jax-rs-whiteboard, aries-jax-rs-whiteboard-jackson) I
get a LinkageError (javax.annotation.DataHandler)
[KARAF-6106|https://issues.apache.org/jira/browse/KARAF-6106] although the
javax.activation package seems to be imported correctly.
Strange: After restarting Karaf without cleaning the cache Karaf starts up
correctly.
The LinkageError does not occur with Karaf 4.2.1 or with the Java 8 Hotspot JVM.
Karaf starts up correctly after (re)adding javax.activation to jre.properties
for Java 8 but then we cannot send mails via javax.mail any more
[KARAF-5989|https://issues.apache.org/jira/browse/KARAF-5989].
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)