Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-5288

Error in logs seen after upgrade from 2.1.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.2
    • Component/s: Bootstrap
    • Labels:
      None

      Description

      I'm seeing this error in the wrapper.log on upgrade to 2.2 from 2.1.2. Looks like the class was changed? We need an upgrade step.

      jvm 1    | 14:38:35,348 |-ERROR in ch.qos.logback.core.joran.action.AppenderAction - Could not create an Appender of type [org.sonatype.nexus.log.internal.NexusEventSystemAppender]. ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.sonatype.nexus.log.internal.NexusEventSystemAppender
      jvm 1    | 	at ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type org.sonatype.nexus.log.internal.NexusEventSystemAppender
      jvm 1    | 	at 	at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:54)
      jvm 1    | 	at 	at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:32)
      jvm 1    | 	at 	at ch.qos.logback.core.joran.action.AppenderAction.begin(AppenderAction.java:54)
      jvm 1    | 	at 	at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276)
      jvm 1    | 	at 	at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148)
      jvm 1    | 	at 	at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130)
      jvm 1    | 	at 	at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50)
      jvm 1    | 	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147)
      jvm 1    | 	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133)
      jvm 1    | 	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96)
      jvm 1    | 	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:73)
      jvm 1    | 	at 	at org.sonatype.nexus.log.internal.LogbackLogManager.reconfigure(LogbackLogManager.java:467)
      jvm 1    | 	at 	at org.sonatype.nexus.log.internal.LogbackLogManager.configure(LogbackLogManager.java:318)
      jvm 1    | 	at 	at org.sonatype.nexus.log.internal.LogbackReconfigureEventInspector.inspect(LogbackReconfigureEventInspector.java:43)
      jvm 1    | 	at 	at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:128)
      jvm 1    | 	at 	at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:101)
      jvm 1    | 	at 	at org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:53)
      jvm 1    | 	at 	at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:397)
      jvm 1    | 	at 	at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:338)
      jvm 1    | 	at 	at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:296)
      jvm 1    | 	at 	at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:148)
      jvm 1    | 	at 	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108)
      jvm 1    | 	at 	at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)
      jvm 1    | 	at 	at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
      jvm 1    | 	at 	at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
      jvm 1    | 	at 	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      jvm 1    | 	at 	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043)
      jvm 1    | 	at 	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      jvm 1    | 	at 	at com.google.inject.Scopes$1$1.get(Scopes.java:59)
      jvm 1    | 	at 	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
      jvm 1    | 	at 	at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990)
      jvm 1    | 	at 	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1036)
      jvm 1    | 	at 	at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986)
      jvm 1    | 	at 	at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83)
      jvm 1    | 	at 	at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49)
      jvm 1    | 	at 	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253)
      jvm 1    | 	at 	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245)
      jvm 1    | 	at 	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239)
      jvm 1    | 	at 	at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:40)
      jvm 1    | 	at 	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:764)
      jvm 1    | 	at 	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406)
      jvm 1    | 	at 	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:756)
      jvm 1    | 	at 	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242)
      jvm 1    | 	at 	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1221)
      jvm 1    | 	at 	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:699)
      jvm 1    | 	at 	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
      jvm 1    | 	at 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      jvm 1    | 	at 	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
      jvm 1    | 	at 	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)
      jvm 1    | 	at 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      jvm 1    | 	at 	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
      jvm 1    | 	at 	at org.eclipse.jetty.server.Server.doStart(Server.java:262)
      jvm 1    | 	at 	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
      jvm 1    | 	at 	at org.sonatype.sisu.jetty.Jetty8$JettyWrapperThread.run(Jetty8.java:145)
      jvm 1    | Caused by: java.lang.ClassNotFoundException: org.sonatype.nexus.log.internal.NexusEventSystemAppender
      jvm 1    | 	at 	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      jvm 1    | 	at 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      jvm 1    | 	at 	at java.security.AccessController.doPrivileged(Native Method)
      jvm 1    | 	at 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      jvm 1    | 	at 	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
      jvm 1    | 	at 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      jvm 1    | 	at 	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      jvm 1    | 	at 	at ch.qos.logback.core.util.OptionHelper.instantiateByClassName(OptionHelper.java:46)
      jvm 1    | 	at 	... 53 common frames omitted
      

        Attachments

          Activity

            People

            Assignee:
            alin Alin Dreghiciu
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title