0 Replies Latest reply on Dec 27, 2001 7:52 AM by Marc Guldimann

    Removing Webserver MBean on JBoss 2.4.3

    Marc Guldimann Newbie

      hi
      i have tried to remove the webserver mbean from jboss.jcml to prevent dynamic classloading.
      when i remove the mbean, i will get the following exception:

      [Container factory] javax.management.InstanceNotFoundException: DefaultDomain:service=Webserver
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.getMBean(MBeanServerImpl.java:1678)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1522)
      [Container factory] at org.jboss.util.MBeanProxy.invoke(MBeanProxy.java:80)
      [Container factory] at org.jboss.proxy.ProxyCompiler$Runtime.invoke(ProxyCompiler.java:74)
      [Container factory] at org.jboss.web.WebServiceMBean$Proxy.addClassLoader(Unknown Source)
      [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:365)
      [Container factory] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:304)
      [Container factory] at java.lang.reflect.Method.invoke(Native Method)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Container factory] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Container factory] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:494)
      [Container factory] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:468)
      [Container factory] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:208)
      ....................

      can anybody help?
      what do i miss to configure?
      thanx for your help.
      marc