Hi everyone,
I'm running Win 2008 R2, IIS 7.5. AJP 1.3 and Tomcat 7. I am successfully using IIS Windows Integrated Authentication with my Tomcat application. User authentication is seamless. Now, I'm trying to add ARR to perform reverse-proxying of URLs. For example,
today I have:
http://myserver/myTomcatApp
I am trying to setup ARR so that I can use:
http://myserver/myFakeURL
and have it route to /myTomcatApp.
I'm trying to configure it without touching my AJP configuration (e.g. completely switching everything over to ARR). If I don't use authentication, it works perfectly. However, if I require WIA on the /jakarta virtual directory and then set tomcatAuthentication='false'
on the Tomcat side, I get the following error in FailedRequestTrace:
ModuleName="WindowsAuthenticationModule", Notification="AUTHENTICATE_REQUEST", HttpStatus="401", HttpReason="Unauthorized", HttpSubStatus="1", ErrorCode="The token supplied to the function is invalid
(0x80090308)", ConfigExceptionInfo=""
I see the following headers getting passed:
Connection: Keep-Alive
Content-Length: 0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.5
Authorization: NTLM<Long NTLM code>
Cookie: cc_ineu=no; JSESSIONID=B1DC353A2BDB53E825176E73D11AF84F.portal1;
X-Original-URL: /myFakeURL
X-Forwarded-For: xxx.xx.xx.x:xxxx
X-ARR-LOG-ID: 46bf9a11-821d-4ab0-b16a-f797ea4c9a89
TOMCATURI0000000180000000: /myTomcatApp
TOMCATWORKER0000000180000000: portalbalancer1
TOMCATWORKERIDX0000000180000000: 78
I've seen some other posts, but they mention SSL and Exchange which do not seem to be applicable here.
If anyone has any suggestions on how to resolve this, that would be great. Or, if there are some instructions available on configuring ARR, NTLM, AJP and Tomcat altogether, that would be great as well.
Regards,
Eric