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
Created attachment 566086 [details] server.log
Created attachment 566089 [details] PaleScreenOfDeath.png
We are patching Errai 1.1-Final to fix an issue where the SessionsContainer is not serializable. Hopefully that should solve the issue.
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.
There is no 1.1 Errai branch. It only has 1.3 and 2.1 in github.
Created attachment 570341 [details] errai-bus jar update to test with
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.
The attached jar is just for testing purposes - if it fixes the problem we will do a 1.1.1-Final errai release
The issue is gone with the patched errai-bus-1.1-Final.jar.
Please verify this issue on ER5. Thanks!
Fix verified.
The issue recurred in ER6 with the same symptoms.
This issue reappeared, requesting blocker+.
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.
+1. Assigning to Ryan.
Patch jars are added in product build. Mark it as modified. Hopefully we could get it fixed for source in future.
Please verify them on ER8.