[keycloak-user] Keycloak 1.7's static resources broken after :reload
Andrea Scarpino
me at andreascarpino.it
Tue Jan 23 11:58:57 EST 2018
Hi there,
I know 1.7 is really really really old, but I would like to know the
reason behind this behaviour.
Inoking ":reload", to restart the application server, breaks Keycloak
static resources. A second ":reload" in row solves that. A third time
will break it again and so on :-)
To reproduce, download and unzip 1.7.0.Final, setup HTTPS, start the
application server and try to fetch a static resource (e.g.
https://localhost:8443/auth/welcome-content/keycloak_logo.png). Now
:reload the application server (jboss-cli.sh --connect
--command=:reload) and try to fetch the same resource (or any other);
the request returns 404 and an exceptions is logged:
ERROR [io.undertow.request] (default task-25) UT005023: Exception
handling request to /auth/welcome-content/keycloak_logo.png:
java.lang.RuntimeException: request path:
/auth/welcome-content/keycloak_logo.png
To me, it looks like the request output stream is closed before the
data is sent to the client.
Stacktrace is attached.
Did you ever saw something like that?
Thank you in advance for your help.
Note: I cannot reproduce this with >= 1.8.0.Final, so this have
already been fixed somewhere, but I would like to know where. I cannot
reproduce it with WildFly 9.0.2.Final neither.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exception.log
Type: text/x-log
Size: 7602 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/keycloak-user/attachments/20180123/19d57a12/attachment-0001.bin
More information about the keycloak-user
mailing list