6 Replies Latest reply on Mar 15, 2005 5:51 PM by Scott Stark

    removeClassLoader operation in jmx console

    Julien Martin Expert

      Hello,
      I would like to invoke the removeClassLoader operation in the jmx console (LoaderRepository service). I do not know what to pass as an argument. I tried com.mycompany.MyLibrary and I get this:

      HTTP Status 500 -
      
      type Exception report
      message
      description The server encountered an internal error () that prevented it from fulfilling this request.
      exception
      javax.servlet.ServletException: Failed to invoke operation
       org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:248)
       org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:79)
       org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:61)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      root cause
      javax.management.IntrospectionException: Failed to find PropertyEditor for type: java.lang.ClassLoader
       org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:230)
       org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:202)
       org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:241)
       org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:79)
       org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:61)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
      
      Apache Tomcat/5.0.28
      



      Can anyone help?

      Thanks in advance,

      Julien Martin.