cancel
Showing results for 
Search instead for 
Did you mean: 

Tomcat manager problem with 4.0.c

dhd
Champ in-the-making
Champ in-the-making
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-ch...

" … 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" /> …"
5 REPLIES 5

gargantuan
Champ in-the-making
Champ in-the-making
Yeah, your reference is good

acurs
Champ in-the-making
Champ in-the-making
Thanks a lot, it works!

akaii
Champ in-the-making
Champ in-the-making
It's just a pitty that we have to unfix a fixed bug in order to go to the tomcat manager.
This works, thanks for your post!

fop6316
Champ in-the-making
Champ in-the-making
Same issue with alfresco-enterprise-4.0.2.9-installer-win-x64.exe.
Thank you for the tip, much appreciated.

florentdelannoy
Champ in-the-making
Champ in-the-making
Same issue with alfresco-community-4.2.c-installer-linux-x64.bin

The fix does indeed work, thanks dhd. Smiley Happy