[jboss-jira] [JBoss JIRA] (WFLY-3453) Caused by: java.lang.IllegalArgumentException: Cookie name "path" is a reserved token

shaik masthan (JIRA) issues at jboss.org
Fri Jun 6 04:46:15 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-3453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974001#comment-12974001 ] 

shaik masthan commented on WFLY-3453:
-------------------------------------

thanks . could you please let me know how to fork the api and remove the check for servlet 3.1 API  if i can able to do it.

if i cannot change it from my side , can you please do remove the check and share updated the library or jar  or any work around like adding the system property that can bypass the check .

bcoz it is not possible right now to change the code to prevent using the reserved tokens which is the best possible solution as suggested by you.

awaiting for your response.

thanks

> Caused by: java.lang.IllegalArgumentException: Cookie name "path" is a reserved token
> -------------------------------------------------------------------------------------
>
>                 Key: WFLY-3453
>                 URL: https://issues.jboss.org/browse/WFLY-3453
>             Project: WildFly
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Web (Undertow)
>    Affects Versions: 8.0.0.Final, 8.1.0.Final
>         Environment: windows 2003,flex with java(servlets)
>            Reporter: shaik masthan
>            Assignee: Stuart Douglas
>             Fix For: 8.0.0.Final, 8.1.0.Final
>
>
> i am getting the below error when trying to access or open  the UI page (developed using flex)  .it was properly working in tomcat version. recently migrated from tomcat to wildfly 8.0.0 Final.
>  Caused by: java.lang.IllegalArgumentException: Cookie name "path" is a reserved token
> 	at javax.servlet.http.Cookie.<init>(Cookie.java:192)
> 	at io.undertow.servlet.spec.HttpServletRequestImpl.getCookies(HttpServletRequestImpl.java:145)
> 	at com.ap.ca.mm.util.SessionUtils.getSessionManagerPrincipal(SessionUtils.java:128)
> 	at com.ap.ca.mm.util.SessionUtils.getRmpPrincipalFromSessionManagerBean(SessionUtils.java:166)
> 	at com.ap.ca.mm.util.SessionUtils.getRmpPrincipal(SessionUtils.java:96)
> 	at com.ap.ca.mm.ro.dao.csdb.EntityDAO.<init>(EntityDAO.java:149)
> 	... 42 more



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list