Bug 797966 - Cannot login into jBPM Console when deployed in cluster
Summary: Cannot login into jBPM Console when deployed in cluster
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM Console
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ER8
: BRMS 5.3.0.GA
Assignee: Ryan Zhang
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-27 16:37 UTC by Jiri Locker
Modified: 2023-05-15 19:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
clustered EAP 5.1 (the one included in standalone package)
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
server.log (43.73 KB, text/plain)
2012-02-27 16:40 UTC, Jiri Locker
no flags Details
PaleScreenOfDeath.png (53.56 KB, image/png)
2012-02-27 16:47 UTC, Jiri Locker
no flags Details
errai-bus jar update to test with (771.51 KB, application/java-archive)
2012-03-15 16:21 UTC, Tihomir Surdilovic
no flags Details

Description Jiri Locker 2012-02-27 16:37:22 UTC
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 1 Jiri Locker 2012-02-27 16:40:04 UTC
Created attachment 566086 [details]
server.log

Comment 2 Jiri Locker 2012-02-27 16:47:41 UTC
Created attachment 566089 [details]
PaleScreenOfDeath.png

Comment 3 Kris Verlaenen 2012-02-28 23:57:22 UTC
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 15:39:01 UTC
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 15:43:42 UTC
There is no 1.1 Errai branch. It only has 1.3 and 2.1 in github.

Comment 7 Tihomir Surdilovic 2012-03-15 16:21:23 UTC
Created attachment 570341 [details]
errai-bus jar update to test with

Comment 8 Tihomir Surdilovic 2012-03-15 16:24:05 UTC
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 16:26:53 UTC
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 09:04:34 UTC
The issue is gone with the patched errai-bus-1.1-Final.jar.

Comment 11 Ryan Zhang 2012-03-21 10:07:07 UTC
Please verify this issue on ER5.

Thanks!

Comment 12 Jiri Locker 2012-03-26 13:43:55 UTC
Fix verified.

Comment 16 Jiri Locker 2012-05-11 13:14:40 UTC
The issue recurred in ER6 with the same symptoms.

Comment 17 Lukáš Petrovický 2012-05-12 10:41:01 UTC
This issue reappeared, requesting blocker+.

Comment 18 Tihomir Surdilovic 2012-05-22 12:07:12 UTC
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 15:43:48 UTC
+1. Assigning to Ryan.

Comment 20 Ryan Zhang 2012-05-23 09:33:52 UTC
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 09:08:03 UTC
Please verify them on ER8.


Note You need to log in before you can comment on or make changes to this bug.