[英]jBPM Workbench & KIE Server interaction
I am running 7.0.0.CR2 of workbench and server in a docker container. 我在Docker容器中运行工作台和服务器的7.0.0.CR2。 It looks on first view that they are working perfectly together.
乍一看,他们正在完美地合作。 However, when I select the tasks tab in the workbench I get the following error:
但是,当我在工作台中选择“任务”选项卡时,出现以下错误:
Unable to complete your request.
无法完成您的请求。 The following exception occurred: Can't lookup on specified data set: jbpmHumanTasksWithUser.
发生以下异常:无法查找指定的数据集:jbpmHumanTasksWithUser。
This lead me to this bug: https://issues.jboss.org/browse/JBPM-5432 这导致我发现此错误: https : //issues.jboss.org/browse/JBPM-5432
There they are saying that this is caused by a user not having the kie-server role. 他们说这是由没有kie-server角色的用户引起的。 There is no kie-server role in my installation, there is however a kie-server group, and the user I am using is a member of this group.
我的安装中没有kie-server角色,但是有一个kie-server组,我使用的用户是该组的成员。
Dockerfile and user and role files can be found here: Dockerfile以及用户和角色文件可以在这里找到:
https://gist.github.com/martijnburger/c9a1072746d94ffe4beff72830e03ca7 https://gist.github.com/martijnburger/c9a1072746d94ffe4beff72830e03ca7
I believe it could be due to a missing login module in your set up, to ensure the role/authentication is passed on to the Kie Server, you need to add a custom login module. 我相信这可能是由于您的设置中缺少登录模块所致,为了确保将角色/身份验证传递给Kie Server,您需要添加一个自定义登录模块。 Please check this example as reference: https://github.com/cristianonicolai/kie-wb-dev-docker/blob/master/src/main/resources/standalone-full-kie.xml#L379
请检查此示例作为参考: https : //github.com/cristianonicolai/kie-wb-dev-docker/blob/master/src/main/resources/standalone-full-kie.xml#L379
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.