Bug 818614

Summary: When standalone is run other than ports-default, BPMN2 diagrams do not save.
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Brian Ashburn <bashburn>
Component: BRM (Guvnor)Assignee: manstis
Status: MODIFIED --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GA   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brian Ashburn 2012-05-03 14:25:37 UTC
Description of problem:
If I start BRMS 5.3.0.ER6 using -Djboss.service.binding.set=ports-default and create or import a BPMN2 diagram, it saves to Guvnor fine. If I then stop and start the server with -Djboss.service.binding.set=ports-01 and edit or create a BPMN2 diagram, when I save the diagram, it disappears from the designer view. When I look at the log, I see this message: 

Version-Release number of selected component (if applicable):
I've tested this on ER6 and the version of ER5 that was given for the SA product training.

How reproducible:
All the time

Steps to Reproduce:
1. Start BRMS standalone with -Djboss.service.binding.set=ports-default
2. Create a BPMN2 process.
3. Add events and tasks to the diagram or import an existing BPMN2 diagram.
4. Save the diagram.
5. Stop the application server.
6. Start the same server with -Djboss.service.binding.set=ports-01
7. Log in and open the BPMN2 diagram that was saved before.
7a. Create a new BPMN2 diagram and add some items to it.
7b. Save the diagram.
  
Actual results:
The diagrams do not show running under anything other than the default ports. There is a log message that says: ERROR [UUIDBasedJbpmRepository] Unable to connect to Gunvor. Is it running? [Connection refused]

Expected results:
Should be able to see and edit the diagram.

Additional info:

Comment 1 Tihomir Surdilovic 2012-05-03 14:33:41 UTC
Designer by default expects Guvnor to run on localhost:8080, Guvnor expects Designer by default to run on localhost:8080. Please read chapter 10 of the jBPM documentation to see how you can configure both Guvnor and Designer to use different domain and port than the default.