[ 
https://issues.apache.org/jira/browse/WW-4134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13700800#comment-13700800
 ] 

[email protected] commented on WW-4134:
----------------------------------------------------

I will be out of the office until July 5th

On Jul 5, 2013, at 7:24 AM, "[email protected] (JIRA)" 
<[email protected]>
 wrote:

   [ 
https://issues.apache.org/jira/browse/WW-4134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13700761#comment-13700761
 ]

[email protected] commented on WW-4134:
----------------------------------------------------

I will be out of the office until July 5th

On Jul 5, 2013, at 7:17 AM, "[email protected] (JIRA)" 
<[email protected]>
wrote:

  [ 
https://issues.apache.org/jira/browse/WW-4134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13700714#comment-13700714
 ]

[email protected] commented on WW-4134:
----------------------------------------------------

I will be out of the office until July 5th

On Jun 30, 2013, at 2:15 AM, "Maurizio Cucchiara (JIRA)" <[email protected]>
wrote:

 [ 
https://issues.apache.org/jira/browse/WW-4134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13696307#comment-13696307
 ]

Maurizio Cucchiara commented on WW-4134:
----------------------------------------

I'm sorry, but there are too few details.
Could you share with us your configuration? Also can you explain what you are 
trying to achieve?

Well, anything comes to your mind which helps us to reproduce the issue.

MessageStoreInterceptor java.lang.IllegalStateException if there is no session
------------------------------------------------------------------------------

             Key: WW-4134
             URL: https://issues.apache.org/jira/browse/WW-4134
         Project: Struts 2
      Issue Type: Bug
      Components: Core Interceptors
Affects Versions: 2.3.14.3
        Reporter: Jan Čustović

When there is no session the following error happens on {code:xml}<result 
type="redirect">{code}.
{code}
[org.apache.struts2.dispatcher.Dispatcher.error:38] []  - Exception occurred 
during processing request: Cannot create a session after the response has been 
committed
java.lang.IllegalStateException: Cannot create a session after the response has 
been committed
     at org.apache.catalina.connector.Request.doGetSession(Request.java:2880) 
~[catalina.jar:7.0.37]
     at org.apache.catalina.connector.Request.getSession(Request.java:2315) 
~[catalina.jar:7.0.37]
     at 
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:898) 
~[catalina.jar:7.0.37]
     at 
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
 ~[servlet-api.jar:na]
     at 
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
 ~[servlet-api.jar:na]
     at 
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
 ~[servlet-api.jar:na]
     at org.apache.struts2.dispatcher.SessionMap.put(SessionMap.java:177) 
~[struts2-core-2.3.14.3.jar:2.3.14.3]
     at 
org.apache.struts2.interceptor.MessageStoreInterceptor.after(MessageStoreInterceptor.java:279)
 ~[struts2-core-2.3.14.3.jar:2.3.14.3]
     at 
org.apache.struts2.interceptor.MessageStoreInterceptor.intercept(MessageStoreInterceptor.java:195)
 ~[struts2-core-2.3.14.3.jar:2.3.14.3]
     at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
 ~[xwork-core-2.3.14.3.jar:2.3.14.3]
{code}
This always happens if you wget your resource that has redirect.
The interceptor should check if the session is available and only then perform 
message storing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


MessageStoreInterceptor java.lang.IllegalStateException if there is no session
------------------------------------------------------------------------------

              Key: WW-4134
              URL: https://issues.apache.org/jira/browse/WW-4134
          Project: Struts 2
       Issue Type: Bug
       Components: Core Interceptors
 Affects Versions: 2.3.14.3
         Reporter: Jan Čustović
          Fix For: 2.3.16


When there is no session the following error happens on {code:xml}<result 
type="redirect">{code}.
{code}
[org.apache.struts2.dispatcher.Dispatcher.error:38] []  - Exception occurred 
during processing request: Cannot create a session after the response has been 
committed
java.lang.IllegalStateException: Cannot create a session after the response has 
been committed
      at org.apache.catalina.connector.Request.doGetSession(Request.java:2880) 
~[catalina.jar:7.0.37]
      at org.apache.catalina.connector.Request.getSession(Request.java:2315) 
~[catalina.jar:7.0.37]
      at 
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:898) 
~[catalina.jar:7.0.37]
      at 
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
 ~[servlet-api.jar:na]
      at 
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
 ~[servlet-api.jar:na]
      at 
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
 ~[servlet-api.jar:na]
      at org.apache.struts2.dispatcher.SessionMap.put(SessionMap.java:177) 
~[struts2-core-2.3.14.3.jar:2.3.14.3]
      at 
org.apache.struts2.interceptor.MessageStoreInterceptor.after(MessageStoreInterceptor.java:279)
 ~[struts2-core-2.3.14.3.jar:2.3.14.3]
      at 
org.apache.struts2.interceptor.MessageStoreInterceptor.intercept(MessageStoreInterceptor.java:195)
 ~[struts2-core-2.3.14.3.jar:2.3.14.3]
      at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
 ~[xwork-core-2.3.14.3.jar:2.3.14.3]
{code}
This always happens if you wget your resource that has redirect.
The interceptor should check if the session is available and only then perform 
message storing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


MessageStoreInterceptor java.lang.IllegalStateException if there is no session
------------------------------------------------------------------------------

               Key: WW-4134
               URL: https://issues.apache.org/jira/browse/WW-4134
           Project: Struts 2
        Issue Type: Bug
        Components: Core Interceptors
  Affects Versions: 2.3.14.3
          Reporter: Jan Čustović
           Fix For: 2.3.16


When there is no session the following error happens on {code:xml}<result 
type="redirect">{code}.
{code}
[org.apache.struts2.dispatcher.Dispatcher.error:38] []  - Exception occurred 
during processing request: Cannot create a session after the response has been 
committed
java.lang.IllegalStateException: Cannot create a session after the response has 
been committed
       at org.apache.catalina.connector.Request.doGetSession(Request.java:2880) 
~[catalina.jar:7.0.37]
       at org.apache.catalina.connector.Request.getSession(Request.java:2315) 
~[catalina.jar:7.0.37]
       at 
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:898) 
~[catalina.jar:7.0.37]
       at 
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
 ~[servlet-api.jar:na]
       at 
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
 ~[servlet-api.jar:na]
       at 
javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
 ~[servlet-api.jar:na]
       at org.apache.struts2.dispatcher.SessionMap.put(SessionMap.java:177) 
~[struts2-core-2.3.14.3.jar:2.3.14.3]
       at 
org.apache.struts2.interceptor.MessageStoreInterceptor.after(MessageStoreInterceptor.java:279)
 ~[struts2-core-2.3.14.3.jar:2.3.14.3]
       at 
org.apache.struts2.interceptor.MessageStoreInterceptor.intercept(MessageStoreInterceptor.java:195)
 ~[struts2-core-2.3.14.3.jar:2.3.14.3]
       at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
 ~[xwork-core-2.3.14.3.jar:2.3.14.3]
{code}
This always happens if you wget your resource that has redirect.
The interceptor should check if the session is available and only then perform 
message storing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

                
> MessageStoreInterceptor java.lang.IllegalStateException if there is no session
> ------------------------------------------------------------------------------
>
>                 Key: WW-4134
>                 URL: https://issues.apache.org/jira/browse/WW-4134
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors
>    Affects Versions: 2.3.14.3
>            Reporter: Jan Čustović
>             Fix For: 2.3.16
>
>
> When there is no session the following error happens on {code:xml}<result 
> type="redirect">{code}.
> {code}
> [org.apache.struts2.dispatcher.Dispatcher.error:38] []  - Exception occurred 
> during processing request: Cannot create a session after the response has 
> been committed
> java.lang.IllegalStateException: Cannot create a session after the response 
> has been committed
>         at 
> org.apache.catalina.connector.Request.doGetSession(Request.java:2880) 
> ~[catalina.jar:7.0.37]
>         at 
> org.apache.catalina.connector.Request.getSession(Request.java:2315) 
> ~[catalina.jar:7.0.37]
>         at 
> org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:898)
>  ~[catalina.jar:7.0.37]
>         at 
> javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
>  ~[servlet-api.jar:na]
>         at 
> javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
>  ~[servlet-api.jar:na]
>         at 
> javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:229)
>  ~[servlet-api.jar:na]
>         at org.apache.struts2.dispatcher.SessionMap.put(SessionMap.java:177) 
> ~[struts2-core-2.3.14.3.jar:2.3.14.3]
>         at 
> org.apache.struts2.interceptor.MessageStoreInterceptor.after(MessageStoreInterceptor.java:279)
>  ~[struts2-core-2.3.14.3.jar:2.3.14.3]
>         at 
> org.apache.struts2.interceptor.MessageStoreInterceptor.intercept(MessageStoreInterceptor.java:195)
>  ~[struts2-core-2.3.14.3.jar:2.3.14.3]
>         at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>  ~[xwork-core-2.3.14.3.jar:2.3.14.3]
> {code}
> This always happens if you wget your resource that has redirect.
> The interceptor should check if the session is available and only then 
> perform message storing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to