tag:blogger.com,1999:blog-655021098376962652.post4746700228496048824..comments2017-11-14T09:48:18.724+03:00Comments on Sergey Ushakov - IT blog: Tomcat Redirect ValveSergey Ushakovhttp://www.blogger.com/profile/13035264684517536678noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-655021098376962652.post-65954856014871465582017-07-06T17:53:00.719+03:002017-07-06T17:53:00.719+03:00Hi João Clemente, and the problem you describe is ...Hi João Clemente, and the problem you describe is really amazing :)<br />Do you feel like modifying the source and recompiling the module, so to add a couple of debug log statements and see what's happening?<br />If yes, I'll make suggestions on the statements to add.<br />If not, I'll do that myself, but that may require a bit more time... :)<br />So you are welcome to share your ideas on the approach for us to follow...<br />And the first thing I would suggest for debugging is logging 'sTarget' and 'sTargetTemplate' after the statement<br />String sTarget = MessageFormat.format (sTargetTemplate, asGroups);Sergey Ushakovhttps://www.blogger.com/profile/13035264684517536678noreply@blogger.comtag:blogger.com,1999:blog-655021098376962652.post-82941213246465947052017-07-05T23:26:41.456+03:002017-07-05T23:26:41.456+03:00Hi.
I setup the redirect as below:
========
Valve ...Hi.<br />I setup the redirect as below:<br />========<br />Valve <br />className="usn.apache.catalina.valves.RedirectValve"<br />from="^http://([^:]+):8181/ACS"<br />to="http://corp1280:9080/ACS/servlet/ACS"<br />==========<br />When I call "http://localhost:8181/ACS", the redirect address<br />is "http//corp1280:9080/ACS/servlet/ACS" without ":" of "http://"<br /><br />Do you know why ?<br /><br />João Clemente de Souzahttps://www.blogger.com/profile/04964407240906576191noreply@blogger.com