Package org.jboss.msc.service

Examples of org.jboss.msc.service.StartException


            serverInventory = new ServerInventoryImpl(domainController, environment, binding, processControllerConnectionService.getClient());
            processControllerConnectionService.setServerInventory(serverInventory);
            futureInventory.setInventory(serverInventory);
        } catch (Exception e) {
            futureInventory.setFailure(e);
            throw new StartException(e);
        }
    }
View Full Code Here


        serviceTarget = context.getChildTarget();
        try {
            jmxTestRunner = new ExtendedJMXTestRunner();
            jmxTestRunner.registerMBean(mbeanServer);
        } catch (Throwable t) {
            throw new StartException("Failed to start Arquillian Test Runner", t);
        }

        final ArquillianService arqService = this;
        listener = new AbstractServiceListener<Object>() {
View Full Code Here

                        serverInventory.operationFailed(processName, operation);
                    }
                }
            });
        } catch(IOException e) {
            throw new StartException(e);
        }
        this.client = client;
    }
View Full Code Here

                }
            });
            // Setup the management channel handler
            handler = connection.getHandler();
        } catch (Exception e) {
            throw new StartException(e);
        } finally {
            futureClient.setClient(this);
        }
        this.connection = connection;
        this.handler = handler;
View Full Code Here

            ServiceName[] serviceNameArray = resolvableServices.toArray(new ServiceName[resolvableServices.size()]);
            builder.addDependencies(serviceNameArray);
            builder.install();

        } catch (Exception ex) {
            throw new StartException(MESSAGES.failedToCreateAutoInstallList(), ex);
        }
    }
View Full Code Here

            Activation activation = subsystemState.getActivationPolicy();
            Mode initialMode = (activation == Activation.EAGER ? Mode.ACTIVE : Mode.ON_DEMAND);
            builder.createFrameworkServices(initialMode, true);

        } catch (Throwable t) {
            throw new StartException(MESSAGES.failedToCreateFrameworkServices(), t);
        }
    }
View Full Code Here

            cacheFactory = new DefaultAuthenticationCacheFactory();
        }
        try {
            securityDomainContext = securityManagement.createSecurityDomainContext(name, cacheFactory);
        } catch (Exception e) {
            throw new StartException(e);
        }
        if (jsseSecurityDomain != null) {
            try {
                jsseSecurityDomain.reloadKeyAndTrustStore();
                securityDomainContext.setJSSE(jsseSecurityDomain);
            } catch (Exception e) {
                throw new StartException(e);
            }
        }
        securityManagement.getSecurityManagerMap().put(name, securityDomainContext);
    }
View Full Code Here

                    String value = securityProperty.getProperty(key);
                    SecurityActions.setSecurityProperty(key, value);
                }
            }
        } catch (PolicyContextException pce) {
            throw new StartException(pce);
        }
    }
View Full Code Here

                    return resloader.getResource(resname);
                }
            };
            activator.start(syscontext);
        } catch (Exception e) {
            throw new StartException(e);
        }
    }
View Full Code Here

        ROOT_LOGGER.starting(name);
        try {
            EndpointPublisherImpl publisher = new EndpointPublisherImpl(hostInjector.getValue().getHost());
            wsctx = publisher.publish(context, loader, urlPatternToClassName);
        } catch (Exception e) {
            throw new StartException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.jboss.msc.service.StartException

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.