/** * Write the configuration information for this entire <code>Server</code> * out to the server.xml configuration file. * * @exception InstanceNotFoundException if the managed resource object * cannot be found * @exception MBeanException if the initializer of the object throws * an exception, or persistence is not supported * @exception RuntimeOperationsException if an exception is reported * by the persistence mechanism */ public synchronized void store() throws InstanceNotFoundException, MBeanException, RuntimeOperationsException { Server server = ServerFactory.getServer(); if (server instanceof StandardServer) { try { ((StandardServer) server).storeConfig(); } catch (Exception e) { throw new MBeanException(e, "Error updating conf/server.xml"); } } }
((StandardServer) server).storeConfig(); writer.println(smClient.getString("managerServlet.saved")); } catch (Exception e) {
((StandardServer) server).storeConfig(); writer.println(smClient.getString("managerServlet.saved")); } catch (Exception e) {
((StandardServer) server).storeConfig(); writer.println(smClient.getString("managerServlet.saved")); } catch (Exception e) {
((StandardServer) server).storeConfig(); writer.println(smClient.getString("managerServlet.saved")); } catch (Exception e) {
((StandardServer) server).storeConfig(); writer.println(smClient.getString("managerServlet.saved")); } catch (Exception e) {
((StandardServer) server).storeConfig(); writer.println(smClient.getString("managerServlet.saved")); } catch (Exception e) {