Hi list, I tried to follow the cookbook example from http://www.caucho.com/resin-3.0/jmx/cookbook/restart.xtp to manage resin-apps by a servlet.
I've been unable to compile the servlet because of the missing class 'com.caucho.server.webapp.mbean.WebAppMBean' Neither the resin-3.0.22 nor the new resin 3.1 package contain this class (the resin 3.1 doc still shows the servlet-code using this class). Just as a wild guess I used com.caucho.management.server.WebAppMXBean instead. The javadoc of this class told me to use resin:type=WebAppMBean,name=/wiki,Host=foo.com as identifier (that's what I think it tolds me), I also tried resin:Server=default,type=WebAppMBean,name=/wiki,Host=foo.com Btw, Shouldn't the type be type=WebAppMXBean instead? The result always was like: javax.management.InstanceNotFoundException: resin:Host=foo.com,name=/wiki,type=WebAppMBean at com.caucho.jmx.AbstractMBeanServer.getObjectInstance(AbstractMBeanServer .java:524) host and name do exist on the server. Any ideas? -- Regards - Martin
_______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest