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

WEBAPP updated WW-5467:
-----------------------
    Description: 
*Issue:* Unexpected IllegalStateException error reappearing in the jserver.log 
after Struts 6.3 upgrade.

 

*Exception:*

2024-07-27 00:00:45,304 ERROR [io.undertow.request] (default task-3749) 
UT005023: Exception handling request to xxxx.jsp: 
javax.servlet.ServletException: java.lang.IllegalStateException: UT000010: 
Session is invalid zrSElT9n3wtMWDS6sfTD7dL4F1p-S-JZlQPHv17B

              at 
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:589)

              at 
org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:81)

              at 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)

              at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

              at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

              at 
com.ericsson.eus.pps.scare.filter.security.DeepLinkingFilter.doFilter(DeepLinkingFilter.java:124)

              at 
io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)

              at 
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

 

*NOTE:* RedHat recommended following configuration to fix the "{*}Unexpected 
IllegalStateException error{*}" in server logs.

In struts.xml

*<constant name="struts.handle.exception" value="false" />*

 

We applied this configuration in Struts 2.3, and it was resolved. But now it's 
appearing in Struts 6.3 (post 2.3 to 6.3 migration). It seems this 
configuration is not working in Struts 6.3. Could you please help us in 
resolving this issue in Struts 6.3.

> 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
>            Reporter: WEBAPP
>            Priority: Trivial
>
> *Issue:* Unexpected IllegalStateException error reappearing in the 
> jserver.log after Struts 6.3 upgrade.
>  
> *Exception:*
> 2024-07-27 00:00:45,304 ERROR [io.undertow.request] (default task-3749) 
> UT005023: Exception handling request to xxxx.jsp: 
> javax.servlet.ServletException: java.lang.IllegalStateException: UT000010: 
> Session is invalid zrSElT9n3wtMWDS6sfTD7dL4F1p-S-JZlQPHv17B
>               at 
> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:589)
>               at 
> org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:81)
>               at 
> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)
>               at 
> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
>               at 
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>               at 
> com.ericsson.eus.pps.scare.filter.security.DeepLinkingFilter.doFilter(DeepLinkingFilter.java:124)
>               at 
> io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67)
>               at 
> io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
>  
> *NOTE:* RedHat recommended following configuration to fix the "{*}Unexpected 
> IllegalStateException error{*}" in server logs.
> In struts.xml
> *<constant name="struts.handle.exception" value="false" />*
>  
> We applied this configuration in Struts 2.3, and it was resolved. But now 
> it's appearing in Struts 6.3 (post 2.3 to 6.3 migration). It seems this 
> configuration is not working in Struts 6.3. Could you please help us in 
> resolving this issue in Struts 6.3.



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

Reply via email to