0 Replies Latest reply on Apr 19, 2007 3:35 PM by J2ee User

    JBoss-4.0.5.GA jmx-console issue

    J2ee User Newbie

      Hi Community,

      I have jboss 4.0.5.GA installed on jdk1.5.
      I tried 1.4.2 and default jboss settings, but get the same results.

      Whenever try to change the context settings of one of deployed war file from http://localhost:8080/jmx-console/ it fails with exception

      javax.management.ReflectionException: Cannot find setter method setModelerType StandardEngine[jboss.web].StandardHost[localhost].StandardContext[/myapp]

      Please suggest me if I am doing anything wrong.

      MBean Name: Domain Name: jboss.web
      J2EEServer: none
      name: //localhost/myapp
      J2EEApplication: none
      j2eeType: WebModule
      MBean Java Class: org.apache.commons.modeler.BaseModelMBean


      Exception------------------------------------------------------------------------

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      javax.servlet.ServletException: Failed to update attributes
      org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.updateAttributes(HtmlAdaptorServlet.java:244)
      org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:98)
      org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82)
      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:96)

      root cause

      javax.management.ReflectionException: Cannot find setter method setModelerType StandardEngine[jboss.web].StandardHost[localhost].StandardContext[/myapp]
      org.apache.commons.modeler.BaseModelMBean.setAttribute(BaseModelMBean.java:662)
      org.jboss.mx.server.RawDynamicInvoker.setAttribute(RawDynamicInvoker.java:70)
      org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:608)
      org.jboss.jmx.adaptor.control.Server.setAttributes(Server.java:206)
      org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.updateAttributes(HtmlAdaptorServlet.java:236)
      org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:98)
      org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82)
      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:96)

      note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.


      Thanks,
      Tanya