Package org.apache.agila.bpel.deployer.exception

Examples of org.apache.agila.bpel.deployer.exception.DeploymentException


        } catch (Throwable e) {
            try {
                TransactionManager.rollbackTransaction();
            } catch (TransactionException e1) {
                throw new DeploymentException("Could not rollback transaction.", e);
            }
            throw new DeploymentException(e);
        }
    }
View Full Code Here


                processDefColl = XMLDataAccess.createCollection(processColl, "def");
            }
            XMLDataAccess.insertDocument(processColl, "" + processName.hashCode(), processDoc);
            XMLDataAccess.insertDocument(processDefColl, "" + processName.hashCode(), defDoc);
        } catch (Exception e) {
            throw new DeploymentException("Could not save the process description and web services " +
                    "definitions in DB.", e);
        }
    }
View Full Code Here

                if (prop != null) {
                    ProcessFactory.addPropertyAlias(prop, e.valueOf("@messageType"),
                            e.valueOf("@part"), e.valueOf("@query"));
                } else {
                    log.error("A propertyAlias is defined without property : " + propertyName);
                    throw new DeploymentException("a propertyAlias is defined without property : " + propertyName);
                }
            }
        } catch (Exception e) {
            throw new DeploymentException(e);
        }
    }
View Full Code Here

                ad.deploy(activityElement, tp, new DeployerContext());
                log.debug("</" + activityElement.getName() + ">");
            } catch (DeploymentException e) {
                TransactionManager.rollbackTransaction();
                log.error("Transation Rolled Back due to " + e.getMessage());
                throw new DeploymentException(e);
            }
        }
    }
View Full Code Here

        AgilaProcess tp = null;
        try {
            tp = ProcessFactory.createProcess(name, targetNamespace);
        } catch (DBSessionException e) {
            TransactionManager.rollbackTransaction();
            throw new DeploymentException(e);
        } catch (CreationException e) {
            TransactionManager.rollbackTransaction();
            throw new DeploymentException(e);
        }
        return tp;
    }
View Full Code Here

                log.debug("messageType = " + properties);
                log.debug("</correlationSet>");
                try {
                    ProcessFactory.addCorrelation(tp, name, truncNamespace(properties));
                } catch (Exception e) {
                    throw new DeploymentException(e);
                }
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.agila.bpel.deployer.exception.DeploymentException

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.