Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4329

Service using simple frontend with JAXB binding causes a ClassNotFoundException when started in Karaf

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6.1
    • Labels:
      None
    • Environment:

      Java 6, Karaf 2.2.7

    • Estimated Complexity:
      Unknown

      Description

      When I deploy the karaf_cl_issue service attached to this issue into karaf and try to start it causes a ClassNotFoundException (org.apache.cxf.jaxb.JAXBDataBinding not found), see ClassNotFoundException.txt for the full stacktrace. karaf_cl_issue is derived from the java_first_jaxws sample. Instead of the JAX-WS frontend a Simple Frontend is used and build was modified to create a bundle instead of war file.

      Using the sample with JAX-WS works fine, also building and deploying the Simple Frontend based service with CXF-2.5.2 works.

        Attachments

        1. karaf_cl_issue.zip
          16 kB
          Zsolt Beothy-Elo
        2. ClassNotFoundException.txt
          3 kB
          Zsolt Beothy-Elo

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              zbeothy Zsolt Beothy-Elo
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: