public void deployFromUrl(Deployer deployer, URL servicesURL) throws DeploymentException { throw new DeploymentException( "Not support for this operation - deployFromUrl(Deployer deployer, URL servicesURL)"); }
public void deployFromUrl(Deployer deployer, URL servicesURL) throws DeploymentException { throw new DeploymentException( "Not support for this operation - deployFromUrl(Deployer deployer, URL servicesURL)"); }
private void handleException(String message, Exception e) throws DeploymentException { if (log.isDebugEnabled()) { log.debug(message, e); } throw new DeploymentException(message, e); }
private void handleException(String message, Throwable t) throws DeploymentException { if (log.isDebugEnabled()) { log.debug(message, t); } throw new DeploymentException(message, t); } }
private void handleException(String message, Exception e) throws DeploymentException { if (log.isDebugEnabled()) { log.debug(message, e); } throw new DeploymentException(message, e); }
private void handleException(String message, Throwable t) throws DeploymentException { if (log.isDebugEnabled()) { log.debug(message, t); } throw new DeploymentException(message, t); } }
public TransactionConfiguration(ParameterInclude transactionParameters) throws DeploymentException { Iterator it = transactionParameters.getParameters().iterator(); while (it.hasNext()) { Parameter parameter = (Parameter) it.next(); jndiProperties.put(parameter.getName(), (String) parameter.getValue()); } transactionManagerJNDIName = (String) transactionParameters.getParameter(TX_MANAGER_JNDI_NAME).getValue(); if(transactionManagerJNDIName == null){ throw new DeploymentException("Required transaction parameter " + TX_MANAGER_JNDI_NAME + " missing"); } threadTransactionManager = new ThreadLocal(); }
public TransactionConfiguration(ParameterInclude transactionParameters) throws DeploymentException { Iterator it = transactionParameters.getParameters().iterator(); while (it.hasNext()) { Parameter parameter = (Parameter) it.next(); jndiProperties.put(parameter.getName(), (String) parameter.getValue()); } transactionManagerJNDIName = (String) transactionParameters.getParameter(TX_MANAGER_JNDI_NAME).getValue(); if(transactionManagerJNDIName == null){ throw new DeploymentException("Required transaction parameter " + TX_MANAGER_JNDI_NAME + " missing"); } threadTransactionManager = new ThreadLocal(); }
public void deployModule(String moduleFileName) throws DeploymentException { File moduleFile = new File(moduleFileName); if (!moduleFile.exists()) { throw new DeploymentException("Module archive '" + moduleFileName + "' doesn't exist"); } DeploymentFileData dfd = new DeploymentFileData(moduleFile, new ModuleDeployer(this)); dfd.deploy(); }
public void deploy(DeploymentFileData deploymentFileData) throws DeploymentException { log.info("Deploying HumanTask archive [ " + deploymentFileData.getName() + " ]"); try { humanTaskStore.deploy(deploymentFileData.getFile()); } catch (Exception e) { String errorMessage = "Error deploying HumanTask package : " + deploymentFileData.getName(); log.error(errorMessage, e); throw new DeploymentException(errorMessage, e); } }
public void deployModule(String moduleFileName) throws DeploymentException { File moduleFile = new File(moduleFileName); if (!moduleFile.exists()) { throw new DeploymentException("Module archive '" + moduleFileName + "' doesn't exist"); } DeploymentFileData dfd = new DeploymentFileData(moduleFile, new ModuleDeployer(this)); dfd.deploy(); }
protected ServerContextInformation getServerContextInformation() throws DeploymentException { Parameter serverCtxParam = cfgCtx.getAxisConfiguration().getParameter( SynapseConstants.SYNAPSE_SERVER_CTX_INFO); if (serverCtxParam == null) { throw new DeploymentException("ServerContextInformation not found. " + "Unable to continue the deployment operation."); } return (ServerContextInformation) serverCtxParam.getValue(); }
protected SynapseEnvironment getSynapseEnvironment() throws DeploymentException { Parameter synCfgParam = cfgCtx.getAxisConfiguration().getParameter(SynapseConstants.SYNAPSE_ENV); if (synCfgParam == null) { throw new DeploymentException("SynapseEnvironment not found. " + "Unable to continue the deployment operation."); } return (SynapseEnvironment) synCfgParam.getValue(); }
protected SynapseConfiguration getSynapseConfiguration() throws DeploymentException { Parameter synCfgParam = cfgCtx.getAxisConfiguration().getParameter(SynapseConstants.SYNAPSE_CONFIG); if (synCfgParam == null) { throw new DeploymentException("SynapseConfiguration not found. " + "Unable to continue the deployment operation."); } return (SynapseConfiguration) synCfgParam.getValue(); }
protected ServerConfigurationInformation getServerConfigurationInformation() throws DeploymentException { Parameter serverCfgParam = cfgCtx.getAxisConfiguration().getParameter( SynapseConstants.SYNAPSE_SERVER_CONFIG_INFO); if (serverCfgParam == null) { throw new DeploymentException("SynapseConfigurationInformation not found. " + "Unable to continue the deployment operation."); } return (ServerConfigurationInformation) serverCfgParam.getValue(); }
protected SynapseConfiguration getSynapseConfiguration() throws DeploymentException { Parameter synCfgParam = cfgCtx.getAxisConfiguration().getParameter(SynapseConstants.SYNAPSE_CONFIG); if (synCfgParam == null) { throw new DeploymentException("SynapseConfiguration not found. " + "Are you sure that you are running Synapse?"); } return (SynapseConfiguration) synCfgParam.getValue(); }
protected ServerContextInformation getServerContextInformation() throws DeploymentException { Parameter serverCtxParam = cfgCtx.getAxisConfiguration().getParameter(SynapseConstants.SYNAPSE_SERVER_CTX_INFO); if (serverCtxParam == null) { throw new DeploymentException("ServerContextInformation not found. " + "Are you sure that you are running Synapse?"); } return (ServerContextInformation) serverCtxParam.getValue(); }
protected ServerConfigurationInformation getServerConfigurationInformation() throws DeploymentException { Parameter serverCfgParam = cfgCtx.getAxisConfiguration().getParameter( SynapseConstants.SYNAPSE_SERVER_CONFIG_INFO); if (serverCfgParam == null) { throw new DeploymentException("SynapseConfigurationInformation not found. " + "Are you sure that you are running Synapse?"); } return (ServerConfigurationInformation) serverCfgParam.getValue(); }
protected SynapseEnvironment getSynapseEnvironment() throws DeploymentException { Parameter synCfgParam = cfgCtx.getAxisConfiguration().getParameter(SynapseConstants.SYNAPSE_ENV); if (synCfgParam == null) { throw new DeploymentException("SynapseEnvironment not found. " + "Are you sure that you are running Synapse?"); } return (SynapseEnvironment) synCfgParam.getValue(); }
private SynapseArtifactDeploymentStore getDeploymentStore() throws DeploymentException { Parameter synCfgParam = cfgCtx.getAxisConfiguration().getParameter(SynapseConstants.SYNAPSE_CONFIG); if (synCfgParam == null) { throw new DeploymentException("Error retrieving deployment store. SynapseConfiguration not found"); } return ((SynapseConfiguration) synCfgParam.getValue()).getArtifactDeploymentStore(); }