Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3333

Designer: host/port expectations seems to be hardcoded

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jBPM 5.2
    • jBPM 5.0
    • Designer
    • None

    Description

      Based on mailing list thread, attempting to configure JBPM Designer to work in an environment that is not localhost and/or not standard port 8080 will fail ("connection refused" has been seen).

      even though changes to the /designer.war/profiles/jbpm.xml file occur for configuring Guvnor interaction, there is still other code that connects to designer itself via localhost:8080 that needs to be updated.

      Example w/ jboss 5.1:
      Modify the -b name/ip binding on startup, modify the configuration to change default ports:
      "run.sh -b <myrealIPandnotlocalhost>"

      edit portoffset for default bindings: /server/<servername>/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml
      =================

      <!-- The ports-default bindings are obtained by taking the base bindings and adding 0 to each port value -->
      <bean name="PortsDefaultBindings" class="org.jboss.services.binding.impl.ServiceBindingSet">
      <constructor>
      <!-- The name of the set -->
      <parameter>ports-default</parameter>
      <!-- Default host name -->
      <parameter>${jboss.bind.address}</parameter>
      <!-- The port offset -->
      <parameter>40000</parameter>
      <!-- Set of bindings to which the "offset by X" approach can't be applied -->
      <parameter><null/></parameter>
      </constructor>
      </bean>
      =======================

      Attachments

        Activity

          People

            rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
            dhartford@changehealthcare.com Darren Hartford (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: