Replies: 1 comment 2 replies
-
Hi @OysteinLq as I am not a Wildfly expert, I can only provide a guess. Additionally. I am wondering why Java 12, as only 11 and 17 are long term support (LTS) versions.... But I assume you know what you are doing ;-) |
Beta Was this translation helpful? Give feedback.
-
Hi, we've been running Phoss SMP with success using Wildfly for a few years, but have recently made an attempt at upping from Java 8 to Java 12 and found that we get a steady stream of JAXB-related errors in the log.
We cannot see anything in the documentation about which versions of Java Phoss supports or recommends, so thought I'd ask.
The service itself seems o work perfectly fine despite these errors, but naturally we'd like to figure out what we might be doing wrong.
[com.helger.jaxb.GenericJAXBMarshaller] (default task-10) Failed to set the namespace context [MapBasedNamespaceContext@0x270e995f: prefix2NS={smp=http://busdox.org/serviceMetadata/publishing/1.0/, id=http://busdox.org/transport/identifiers/1.0/, ds=http://www.w3.org/2000/09/xmldsig#, wsa=http://www.w3.org/2005/08/addressing}; ns2Prefix2={http://www.w3.org/2005/08/addressing=[wsa], http://www.w3.org/2000/09/xmldsig#=[ds], http://busdox.org/serviceMetadata/publishing/1.0/=[smp], http://busdox.org/transport/identifiers/1.0/=[id]}]: java.lang.IllegalArgumentException -- Failed to set JAXB property 'com.sun.xml.bind.namespacePrefixMapper' to [JAXBNamespacePrefixMapper@0x15d5378d: NamespaceContext=[MapBasedNamespaceContext@0x270e995f: prefix2NS={smp=http://busdox.org/serviceMetadata/publishing/1.0/, id=http://busdox.org/transport/identifiers/1.0/, ds=http://www.w3.org/2000/09/xmldsig#, wsa=http://www.w3.org/2005/08/addressing}; ns2Prefix2={http://www.w3.org/2005/08/addressing=[wsa], http://www.w3.org/2000/09/xmldsig#=[ds], http://busdox.org/serviceMetadata/publishing/1.0/=[smp], http://busdox.org/transport/identifiers/1.0/=[id]}]]
(fwiw, this is in Wildfly v. 23.0.2)
Thanks for building an excellent application.
Beta Was this translation helpful? Give feedback.
All reactions