BPMS 6.2 にアップグレードすると、REST API を使用してビルドとデプロイを実行できない

Solution Verified - Updated -

Issue

  • BPMS 6.2 にアップグレードすると、REST API http://localhost:8080/business-central/rest/deployment/com.sample.projects:project1:1.0.0-SNAPSHOT/deploy でビルドとデプロイを実行することができません。この時、ユーザーは以下の応答を取得しますが、プロジェクトに保持されるプロセスはデプロイされません。
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>
  • BPMS 6.2 でどのような変更がありましたか?
  • UI からすべて実行できるのにも関わらず、プロジェクトのデプロイができないのはなぜですか?
  • web.xml を変更すると、このニューリリースで以下のようなものが追加されていました。これを有効にするには設定を変更する必要がありますか?
...
<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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.