Camunda fox客户端 - 监听器启动错误

时间:2013-10-02 07:03:17

标签: java camunda

我正在使用包含狐狸客户端的camunda 7.0.0-Final。当我重新部署我的应用程序时,我收到以下错误。

    Exception sending context initialized event to listener instance of class 
    com.camunda.fox.client.impl.web.ProcessArchiveServletContextListener
    at com.camunda.fox.client.impl.web.ProcessArchiveServletContextListener.contextInitialized(ProcessArchiveServletContextListener.java:28)
    at     org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
    at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    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:724)

备注:我将以下行添加到服务器的conf子目录中的tomcat 7 logging.properties文件中

    com.camunda.fox.client.level    = DEBUG
    com.camunda.fox.client.handlers = java.util.logging.ConsoleHandler

从源代码行ProcessArchiveServletContextListener.java:28我想是注入变量

     @Inject
    private ProcessArchiveSupport processArchiveSupport;

工作不像预期。我是否必须配置一些东西以使注射工作?

1 个答案:

答案 0 :(得分:4)

似乎你将camunda fox 6.2 Process Applications与camunda BPM 7.0平台混合使用。这不起作用。您必须按照migration guide中的说明迁移流程应用程序。然后你将有一个闪亮的工作camunda BPM 7.0应用程序: - )

干杯 贝恩德