Bug 1012019

Summary: OOTB - The BPEL console does not allow users to login until after a BPEL process is deployed
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Len DiMaggio <ldimaggi>
Component: BPEL IntegrationAssignee: Gary Brown <gbrown>
Status: CLOSED CURRENTRELEASE QA Contact: lvaskova
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: atangrin, gbrown, rzhang, soa-p-jira
Target Milestone: ER7   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Release Note
Doc Text:
For Beta User has to deploy before attempting to log in to the conosle, or login will not work.
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:
Attachments:
Description Flags
BPEL login screenshot none

Description Len DiMaggio 2013-09-25 14:49:59 UTC
Description of problem:

Related to bugzilla:  https://bugzilla.redhat.com/show_bug.cgi?id=1011665

After BPEL users are created, they cannot log into the BPEL console until after a BPEL process is deployed. Before a process is deployed, login attempts are blocked - the user is shown this error:

     BPEL Engine is not started

Version-Release number of selected component (if applicable):
ER3

How reproducible:
100%

Steps to Reproduce:
1. Create users as described in: https://bugzilla.redhat.com/show_bug.cgi?id=1011665
2. Attempt to log into the BPEL console
3. 

Actual results:
The user is blocked from logging into the console

Expected results:
Why can't the user login before a BPEL process is deployed?

Additional info:
See attached screenshot

Comment 1 Len DiMaggio 2013-09-25 14:51:22 UTC
Created attachment 802899 [details]
BPEL login screenshot

Comment 2 Gary Brown 2013-09-25 15:06:58 UTC
The reason for this is that the BPEL console (currently) needs the BPEL engine to be initialized. However the BPEL engine is only initialized after a BPEL process is deployed - to avoid unnecessary startup delay in switchyard if user is not using BPEL.

Comment 3 Gary Brown 2013-09-25 16:12:58 UTC
Had a look, and this error is displayed if the console gets a login failure that is not authentication related:

bpm-console project:
gui/war/src/main/java/org/jboss/bpm/console/client/LoginView.java

This won't be a quick fix, so suggest it should be post-beta.

Comment 4 Anne-Louise Tangring 2013-09-26 12:45:23 UTC
We need to make sure it's documented for Beta so the user knows to deploy before attempting to log in to console. Agree it has to be fixed for GA.

Comment 8 Gary Brown 2013-10-31 12:30:50 UTC
Applied part of the fix - to enable the console server to cause the engine to be initialized even if no BPEL processes have been deployed. Remainder of solution should be provided when the login mechanism is changed in the console to use the Overlord SSO mechanism.

Comment 9 JBoss JIRA Server 2013-10-31 12:34:34 UTC
Gary Brown <gary> updated the status of jira RIFTSAW-545 to Resolved

Comment 10 Gary Brown 2013-10-31 15:57:33 UTC
*** Bug 947313 has been marked as a duplicate of this bug. ***

Comment 11 lvaskova 2013-12-16 09:46:10 UTC
Verified on ER7