0 Replies Latest reply on Mar 17, 2009 9:13 AM by Sascha Janz

    EARDeployment Apllication1.ear' is not registered.

    Sascha Janz Master

      we have a few applications deployed with JBoss. All applications are packed as ear-files and placed in ...\server\default\deploy for deploying.
      After deploying all applications are available.

      But when we try to stop one of the applications via JMX Console. We get an error:

      javax.servlet.ServletException: Failed to invoke operation
      org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:269)
      org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:100)
      org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      root cause

      javax.management.InstanceNotFoundException: jboss.j2ee:service=EARDeployment,url='Apllication1.ear' is not registered.
      org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
      org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:666)
      org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:216)
      org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:262)
      org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:100)
      org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      The application, we try to stop, is still available.

      Can somebody help? What is wrong here?

      Thanks