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

cockpit and invoice example do not work when default engine is not called "default"

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.0.0-alpha7, 7.0.0
    • None
    • cockpit
    • None

    Description

      JBoss config:
      <process-engine name="cc" default="true">

      cockpit log:
      16:00:23,000 INFO [org.jboss.resteasy.spi.ResteasyDeployment] (http-/127.0.0.1:8080-2) Deploying javax.ws.rs.core.Application: class org.camunda.bpm.cockpit.impl.web.CockpitApplication
      16:00:24,225 INFO [org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher] (http-/127.0.0.1:8080-2) Deploying javax.ws.rs.core.Application: class org.camunda.bpm.cockpit.impl.web.EngineRestApplication
      16:00:24,253 WARNING [ExceptionHandler] (http-/127.0.0.1:8080-2) org.camunda.bpm.engine.rest.exception.InvalidRequestException: No process engine available
      at org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware.getProcessEngine(AbstractRestProcessEngineAware.java:35)
      at org.camunda.bpm.engine.rest.impl.ProcessDefinitionRestServiceImpl.getStatistics(ProcessDefinitionRestServiceImpl.java:107)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167)
      at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
      at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
      at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:165)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)
      at java.lang.Thread.run(Thread.java:722)

      16:00:24,253 WARNING [ExceptionHandler] (http-/127.0.0.1:8080-1) org.camunda.bpm.engine.rest.exception.InvalidRequestException: No process engine available
      at org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware.getProcessEngine(AbstractRestProcessEngineAware.java:35)
      at org.camunda.bpm.engine.rest.impl.ProcessDefinitionRestServiceImpl.getStatistics(ProcessDefinitionRestServiceImpl.java:107)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167)
      at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
      at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
      at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:165)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:372)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:931)
      at java.lang.Thread.run(Thread.java:722)

      invoice log:
      15:59:40,955 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
      JBAS014775: New missing/unsatisfied dependencies:
      service org.camunda.bpm.platform.process-engine.default (missing) dependents: [service org.camunda.bpm.platform.process-application-module."camunda-example-invoice-7.0.0-alpha6.war".DEPLOY.pa, service org.camunda.bpm.platform.process-application-module."deployment.camunda-example-invoice-7.0.0-alpha6.war:main".START]

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              smirnov Roman Smirnov
              menge Falko Menge
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce