AnsweredAssumed Answered

Running fox platform ce 1.25.0 with JobExecutor

Question asked by naag on Jul 20, 2012
Hi all,

I'm now trying out fox platform ce, release 1.25.0 with an activated JobExecutor. According to the documentation at https://app.camunda.com/confluence/display/foxUserGuide/Configuration+of+the+fox+platform, we need to set the JBoss subsystem configuration like this (also some other options set):


<subsystem xmlns="urn:com.camunda.fox.fox-platform:1.0">
  <process-engines>
    <process-engine name="default" default="true">
      <datasource>java:/DB/Activiti</datasource>
      <history-level>full</history-level>
      <properties>
        <property name="isAutoSchemaUpdate">false</property>
        <property name="isIdentityUsed">false</property>
        <property name="isActivateJobExecutor">true</property>
      </properties>
    </process-engine>
  </process-engines>
</subsystem>

Unfortunately there seems to be a bug in the property parser resulting in the following stacktrace:


13:29:26,590 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
13:29:26,792 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
13:29:26,874 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" starting
13:29:27,790 INFO  [org.xnio] XNIO Version 3.0.3.GA
13:29:27,791 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
13:29:27,799 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
13:29:27,806 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.2.GA
13:29:27,827 INFO  [org.jboss.as.configadmin] JBAS016200: Activating ConfigAdmin Subsystem
13:29:27,829 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
13:29:27,855 INFO  [org.jboss.as.webservices] (ServerService Thread Pool – 49) JBAS015537: Activating WebServices Extension
13:29:27,877 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool – 32) JBAS010280: Activating Infinispan subsystem.
13:29:27,888 INFO  [org.jboss.as.osgi] (ServerService Thread Pool – 40) JBAS011940: Activating OSGi Subsystem
13:29:27,915 INFO  [org.jboss.as.security] (ServerService Thread Pool – 45) JBAS013101: Activating Security Subsystem
13:29:27,923 INFO  [org.jboss.as.naming] (ServerService Thread Pool – 39) JBAS011800: Activating Naming Subsystem
13:29:27,958 INFO  [org.jboss.as.security] (MSC service thread 1-3) JBAS013100: Current PicketBox version=4.0.6.final
13:29:27,975 INFO  [org.jboss.as.connector] (MSC service thread 1-7) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.7.Final)
13:29:27,980 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool – 51) JBAS014612: Operation ("add") failed - address: ([
    ("subsystem" => "fox-platform"),
    ("process-engines" => "default")
]): java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
   at com.camunda.fox.platform.impl.service.ProcessEngineController.<init>(ProcessEngineController.java:100)
   at com.camunda.fox.platform.subsystem.impl.service.ContainerProcessEngineController.<init>(ContainerProcessEngineController.java:48)
   at com.camunda.fox.platform.subsystem.impl.extension.handler.ProcessEngineAdd.performRuntime(ProcessEngineAdd.java:140)
   at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]
   at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:387) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]
   at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:274) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]
   at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:202) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]
   at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:311) [jboss-as-controller-7.1.0.Final.jar:7.1.0.Final]
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_31]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_31]
   at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_31]
   at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:2.0.0.GA]

Does anybody have the same experience? I believe this should work, anything I'm doing wrong?

Going through the source I see that 1.26.0-SNAPSHOT might have fixed it by using Boolean.valueOf(). But I failed in building that release from Git due to missing the POM com.camunda.fox.platform:fox-platform-core-bom:pom:1.26.0-SNAPSHOT. Are we not supposed to build fox platform ce from source or do I miss some secret repository which is not in the POM?

Thanks :-)

Outcomes