This code [1] seems to work as expected in our project
But I haven't check it in cluster environment yet ....

[1] 
https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/WebSession.java#L132

On Tue, Apr 10, 2018 at 7:36 PM, Kamil Paśko <kamil.pa...@solsoft.pl> wrote:
> How about:
>
> @Override
>     public Session newSession(final Request request, final Response
> response) {
>         final AuthenticatedSession session = (AuthenticatedSession)
> super.newSession(request, response);
>         Injector.get().inject(session);
>         return session;
>     }
>
>
> in WicketApplication?
>
> For us, without this code, @SpringBean didn't work in session.
>
> Maybe  it's a bug, maybe by design ;)
>
>
> W dniu 2018-04-10 o 13:54, Martin Grigorov pisze:
>>
>> Hi,
>>
>> Is this a normal WAR deployment ?
>> Or Spring Boot self-executable ?
>> Or something else ...
>>
>> On Tue, Apr 10, 2018 at 2:46 PM, tomask79 <tomas.klou...@embedit.cz>
>> wrote:
>>
>>> question edited.
>>>
>>> --
>>> Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-
>>> f1842947.html
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
WBR
Maxim aka solomax

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to