Navigation

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

    SOLVED WLSDM Error: javax.servlet.ServletException: java.lang.NoSuchMethodError: com.wlsdm.genericmbean.A.J.getPropsForConfig(Lcom/wlsdm/genericmbean/data/Config;Ljava/lang/String;)Ljava/util/Properties;

    General Support & Troubleshooting
    2
    6
    2369
    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.
    • C
      catgovind last edited by

      Hi,

      I have installed the WLSDM 3.2.3 on a WebLogic 12.1.3 domain and it using Java 1.8_131.

      After that, I tried to create a Generic DevOps SQL query using the following link text; I entered an SQL quey and clicked on the button ‘Transform…’. The UI got struck like below

      image.png

      **
      The WebLogic console shows the following error message: **

      Jan 13, 2018 12:13:51 AM EST>
      javax.servlet.ServletException: java.lang.NoSuchMethodError: com.wlsdm.genericmbean.A.J.getPropsForConfig(Lcom/wlsdm/genericmbean/data/Config;Ljava/lang/String;)Ljava/util/Properties;
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:387)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at com.wlsdm.O.A.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3436)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
      Caused by: java.lang.NoSuchMethodError: com.wlsdm.genericmbean.A.J.getPropsForConfig(Lcom/wlsdm/genericmbean/data/Config;Ljava/lang/String;)Ljava/util/Properties;
      at com.wlsdm.O.G.J(Unknown Source)
      at com.wlsdm.O.G.A(Unknown Source)
      at com.wlsdm.O.G.doPost(Unknown Source)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
      … 18 more
      <Jan 13, 2018 12:51:32 AM EST> <[ServletContext@73604147[app:consoleapp module:console path:null spec-version:3.0], request: weblogic.servlet.internal.ServletRequestImpl@4b2eeb44[
      POST /console/WLSDM/config/data.controller?providerName=ExecuteGenericMBeanScript HTTP/1.1

      Not sure what is causing this issue. I reinstalled twice in a new WebLogic domain. Still getting the same error. Am I missing any configuration? Can anyone please sort this issue out.

      Thanks
      Govind

      wlsdmsupport 1 Reply Last reply Reply Quote 0
      • wlsdmsupport
        WLSDM Support last edited by

        Hi Govind,

        The problem occur because of wlsdm_agent.jar installation on AdminServer. You have to remove wlsdm_agent.jar on AdminSever. wlsdm_agent.jar should install to only managed servers.

        Please check readme it is also mentioned there as below. (http://wlsdm.com/docs/README )

        image.png

        Please remove wlsdm_agent.jar from admin server then try again and let me know the result?

        Note: If you want to monitor back-end opration on admin server only add below JVM parameters.

        -XX:FlightRecorderOptions=repository=WLSDM/temp/JFR -XX:+DisableExplicitGC

        WLSDM Community Support Team

        1 Reply Last reply Reply Quote 0
        • wlsdmsupport
          WLSDM Support @catgovind last edited by

          @catgovind

          Hi Govind,

          We tried to reproduce your issue, but everything seems normal.

          For more detailed examination could you please share the WebLogic and WLSDM log files.

          You can send the files to [email protected].

          Thanks.

          WLSDM Community Support Team

          1 Reply Last reply Reply Quote 0
          • C
            catgovind last edited by

            WLSDM.zip

            Thanks for the reply. Attached above the Weblogic server logs and WLSDM logs. Only Admin server is present in my Weblogic domain.

            Time Reproduced this error: 1/13/2018 11:26AM

            1 Reply Last reply Reply Quote 0
            • wlsdmsupport
              WLSDM Support last edited by

              Hi Govind,

              The problem occur because of wlsdm_agent.jar installation on AdminServer. You have to remove wlsdm_agent.jar on AdminSever. wlsdm_agent.jar should install to only managed servers.

              Please check readme it is also mentioned there as below. (http://wlsdm.com/docs/README )

              image.png

              Please remove wlsdm_agent.jar from admin server then try again and let me know the result?

              Note: If you want to monitor back-end opration on admin server only add below JVM parameters.

              -XX:FlightRecorderOptions=repository=WLSDM/temp/JFR -XX:+DisableExplicitGC

              WLSDM Community Support Team

              1 Reply Last reply Reply Quote 0
              • C
                catgovind last edited by

                Thank you so much. It is working perfectly.

                wlsdmsupport 1 Reply Last reply Reply Quote 0
                • wlsdmsupport
                  WLSDM Support @catgovind last edited by

                  @catgovind said:

                  Thank you so much. It is working perfectly.

                  We will add additional NOTE to WLSDM readme in the next release. Thank you for reporting it.

                  Regards…

                  WLSDM Community Support Team

                  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