我通过RemoteRuntimeEngine进行的每笔交易
RemoteRestRuntimeFactory factory = new RemoteRestRuntimeFactory(deploymentId, new URL(url), user, psw);
RemoteRuntimeEngine engine = factory.newRuntimeEngine();
TaskService taskService = engine.getTaskService();
List<TaskSummary> tasks = taskService.getTasksOwned(user, "en-UK");
通过REST
调用GetTasksOwnedCommand时出错JBoss Web / 7.2.2.Final-redhat-1 - JBWEB000064:错误报告
JBWEB000309:输入< / b> JBWEB000067:状态报告
JBWEB000068:消息验证失败。
JBWEB000069:说明 JBWEB000121:此请求需要HTTP身份验证。
我的Stacktrace
at org.kie.services.client.api.command.AbstractRemoteCommandObject.executeRestCommand(AbstractRemoteCommandObject.java:342)
13:26:38,851 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) at org.kie.services.client.api.command.AbstractRemoteCommandObject.execute(AbstractRemoteCommandObject.java:110)
13:26:38,851 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) at org.jbpm.services.task.impl.command.CommandBasedTaskService.getTasksOwned(CommandBasedTaskService.java:194)
13:26:38,852 ERROR [stderr] (http-localhost/127.0.0.1:8080-2) at com.redhat.gss.SearchTasksServlet.doPost(SearchTasksServlet.java:36)
答案 0 :(得分:1)
您使用的是哪个版本的jBPM?您需要确保客户端使用与服务器相同的版本。 用户和密码是否正确?你可以通过用户界面登录吗?