* Write the configuration information for this entire <code>Server</code>
* out to the server.xml configuration file.
*
- * @exception javax.management.InstanceNotFoundException if the managed resource object
- * cannot be found
- * @exception javax.management.MBeanException if the initializer of the object throws
- * an exception, or persistence is not supported
- * @exception javax.management.RuntimeOperationsException if an exception is reported
- * by the persistence mechanism
+ * @exception javax.management.InstanceNotFoundException
+ * if the managed resource object cannot be found
+ * @exception javax.management.MBeanException
+ * if the initializer of the object throws an exception, or
+ * persistence is not supported
+ * @exception javax.management.RuntimeOperationsException
+ * if an exception is reported by the persistence mechanism
*/
public synchronized void storeConfig() throws Exception {
-
- ObjectName sname = null;
- try {
- sname = new ObjectName("Catalina:type=StoreConfig");
- if(mserver.isRegistered(sname)) {
- mserver.invoke(sname, "storeConfig", null, null);
- } else
- log.error("StoreConfig mbean not registered" + sname);
- } catch (Throwable t) {
- ExceptionUtils.handleThrowable(t);
- log.error(t);
- }
-
+ ObjectName sname = new ObjectName("Catalina:type=StoreConfig");
+ mserver.invoke(sname, "storeConfig", null, null);
}
<bug>47950</bug> that prevented JSTL classes being loaded. (markt)
</fix>
<fix>
+ <bug>49915</bug>: Make error more obvious, particularly when accessed
+ via JConsole, if StandardServer.storeConfig() is called when there is
+ no StoreConfig implementation present. (markt)
+ </fix>
+ <fix>
<bug>50018</bug>: Fix some minor Javadoc errors in Jasper source.
Based on a patch by sebb. (timw)
</fix>