Public | Automated Build

Last pushed: 16 days ago
Short Description
jBPM Workbench
Full Description

jBPM Workbench Docker image

JBoss jBPM Workbench Docker image.

Table of contents

  • Introduction
  • Usage
  • Users and roles
  • Logging
  • GIT internal repository
  • Experimenting
  • Extending this image
  • Notes
  • Release notes

Introduction

The image contains:

  • JBoss Wildfly 10.0.0.Final
  • jBPM Workbench 6.5.0.Final
  • jBPM Dashbuilder 6.5.0.Final

This image provides the jBPM Workbench. It's intended to be extended so you can add your custom configurations.

If you don't want to extend this image and you just want to try jBPM Workbench take a look at the jboss/jbpm-workbench-showcase:latest Docker image, it contains some default configurations.

Usage

To run a container:

docker run -p 8080:8080 -p 8001:8001 -d --name jbpm-workbench jboss/jbpm-workbench:latest

Once container and web applications started, you can navigate into the jBPM Workbench at:

http://localhost:8080/jbpm-console

Users and roles

The application have no users or roles configured, so you cannot not access it by default,

In order to use it, at least you have to create an application user in JBoss Wildfly with role admin.

If you are looking for a jBPM Workbench image that does not require to add custom configurations, try our jboss/jbpm-workbench-showcase:latest Docker image.

If you want to create your custom configuration and users, role, etc, you can take a look at section Extending this image

Logging

You can see all logs generated by the standalone binary running:

docker logs [-f] <container_id>

You can attach the container by running:

docker attach <container_id>

The jBPM Workbench web application logs can be found inside the container at path:

/opt/jboss/wildfly/standalone/log/server.log

Example:
sudo nsenter -t $(docker inspect --format '{{ .State.Pid }}' $(docker ps -lq)) -m -u -i -n -p -w
-bash-4.2# tail -f /opt/jboss/wildfly/standalone/log/server.log

GIT internal repository

The workbench stores all the project artifacts in an internal GIT repository. By default, the protocol available for accessing the GIT repository is SSH at port 8001.

You can clone the GIT repository by running:

git clone ssh://admin@localhost:8001/system

By default, the GIT repository is created when the application starts for first time at $WORKING_DIR/.niogit, considering $WORKING_DIR as the current directory where the application server is started.

You can specify a custom repository location by setting the following Java system property to your target file system directory:

    -Dorg.uberfire.nio.git.dir=/home/youruser/some/path

NOTE: This directory can be shared with your docker host and with another containers using shared volumes when running the container, if you need so.

If necessary you can make GIT repositories available from outside localhost using the following Java system property:

    -org.uberfire.nio.git.ssh.host=0.0.0.0

You can set this Java system properties permanent by adding the following lines in your standalone-full.xml file as:

    <system-properties>
      <!-- Custom repository location. -->
      <property name="org.uberfire.nio.git.dir" value="/home/youruser/some/path"/>
      <!-- Make GIT repositories available from outside localhost. -->
      <property name="org.uberfire.nio.git.ssh.host" value="0.0.0.0"/>
    </system-properties>

NOTE: Users and password for ssh access are the same that for the web application users defined at the realm files.

Extending this image

You can extend this image and add your custom layers in order to add custom configurations, users, roles, etc.

In order to extend this image, your Dockerfile must inherit from:

FROM jboss/jbpm-workbench:latest

Configuring Wildfly

  • The Wildfly configuration files are located at /opt/jboss/wildfly/standalone/configuration
  • In this file you can modify all Wildfly's subsystem configurations
  • jBPM Workbench requires running Wildfly using full profile, so custom modifications should be done in standalone-full.xml configuration file

Users and roles

  • By default this image does not provide users and roles for jBPM Workbench

  • The available roles for jBPM Workbench examples are:

      ROLE        DESCRIPTION
      *************************************************
      admin       The administrator
      analyst     The analyst
      developer   The developer
      manager     The manager
      user        The end user
      kiemgmt     KIE management user
      Accounting  Accounting role
      PM          Project manager role
      HR          Human resources role
      sales       Sales role
      IT          IT role
    

These are the steps to create your custom users and roles by using realm files in Widlfly:

1.- Create a realm properties file for users and deploy it in /opt/jboss/wildfly/standalone/configuration:

    jbpm-users.properties
    ---------------------
    admin=admin
    analyst=analyst
    developer=developer
    manager=manager
    user=user

2.- Create a realm properties file for roles and deploy it in /opt/jboss/wildfly/standalone/configuration:

    jbpm-roles.properties
    ---------------------
    admin=admin
    analyst=analyst
    developer=developer
    manager=manager
    user=user

3.- Modify your standalone-full.xml in order to:

3.1 - In the management section, modify default the security-realm for the ApplicationRealm as:

    <security-realm name="ApplicationRealm">
          <authentication>
            <local default-user="$local" allowed-users="*" skip-group-loading="true"/>
            <properties path="jbpm-users.properties" relative-to="jboss.server.config.dir"/>
          </authentication>
          <authorization>
            <properties path="jbpm-roles.properties" relative-to="jboss.server.config.dir"/>
          </authorization>
      </security-realm>

3.2 - In the security subsystem, modify default the other security-domain for as:

    <security-domain name="other" cache-type="default">
      <authentication>
        <login-module code="UsersRoles" flag="required">
          <module-option name="usersProperties" value="${jboss.server.config.dir}/jbpm-users.properties"/>
          <module-option name="rolesProperties" value="${jboss.server.config.dir}/jbpm-roles.properties"/>
        </login-module>
      </authentication>
    </security-domain>

You can find an example by looking at the Dockerfile for jboss/jbpm-workbench-showcase:latest image.

Experimenting

To spin up a shell in one of the containers try:

docker run -t -i -p 8080:8080 -p 8001:8001 jboss/jbpm-workbench:latest /bin/bash

You can then noodle around the container and run stuff & look at files etc.

Notes

  • The context path for jBPM Workbench web application is jbpm-console and the context path for jBPM Dashbuilder web application is dashbuilder
  • jBPM Workbench version is 6.5.0.Final
  • jBPM Workbench requires running JBoss Wildfly using the full server profile
  • Examples and demos disabled by default (no internet connection required at startup)
  • No users or roles are configured by default
  • No support for clustering
  • Use of embedded H2 database server by default
  • No support for Wildfly domain mode, just standalone mode
  • This image is not intended to be run on cloud environments such as RedHat OpenShift or Amazon EC2, as it does not meet all the requirements.
  • Please give us your feedback or report a issue at Drools Setup or Drools Usage Google groups.

Release notes

6.5.0.Final

  • Use Wildfly 10.0.0.Final
  • Upgrade app to version latest = (6.5.0.Final)
  • Disabled examples (no internet connection required at startup)
  • Added KIE_DEMO environment variable to disable examples and demos if host do not have internet connection
Docker Pull Command
Owner
jboss
Source Repository

Comments (5)
lmagnin
a month ago

On OS X version 10.11.6, to avoid the following fatal error when starting the jbpm Docker Image version 6.5.0.Final & 6.5.0.Final-1

15:43:12,773 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.undertow.listener.default: org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Could not start http listener
    at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:142)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.SocketException: Protocol family unavailable
    at sun.nio.ch.Net.bind0(Native Method)
    at sun.nio.ch.Net.bind(Net.java:433)
    at sun.nio.ch.Net.bind(Net.java:425)
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
    at org.xnio.nio.NioXnioWorker.createTcpConnectionServer(NioXnioWorker.java:190)
    at org.xnio.XnioWorker.createStreamConnectionServer(XnioWorker.java:243)
    at org.wildfly.extension.undertow.HttpListenerService.startListening(HttpListenerService.java:126)
    at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:138)
    ... 5 more

I had to specify [docker run -p ...] -e JAVA_OPTS="-Xms256m -Xmx512m -Djava.net.preferIPv4Stack=true" [jboss/jbpm-workbench-showcase:6.5.0.Final-1].

It could also be done permanently by modifying the Dockerfile: ENV JAVA_OPTS -Xms256m -Xmx512m -Djava.net.preferIPv4Stack=true.

FYI:

> docker version
Client:
 Version:      17.05.0-ce-rc1
 API version:  1.29
 Go version:   go1.7.5
 Git commit:   2878a85
 Built:        Tue Apr 11 20:55:05 2017
 OS/Arch:      darwin/amd64

Server:
 Version:      17.05.0-ce-rc1
 API version:  1.29 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   2878a85
 Built:        Tue Apr 11 20:55:05 2017
 OS/Arch:      linux/amd64
 Experimental: true
romartin
2 years ago

Thanks for the information!!
We are just building new images for latest 6.3.0.Final versions, these images will contain artifacts for latest versions, some bug fixes and I will include this issue too, by testing the deployment on AWS, and if necessary, doing the fix/es before releasing, so I hope having the issue fixed soon. Please keep updated :)

Again, thanks for the info! Appreciated :)

nichuk
2 years ago

The only way I could get this to run in Amazon ECS was to extend the image and cause it to run as root by adding

USER root

into my dockerfile. Unfortunately, although then jBpm console seems to run fine, I have found problems uploading artifacts and building my projects (which work perfectly locally). I have also linked the repos, etc. to a persistent storage.
I think this is all to do with user permissions, but I haven't had enough time to dig into it. Everything else I run in there just runs as root, jboss is the only one with a specific user.

romartin
2 years ago

Hello,

Hmmm yes it's a ClassNotFoundException, never seen it before. Please let me check the image locally and apply the fix, if any.

In a few days we are going to release new docker images for latest 6.3.0.Final versions, so I will try to fix this issue for next build comming soon, will keep you updated. Thx for the feedback and sorry for late response, I was on PTO :)

dholtz
2 years ago

Attempting to run on an AWS Host with docker. Getting the following exceptions:

21:34:50,464 ERROR [stderr] (EJB default - 1) line 1:82 no viable alternative at character '\'
21:34:50,465 ERROR [stderr] (EJB default - 1) line 1:132 no viable alternative at character '\'
21:34:50,998 ERROR [org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaFileIndexer] (EJB default - 1) Unable to
index implemented interface qualified name for class: org.jbpm.examples.cmd.UserCommand, interface: org.kie.api.executor.Command: java.
lang.ClassNotFoundException: Unable to find class 'org.kie.api.executor.Command'
at org.drools.core.base.ClassTypeResolver.resolveType(ClassTypeResolver.java:231) [drools-core-6.2.0.Final.jar:6.2.0.Final]
at org.drools.core.base.ClassTypeResolver.resolveType(ClassTypeResolver.java:122) [drools-core-6.2.0.Final.jar:6.2.0.Final]
at org.drools.core.base.ClassTypeResolver.getFullTypeName(ClassTypeResolver.java:353) [drools-core-6.2.0.Final.jar:6.2.0.Final]

    at org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaFileIndexer.addJavaTypeTerms(JavaFileIndexer.java:

197) [kie-wb-common-data-modeller-backend-6.2.0.Final.jar:6.2.0.Final]
at org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaFileIndexer.toKObject(JavaFileIndexer.java:154) [k
ie-wb-common-data-modeller-backend-6.2.0.Final.jar:6.2.0.Final]
at org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaFileIndexer$Proxy$_$$_WeldClientProxy.toKObject(Un
known Source) [kie-wb-common-data-modeller-backend-6.2.0.Final.jar:6.2.0.Final]
at org.uberfire.ext.metadata.io.BatchIndex$3.visitFile(BatchIndex.java:171) [uberfire-metadata-commons-io-0.5.0.Final.jar:0.5.0
.Final]
at org.uberfire.ext.metadata.io.BatchIndex$3.visitFile(BatchIndex.java:140) [uberfire-metadata-commons-io-0.5.0.Final.jar:0.5.0
.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:63) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:44) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.Files.walkFileTree(Files.java:911) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.Files.walkFileTree(Files.java:930) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.ext.metadata.io.BatchIndex.run(BatchIndex.java:138) [uberfire-metadata-commons-io-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.ext.metadata.io.BatchIndex.run(BatchIndex.java:123) [uberfire-metadata-commons-io-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.ext.metadata.io.BatchIndex$1.run(BatchIndex.java:94) [uberfire-metadata-commons-io-0.5.0.Final.jar:0.5.0.Final]

    at org.uberfire.commons.async.SimpleAsyncExecutorService.execute(SimpleAsyncExecutorService.java:100) [uberfire-commons-0.5.0.F

inal.jar:0.5.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_79]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_79]
at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-8.1.0.
Final.jar:8.1.0.Final]
at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-8.1.0.Fin
al.jar:8.1.0.Final]
at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [
wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
at org.jboss.as.ejb3.concurrency.ContainerManagedConcurrencyInterceptor.processInvocation(ContainerManagedConcurrencyIntercepto
r.java:104) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.ja
va:55) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [
wildfly-weld-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-
8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:
53)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentI
nstanceAssociationInterceptor.java:52) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:260) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.notSupported(CMTTxInterceptor.java:324) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:237) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final
]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInter
ceptor.java:41) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) [wildfly-ej
b3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:95) [wildfly-ejb3-8.
1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
[wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [wildfly-ejb3-8.1.
0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55) [w
ildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)
at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:448)
at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)
at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185)
at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.LogDiagnosticContextRecoveryInterceptor.processInvocation(LogDiagnosticContextRecov
eryInterceptor.java:79) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.AsyncFutureInterceptorFactory$1$2.runInvocation(AsyncFutureInterceptorFactory.java:
97) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(AsyncInvocationTask.java:73) [wildfly-ejb3-8.1.0.Final.jar:
8.1.0.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)

21:34:51,004 ERROR [org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaFileIndexer] (EJB default - 3) Unable to
index implemented interface qualified name for class: org.jbpm.examples.cmd.UserCommand, interface: org.kie.api.executor.Command: java.
lang.ClassNotFoundException: Unable to find class 'org.kie.api.executor.Command'
at org.drools.core.base.ClassTypeResolver.resolveType(ClassTypeResolver.java:231) [drools-core-6.2.0.Final.jar:6.2.0.Final]
at org.drools.core.base.ClassTypeResolver.resolveType(ClassTypeResolver.java:122) [drools-core-6.2.0.Final.jar:6.2.0.Final]
at org.drools.core.base.ClassTypeResolver.getFullTypeName(ClassTypeResolver.java:353) [drools-core-6.2.0.Final.jar:6.2.0.Final]

    at org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaFileIndexer.addJavaTypeTerms(JavaFileIndexer.java:

197) [kie-wb-common-data-modeller-backend-6.2.0.Final.jar:6.2.0.Final]
at org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaFileIndexer.toKObject(JavaFileIndexer.java:154) [k
ie-wb-common-data-modeller-backend-6.2.0.Final.jar:6.2.0.Final]
at org.kie.workbench.common.screens.datamodeller.backend.server.indexing.JavaFileIndexer$Proxy$_$$_WeldClientProxy.toKObject(Un
known Source) [kie-wb-common-data-modeller-backend-6.2.0.Final.jar:6.2.0.Final]
at org.uberfire.ext.metadata.io.BatchIndex$3.visitFile(BatchIndex.java:171) [uberfire-metadata-commons-io-0.5.0.Final.jar:0.5.0
.Final]
at org.uberfire.ext.metadata.io.BatchIndex$3.visitFile(BatchIndex.java:140) [uberfire-metadata-commons-io-0.5.0.Final.jar:0.5.0
.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:63) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:85) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:44) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.Files.walkFileTree(Files.java:911) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.java.nio.file.Files.walkFileTree(Files.java:930) [uberfire-nio2-api-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.ext.metadata.io.BatchIndex.run(BatchIndex.java:138) [uberfire-metadata-commons-io-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.ext.metadata.io.BatchIndex.run(BatchIndex.java:123) [uberfire-metadata-commons-io-0.5.0.Final.jar:0.5.0.Final]
at org.uberfire.ext.metadata.io.BatchIndex$1.run(BatchIndex.java:94) [uberfire-metadata-commons-io-0.5.0.Final.jar:0.5.0.Final]

    at org.uberfire.commons.async.SimpleAsyncExecutorService.execute(SimpleAsyncExecutorService.java:100) [uberfire-commons-0.5.0.F

inal.jar:0.5.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_79]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_79]
at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-8.1.0.
Final.jar:8.1.0.Final]
at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-8.1.0.Fin
al.jar:8.1.0.Final]
at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [
wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
at org.jboss.as.ejb3.concurrency.ContainerManagedConcurrencyInterceptor.processInvocation(ContainerManagedConcurrencyIntercepto
r.java:104) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.ja
va:55) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [
wildfly-weld-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-
8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:
53)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentI
nstanceAssociationInterceptor.java:52) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:260) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.notSupported(CMTTxInterceptor.java:324) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:237) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final
]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInter
ceptor.java:41) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) [wildfly-ej
b3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:95) [wildfly-ejb3-8.
1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
[wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [wildfly-ejb3-8.1.
0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55) [w
ildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)
at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:448)
at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)
at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185)
at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182)
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.LogDiagnosticContextRecoveryInterceptor.processInvocation(LogDiagnosticContextRecov
eryInterceptor.java:79) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
at org.jboss.as.ejb3.component.interceptors.AsyncFutureInterceptorFactory$1$2.runInvocation(AsyncFutureInterceptorFactory.java:
97) [wildfly-ejb3-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(AsyncInvocationTask.java:73) [wildfly-ejb3-8.1.0.Final.jar:
8.1.0.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)