Expand my Community achievements bar.

OSGI configMgr not accessible due to NoClassDefFoundError

Avatar

Level 1

Hi,

We are facing a strange issue on our shared DEV Author server due to Adobe's one of the package.

It is,  AEM 6.2 with SP1, CFP3 with Adaptive Forms packages.

We are not able to access some of the Felix console sections like, configMgr, components etc.

Not able to access,

1. http://<server IP>:4502/system/console/configMgr

2. http://<server IP>:4502/system/console/status-uploaded-packages

3. http://<server IP>:4502/system/console/components

But rest of OSGI Felix sections are accessible.

Browser error message

HTTP ERROR: 500

Problem accessing /system/console/configMgr/. Reason:

  java.lang.NoClassDefFoundError: com/adobe/aem/formsndocuments/util/FMUtils

Error log entry:

03.08.2017 12:01:09.592 *WARN* [qtp452526848-4621] org.eclipse.jetty.servlet.ServletHandler Error for /system/console/configMgr

  1. java.lang.NoClassDefFoundError: com/adobe/aem/formsndocuments/util/FMUtils

    at com.adobe.aem.formsndocuments.analytics.config.FMAnalyticsConfigurationMetaTypeProvider.getAnalyticsFramework(FMAnalyticsConfigurationMetaTypeProvider.java:170)

    at com.adobe.aem.formsndocuments.analytics.config.FMAnalyticsConfigurationMetaTypeProvider.getObjectClassDefinition(FMAnalyticsConfigurationMetaTypeProvider.java:79)

    at org.apache.felix.metatype.internal.MetaTypeInformationImpl.getObjectClassDefinition(MetaTypeInformationImpl.java:145)

    at org.apache.felix.webconsole.internal.configuration.MetaTypeServiceSupport.getObjectClassDefinitions(MetaTypeServiceSupport.java:142)

    at org.apache.felix.webconsole.internal.configuration.MetaTypeServiceSupport.getPidObjectClasses(MetaTypeServiceSupport.java:87)

    at org.apache.felix.webconsole.internal.configuration.ConfigAdminSupport.listConfigurations(ConfigAdminSupport.java:549)

    at org.apache.felix.webconsole.internal.configuration.ConfigManager.renderContent(ConfigManager.java:396)

    at org.apache.felix.webconsole.AbstractWebConsolePlugin.doGet(AbstractWebConsolePlugin.java:194)

    at org.apache.felix.webconsole.internal.configuration.ConfigManager.doGet(ConfigManager.java:331)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

    at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:567)

    at org.apache.felix.webconsole.internal.servlet.OsgiManager$3.run(OsgiManager.java:465)

    at java.security.AccessController.doPrivileged(Native Method)

    at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:461)

    at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:85)

    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:79)

    at com.adobe.acs.commons.wcm.impl.AemEnvironmentIndicatorFilter.doFilter(AemEnvironmentIndicatorFilter.java:147)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

    at com.adobe.acs.commons.quickly.impl.QuicklyFilter.doFilter(QuicklyFilter.java:93)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

    at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:308)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

    at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:89)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

    at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:290)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

    at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:129)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

    at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

    at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

    at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

    at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:124)

    at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:61)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)

    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)

    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)

    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)

    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)

    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)

    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)

    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

    at org.eclipse.jetty.server.Server.handle(Server.java:499)

    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)

    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

    at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)

    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)

    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

    at java.lang.Thread.run(Thread.java:745)

6 Replies

Avatar

Level 10

If you remove the package - can you see the views that disappeared?

Avatar

Level 1

Hi Smacdonald,

Thanks for your reply.

But for us the issue is as I mentioned, we are not able to open up to key areas of Felix as mentioned below.

1. http://<server IP>:4502/system/console/configMgr

2. http://<server IP>:4502/system/console/status-uploaded-packages

3. http://<server IP>:4502/system/console/components

So, exactly not sure which Bundle to remove ?  Can any  Adobe member help us over here ?

Avatar

Level 10

Was this the last bundle that you installed? If so - there is a manual way to delete the bundle - however should only be used as a last resort.

Avatar

Level 10

Look at using CURL to remove the package that is causing issues, Then once removed - you should be able to load the felix console view -- CQ5 curl commands · GitHub

Avatar

Level 1

But I can see the JAR  of the error giving class  (  HTTP ERROR: 500

Problem accessing /system/console/configMgr/. Reason:

  java.lang.NoClassDefFoundError: com/adobe/aem/formsndocuments/util/FMUtils  )

is available on the server.

1271686_pastedImage_0.png

Avatar

Level 2

This package seems to be the issue. I would like you to remove the package to see if the issue is resolved. Once we know which package is responsible - we can determine what action to take.