How to change the address where Guvnor and Designer are running ?

Solution Verified - Updated -

Issue

  • If JBoss is bound to an IP address different than localhost (using the -b parameter), the business process designer doesn't work. It's impossible to load or save diagrams.
  • Having configured JBoss Enterprise BRMS server to run on specific IP address, the BRM (i.e. Guvnor) throws the following exception while saving a process definition from Designer. Any idea how to fix this issue or are there any configuration changes which needs to accompany with respect to this IP address change?
ERROR [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http-/10.10.10.10:8000-27) Failed to setup workitem svg images : Connection refused
...
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/designer].[StencilSetServiceServlet]] (http-/10.10.10.10:8000-33) Servlet.service() for servlet StencilSetServiceServlet threw exception: java.lang.IllegalArgumentException: java.io.FileNotFoundException: /tmp/jboss-eap-6.0/standalone/deployments/designer.war/stencilsets/bpmn2.0jbpm/view/activity/workitems/Log.svg (No such file or directory)
        at org.jbpm.designer.web.stencilset.impl.LocalStencilSetImpl.getResourceContents(LocalStencilSetImpl.java:46) [classes:]
        at org.jbpm.designer.web.stencilset.impl.StencilSetServiceServlet.doGet(StencilSetServiceServlet.java:89) [classes:]
       ...
Caused by: java.io.FileNotFoundException: /tmp/jboss-eap-6.0/standalone/deployments/designer.war/stencilsets/bpmn2.0jbpm/view/activity/workitems/Log.svg (No such file or directory)
        at java.io.FileInputStream.open(Native Method) [rt.jar:1.6.0_24]
        at java.io.FileInputStream.<init>(FileInputStream.java:137) [rt.jar:1.6.0_24]
        at org.jbpm.designer.web.stencilset.impl.LocalStencilSetImpl.getResourceContents(LocalStencilSetImpl.java:44) [classes:]
        ... 19 more
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/designer].[StencilSetServiceServlet]] (http-/10.10.10.10:8000-27) Servlet.service() for servlet StencilSetServiceServlet threw exception: java.lang.IllegalArgumentException: java.io.FileNotFoundException: /tmp/jboss-eap-6.0/standalone/deployments/designer.war/stencilsets/bpmn2.0jbpm/view/activity/workitems/Email.svg (No such file or directory)
...
  • Open BPMN process in Guvnor, Process Diagram disappear, The sever log have the rest request return 401 error:
09:16:18,847 ERROR [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http-/0.0.0.0:8070-3) Server returned HTTP response code: 401 for URL: http://localhost:8080/jboss-brms/rest/packages/
09:16:18,894 ERROR [org.jbpm.designer.web.server.ServletUtil] (http-/0.0.0.0:8070-3) Server returned HTTP response code: 401 for URL: http://localhost:8080/jboss-brms/rest/packages/

Environment

  • JBoss Enterprise Business Rules Management System Platform (BRMS)
    • 5.3.x
  • jBPM
    • 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content