Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-337

ClassNotFoundException in karaf osgi container

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.0
    • None
    • console, core
    • None
    • apache karaf 2.3.1

    Description

      Install war feature and try to install syncope core and console wars.
      Different dependencies issues and finally ClassNotFoundException in logs appeared.

      Syncope already include all the dependent jars in the lib/ folder of the war.
      But the MANIFEST files in the syncope-core and syncope-console are not correct enough, Bundle-ClassPath: , Web-ContextPath: should be added into MANIFEST.

      After manually adding Bundle-ClassPath: and update Import-Package: nothing dependencies bundles needed and no ClassNotFoundException.

      Pom files of core and console project should be updated to generate correct Bundle-ClassPath and Import-Package in MANIFEST. Or make changes on the MANIFEST directly during the build at least.

      Attachments

        1. MANIFEST(console).MF
          18 kB
          Alexander Osadchiy
        2. MANIFEST(core).MF
          32 kB
          Alexander Osadchiy

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rminko Roman Minko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m