Bug 1275628
| Summary: | WAS: BigApp - Appraisal task is not generated | ||
|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Pavel Kralik <pkralik> |
| Component: | Business Central | Assignee: | Marco Rietveld <mrietvel> |
| Status: | CLOSED EOL | QA Contact: | Lukáš Petrovický <lpetrovi> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.2.0 | CC: | kverlaen, lpetrovi, rrajasek |
| Target Milestone: | CR1 | ||
| Target Release: | 6.2.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-27 20:08:19 UTC | 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: | |||
| Bug Depends On: | 1277466 | ||
| Bug Blocks: | |||
have you reconfigured WAS ports from the defaults? Reason I ask is that by default WAS exposes HTTP services over 9080 port and not 8080 (as EAP does) and thus web service URL defined in the process [1] will not work. Moreover the URL to the web service might look slightly different on WAS so that needs to be checked as well. [1] https://github.com/jboss-integration/jboss-bpm-example-app/blob/master/mortgage-demo-repo/src/main/resources/mortgage-demo/MortgageApplication/src/main/resources/com/redhat/bpms/examples/mortgage/MortgageApplication.bpmn2#L244 I have verified that that the root cause of this is wrong URL to WSDL of the web service. When the web service application is deployed to WAS it will then expose its WS on following URL: http://was-host:9080/jboss-mortgage-demo-ws/CreditServiceService?WSDL which in turn will be redirected to: http://was-host:9080/jboss-mortgage-demo-ws/CreditServiceService/CreditServiceService.wsdl NOTE: you need to replace was-host with actual host where WAS is running. So I recommend to use the later as it does not involve redirections which might not be properly handled by WS client used in WebServiceWorkItemHandler. Once the correct URL to WSDL is used Appraisal task is created properly this change needs to be done on Mortgage process level for Credit Report activity, moving to modified to be retested (In reply to Maciej Swiderski from comment #2) > have you reconfigured WAS ports from the defaults? > > Reason I ask is that by default WAS exposes HTTP services over 9080 port and > not 8080 (as EAP does) and thus web service URL defined in the process [1] > will not work. > > Moreover the URL to the web service might look slightly different on WAS so > that needs to be checked as well. > > [1] > https://github.com/jboss-integration/jboss-bpm-example-app/blob/master/ > mortgage-demo-repo/src/main/resources/mortgage-demo/MortgageApplication/src/ > main/resources/com/redhat/bpms/examples/mortgage/MortgageApplication. > bpmn2#L244 I configured deployed service to default port. 9080 |
Description of problem: Data Corection task is generated and Amortization is changed to 30, but Appraisal task is not generated then. //Test data from babak's video; Amortization 28 intentionally incorrect to test Data Correction HT {"Babak Mozaffari", "12300 Wilshire Blvd., Los Angele, CA", "333224444", "200000", "1000000", "200000", "28"} Version-Release number of selected component (if applicable): BPMS 6.2.0.ER4 How reproducible: Always Steps to Reproduce: 1. Deploy business central to WAS 2. Deploy and start jboss-mortgage-demo-ws.war with WAS console and check if service is running 3. Run BigApp with above data. Actual results: Appraisal task is not generated Expected results: Appraisal task is generated Additional info: