You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/05/15 10:23:39 UTC

[Bug 54974] New: SessionCookieConfig.setXXX methods must throw IllegalStateException when invoked after initialization phase

https://issues.apache.org/bugzilla/show_bug.cgi?id=54974

            Bug ID: 54974
           Summary: SessionCookieConfig.setXXX methods must throw
                    IllegalStateException when invoked after
                    initialization phase
           Product: Tomcat 7
           Version: 7.0.40
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: violetagg@apache.org
    Classification: Unclassified

According to Servlet 3.0 javadoc 
javax.servlet.SessionCookieConfig setter methods must throw
IllegalStateException when invoked after initialization phase

setComment(String) 
setDomain(String)
setHttpOnly(boolean)
setMaxAge(int)
setName(String) 
setPath(String)
setSecure(boolean)

"
Throws: java.lang.IllegalStateException - if the ServletContext from which this
SessionCookieConfig was acquired has already been initialized
"

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 54974] SessionCookieConfig.setXXX methods must throw IllegalStateException when invoked after initialization phase

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54974

Violeta Georgieva <vi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 OS|                            |All

--- Comment #1 from Violeta Georgieva <vi...@apache.org> ---
Fixed in trunk and 7.0.x and will be included in 7.0.41 onwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org