Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8891

Fix access to local packages install view when adding some jars manually

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6-RC1, 5.6
    • Component/s: Update Center

      Description

      There might be several issues here, to qualify.

      Steps to reproduce:

      • on a CAP instance, install the DAM package in the admin center via local packages
      • since import modules for DAM are not included by default (why?), stop the server and add manually nuxeo-platform-importer-jaxrs and nuxeo-dam-importer-core-5.6-SNAPSHOT in nxserver/bundles (as done in selenium tests).
      • restart the server
      • from local packages, uninstall DAM module and restart
      • go back to local packages view
        => the main frame fails to load and crashes with errors

      logs excerpts:

      Caused by: java.lang.ClassNotFoundException: org.nuxeo.ecm.platform.importer.executor.AbstractImporterExecutor
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
              at org.nuxeo.runtime.tomcat.NuxeoWebappClassLoader.loadClass(NuxeoWebappClassLoader.java:63)
      
      2012-02-18 12:14:14,962 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nuxeo].[Nuxeo WebEngine Servlet]] Allocate exception for servlet Nuxeo WebEngine Servlet
      java.lang.NoClassDefFoundError: org/nuxeo/dam/importer/jaxrs/HttpDamImporterExecutor
              at org.nuxeo.dam.importer.jaxrs.DamImporterApp.getClasses(DamImporterApp.java:35)
              at org.nuxeo.ecm.webengine.jaxrs.ApplicationFragment.getClasses(ApplicationFragment.java:107)
              at org.nuxeo.ecm.webengine.jaxrs.ApplicationHost.getClasses(ApplicationHost.java:171)
      

      Removin only the dam related module did not fix the issue, importer-jaxrs had to be removed also for the frame to be displayed again.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: