Bug 1104693
| Summary: | Cannot use JAXB annotated exceptions in SY/Karaf | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Jiri Pechanec <jpechane> | ||||
| Component: | SwitchYard | Assignee: | Douglas Palmer <dpalmer> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Matej Melko <mmelko> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.1.0 | CC: | rcernich, soa-p-jira | ||||
| Target Milestone: | DR4 | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2025-02-10 03:36:00 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Jiri Pechanec
2014-06-04 13:53:44 UTC
Created attachment 902188 [details]
Reproducer
I tried to solve the problem with using of @XmlTransient annotation on inherited methods (getStackTrace, getCause) as described in https://java.net/jira/browse/JAXB-814. That didn't work. Fuse contains JAXB 2.2.1.1_2. The bug was fixed in the later versions of JAXB (2.2.4u2, 2.2.5, 2.3). So, upgrade of the bundle Apache ServiceMix :: Bundles :: jaxb-impl may solve the issue. Still facing the same issue, even after upgrading to JAXB 2.3. Any further update ? (In reply to Krishnanand from comment #3) > Still facing the same issue, even after upgrading to JAXB 2.3. > Any further update ? Did you add @XmlTransient, as documented in the JIRA? Reading the JIRA, it seems that you need both @XmlTransient and a newer version of JAXB. Hey Doug, can you take a look at this please? The fix may be a combination of changes to the reproducer application (adding @XmlTransient) and updating SY to use a newer version of JAXB. Thanks in advance. This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |