Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-7798

NullPointerException on failed PA deployment in Spring context leaving Tomcat in inconsistent state

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.7.0, 7.6.5, 7.7.0-alpha2
    • 7.3.7, 7.4.11, 7.5.8, 7.7.0-alpha1, 7.6.4
    • engine

    Description

      Problem:

      1. Build a process application with Spring that starts a process engine and registers it via ManagedProcessEngineFactory bean. The process engine should use Spring transaction integration
      2. Let the process deployment command that is invoked when the PA is deployed succeed. This lets the engine register the process application for the new deployment. In addition, the engine registers a transaction listener to undo this registration if the deploying transaction gets rolled back
      3. Let the deployment transaction roll back (i.e. after the command succeeds but before the transaction commits).

      Actual behavior:

      • The transaction listener (instance of org.camunda.bpm.engine.impl.persistence.deploy.DeploymentFailListener) fails with a NullPointerException at [1]
      • Tomcat (only application server I tested) remains in an inconsistent state: It is possible to delete the application on the file system, but undeployment hangs with the latest log messages being:
        10-May-2017 17:28:54.171 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/camunda-quickstart-spring-servlet-pa-tomcat-1.0-SNAPSHOT]
        

        Redeploying the application is not possible

      Expected behavior:

      • Listener does not fail

      Root cause:

      • The command context has already been cleared before the transaction is rolled back, so the code at [1] fails
      • The transaction listener interface has a general problem: A transaction lives longer (in case of transaction integration) or the same time (in case of engine-managed transactions) as a command context. TransactionListener#execute [2] should therefore not be handed a CommandContext object because the latter is likely in an inconsistent, unusable state.
      • Code like Context.getCommandContext should never be accessed from a transaction listener for the same reason. See also the comment in the TransactionListener interface [3].

      Side note:

      • the root cause of this allows other variants of this bug; this particular scenario (Spring, Tomcat, failing deployment) is one instance of how the root cause shows to the user

      Example Application:

      Full deployment output of example:

      10-May-2017 17:25:22.737 INFO [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive C:\Users\Lindhauer\Desktop\servers\camunda-bpm-ee-tomcat-7.6.2-ee\server\apache-tomcat-8.0.24\webapps\camunda-quickstart-spring-servlet-pa-tomcat-1.0-SNAPSHOT.war
      10-May-2017 17:25:24.904 INFO [localhost-startStop-2] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      10-May-2017 17:25:24.928 INFO [localhost-startStop-2] org.springframework.web.context.ContextLoader.initWebApplicationContext Root WebApplicationContext: initialization started
      10-May-2017 17:25:24.991 INFO [localhost-startStop-2] org.springframework.context.support.AbstractApplicationContext.prepareRefresh Refreshing Root WebApplicationContext: startup date [Wed May 10 17:25:24 CEST 2017]; root of context hierarchy
      10-May-2017 17:25:25.036 INFO [localhost-startStop-2] org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
      10-May-2017 17:25:25.181 INFO [localhost-startStop-2] org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2793c11c: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,workflowengine.processEngine,dataSource,txManager,processEngineConfiguration,processApplication,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy
      10-May-2017 17:25:25.861 INFO [localhost-startStop-2] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-12003 Plugin 'ProcessApplicationEventListenerPlugin' activated on process engine 'foo'
      10-May-2017 17:25:25.869 INFO [localhost-startStop-2] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-12003 Plugin 'org.camunda.bpm.example.spring.servlet.pa.FailDeploymentsPlugin@773cfbd6' activated on process engine 'foo'
      10-May-2017 17:25:28.173 INFO [localhost-startStop-2] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-00001 Process Engine foo created.
      10-May-2017 17:25:28.175 INFO [localhost-startStop-2] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-14014 Starting up the JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.DefaultJobExecutor].
      10-May-2017 17:25:28.177 INFO [JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.DefaultJobExecutor]] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-14018 JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.DefaultJobExecutor] starting to acquire jobs
      10-May-2017 17:25:28.232 INFO [localhost-startStop-2] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-08024 Found processes.xml file at file:/C:/Users/Lindhauer/Desktop/servers/camunda-bpm-ee-tomcat-7.6.2-ee/server/apache-tomcat-8.0.24/webapps/camunda-quickstart-spring-servlet-pa-tomcat-1.0-SNAPSHOT/WEB-INF/classes/META-INF/processes.xml
      10-May-2017 17:25:28.252 INFO [localhost-startStop-2] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-08023 Deployment summary for process archive 'processApplication': 
      
              SpringExpressionResolvingTest.testResolveBeanFromJobExecutor.bpmn20.xml
              SpringExpressionResolvingTest.testResolveBean.bpmn20.xml
      
      10-May-2017 17:25:28.363 INFO [localhost-startStop-2] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-07021 ProcessApplication 'processApplication' registered for DB deployments [e5abe8a9-3594-11e7-80f2-28d24461aeb0]. Will execute process definitions 
      
              testResolveBeanFromJobExecutor[version: 1, id: e5b7a87c-3594-11e7-80f2-28d24461aeb0]
              testResolveBean[version: 1, id: testResolveBean:1:e5b7f69e-3594-11e7-80f2-28d24461aeb0]
      Deployment does not provide any case definitions.
      10-May-2017 17:25:33.384 SEVERE [localhost-startStop-2] org.camunda.commons.logging.BaseLogger.logError ENGINE-16004 Exception while closing command context: roll back transaction
       java.lang.RuntimeException: roll back transaction
      	at org.camunda.bpm.example.spring.servlet.pa.FailDeploymentsPlugin$1$1.execute(FailDeploymentsPlugin.java:43)
      	at org.camunda.bpm.example.spring.servlet.pa.FailDeploymentsPlugin$1$1.execute(FailDeploymentsPlugin.java:36)
      	at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
      	at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:104)
      	at org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
      	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
      	at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
      	at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:66)
      	at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)
      	at org.camunda.bpm.example.spring.servlet.pa.FailDeploymentsPlugin$1.deploy(FailDeploymentsPlugin.java:36)
      	at org.camunda.bpm.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:243)
      	at org.camunda.bpm.engine.impl.repository.ProcessApplicationDeploymentBuilderImpl.deploy(ProcessApplicationDeploymentBuilderImpl.java:59)
      	at org.camunda.bpm.container.impl.deployment.DeployProcessArchiveStep.performOperationStep(DeployProcessArchiveStep.java:141)
      	at org.camunda.bpm.container.impl.spi.DeploymentOperation.execute(DeploymentOperation.java:116)
      	at org.camunda.bpm.container.impl.jmx.MBeanServiceContainer.executeDeploymentOperation(MBeanServiceContainer.java:156)
      	at org.camunda.bpm.container.impl.spi.DeploymentOperation$DeploymentOperationBuilder.execute(DeploymentOperation.java:212)
      	at org.camunda.bpm.container.impl.RuntimeContainerDelegateImpl.deployProcessApplication(RuntimeContainerDelegateImpl.java:95)
      	at org.camunda.bpm.application.AbstractProcessApplication.deploy(AbstractProcessApplication.java:59)
      	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.start(SpringProcessApplication.java:104)
      	at org.camunda.bpm.engine.spring.application.SpringServletProcessApplication.start(SpringServletProcessApplication.java:46)
      	at org.camunda.bpm.engine.spring.application.SpringServletProcessApplication.afterPropertiesSet(SpringServletProcessApplication.java:52)
      	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.onApplicationEvent(SpringProcessApplication.java:90)
      	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.onApplicationEvent(SpringProcessApplication.java:48)
      	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
      	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:324)
      	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:934)
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472)
      	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
      	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
      	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
      	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:945)
      	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1768)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      
      10-May-2017 17:25:33.402 SEVERE [localhost-startStop-2] org.springframework.transaction.support.TransactionSynchronizationUtils.invokeAfterCompletion TransactionSynchronization.afterCompletion threw exception
       java.lang.NullPointerException
      	at org.camunda.bpm.engine.impl.persistence.AbstractManager.getCurrentAuthentication(AbstractManager.java:256)
      	at org.camunda.bpm.engine.impl.persistence.entity.AuthorizationManager.checkCamundaAdmin(AuthorizationManager.java:463)
      	at org.camunda.bpm.engine.impl.cmd.UnregisterDeploymentCmd.execute(UnregisterDeploymentCmd.java:39)
      	at org.camunda.bpm.engine.impl.persistence.deploy.DeploymentFailListener.execute(DeploymentFailListener.java:35)
      	at org.camunda.bpm.engine.spring.SpringTransactionContext$5.afterCompletion(SpringTransactionContext.java:105)
      	at org.springframework.transaction.support.TransactionSynchronizationUtils.invokeAfterCompletion(TransactionSynchronizationUtils.java:168)
      	at org.springframework.transaction.support.AbstractPlatformTransactionManager.invokeAfterCompletion(AbstractPlatformTransactionManager.java:993)
      	at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerAfterCompletion(AbstractPlatformTransactionManager.java:968)
      	at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:872)
      	at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:822)
      	at org.springframework.transaction.support.TransactionTemplate.rollbackOnException(TransactionTemplate.java:161)
      	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:134)
      	at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
      	at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:66)
      	at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)
      	at org.camunda.bpm.example.spring.servlet.pa.FailDeploymentsPlugin$1.deploy(FailDeploymentsPlugin.java:36)
      	at org.camunda.bpm.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:243)
      	at org.camunda.bpm.engine.impl.repository.ProcessApplicationDeploymentBuilderImpl.deploy(ProcessApplicationDeploymentBuilderImpl.java:59)
      	at org.camunda.bpm.container.impl.deployment.DeployProcessArchiveStep.performOperationStep(DeployProcessArchiveStep.java:141)
      	at org.camunda.bpm.container.impl.spi.DeploymentOperation.execute(DeploymentOperation.java:116)
      	at org.camunda.bpm.container.impl.jmx.MBeanServiceContainer.executeDeploymentOperation(MBeanServiceContainer.java:156)
      	at org.camunda.bpm.container.impl.spi.DeploymentOperation$DeploymentOperationBuilder.execute(DeploymentOperation.java:212)
      	at org.camunda.bpm.container.impl.RuntimeContainerDelegateImpl.deployProcessApplication(RuntimeContainerDelegateImpl.java:95)
      	at org.camunda.bpm.application.AbstractProcessApplication.deploy(AbstractProcessApplication.java:59)
      	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.start(SpringProcessApplication.java:104)
      	at org.camunda.bpm.engine.spring.application.SpringServletProcessApplication.start(SpringServletProcessApplication.java:46)
      	at org.camunda.bpm.engine.spring.application.SpringServletProcessApplication.afterPropertiesSet(SpringServletProcessApplication.java:52)
      	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.onApplicationEvent(SpringProcessApplication.java:90)
      	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.onApplicationEvent(SpringProcessApplication.java:48)
      	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
      	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:324)
      	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:934)
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472)
      	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
      	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
      	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
      	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:945)
      	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1768)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      
      10-May-2017 17:25:33.417 SEVERE [localhost-startStop-2] org.springframework.web.context.ContextLoader.initWebApplicationContext Context initialization failed
       java.lang.RuntimeException: org.camunda.bpm.engine.ProcessEngineException: ENGINE-08043 Exception while performing 'Deployment of Process Application processApplication' => 'Deployment of process archive 'null': roll back transaction
      	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.onApplicationEvent(SpringProcessApplication.java:99)
      	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.onApplicationEvent(SpringProcessApplication.java:48)
      	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
      	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:324)
      	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:934)
      	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472)
      	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
      	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
      	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
      	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
      	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:945)
      	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1768)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.camunda.bpm.engine.ProcessEngineException: ENGINE-08043 Exception while performing 'Deployment of Process Application processApplication' => 'Deployment of process archive 'null': roll back transaction
      	at org.camunda.bpm.container.impl.ContainerIntegrationLogger.exceptionWhilePerformingOperationStep(ContainerIntegrationLogger.java:312)
      	at org.camunda.bpm.container.impl.spi.DeploymentOperation.execute(DeploymentOperation.java:132)
      	at org.camunda.bpm.container.impl.jmx.MBeanServiceContainer.executeDeploymentOperation(MBeanServiceContainer.java:156)
      	at org.camunda.bpm.container.impl.spi.DeploymentOperation$DeploymentOperationBuilder.execute(DeploymentOperation.java:212)
      	at org.camunda.bpm.container.impl.RuntimeContainerDelegateImpl.deployProcessApplication(RuntimeContainerDelegateImpl.java:95)
      	at org.camunda.bpm.application.AbstractProcessApplication.deploy(AbstractProcessApplication.java:59)
      	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.start(SpringProcessApplication.java:104)
      	at org.camunda.bpm.engine.spring.application.SpringServletProcessApplication.start(SpringServletProcessApplication.java:46)
      	at org.camunda.bpm.engine.spring.application.SpringServletProcessApplication.afterPropertiesSet(SpringServletProcessApplication.java:52)
      	at org.camunda.bpm.engine.spring.application.SpringProcessApplication.onApplicationEvent(SpringProcessApplication.java:90)
      	... 21 more
      Caused by: java.lang.RuntimeException: roll back transaction
      	at org.camunda.bpm.example.spring.servlet.pa.FailDeploymentsPlugin$1$1.execute(FailDeploymentsPlugin.java:43)
      	at org.camunda.bpm.example.spring.servlet.pa.FailDeploymentsPlugin$1$1.execute(FailDeploymentsPlugin.java:36)
      	at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
      	at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:104)
      	at org.camunda.bpm.engine.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
      	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
      	at org.camunda.bpm.engine.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
      	at org.camunda.bpm.engine.impl.interceptor.ProcessApplicationContextInterceptor.execute(ProcessApplicationContextInterceptor.java:66)
      	at org.camunda.bpm.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:30)
      	at org.camunda.bpm.example.spring.servlet.pa.FailDeploymentsPlugin$1.deploy(FailDeploymentsPlugin.java:36)
      	at org.camunda.bpm.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:243)
      	at org.camunda.bpm.engine.impl.repository.ProcessApplicationDeploymentBuilderImpl.deploy(ProcessApplicationDeploymentBuilderImpl.java:59)
      	at org.camunda.bpm.container.impl.deployment.DeployProcessArchiveStep.performOperationStep(DeployProcessArchiveStep.java:141)
      	at org.camunda.bpm.container.impl.spi.DeploymentOperation.execute(DeploymentOperation.java:116)
      	... 29 more
      
      10-May-2017 17:25:33.429 SEVERE [localhost-startStop-2] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
      10-May-2017 17:25:33.430 SEVERE [localhost-startStop-2] org.apache.catalina.core.StandardContext.startInternal Context [/camunda-quickstart-spring-servlet-pa-tomcat-1.0-SNAPSHOT] startup failed due to previous errors
      10-May-2017 17:25:33.433 INFO [localhost-startStop-2] org.springframework.context.support.AbstractApplicationContext.doClose Closing Root WebApplicationContext: startup date [Wed May 10 17:25:24 CEST 2017]; root of context hierarchy
      10-May-2017 17:25:33.433 WARNING [localhost-startStop-2] org.camunda.commons.logging.BaseLogger.logWarn ENGINE-07017 Calling undeploy() on process application that is not deployed.
      10-May-2017 17:25:33.434 INFO [localhost-startStop-2] org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2793c11c: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,workflowengine.processEngine,dataSource,txManager,processEngineConfiguration,processApplication,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy
      10-May-2017 17:25:33.451 INFO [localhost-startStop-2] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-14015 Shutting down the JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.DefaultJobExecutor]
      10-May-2017 17:25:33.451 INFO [JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.DefaultJobExecutor]] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-14020 JobExecutor[org.camunda.bpm.engine.impl.jobexecutor.DefaultJobExecutor] stopped job acquisition
      10-May-2017 17:25:33.453 INFO [localhost-startStop-2] org.camunda.commons.logging.BaseLogger.logInfo ENGINE-00007 Process Engine foo closed
      10-May-2017 17:25:33.488 INFO [localhost-startStop-2] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive C:\Users\Lindhauer\Desktop\servers\camunda-bpm-ee-tomcat-7.6.2-ee\server\apache-tomcat-8.0.24\webapps\camunda-quickstart-spring-servlet-pa-tomcat-1.0-SNAPSHOT.war has finished in 10,751 ms
      10-May-2017 17:28:54.171 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/camunda-quickstart-spring-servlet-pa-tomcat-1.0-SNAPSHOT]
      
      

      [1] https://github.com/camunda/camunda-bpm-platform/blob/7.7.0-alpha1/engine/src/main/java/org/camunda/bpm/engine/impl/persistence/entity/AuthorizationManager.java#L468
      [2] https://github.com/camunda/camunda-bpm-platform/blob/7.7.0-alpha1/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/TransactionListener.java#L28
      [3] https://github.com/camunda/camunda-bpm-platform/blob/7.7.0-alpha1/engine/src/main/java/org/camunda/bpm/engine/impl/cfg/TransactionListener.java#L19-L25

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                thorben.lindhauer Thorben Lindhauer
                thorben.lindhauer Thorben Lindhauer
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce