<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can't access my tomcat manager after upgrade in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/can-t-access-my-tomcat-manager-after-upgrade/m-p/297554#M250684</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I recently upgrade from Alfresco community 4.0.d to 4.2.c with the bundle &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I follow instructions for update my tomcat-users.xml with my credentials :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;tomcat-users&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;role rolename="manager-gui"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;role rolename="manager-status"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;user username="cthibault" password="XXXXX" roles="manager-gui,manager-status"/&amp;gt;&lt;BR /&gt;&amp;lt;/tomcat-users&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I remove alfresco-solr users because i don't use SSL for communication between alfresco and SOLR.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I start my alfresco and when i try to access to "Server Status" or "Manage App" in my Tomcat interface, i've got this standard message :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;401 Unauthorized&lt;BR /&gt;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 must contain the credentials to let you use this webapp. &lt;BR /&gt;&lt;BR /&gt;For example, to add the manager-gui role to a user named tomcat with a password of s3cret, add the following to the config file listed above. &lt;BR /&gt;&lt;BR /&gt;&amp;lt;role rolename="manager-gui"/&amp;gt;&lt;BR /&gt;&amp;lt;user username="tomcat" password="s3cret" roles="manager-gui"/&amp;gt;&lt;BR /&gt;Note that for Tomcat 7 onwards, the roles required to use the manager application were changed from the single manager role to the following four roles. You will need to assign the role(s) required for the functionality you wish to access. &lt;BR /&gt;&lt;BR /&gt;•manager-gui - allows access to the HTML GUI and the status pages&lt;BR /&gt;•manager-script - allows access to the text interface and the status pages&lt;BR /&gt;•manager-jmx - allows access to the JMX proxy and the status pages&lt;BR /&gt;•manager-status - allows access to the status pages only&lt;BR /&gt;The HTML interface is protected against CSRF but the text and JMX interfaces are not. To maintain the CSRF protection: &lt;BR /&gt;&lt;BR /&gt;•Users with the manager-gui role should not be granted either the manager-script or manager-jmx roles.&lt;BR /&gt;•If the text or jmx interfaces are accessed through a browser (e.g. for testing since these interfaces are intended for tools not humans) then the browser must be closed afterwards to terminate the session.&lt;BR /&gt;For more information - please see the Manager App HOW-TO. &lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It doesn't ask my userid ! It directly print the error message ! What's wrong ? I check my alfresco.log and catalina.out logs but there is no message when i fail to access to this pages…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some idea ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank's&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cédric.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Apr 2013 15:15:00 GMT</pubDate>
    <dc:creator>infsy</dc:creator>
    <dc:date>2013-04-08T15:15:00Z</dc:date>
    <item>
      <title>Can't access my tomcat manager after upgrade</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-access-my-tomcat-manager-after-upgrade/m-p/297554#M250684</link>
      <description>Hello,I recently upgrade from Alfresco community 4.0.d to 4.2.c with the bundle I follow instructions for update my tomcat-users.xml with my credentials :&amp;lt;tomcat-users&amp;gt;&amp;nbsp; &amp;lt;role rolename="manager-gui"/&amp;gt;&amp;nbsp; &amp;lt;role rolename="manager-status"/&amp;gt;&amp;nbsp; &amp;lt;user username="cthibault" password="XXXXX</description>
      <pubDate>Mon, 08 Apr 2013 15:15:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-access-my-tomcat-manager-after-upgrade/m-p/297554#M250684</guid>
      <dc:creator>infsy</dc:creator>
      <dc:date>2013-04-08T15:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can't access my tomcat manager after upgrade</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-access-my-tomcat-manager-after-upgrade/m-p/297555#M250685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try commenting the below line in tomcat\conf\context.xml -&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;Valve className="org.apache.catalina.authenticator.SSLAuthenticator" securePagesWithPragma="false" /&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure about the consequences of this change. Can anyone please help us?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 05:07:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-access-my-tomcat-manager-after-upgrade/m-p/297555#M250685</guid>
      <dc:creator>sujaypillai</dc:creator>
      <dc:date>2013-04-09T05:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can't access my tomcat manager after upgrade</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-access-my-tomcat-manager-after-upgrade/m-p/297556#M250686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great, it's working. Commenting this line and restarting alfresco i can now access to my manager. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank's a lot for your indication !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 17:09:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-access-my-tomcat-manager-after-upgrade/m-p/297556#M250686</guid>
      <dc:creator>infsy</dc:creator>
      <dc:date>2013-04-09T17:09:24Z</dc:date>
    </item>
  </channel>
</rss>

