Package com.sun.enterprise.admin.event

Examples of com.sun.enterprise.admin.event.AdminEventListenerException


                String msg = localStrings.getString(
                    "applicationmgr.application_undeployed_failed", appName);
                registerException(event, msg);
            }
        } catch(ConfigException ce) {
            throw new AdminEventListenerException(ce.getMessage());
        }
    }
View Full Code Here


                String msg = localStrings.getString(
                    "applicationmgr.application_redeployed_failed", appName);
                registerException(event, msg);
            }
        } catch(ConfigException ce) {
            throw new AdminEventListenerException(ce.getMessage());
        }
    }
View Full Code Here

            } else {
                _logger.log(Level.FINE,
                "[ApplicationManager] Application descriptor is NULL.  Skip loading embedded rar resources...");
            }
        } catch(ConfigException ce) {
            throw new AdminEventListenerException(ce.getMessage());
        } catch(Throwable th) {
            AdminEventListenerException aele =
                           new AdminEventListenerException(th.getMessage());
            aele.initCause(th);
            throw aele;
        }finally {
            ResourcesUtil.resetEventConfigContext();
        }
    }
View Full Code Here

                String msg = localStrings.getString(
                        "applicationmgr.application_disabled_failed", appName);
                registerException(event, msg);
            }
        } catch(ConfigException ce) {
            throw new AdminEventListenerException(ce.getMessage());
        }
    }
View Full Code Here

                ajr.reloadRA(service);
            }
            JmsService oldService =  ServerBeansFactory.getJmsServiceBean(
                event.getOldConfigContext());
            if(!oldService.getType().equals(service.getType()))
                throw new AdminEventListenerException
                ("jms type is not dynamically configured");   
        } catch (ConnectorRuntimeException cre) {
            AdminEventListenerException ale =
                new AdminEventListenerException(cre.getMessage());
            ale.initCause(cre);
            throw ale;
        } catch (Exception ce) {
            AdminEventListenerException ale =
                new AdminEventListenerException(ce.getMessage());
            ale.initCause(ce);
            throw ale;
        }
    }
View Full Code Here

            AuditManager manager =
                    AuditManagerFactory.getInstance().getAuditManagerInstance();
            manager.addAuditModule(moduleName, classname, props);
        } catch(Exception ex) {
            throw new AdminEventListenerException(ex);
        }
    }
View Full Code Here

            String moduleName = event.getModuleName();
            AuditManager manager =
                    AuditManagerFactory.getInstance().getAuditManagerInstance();
            manager.removeAuditModule(moduleName);
        } catch(Exception ex) {
            throw new AdminEventListenerException(ex);
        }
    }
View Full Code Here

                com.sun.appserv.security.AuditModule auditModule =
                        manager.getAuditModule(moduleName);
                auditModule.init(props);
            }
        } catch(Exception ex) {
            throw new AdminEventListenerException(ex);
        }
    }
View Full Code Here

            if (auditFlag != oldAuditFlag) {
                AuditManagerFactory.getInstance().getAuditManagerInstance().setAuditOn(auditFlag);
            }
        } catch(Exception ex) {
            throw new AdminEventListenerException(ex);
        }
    }
View Full Code Here

            //        AdminEventCache.getInstance(mInstanceName);
            //cache.setRestartNeeded(true);

            // if there is an exception thrown when loading modules
            // rethrow the exception
            AdminEventListenerException ale = null;
            ale = multicastResult.getFirstAdminEventListenerException();
            if (ale != null) {
                sLogger.log(Level.WARNING, "mbean.event_failed",
                    ale.getMessage());
                DeploymentException de =
                    new DeploymentException(ale.getMessage());
                de.initCause(ale);
                throw de;
            }
        return eventSuccess;
    }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.event.AdminEventListenerException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.