01: package org.objectweb.jonas.webapp.jonasadmin.monitoring;
02:
03: import java.io.IOException;
04:
05: import javax.management.ObjectName;
06: import javax.servlet.ServletException;
07: import javax.servlet.http.HttpServletRequest;
08: import javax.servlet.http.HttpServletResponse;
09:
10: import org.apache.struts.action.ActionForm;
11: import org.apache.struts.action.ActionForward;
12: import org.apache.struts.action.ActionMapping;
13: import org.objectweb.jonas.jmx.JonasManagementRepr;
14: import org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction;
15: import org.objectweb.jonas.webapp.jonasadmin.WhereAreYou;
16:
17: public class StartAllJonasServersAction extends JonasBaseAction {
18:
19: public ActionForward executeAction(ActionMapping p_Mapping,
20: ActionForm p_Form, HttpServletRequest p_Request,
21: HttpServletResponse p_Response) throws IOException,
22: ServletException {
23:
24: try {
25:
26: } catch (Throwable t) {
27: addGlobalError(t);
28: saveErrors(p_Request, m_Errors);
29: return (p_Mapping.findForward("Global Error"));
30: }
31:
32: // Forward to the jsp.
33: return (p_Mapping.findForward("DaemonProxyCluster"));
34: }
35: }
|