After upgrading to BPMS 6.2 users are not able to perform build and deploy using REST API
Issue
- After upgrading to
BPMS 6.2
users are not able to perform build and deploy using REST APIhttp://localhost:8080/business-central/rest/deployment/com.sample.projects:project1:1.0.0-SNAPSHOT/deploy
. While doing so users get the following response and the process kept inside the project is not getting deployed.
14:36:56,029 WARN [org.jbpm.process.workitem.rest.RESTWorkItemHandler] (Thread-7 (HornetQ-client-global-threads-149847088)) Unsuccessful response from REST server (status: 401, endpoint: http://localhost:8080/business-central/rest/deployment/com.sample.projects:project1:1.0.0-SNAPSHOT/deploy, response: <html><head><title>JBWEB000065: HTTP Status 401 - </title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>JBWEB000065: HTTP Status 401 - </h1><HR size="1" noshade="noshade"><p><b>JBWEB000309: type</b> JBWEB000067: Status report</p><p><b>JBWEB000068: message</b> <u></u></p><p><b>JBWEB000069: description</b> <u>JBWEB000121: This request requires HTTP authentication.</u></p><HR size="1" noshade="noshade"></body></html>
- What has changed in
BPMS 6.2
? - Why can users do everything from the UI and now they can't deploy the projects?
- I changed
web.xml
it looks like the following were added in this new release. Do users need to make any configuration changes to it to make it work?
...
<context-param>
<param-name>resteasy.role.based.security</param-name>
<param-value>true</param-value>
</context-param>
...
Environment
- Red Hat JBoss BPM Suite (BPMS)
- 6.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.