Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-9530

Cannot serialize XML with spin-dataformat-all

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Open
    • Priority: L3 - Default
    • Resolution: Unresolved
    • Affects Version/s: 7.10.0
    • Fix Version/s: None
    • Component/s: spin
    • Labels:
      None

      Description

      Given
      wildfly is configured so that dataformat-all spin artifact is used

      When

      • I start a process application
      • I serialize / deserialize XML

      Then
      I get following error

      Hint:

      Caused by: spinjar.javax.xml.bind.JAXBException
       - with linked exception:
      [java.lang.ClassNotFoundException: spinjar.com.sun.xml.bind.v2.ContextFactory from [Module "deployment.serialization-0.1.0-SNAPSHOT.war" from Service Module Loader]]
      	at org.camunda.spin.camunda-spin-dataformat-all@1.6.3//spinjar.javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:242)
      	at org.camunda.spin.camunda-spin-dataformat-all@1.6.3//spinjar.javax.xml.bind.ContextFinder.find(ContextFinder.java:447)
      	at org.camunda.spin.camunda-spin-dataformat-all@1.6.3//spinjar.javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:652)
      	at org.camunda.spin.camunda-spin-dataformat-all@1.6.3//spinjar.javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:599)
      	at org.camunda.spin.camunda-spin-dataformat-all@1.6.3//org.camunda.spin.impl.xml.dom.format.spi.DefaultJaxBContextProvider.getContext(DefaultJaxBContextProvider.java:35)
      	... 184 more
      Caused by: java.lang.ClassNotFoundException: spinjar.com.sun.xml.bind.v2.ContextFactory from [Module "deployment.serialization-0.1.0-SNAPSHOT.war" from Service Module Loader]
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
      	at org.camunda.spin.camunda-spin-dataformat-all@1.6.3//spinjar.javax.xml.bind.ContextFinder.safeLoadClass(ContextFinder.java:578)
      	at org.camunda.spin.camunda-spin-dataformat-all@1.6.3//spinjar.javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:240)
      	... 188 more
      

        Attachments

          Activity

            People

            Assignee:
            tassilo.weidner Tassilo Weidner
            Reporter:
            michael.schoettes Michael Schoettes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: