Red Hat Bugzilla – Full Text Bug Listing
|Summary:||Cannot login into jBPM Console when deployed in cluster|
|Product:||[JBoss] JBoss Enterprise BRMS Platform 5||Reporter:||Jiri Locker <jlocker>|
|Component:||jBPM Console||Assignee:||Ryan Zhang <rzhang>|
|Status:||VERIFIED ---||QA Contact:||Jiri Locker <jlocker>|
|Version:||BRMS 5.3.0.GA||CC:||atangrin, brms-jira, kverlaen, lpetrovi, tsurdilo, zkrejcov|
|Target Release:||BRMS 5.3.0.GA|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
clustered EAP 5.1 (the one included in standalone package)
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
Description Jiri Locker 2012-02-27 11:37:22 EST
Description of problem: Firstly, when http://localhost:8080/jbpm-console/ is accessed, an exception is logged by tomcat: > 15:48:42,447 ERROR [[ErraiServlet]] Servlet.service() for servlet ErraiServlet threw exception > java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute Secondly, the login box shows up as expected. However, after providing correct login and password and hitting "Login", the login process ends with an empty screen (a.k.a. "pale screen of death"). Version-Release number of selected component (if applicable): BRMS 5.3.0 ER4 How reproducible: always Steps to Reproduce: 1. use 'all' profile (clustering-enabled) 2. make jbpm-console.war <distributable/> (WEB-INF/web.xml) 3. start the all profile 4. go to http://localhost:8080/jbpm-console/ and check server.log for the exception 5. try to log in, you end up with the pale screen Actual results: * ErraiServlet throws IllegalArgumentException * the login process does not complete correctly Expected results: * no exception in the log when jbpm-console is accessed * it is possible to log in Additional info: attached server.log and screenshot
Comment 2 Jiri Locker 2012-02-27 11:47:41 EST
Created attachment 566089 [details] PaleScreenOfDeath.png
Comment 3 Kris Verlaenen 2012-02-28 18:57:22 EST
We are patching Errai 1.1-Final to fix an issue where the SessionsContainer is not serializable. Hopefully that should solve the issue.
Comment 5 Tihomir Surdilovic 2012-03-15 11:39:01 EDT
We cannot patch Errai 1.1-Final tag directly - it does not build because of missing dependencies. I was able to make this change and build the Errai 1.3 branch (https://github.com/errai/errai/tree/1.3) and build it. Before we go further, question is on QA if we can even include SNAPSHOT versions as dependencies? Don't think this would pass a deployment anyways and don't think we can use snapshot depends in the product either.
Comment 6 Tihomir Surdilovic 2012-03-15 11:43:42 EDT
There is no 1.1 Errai branch. It only has 1.3 and 2.1 in github.
Comment 7 Tihomir Surdilovic 2012-03-15 12:21:23 EDT
Created attachment 570341 [details] errai-bus jar update to test with
Comment 8 Tihomir Surdilovic 2012-03-15 12:24:05 EDT
Was able to build errai 1.1.Final it with some small changes afterall: to test replace your /jboss-as-web/server/<CONFIG>/deploy/gwt-console-server.war/WEB-INF/lib/errai-bus-1.1-Final.jar ./jboss-as-web/server/<CONFIG>/deploy/jbpm-console.war/WEB-INF/lib/errai-bus-1.1-Final.jar and let us know if this fixes the problem or introduces some new issues.
Comment 9 Tihomir Surdilovic 2012-03-15 12:26:53 EDT
The attached jar is just for testing purposes - if it fixes the problem we will do a 1.1.1-Final errai release
Comment 10 Jiri Locker 2012-03-16 05:04:34 EDT
The issue is gone with the patched errai-bus-1.1-Final.jar.
Comment 11 Ryan Zhang 2012-03-21 06:07:07 EDT
Please verify this issue on ER5. Thanks!
Comment 12 Jiri Locker 2012-03-26 09:43:55 EDT
Comment 16 Jiri Locker 2012-05-11 09:14:40 EDT
The issue recurred in ER6 with the same symptoms.
Comment 17 Lukáš Petrovický 2012-05-12 06:41:01 EDT
This issue reappeared, requesting blocker+.
Comment 18 Tihomir Surdilovic 2012-05-22 08:07:12 EDT
We are unable to build errai and erra-workspaces because the versions that are being used in the console no longer have the sources and branches available. The best thing I can tell is that the production build needs to replace the errai jar with the one attached in this BZ and that is also the one that was tested with by QA previously.
Comment 19 Jiri Locker 2012-05-22 11:43:48 EDT
+1. Assigning to Ryan.
Comment 20 Ryan Zhang 2012-05-23 05:33:52 EDT
Patch jars are added in product build. Mark it as modified. Hopefully we could get it fixed for source in future.
Comment 21 Ryan Zhang 2012-05-25 05:08:03 EDT
Please verify them on ER8.