05-17-2011 02:09 AM
08-11-2011 04:03 PM
10-17-2011 03:35 AM
Thanks for the quick reply. I just wrote my own deployer bean, you can find it here for reference: http://pastebin.com/JU4J0rCr.
10-17-2011 03:39 AM
10-17-2011 04:01 AM
[2011-10-17 11:14:33,062] org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workflowDeployer' defined in file [C:\ApacheTomcat\apache-tomcat-6.0.28\webapps\WEB-INF\classes\activiti.cfg.xml]: Invocation of init method failed; nested exception is org.springframework.beans.FatalBeanException: Missing property: category
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
07-12-2013 10:36 AM
07-17-2013 06:43 AM
public void testNoRedeploymentForSpringContainerRestart() throws Exception {
createAppContext(CTX_PATH);
DeploymentQuery deploymentQuery = repositoryService.createDeploymentQuery();
assertEquals(1, deploymentQuery.count());
ProcessDefinitionQuery processDefinitionQuery = repositoryService.createProcessDefinitionQuery();
assertEquals(3, processDefinitionQuery.count());
// Creating a new app context with same resources doesn't lead to more deployments
new ClassPathXmlApplicationContext(CTX_NO_DROP_PATH);
assertEquals(1, deploymentQuery.count());
assertEquals(3, processDefinitionQuery.count());
}
if ( deploymentBuilder.isDuplicateFilterEnabled() ) {
DeploymentEntity existingDeployment = Context
.getCommandContext()
.getDeploymentEntityManager()
.findLatestDeploymentByName(deployment.getName());
if ( (existingDeployment!=null)
&& !deploymentsDiffer(deployment, existingDeployment)) {
return existingDeployment;
}
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.