Package com.sun.appserv.server

Examples of com.sun.appserv.server.ServerLifecycleException


            // initRoleMapperFactory is in J2EEServer.java and not moved to here
            // this is because a DummyRoleMapperFactory is register due
            // to invocation of ConnectorRuntime.createActiveResourceAdapter
            // initRoleMapperFactory is called after it
        } catch(Exception ex) {
            throw new ServerLifecycleException(ex);
        }
    }
View Full Code Here


               
        // Create HTTP Stack
        try {
            SipContainer.instance().initHttpLayerHandler();
        } catch (StackConfigException ex) {
            throw new ServerLifecycleException("Initializating stack for HTTP failed.", ex);
        }
           
        SipContainer.instance().initClbAdmin();
        SipContainer.instance().registerRealmAdapter();
       
        SipContainer.instance().resolveSipBindings();
       
        // Create SIP Stack
        try {
            SipContainer.instance().initLayerHandler();
        } catch (StackConfigException ex) {
            throw new ServerLifecycleException("Initializating stack for SIP failed.", ex);
        }
    }
View Full Code Here

            AdminChannel.setRMIChannelReady();
            ctx = nas.getConfigContext();
            invokeGMS(ctx, nas.getNodeAgentName());
            getLogger().log(Level.INFO, "NodeAgent joined as WATCHDOG Member");
        } catch (Exception e) {
            throw new ServerLifecycleException(e);
        }
       
    }
View Full Code Here

                driver = new JmxConnectorServerDriver();
                configureJmxConnectorServerDriver();
            }
        }
        catch(Exception e) {
            throw new ServerLifecycleException(e.getMessage(), e);
        }
    }
View Full Code Here

            else {
                final String msg = "JmxConnectorLifeCycle.onStartup: Connector Server not enabled at port: " + connectorConfig.getPort();
                sLogger.fine(msg);
            }
        } catch (Exception e) {
            throw new ServerLifecycleException(e.getMessage(), e);
        }
    }
View Full Code Here

                final String msg = "JmxConnectorLifeCycle.onShutdown: Connector Server not enabled at port: " + connectorConfig.getPort() + ", its shutdown is not required";
                sLogger.fine(msg);
            }
        }
        catch (final Exception e) {
            throw new ServerLifecycleException(e.getMessage());
        }
    }
View Full Code Here

            driver.setPort(Integer.parseInt(connectorConfig.getPort()));
            driver.setBindAddress(connectorConfig.getAddress());
            handleSsl();
        }
        catch (final Exception e) {
            throw new ServerLifecycleException(e.getMessage());
        }
    }     
View Full Code Here

         * rely on the system property. In general, this should not be done.
         */
        if (isEE() && !isEnabled) {
            //EE and not enabled is not fine
            final String msg = sm.getString("rjmx.lc.disabled_ee_na", port);
            throw new ServerLifecycleException(msg);
        }
        if (!isEE() && !isEnabled) {
            //PE and not enabled is fine - log and move on
            sLogger.log(Level.INFO, "rjmx.lc.not_enabled", port);
        }
View Full Code Here

        if (RemoteJmxProtocol.RMIJRMP != RemoteJmxProtocol.instance(pfc)) {
            final String port = connectorConfig.getPort();
            final String setP = connectorConfig.getProtocol();
            final String supportedP = RemoteJmxProtocol.RMIJRMP.getName();
            final String msg = sm.getString("rjmx.lc.unsupported_protocol", port, setP, supportedP);
            throw new ServerLifecycleException (msg);
        }
    }
View Full Code Here

             Throwable ex = le.getThrowable();
             if (ex == null)
                 ex = le;

             String msg = _rb.getString("webcontainer.startError");
             throw new ServerLifecycleException(msg, ex);
        }

        // the server has started up, now enable monitoring.
        enableVirtualServerMonitoring();
        enableHttpMonitoring();
View Full Code Here

TOP

Related Classes of com.sun.appserv.server.ServerLifecycleException

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.