Hi, I'm toying with the dvdstore example application and would like to achieve a more real life szenario by getting persistence over jboss server restarts. By default the application is completely reset to its initial state after a server restart. So I changed the property "hbm2ddl.auto" in hibernate.cfg.xml from "create-drop" to "update". The server starts up fine the first time and the scheme is created successfully. But on each subsequent (re)start the deployment of the application fails with a RuntimeException[1] stating that a process definition couldn't be deployed.
Why would seam try to put an already defined process again into the database? How do I achieve the requirement to allow persistence ocross server restarts without loosing business data? Any pointers appreciated! Thanks, Kurt [1] The server log showing the exception: anonymous wrote : | 2006-08-24 12:08:17,390 INFO [STDOUT] Hibernate: select processdef0_.ID_ as ID1_18_, processdef0_.NAME_ as NAME2_18_, processdef0_.VERSION_ as VERSION3_18_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN4_18_, processdef0_.STARTSTATE_ as STARTSTATE5_18_ from JBPM_PROCESSDEFINITION processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc limit ? | 2006-08-24 12:08:17,451 INFO [STDOUT] Hibernate: select nextval ('hibernate_sequence') | 2006-08-24 12:08:17,482 ERROR [STDERR] java.lang.RuntimeException: could not deploy a process definition | 2006-08-24 12:08:17,482 ERROR [STDERR] at org.jboss.seam.core.Jbpm.installProcessDefinitions(Jbpm.java:167) | 2006-08-24 12:08:17,482 ERROR [STDERR] at org.jboss.seam.core.Jbpm.startup(Jbpm.java:58) | 2006-08-24 12:08:17,482 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 2006-08-24 12:08:17,482 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 2006-08-24 12:08:17,482 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 2006-08-24 12:08:17,482 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 2006-08-24 12:08:17,482 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 2006-08-24 12:08:17,482 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | 2006-08-24 12:08:17,482 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1334) | 2006-08-24 12:08:17,482 ERROR [STDERR] at org.jboss.seam.Component.callCreateMethod(Component.java:1322) | 2006-08-24 12:08:17,482 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:1312) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1263) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1253) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:125) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:104) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.seam.init.Initialization.init(Initialization.java:196) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) | 2006-08-24 12:08:17,497 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 2006-08-24 12:08:17,497 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 2006-08-24 12:08:17,497 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 2006-08-24 12:08:17,497 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116) | 2006-08-24 12:08:17,497 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 2006-08-24 12:08:17,497 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 2006-08-24 12:08:17,497 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 2006-08-24 12:08:17,497 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | 2006-08-24 12:08:17,497 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | 2006-08-24 12:08:17,497 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 2006-08-24 12:08:17,497 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | 2006-08-24 12:08:17,497 ERROR [STDERR] at $Proxy0.start(Unknown Source) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417) | 2006-08-24 12:08:17,497 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) | 2006-08-24 12:08:17,497 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 2006-08-24 12:08:17,497 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 2006-08-24 12:08:17,497 ERROR [STDERR] at $Proxy43.start(Unknown Source) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) | 2006-08-24 12:08:17,497 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 2006-08-24 12:08:17,497 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 2006-08-24 12:08:17,497 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 2006-08-24 12:08:17,497 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 2006-08-24 12:08:17,497 ERROR [STDERR] at $Proxy44.start(Unknown Source) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 2006-08-24 12:08:17,497 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | 2006-08-24 12:08:17,497 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 2006-08-24 12:08:17,497 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 2006-08-24 12:08:17,497 ERROR [STDERR] at $Proxy6.deploy(Unknown Source) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | 2006-08-24 12:08:17,497 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | 2006-08-24 12:08:17,512 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 2006-08-24 12:08:17,512 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 2006-08-24 12:08:17,512 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 2006-08-24 12:08:17,512 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | 2006-08-24 12:08:17,512 ERROR [STDERR] at $Proxy0.start(Unknown Source) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417) | 2006-08-24 12:08:17,512 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 2006-08-24 12:08:17,512 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 2006-08-24 12:08:17,512 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 2006-08-24 12:08:17,512 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 2006-08-24 12:08:17,512 ERROR [STDERR] at $Proxy4.start(Unknown Source) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 2006-08-24 12:08:17,512 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 2006-08-24 12:08:17,512 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 2006-08-24 12:08:17,512 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 2006-08-24 12:08:17,512 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 2006-08-24 12:08:17,512 ERROR [STDERR] at $Proxy5.deploy(Unknown Source) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:464) | 2006-08-24 12:08:17,512 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) | 2006-08-24 12:08:17,512 ERROR [STDERR] Caused by: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [org.jbpm.graph.def.ProcessDefinition#1] | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:167) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:186) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:175) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:537) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.hibernate.impl.SessionImpl.save(SessionImpl.java:525) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.hibernate.impl.SessionImpl.save(SessionImpl.java:521) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jbpm.db.GraphSession.deployProcessDefinition(GraphSession.java:77) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173) | 2006-08-24 12:08:17,512 ERROR [STDERR] at org.jboss.seam.core.Jbpm.installProcessDefinitions(Jbpm.java:162) | 2006-08-24 12:08:17,512 ERROR [STDERR] ... 154 more | 2006-08-24 12:08:17,512 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-dvd]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener | java.lang.RuntimeException: could not deploy a process definition | at org.jboss.seam.core.Jbpm.installProcessDefinitions(Jbpm.java:167) | at org.jboss.seam.core.Jbpm.startup(Jbpm.java:58) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967194#3967194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967194 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user