How do I change the ports on V7.1.3 of the community edition?

1
0
-1

I'm getting a conflict when I run the turtorial Create travel request links to http://localhost:8080/bonita/portal and xdb is already running using this port.

Arcticles say change C:\BonitaSoft\BonitaBPMCommunity-7.1.3\workspace\tomcat\conf\server.xml
but port 8080 is commented out.
Any help is appreciated.
Chris

1 answer

1
0
-1

Hi Chris,

Tutorial explain to build the URL to process instantiation form with the following code:

'http://localhost:8080/bonita/portal/resource/process/Travel%20Request%20Solution/1.0/content/?id=' + processDef[0].id

Actually when you run Bonita Portal from the Studio, Studio embedded Tomcat automatically adjust the port number (default 8080) to a random free port. That's probably explain your issue.

What have would recommend is to build the URL without the server part:

 '/bonita/portal/resource/process/Travel%20Request%20Solution/1.0/content/?id=' + processDef[0].id

Note that you need to use a "link" widget and not a "button" widget. Also make sure you configure "Target URL" to be "bind to an expression".

I will update the documentation ASAP.

Hope this helps.

Notifications