AnsweredAssumed Answered

Tomcat manager problem with 4.0.c

Question asked by dhd on Jan 12, 2012
Latest reply on May 16, 2013 by florentdelannoy
Windows Vista 32 bit
alfresco-community-4.0.c-installer-win-x32.exe

I am posting this here as it cost me some time, and might help someone else.

Symptom is that after a straight 4.0.c install, you can't use the Tomcat Manager (it won't let you authenticate).

You get:

"401 Unauthorized
You are not authorized to view this page. If you have not changed any configuration files, please examine the file conf/tomcat-users.xml in your installation. That file will contain the credentials to let you use this webapp.
You will need to add manager role to the config file listed above"

This is due to the fact that   <Valve className="org.apache.catalina.authenticator.SSLAuthenticator" securePagesWithPragma="false" /> now appears in tomcat/conf/context.xml.  If you comment this out and restart, you will be able to access Tomcat Manager (provided you have also done the other things required e.g. edited tomcat-users.xml).

I suppose this must have been introduced due to the issue described here: http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fconfigfiles-change-path.html

" … There is an issue with Alfresco Share document downloads on Tomcat with https(SSL) for Internet Explorer versions 7 & 8. On IE7 and IE8, you will get an error message if you try to download a document from Alfresco Share in Tomcat with https(SSL) enabled. To resolve this issue, add the following to the context element:

<Valve className="org.apache.catalina.authenticator.SSLAuthenticator" securePagesWithPragma="false" /> …"

Outcomes