Navigation

    Best APM Solution for Oracle WebLogic Server & FMW Product Family
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Download

    SOLVED NoClassDefFoundError MBeanUtils on Weblogic 12c

    General Support & Troubleshooting
    2
    3
    965
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yltalex last edited by

      Hello,
      I downloaded the latest WLSDM (Version: v3.9.2-b4318) and created new managed server on weblogic, add needed configuration and after stratup see error with NoClassDefFoundError : MBeanUtils.

      <Nov 29, 2022 10:36:30,393 AM UTC>
      <Nov 29, 2022 10:36:35,092 AM UTC> <Servlet: “wlsdm-background” failed to preload on startup in Web application: “wlsdm.war”.
      java.lang.NoClassDefFoundError: com/bea/console/utils/MBeanUtils
      at com.wlsdm.R.P.getDomainRuntimeMBeanServerConnection(MBSConnection.java:352)
      at com.wlsdm.R.P.getAvailableConnection(MBSConnection.java:794)
      at com.wlsdm.E.A.A.G.check(DomainModule.java:95)
      at com.wlsdm.T.C.H(StartupProcess.java:163)
      at com.wlsdm.T.C.fire(StartupProcess.java:111)
      Truncated. see log file for complete stacktrace
      Caused By: java.lang.ClassNotFoundException: com.bea.console.utils.MBeanUtils
      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
      at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)
      at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:101)
      at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)
      at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)
      Truncated. see log file for complete stacktrace

      <Nov 29, 2022 10:36:35,140 AM UTC> <Unable to set the activation state to true for the application “wlsdm”.
      weblogic.application.ModuleException: java.lang.ClassNotFoundException: com.bea.console.utils.MBeanUtils
      at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
      Truncated. see log file for complete stacktrace
      Caused By: java.lang.ClassNotFoundException: com.bea.console.utils.MBeanUtils
      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
      at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)
      at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:101)
      at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)
      at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)
      Truncated. see log file for complete stacktrace

      My Weblogic is 12.2.1.4.0.
      I could not find help such error, could you help my to fix it or just propose another version?

      Thank you and regards,
      Oles

      can.sahin-wlsdmteam 1 Reply Last reply Reply Quote 0
      • can.sahin-wlsdmteam
        Can Sahin - WLSDM Team @yltalex last edited by can.sahin-wlsdmteam

        @yltalex

        Hi,

        It looks like you are deployed the WLSDM war file as a web application. Please make sure the installation is not done trough this way. If it is, follow the below steps to install it as a console extension.

        1- Add wlsdm_agent.jar to Managed Server’s JVM Arguments *${JAVA_OPTIONS}
        2- Copy wlsdm.war file to WebLogic domain’s console-ext folder
        3-(Re)start WebLogic Administration Server and Managed Server(s)
        4- That’s all! WLSDM console will deploy automatically
        5- Login to WLSDM Console then complete configuration wizard once
        6- Start proactive monitoring and move forward WebLogic operations!

        Link: https://wlsdm.com/docs/README#VI.Installation

        Regards.

        Can Şahin
        WLSDM Community Support Team

        Y 1 Reply Last reply Reply Quote 0
        • Y
          yltalex @can.sahin-wlsdmteam last edited by

          @can-sahin-wlsdmteam

          I was confused with console-ext folder before … issue resolved. Thank you very much!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          WLSDM: Native WebLogic Monitoring & Diagnostics

          Copyright © 2021 WLSDM Community & Support Portal | WLSDM.COM | WLSDM Blog