<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: after bpmn deployment, activiti still uses previous deployment file in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157172#M111371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Let me rephrase my question: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Suppose I deploy a bpmn file (RequestToPurchase.bpmn20.xml). Then,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I deploy again the bpmn file (RequestToPurchase.bpmn20.xml) but with the additional updates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Both bpmn file will be deployed even if the same name but I was expecting the first deployment will be updated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No problem with deployment but starting the process there is. If I start the process, an error will occur and the stack trace above is the sample. Please help so I can update my previously deployed bpmn file with my updated bpmn.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Apr 2016 08:23:41 GMT</pubDate>
    <dc:creator>mauwarrior</dc:creator>
    <dc:date>2016-04-15T08:23:41Z</dc:date>
    <item>
      <title>after bpmn deployment, activiti still uses previous deployment file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157164#M111363</link>
      <description>I have a activiti process initializer code as below. The bpmn file will be deployed every time when ever I restart my server. I have configured the DB to Oracle DB. If I change the method signature in the bpmn file and java bean, sporadically it is not picking new bpmn file and throws "Unknown metho</description>
      <pubDate>Tue, 18 Mar 2014 15:28:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157164#M111363</guid>
      <dc:creator>puvanenthiran</dc:creator>
      <dc:date>2014-03-18T15:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: after bpmn deployment, activiti still uses previous deployment file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157165#M111364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;let me reframe the question again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Let say, today I deploy the bpmn file. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- One of the serviceTask has activiti:expression as below&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "activiti:expression="#{preQualResponseProcessor.execute()}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I started the process. After few task execution, the process stops at one of the ReceiveTask&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Now, I modify the bpmn file, let say, I have added new parameters in the activiti:expression as below&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified to - "activiti:expression="#{preQualResponseProcessor.execute(execution)}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I redeploy the bpmn file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Now, If I signal ReceiveTask which is waiting previously. It throws "Unknown method used in expression".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is because, activiti is still looking for preQualResponseProcessor.execute() method. Even though, I have modified the bpmn and redeployed the new bpmn file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help us to fix the issue. I am expecting new bpmn file should be effective. Even though, the process started in the previous version bpmn file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 09:34:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157165#M111364</guid>
      <dc:creator>puvanenthiran</dc:creator>
      <dc:date>2014-03-19T09:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: after bpmn deployment, activiti still uses previous deployment file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157166#M111365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If&amp;nbsp; I update ACT_GE_BYTEARRAY table's bytes_ column with latest bpmn file, then the process which are waiting at ReceiveTask, picks latest bpmn changes. It works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Query&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;——&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;update ACT_GE_BYTEARRAY set bytes_=(select bytes_ from ACT_GE_BYTEARRAY where deployment_id_ in ('148701'))&amp;nbsp; where deployment_id_ ='137501';&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it right way to update the process which are started with older version bpmn file, to use new bpmn file?. Please provide your valuable feedback.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 11:41:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157166#M111365</guid>
      <dc:creator>puvanenthiran</dc:creator>
      <dc:date>2014-03-19T11:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: after bpmn deployment, activiti still uses previous deployment file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157167#M111366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; lease help us to fix the issue. I am expecting new bpmn file should be effective. Even though, the process started in the previous version &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; bpmn file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No: old processes will continue to be executed against the version they are started with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is an (experimental) SetProcessDefinitionId command you can use to move the version programmatically.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 12:16:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157167#M111366</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-03-24T12:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: after bpmn deployment, activiti still uses previous deployment file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157168#M111367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you, could you show an example of how to use SetProcessDefinitionId?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a need update startet process instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a right way than:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) cancel the process instance of the old process version&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) start a new instance of the extended process and forward it programmatically to the desired state&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 16:03:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157168#M111367</guid>
      <dc:creator>steper</dc:creator>
      <dc:date>2015-04-01T16:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: after bpmn deployment, activiti still uses previous deployment file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157169#M111368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;STepeR,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Attached is an example of the SetProcessDefinitionVersionCmd that we used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Things to note:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) it's a junit test (it's been a long time since we've used it)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Upgrading instances in this manner may not produce the results you expect - please read their comments.&amp;nbsp; I can elaborate more if you need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the long run you'll probably need model-specific upgrade scripts that can account for new states, conditions, and messages/signals.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Lee &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 16:19:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157169#M111368</guid>
      <dc:creator>leggebroten</dc:creator>
      <dc:date>2015-04-06T16:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: after bpmn deployment, activiti still uses previous deployment file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157170#M111369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Lee, for sharing this. I believe it is helpful for many people!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:21:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157170#M111369</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-04-07T13:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: after bpmn deployment, activiti still uses previous deployment file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157171#M111370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same problem with my deployment. Lets say I deployed my first .bpmn file and it goes well, but I need to redeploy another .bpmn file because of an update. I used the same filename for my bpmn since I only added a user task from the previous file. I deployed the second bpmn file (which is the updated one), it was successfully deployed. Unfortunately, I cannot start the whole process since activiti Abstract query returns multiple instances.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the stacktrace:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2016/04/15 15:02:35 org.apache.catalina.core.StandardWrapperValve invoke&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;致命的: サーブレット webapp のServlet.service()が例外を投げました&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.ActivitiException: Query return 2 results instead of max 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.AbstractQuery.executeSingleResult(AbstractQuery.java:162)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.AbstractQuery.execute(AbstractQuery.java:141)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:61)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:37)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.AbstractQuery.singleResult(AbstractQuery.java:104)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at ace.awsol.ssc.web.controller.core.ProcessController.startProcess(ProcessController.java:154)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.reflect.Method.invoke(Method.java:597)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.Thread.run(Thread.java:662).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now my question is: Is there a way to update the previous process or delete the previous deployment so that when I deployed my new bpmn there will be no errors? Please help..I've been searching the web for several weeks already only to find answers on deleting previous deployment…&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 08:15:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157171#M111370</guid>
      <dc:creator>mauwarrior</dc:creator>
      <dc:date>2016-04-15T08:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: after bpmn deployment, activiti still uses previous deployment file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157172#M111371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Let me rephrase my question: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Suppose I deploy a bpmn file (RequestToPurchase.bpmn20.xml). Then,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I deploy again the bpmn file (RequestToPurchase.bpmn20.xml) but with the additional updates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Both bpmn file will be deployed even if the same name but I was expecting the first deployment will be updated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No problem with deployment but starting the process there is. If I start the process, an error will occur and the stack trace above is the sample. Please help so I can update my previously deployed bpmn file with my updated bpmn.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 08:23:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157172#M111371</guid>
      <dc:creator>mauwarrior</dc:creator>
      <dc:date>2016-04-15T08:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: after bpmn deployment, activiti still uses previous deployment file</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157173#M111372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"If I start the process, an error will occur and the stack trace above is the sample."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The stacktrace above is about a query result, if I'm not mistaken. You need to add latestVersion() to the query to make it work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Both bpmn file will be deployed even if the same name but I was expecting the first deployment will be updated."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, Activiti (and many other BPM systems) do not change process definitions which have process instances that are in flight. That would break many people's currently running instances.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 13:53:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/after-bpmn-deployment-activiti-still-uses-previous-deployment/m-p/157173#M111372</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-04-20T13:53:34Z</dc:date>
    </item>
  </channel>
</rss>

