[ 
https://issues.apache.org/jira/browse/WW-5467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

WEBAPP updated WW-5467:
-----------------------
    Description: 
While using JBoss EAP 7.4.9 and running within OCP 4.11, we see below error in 
jserver.log: 2024-07-27 00:00:45,304 ERROR [io.undertow.request] (default 
task-3749) UT005023: Exception handling request to jsp: 
javax.servlet.ServletException: java.lang.IllegalStateException: UT000010: 
Session is invalid zrSElT9n3wtMWDS6sfTD7dL4F1p-S-JZlQPHv17B

*Excessive logging is impacting operation capability.*

*We raised ticket with RedHat and got below response from RedHat Team:*

Hello

Here the session is destroyed.

{*}{{{*}** 2024-09-15 11:18:32,527 L=DEBUG T=default task-377 
com.listeners.CustomHttpSessionListener:24 sessionDestroyed()
>>>> Destroyed Session : [HA6NeFCRgkR5g8DCJ3EOXNYCVv3LlHJhAeKzfKaI] at [Sun Sep 
>>>> 15 11:18:32 CDT 2024] <<<}}*

*Multiple attempts to create sessions by struts are more likely to cause the 
expectations. Please check with the devs for apache struts.*

{*}{{{*}** 2024-09-15 11:18:32,558 L=DEBUG T=default task-365 
com.listeners.CustomHttpSessionListener:18 sessionCreated()
>>>> Created Session : [Y-ttDTQToMsi12gzX9LnZI87RInJrWFurAPcuc04] at [Sun Sep 
>>>> 15 11:18:32 CDT 2024] <<<

2024-09-15 11:18:32,563 L=DEBUG T=default task-371 
com.listeners.CustomHttpSessionListener:18 sessionCreated()
>>>> Created Session : [6lw-FKioOacW7FGNONVZYpOScj-GpiSCA8HKdhH7] at [Sun Sep 
>>>> 15 11:18:32 CDT 2024] <<<

2024-09-15 11:18:32,563 L=DEBUG T=default task-361 
com.listeners.CustomHttpSessionListener:18 sessionCreated()
>>>> Created Session : [PAk9HJ7PjuI1gMyD4aRX0gMebT6wurm5MgQyBdqN] at [Sun Sep 
>>>> 15 11:18:32 CDT 2024] <<<

2024-09-15 11:18:32,563 L=ERROR T=default task-365 
org.apache.struts2.components.ClosingUIBean:57 start()
Could not open template

java.lang.IllegalStateException: UT000010: Session is invalid 
HA6NeFCRgkR5g8DCJ3EOXNYCVv3LlHJhAeKzfKaI
at 
io.undertow.server.session.InMemorySessionManager$SessionImpl.getAttribute(InMemorySessionManager.java:550)
 ~[undertow-core-2.2.22.SP3-redhat-00001.jar!/:2.2.22.SP3-redhat-00001]
at 
io.undertow.servlet.spec.HttpSessionImpl.getAttribute(HttpSessionImpl.java:122) 
~[undertow-servlet-2.2.22.SP3-redhat-00001.jar!/:2.2.22.SP3-redhat-00001]
at org.apache.struts2.dispatcher.SessionMap.get(SessionMap.java:144) 
~[struts2-core-6.3.0.2.jar:6.3.0.2]
at org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:879) 
~[struts2-core-6.3.0.2.jar:6.3.0.2]
at org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:53) 
~[struts2-core-6.3.0.2.jar:6.3.0.2]
at 
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:54)
 ~[struts2-core-6.3.0.2.jar:6.3.0.2]
at 
org.apache.jsp.WEB_002dINF.jsp.common.html5head_jsp._jspx_meth_s_005fscript_005f0(html5head_jsp.java:482)
 ~[?:?]
at 
org.apache.jsp.WEB_002dINF.jsp.common.html5head_jsp._jspService(html5head_jsp.java:154)
 ~[?:?]
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 
~[jastow-2.0.11.Final-redhat-00001.jar!/:2.0.11.Final-redhat-00001]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) 
~[jboss-servlet-api_4.0_spec-2.0.0.Final-redhat-00001.jar!/:2.0.0.Final-redhat-00001]}}*

 

*{{Could you please look into this issue.}}*

  was:
While using JBoss EAP 7.4.9 and running within OCP 4.11, we see below error in 
jserver.log: 2024-07-27 00:00:45,304 ERROR [io.undertow.request] (default 
task-3749) UT005023: Exception handling request to jsp: 
javax.servlet.ServletException: java.lang.IllegalStateException: UT000010: 
Session is invalid zrSElT9n3wtMWDS6sfTD7dL4F1p-S-JZlQPHv17B

*Excessive logging is impacting operation capability.*

*We raised ticket with RedHat and got below response from RedHat Team:*

Hello

Here the session is destroyed.

 

{*}{{{*}** 2024-09-15 11:18:32,527 L=DEBUG T=default task-377 
com.listeners.CustomHttpSessionListener:24 sessionDestroyed()
>>>> Destroyed Session : [HA6NeFCRgkR5g8DCJ3EOXNYCVv3LlHJhAeKzfKaI] at [Sun Sep 
>>>> 15 11:18:32 CDT 2024] <<<}}*

*Multiple attempts to create sessions by struts are more likely to cause the 
expectations. Please check with the devs for apache struts.*

 

{*}{{{*}** 2024-09-15 11:18:32,558 L=DEBUG T=default task-365 
com.listeners.CustomHttpSessionListener:18 sessionCreated()
>>>> Created Session : [Y-ttDTQToMsi12gzX9LnZI87RInJrWFurAPcuc04] at [Sun Sep 
>>>> 15 11:18:32 CDT 2024] <<<
 * 
 ** 
 *** 2024-09-15 11:18:32,563 L=DEBUG T=default task-371 
com.listeners.CustomHttpSessionListener:18 sessionCreated()
>>>> Created Session : [6lw-FKioOacW7FGNONVZYpOScj-GpiSCA8HKdhH7] at [Sun Sep 
>>>> 15 11:18:32 CDT 2024] <<<

 * 
 ** 
 *** 2024-09-15 11:18:32,563 L=DEBUG T=default task-361 
com.listeners.CustomHttpSessionListener:18 sessionCreated()
>>>> Created Session : [PAk9HJ7PjuI1gMyD4aRX0gMebT6wurm5MgQyBdqN] at [Sun Sep 
>>>> 15 11:18:32 CDT 2024] <<<

 * 
 ** 
 *** 2024-09-15 11:18:32,563 L=ERROR T=default task-365 
org.apache.struts2.components.ClosingUIBean:57 start()
Could not open template

java.lang.IllegalStateException: UT000010: Session is invalid 
HA6NeFCRgkR5g8DCJ3EOXNYCVv3LlHJhAeKzfKaI
at 
io.undertow.server.session.InMemorySessionManager$SessionImpl.getAttribute(InMemorySessionManager.java:550)
 ~[undertow-core-2.2.22.SP3-redhat-00001.jar!/:2.2.22.SP3-redhat-00001]
at 
io.undertow.servlet.spec.HttpSessionImpl.getAttribute(HttpSessionImpl.java:122) 
~[undertow-servlet-2.2.22.SP3-redhat-00001.jar!/:2.2.22.SP3-redhat-00001]
at org.apache.struts2.dispatcher.SessionMap.get(SessionMap.java:144) 
~[struts2-core-6.3.0.2.jar:6.3.0.2]
at org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:879) 
~[struts2-core-6.3.0.2.jar:6.3.0.2]
at org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:53) 
~[struts2-core-6.3.0.2.jar:6.3.0.2]
at 
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:54)
 ~[struts2-core-6.3.0.2.jar:6.3.0.2]
at 
org.apache.jsp.WEB_002dINF.jsp.common.html5head_jsp._jspx_meth_s_005fscript_005f0(html5head_jsp.java:482)
 ~[?:?]
at 
org.apache.jsp.WEB_002dINF.jsp.common.html5head_jsp._jspService(html5head_jsp.java:154)
 ~[?:?]
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 
~[jastow-2.0.11.Final-redhat-00001.jar!/:2.0.11.Final-redhat-00001]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) 
~[jboss-servlet-api_4.0_spec-2.0.0.Final-redhat-00001.jar!/:2.0.0.Final-redhat-00001]}}*

 

*{{Could you please look into this issue.}}*


> Unexpected IllegalStateException error reappearing in the jserver.log after 
> Struts 6.3 upgrade. Earlier with Struts 2.3 this issue got fixed.
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-5467
>                 URL: https://issues.apache.org/jira/browse/WW-5467
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 6.3.0
>         Environment: Production
>            Reporter: WEBAPP
>            Priority: Major
>
> While using JBoss EAP 7.4.9 and running within OCP 4.11, we see below error 
> in jserver.log: 2024-07-27 00:00:45,304 ERROR [io.undertow.request] (default 
> task-3749) UT005023: Exception handling request to jsp: 
> javax.servlet.ServletException: java.lang.IllegalStateException: UT000010: 
> Session is invalid zrSElT9n3wtMWDS6sfTD7dL4F1p-S-JZlQPHv17B
> *Excessive logging is impacting operation capability.*
> *We raised ticket with RedHat and got below response from RedHat Team:*
> Hello
> Here the session is destroyed.
> {*}{{{*}** 2024-09-15 11:18:32,527 L=DEBUG T=default task-377 
> com.listeners.CustomHttpSessionListener:24 sessionDestroyed()
> >>>> Destroyed Session : [HA6NeFCRgkR5g8DCJ3EOXNYCVv3LlHJhAeKzfKaI] at [Sun 
> >>>> Sep 15 11:18:32 CDT 2024] <<<}}*
> *Multiple attempts to create sessions by struts are more likely to cause the 
> expectations. Please check with the devs for apache struts.*
> {*}{{{*}** 2024-09-15 11:18:32,558 L=DEBUG T=default task-365 
> com.listeners.CustomHttpSessionListener:18 sessionCreated()
> >>>> Created Session : [Y-ttDTQToMsi12gzX9LnZI87RInJrWFurAPcuc04] at [Sun Sep 
> >>>> 15 11:18:32 CDT 2024] <<<
> 2024-09-15 11:18:32,563 L=DEBUG T=default task-371 
> com.listeners.CustomHttpSessionListener:18 sessionCreated()
> >>>> Created Session : [6lw-FKioOacW7FGNONVZYpOScj-GpiSCA8HKdhH7] at [Sun Sep 
> >>>> 15 11:18:32 CDT 2024] <<<
> 2024-09-15 11:18:32,563 L=DEBUG T=default task-361 
> com.listeners.CustomHttpSessionListener:18 sessionCreated()
> >>>> Created Session : [PAk9HJ7PjuI1gMyD4aRX0gMebT6wurm5MgQyBdqN] at [Sun Sep 
> >>>> 15 11:18:32 CDT 2024] <<<
> 2024-09-15 11:18:32,563 L=ERROR T=default task-365 
> org.apache.struts2.components.ClosingUIBean:57 start()
> Could not open template
> java.lang.IllegalStateException: UT000010: Session is invalid 
> HA6NeFCRgkR5g8DCJ3EOXNYCVv3LlHJhAeKzfKaI
> at 
> io.undertow.server.session.InMemorySessionManager$SessionImpl.getAttribute(InMemorySessionManager.java:550)
>  ~[undertow-core-2.2.22.SP3-redhat-00001.jar!/:2.2.22.SP3-redhat-00001]
> at 
> io.undertow.servlet.spec.HttpSessionImpl.getAttribute(HttpSessionImpl.java:122)
>  ~[undertow-servlet-2.2.22.SP3-redhat-00001.jar!/:2.2.22.SP3-redhat-00001]
> at org.apache.struts2.dispatcher.SessionMap.get(SessionMap.java:144) 
> ~[struts2-core-6.3.0.2.jar:6.3.0.2]
> at org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:879) 
> ~[struts2-core-6.3.0.2.jar:6.3.0.2]
> at org.apache.struts2.components.ClosingUIBean.start(ClosingUIBean.java:53) 
> ~[struts2-core-6.3.0.2.jar:6.3.0.2]
> at 
> org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:54)
>  ~[struts2-core-6.3.0.2.jar:6.3.0.2]
> at 
> org.apache.jsp.WEB_002dINF.jsp.common.html5head_jsp._jspx_meth_s_005fscript_005f0(html5head_jsp.java:482)
>  ~[?:?]
> at 
> org.apache.jsp.WEB_002dINF.jsp.common.html5head_jsp._jspService(html5head_jsp.java:154)
>  ~[?:?]
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) 
> ~[jastow-2.0.11.Final-redhat-00001.jar!/:2.0.11.Final-redhat-00001]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) 
> ~[jboss-servlet-api_4.0_spec-2.0.0.Final-redhat-00001.jar!/:2.0.0.Final-redhat-00001]}}*
>  
> *{{Could you please look into this issue.}}*



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to