2

Although this may be a duplicate of Problems in Firefox and Chrome with "Kie Drools Workbench 6.2.0 Final" after the login , I am posting it here again since the installation is a bit different.

I have a KIE-Workbench 6.3.0 running on a WildFly 8.2 / 9.0.1 on a Windows 2012 R2 server.

When accessing the workbench from localhost with any browser (IE, FF), everything works fine.

When accessing it remotely (IE, FF) over a fairly slow line (~5 MBit/s), I see the login screen, can enter the credentials and I can see only the "loading" screen afterwards: Firebug-screen of the non-working login

I do not know, why the system stays in this state forever, but I do suspect the GET A4E9BB... request. The requested URL is http://10.1.65.79/kie-wb/org.kie.workbench.drools.KIEDroolsWebapp/A4E9BB8E5D4AF88F8AE52E71876F3DDC.cache.js

Due to its size of over 6 Megabytes I fear that it is some kind of timeout...

On the server side, I do not get any error messages in any log.

Does anyone have any idea on this?

Community
  • 1
  • 1
Dominik Sandjaja
  • 6,326
  • 6
  • 52
  • 77

4 Answers4

2

I found a - possible - solution for the moment: The almost undocumented system property errai.bus.enable_sse_support=false which seems (!!!) to fix our problem.

Although, judging from the semantics of the property, this looks more like a workaround than an actual solution to the underlying problem ...

The relevant hint was found in this thread on the JBoss forums.

Dominik Sandjaja
  • 6,326
  • 6
  • 52
  • 77
1

I had the same problem where the errai.bus.enable_sse_support=false fix alone did not help at all. The switches zhrist used also did not help. I finally found a reference to errai hanging on startup here: Errai client-side startup problem

That article references this SO topic: How to solve performance problem with Java SecureRandom?

I plugged in the -Djava.security.egd=file:/dev/./urandom property found in Thomas Leonard's answer alongside the list of zhrist's properties and all of a sudden Drools is logging in 100% of the time.

It seems that the loading screen may be caused by waiting for entropy in the RNG to build up, while pointing to /dev/./urandom allows it to use Pseudo-random numbers instead. I'm not sure how this impacts any security/hashing/etc. that Drools may be employing, so be aware that this property may result in unintended consequences.

Community
  • 1
  • 1
devyndraen
  • 582
  • 3
  • 11
0

I had the same case. For me the solution with errai.bus.enable_sse_support=false did not help.

I had a noticeable improvement with this switches:

-Dorg.kie.demo=false -Dorg.kie.example=false -Derrai.bus.enable_sse_support=false 
-Dorg.uberfire.nio.git.daemon.enabled=false -Dorg.uberfire.nio.git.ssh.enabled=false

More you can read on Logon hung while logging on to KIE Workbench - on Google groups forum

zhrist
  • 1,169
  • 11
  • 28
0

I had the same issue with jbpm-installer-7.29.0.Final. The following worked for me:

Added two entries to build.xml under start.jboss in arg section:

  <arg value="-Djava.net.preferIPv4Stack=false" />
  <arg value="-Derrai.bus.enable_sse_support=false" />
ArtRy
  • 1