我正在使用camunda 7.0.0-Final和Fox客户。重新发布我的应用程序时,出现以下错误。

    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;


作品不像预期的那样。我必须配置一些东西才能使注射正常工作吗?

最佳答案

看来您将camunda fox 6.2 Process Applications与camunda BPM 7.0平台混合了。这是行不通的。您必须按照我们的migration guide中所述迁移您的Process Application。然后,您将有一个闪亮的camunda BPM 7.0应用程序:-)

干杯
伯恩德

关于java - Camunda Fox客户端-监听器启动错误,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/19131567/

10-10 16:29