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

Exceptions when shutting down Tomcat

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.0.0-alpha4, 7.0.0
    • None
    • engine
    • None

    Description

      To reproduce:

      • Download tomcat (7.0.0-alpha2) distribution
      • startup tomcat
      • shutdown tomcat

      -> The following exceptions occur in server-log

      – First Exception:

      SCHWERWIEGEND: Exception while performing operation step 'Stopping process applications': org.camunda.bpm.container.impl.jmx.services.JmxManagedProcessApplication cannot be cast to org.camunda.bpm.application.ProcessApplicationReference
      java.lang.ClassCastException: org.camunda.bpm.container.impl.jmx.services.JmxManagedProcessApplication cannot be cast to org.camunda.bpm.application.ProcessApplicationReference
      at org.camunda.bpm.container.impl.jmx.deployment.StopProcessApplicationsStep.performOperationStep(StopProcessApplicationsStep.java:45)
      at org.camunda.bpm.container.impl.jmx.kernel.MBeanDeploymentOperation.execute(MBeanDeploymentOperation.java:116)
      at org.camunda.bpm.container.impl.jmx.kernel.MBeanServiceContainer.executeDeploymentOperation(MBeanServiceContainer.java:128)
      at org.camunda.bpm.container.impl.jmx.kernel.MBeanDeploymentOperation$MBeanDeploymentOperationBuilder.execute(MBeanDeploymentOperation.java:206)
      at org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap.undeployBpmPlatform(TomcatBpmPlatformBootstrap.java:87)
      at org.camunda.bpm.container.impl.tomcat.TomcatBpmPlatformBootstrap.lifecycleEvent(TomcatBpmPlatformBootstrap.java:60)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
      at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
      at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:347)
      at org.apache.catalina.core.StandardServer.stopInternal(StandardServer.java:748)
      at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
      at org.apache.catalina.startup.Catalina.stop(Catalina.java:751)
      at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:897)
      23.04.2013 17:02:59 org.camunda.bpm.engine.impl.jobexecutor.JobExecutor shutdown

      – Second Exception:
      SCHWERWIEGEND: Exception while performing operation step 'Undeploying process archvie null': null
      java.lang.NullPointerException
      at org.camunda.bpm.container.impl.jmx.deployment.UndeployProcessArchiveStep.performOperationStep(UndeployProcessArchiveStep.java:62)
      at org.camunda.bpm.container.impl.jmx.kernel.MBeanDeploymentOperation.execute(MBeanDeploymentOperation.java:116)
      at org.camunda.bpm.container.impl.jmx.kernel.MBeanServiceContainer.executeDeploymentOperation(MBeanServiceContainer.java:128)
      at org.camunda.bpm.container.impl.jmx.kernel.MBeanDeploymentOperation$MBeanDeploymentOperationBuilder.execute(MBeanDeploymentOperation.java:206)
      at org.camunda.bpm.container.impl.jmx.JmxRuntimeContainerDelegate.undeployProcessApplication(JmxRuntimeContainerDelegate.java:164)
      at org.camunda.bpm.application.AbstractProcessApplication.undeploy(AbstractProcessApplication.java:77)
      at org.camunda.bpm.application.impl.ServletProcessApplication.contextDestroyed(ServletProcessApplication.java:87)
      at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4831)
      at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
      at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
      at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)
      at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      23.04.2013 17:02:59 org.springframework.context.support.AbstractApplicationContext doClose

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                meyer Daniel Meyer
                roman.smirnov Roman Smirnov
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce