[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[starter-dev] EE 11 Web Profile Support in Archetype
|
- From: Reza Rahman <reza_rahman@xxxxxxxx>
- Date: Sun, 6 Apr 2025 20:31:27 -0400
- Delivered-to: starter-dev@xxxxxxxxxxx
- List-archive: <https://dev.eclipse.org/mailman/private/starter-dev/>
- List-help: <mailto:starter-dev-request@eclipse.org?subject=help>
- List-subscribe: <https://dev.eclipse.org/mailman/listinfo/starter-dev>, <mailto:starter-dev-request@eclipse.org?subject=subscribe>
- List-unsubscribe: <https://dev.eclipse.org/mailman/options/starter-dev>, <mailto:starter-dev-request@eclipse.org?subject=unsubscribe>
- Ui-outboundreport: notjunk:1;M01:P0:L1FJC+D0YIQ=;dZN38Xh8I+MSk4QMvLphbNgDDyD BqWRcXYDuVd+BmW7MedrjdYg3KJ+Y+N+bEfDV+IbapcvOlo3yL47LwqYpIR/pygLqZkcMduyt gtbWC7mPIBr4CIGOMMdUr54eBcKEaj+0zXnAuubVYq6P/w4OwL978Y5ma54QoMoLNEjEZt83X KHyzZ5m2IiFtuYTVPsL42El0Jyd/XxX1bXYOJ6fU9xeePEw0+aUWUL9L8BBHHrIqilct7hIUU MWeATI+Jh/RtQTHBjtlFEVTk7J9S4VqaXLLOH/OS/vSyOCCzyl6/tRWekIYwRxlhAd+YUNTyN OdJ8hgdNPetVH5Tg9Ib6s/gg1UBIHViXE+f+Mmz2H2dDEj8lO1NUZYd7V/XxNyiaB4pZx5628 cOAPFG2pNUUkRgDDgvgZMaeOfefumUGgOFypEXktWsGOsNy83+rNp/44hgXI4dxoyVD6dl+di 5kblG3WBGQWeeqoNQKCE8VqFr0HeT1OReZFIzCUh8/lyG7goSY/PvwkBcfvYmnb8+FJdnGCuW 4vbhp1EHIhxsSj1hpaeRCe+wcZXt6dfZGZcaI5G1HQdhoA5tLkWgV/2Y1I6f7IJw2ATNsBOWh RslXZw6oVEXYIltjtFgVyJhWi7/EgNUaXfJ9KVuSS7pg6MLCEYMv+IH/vIzONwA9Ft4tfoGtY dHw5GyUU3GAqn40wlPR75mOAlX0tP8r/MakxEKg1Q3gcyVG7+bskE4QlfJVSatvwIYGVDt3Dl THgAeNZc4CuXEgDHlrNRwG5mcT+HU7rhqgs0W4b2tHVtnxS5f9hf3uTXZdHUD4Kv0qIQV23iF y28L181wp8ilxAz5gi6bKiwHQFzZuyXXQ/i9C01vXd7wOt62B1xJi56R1WEjndnjKPx2Uia51 KEGkbi5L/XiSA58xmN/IzORy5N0EbRNlTYdlxnLxQBKyi0kCA5dRY6TiVGJY/SDSO4c24g3IZ AAIdH1qeJ2u229bcyT1KbNM7/LPgxjOeP0sLA+F9Do+AxjRP/XCUmHLyzWlypOfwx27ejtzdI y4FcU6s6qk2bt+hwR7QAHG7bmxDUyDfnjHgJty+Dp+MZ4C32lGYIxoUfr6JZypUpX0tzI+aW0 9DSk+H0LTfX6WhboXz/wzXLbg41LT8k6gN7Y49bIXDSVPKwDUcSxaLb6JNKDoHbQRS4fVU7DM EAisvwEwtj7T3WOY8Rtn+6WW6H2fVmwilpdbBddQRZBS5nrXlBbzFZwnlxWaIixawBHBtwgh9 GnjFKJt1iV1ae3hbqFP8xdN0hBUbWY5ubrF+/J7Thqpan5qDo+z7+48OQv9LBEWP/xZbJpcTi dkMIjnscGvuWS3p4CTqMsFKCcg7/rsyZHJvhARIruPcCbeuOqhYAImlYXpFYcJPcOhEhkVbZI g7tLE5R6CoG9wJUIvNsgyGqDksAcxAv9W+cAw2nom4oeGgR6yRfMcmZ1ErEuUFg2FVnF2u/G8 g7r1xmC8s1M78URgTvbOw0GP4FENFmj87eNKmI4VNkBYpXrXFMliM2HaWg0qg2QNP2HkTlw==
- User-agent: Mozilla Thunderbird
Hi folks,
I've now added EE 11 Web Profile support in the Archetype. Also,
WildFly became EE 11 Core Profile certified recently. Can you
please test for good measure? If everything looks good, we should
have an Archetype release ASAP.
Next weekend I'll try and get the UI updated too.
Thanks,
Reza
On 3/14/2025 12:36 PM, Reza Rahman
wrote:
Sounds good.
Jeyvison, can we have a new release of just the UI please? I've
tested the change and it appears fine. Bear in mind, I just
merged a long-standing PR from Ondro into the Archetype part
that isn't ready for prime time yet, so please don't do a
corresponding release of the Archetype yet? Just the UI please?
I appreciate it!
On 3/14/2025 12:26 PM, Bauke Scholtz
wrote:
On this specific public facing app, I suggest keeping
client state saving. This will further reduce
ViewExpiredException risks as well as headache risks and
hence in long term better for well being on both sides.
Cheers, B
I found out that session affinity was
indeed turned off and I have now turned it on.
Before deploying this change, is it worth
it to observe if this simply solves the problem? Or
should I switch to client state saving anyway?
WDYT?
try to ensure sticky
sessions for good measure
Cheers, B
OK, great. Let me test it and get
it deployed. I'll monitor for any more issues and also
try to ensure sticky sessions for good measure.
Thanks!
On 3/14/2025 11:53 AM, Bauke
Scholtz wrote:
Cheers, B
Do you mind kindly making a
PR with the approach you think is best overall?
I'll test it out and monitor that it works. I
appreciate it!
On 3/14/2025 11:45 AM,
Bauke Scholtz wrote:
Yeah. The issue
boils down to that the view scoped bean
referenced in the p:selectOneRadio is created
for the first time when the response is already
committed. And view scoped beans need to be
saved in the session. But when the response is
already committed the cookie associated with the
session cannot be set.
Another
solution is to add a f:viewAction referencing
some bean init method and use that instead of
postconstruct. This is guaranteed invoked before
render response.
Yet another
solution is to create a servlet filter which
does an explicit request.getSession() call.
You got it.
Cheers, B
To some extent, the
symptoms at least appear simple. We are now
getting copious amounts of views expired
(example stack trace attached). I had seen
this in prior releases with JBoss EAP 7.4 (and
the corresponding WildFly version). What I did
is to set STATE_SAVING_METHOD=client. It
worked well and saw no more views expiring in
the logs.
Then we upgraded to JBoss
EAP 8 and the corresponding WildFly versions.
Now with STATE_SAVING_METHOD=client, I get
this strange session state saving issue
(example stack trace also attached). So we are
stuck with views expiring again.
Let me know if I can
share anything else. Let me see if there is
anything I can do to ensure sticky sessions.
Because this is deployed to an Azure PaaS, I
have a very limited amount of control.
On 3/14/2025 10:58 AM,
Bauke Scholtz wrote:
Hi,
I had to
remove STATE_SAVING_METHOD=client because
I could not get it to work
Would be
helpful if you elaborate this in detail. It
might be a clue. One of pre-requirements for
that in a cluster environment is that the jsf/ClientSideSecretKey
env param is set (usually in web.xml).
This has been renamed to
faces/ClientSideSecretKey. So if the
cluster doesn't use sticky sessions then
ViewExpiredException will occur.
Cheers, B
Hey Reza,
Can you provide
some more details (perhaps point me to
logs or explain any scenarios)?
We're still
partners with PrimeTek and I still work
with Bauke Scholtz (cc'd), so we can
figure it out.
Hi Kito/others,
I have been monitoring the release for
stability and unfortunately we
have a problem that needs to be solved.
I had to remove
STATE_SAVING_METHOD=client because I
could not get it to work with the
latest PrimeFaces/Jakarta EE 10/JBoss
EAP 8. Now we have the infamous
JSF problem of views expiring left and
right again of course. I will
keep trying this weekend, but can you
possibly help me look at this and
solve it? You still have some contacts
with the PrimeFaces folks, right?
Could they help? This appears to be
mainly a PrimeFaces problem.
Thanks,
Reza