Hi Krishantha, Its only occurring with CXF webapp and other webapps working as expected.
Thanks Godwin On Mon, Nov 30, 2015 at 11:52 AM, Kishanthan Thangarajah < [email protected]> wrote: > Is it only occurring with a CXF webapp or for any webapps? > > On Mon, Nov 30, 2015 at 9:46 AM, Godwin Shrimal <[email protected]> wrote: > >> Hi, >> >> There is a problem with the send redirect in rest service in tomcat >> container. >> >> Ex. There is a rest service as http://localhost:9443/auth2/autheorize, >> If we directs to /authentication/login.do from above service, it redirects >> to http://localhost:9443/auth2/authentication/login.do but it should >> redirects to http://localhost:9443/authentication/login.do >> >> Note. There is a servlet SAMLSSOProviderServlet with the url pattern >> /samlsso. and if we redirect to /authentication/login.do , it redirects to >> http://localhost:9443/authentication/login.do and its working as >> expected according to [1]. >> >> Any reason for this behavior in rest service ? >> >> [1] >> https://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/http/HttpServletResponse.html#sendRedirect(java.lang.String) >> >> >> Thanks >> Godwin >> >> >> -- >> *Godwin Amila Shrimal* >> Senior Software Engineer >> WSO2 Inc.; http://wso2.com >> lean.enterprise.middleware >> >> mobile: *+94772264165* >> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>* >> twitter: https://twitter.com/godwinamila >> > > > > -- > *Kishanthan Thangarajah* > Associate Technical Lead, > Platform Technologies Team, > WSO2, Inc. > lean.enterprise.middleware > > Mobile - +94773426635 > Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>* > Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>* > -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94772264165* linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>* twitter: https://twitter.com/godwinamila
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
