Hi,

On Fri, Sep 17, 2021 at 4:41 PM vahid ghasemi <vahidghasemi...@gmail.com>
wrote:

> Hello
> I have a problem with my server, tomcat get down after getting many of this
> error:
>
> java.lang.IllegalStateException: Cannot create a session after the response
> has been committed
>

The error says that the response has been written to the connection and you
cannot create a new http session, because there is no way to write the
JSESSIONID cookie in the response headers now.


>         at
> org.apache.catalina.connector.Request.doGetSession(Request.java:2992)
>         at
> org.apache.catalina.connector.Request.getSession(Request.java:2432)
>         at
>
> org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:908)
>         at
>
> org.apache.wicket.session.HttpSessionStore.getHttpSession(HttpSessionStore.java:95)
>         at
>
> org.apache.wicket.session.HttpSessionStore.getSessionId(HttpSessionStore.java:166)
>         at org.apache.wicket.Session.bind(Session.java:267)
>         at org.apache.wicket.Page.onBeforeRender(Page.java:808)
>         at
> org.apache.wicket.Component.internalBeforeRender(Component.java:963)
>         at org.apache.wicket.Component.beforeRender(Component.java:1031)
>         at
> org.apache.wicket.Component.internalPrepareForRender(Component.java:2248)
>         at org.apache.wicket.Page.internalPrepareForRender(Page.java:242)
>         at org.apache.wicket.Component.render(Component.java:2337)
>         at org.apache.wicket.Page.renderPage(Page.java:1018)
>

Please paste the full stacktrace!
Which version of Wicket do you use ?


>
>
> I haven't any idea about this error, do you know what is the problem?
>

Reply via email to