<?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 Error 401 Unauthorized - When typing   http://localhost:8080/manager/html in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/error-401-unauthorized-when-typing-http-localhost-8080-manager/m-p/94881#M27966</link>
    <description>&lt;P&gt;Hello&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Setup: &lt;/STRONG&gt;In Production: Alfresco 5.2.4 using &lt;A title="check out our Tomcat FAQ!" href="http://www.coderanch.com/how-to/java/tomcatfaq" target="_new" rel="nofollow noopener noreferrer"&gt;tomcat&lt;/A&gt; 7.0.82 installed on Windows 2016 Server.&amp;nbsp; Installed by 3rd party Co.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt; Error 401 Unauthorized when entering "manager" crendtials in popup window of&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://localhost:8080/manager/html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/manager/html&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;A href="http://localhost:8080" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8080&lt;/A&gt; &amp;nbsp;works fine and returns the application main page.&lt;BR /&gt;&lt;BR /&gt;* \tomcat\conf\tomcat-users.xml &amp;nbsp;file edited as follows:&lt;BR /&gt;&amp;nbsp;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;lt;tomcat-users&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;role rolename="manager-gui"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;role rolename="manager-status"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;role rolename="manager-jmx"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;role rolename="manager-script"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;user username="manager" roles="manager-gui, manager-status" password="whatever"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;/tomcat-users&amp;gt;&lt;BR /&gt;&lt;BR /&gt;* \tomcat\conf\Catalina\localhost\manager.xml &amp;nbsp; file was created as follows:&lt;BR /&gt;&amp;nbsp;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;Context antiResourceLocking="false" privileged="true" useHttpOnly="true" override="true"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;Valve className="org.apache.catalina.authenticator.BasicAuthenticator" securePagesWithPragma="false" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;/Context &amp;gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;* \tomcat\webapps\manager\META-INF\context.xml file as follows:&lt;BR /&gt;&amp;nbsp;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;Context antiResourceLocking="false" privileged="true" &amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;Valve className="org.apache.catalina.valves.RemoteAddrValve" &amp;nbsp;allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;Manager sessionAttributeValueClassNameFilter="java\.lang\.(?:Boolean|Integer|Long|Number|String)|org\.apache\.catalina\.filters\.CsrfPreventionFilter\$LruCache(?:\$1)?|java\.util\.(?:Linked)?HashMap"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;/Context&amp;gt;&lt;BR /&gt;&lt;BR /&gt;* Restarted the Tomcat7 Service&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt; What other files are involved in manager login process ?&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; I installed the same Alfresco Version on a Lab VM (Win 2016) and made the above changes/additions and it just worked fine (all the rest is kept as default)&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Shall I consider/look at the Folders/files permissions of the tomcat production server running the Alfresco application which may have tweaked file permissions for security reasons ?&amp;nbsp; Or Realm stuff ?&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 26 Dec 2019 20:41:50 GMT</pubDate>
    <dc:creator>Kiwi</dc:creator>
    <dc:date>2019-12-26T20:41:50Z</dc:date>
    <item>
      <title>Error 401 Unauthorized - When typing   http://localhost:8080/manager/html</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-401-unauthorized-when-typing-http-localhost-8080-manager/m-p/94881#M27966</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Setup: &lt;/STRONG&gt;In Production: Alfresco 5.2.4 using &lt;A title="check out our Tomcat FAQ!" href="http://www.coderanch.com/how-to/java/tomcatfaq" target="_new" rel="nofollow noopener noreferrer"&gt;tomcat&lt;/A&gt; 7.0.82 installed on Windows 2016 Server.&amp;nbsp; Installed by 3rd party Co.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt; Error 401 Unauthorized when entering "manager" crendtials in popup window of&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://localhost:8080/manager/html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/manager/html&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;A href="http://localhost:8080" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8080&lt;/A&gt; &amp;nbsp;works fine and returns the application main page.&lt;BR /&gt;&lt;BR /&gt;* \tomcat\conf\tomcat-users.xml &amp;nbsp;file edited as follows:&lt;BR /&gt;&amp;nbsp;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;lt;tomcat-users&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;role rolename="manager-gui"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;role rolename="manager-status"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;role rolename="manager-jmx"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;role rolename="manager-script"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;user username="manager" roles="manager-gui, manager-status" password="whatever"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;/tomcat-users&amp;gt;&lt;BR /&gt;&lt;BR /&gt;* \tomcat\conf\Catalina\localhost\manager.xml &amp;nbsp; file was created as follows:&lt;BR /&gt;&amp;nbsp;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;Context antiResourceLocking="false" privileged="true" useHttpOnly="true" override="true"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;Valve className="org.apache.catalina.authenticator.BasicAuthenticator" securePagesWithPragma="false" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;/Context &amp;gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;* \tomcat\webapps\manager\META-INF\context.xml file as follows:&lt;BR /&gt;&amp;nbsp;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;Context antiResourceLocking="false" privileged="true" &amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;Valve className="org.apache.catalina.valves.RemoteAddrValve" &amp;nbsp;allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;Manager sessionAttributeValueClassNameFilter="java\.lang\.(?:Boolean|Integer|Long|Number|String)|org\.apache\.catalina\.filters\.CsrfPreventionFilter\$LruCache(?:\$1)?|java\.util\.(?:Linked)?HashMap"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;/Context&amp;gt;&lt;BR /&gt;&lt;BR /&gt;* Restarted the Tomcat7 Service&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt; What other files are involved in manager login process ?&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; I installed the same Alfresco Version on a Lab VM (Win 2016) and made the above changes/additions and it just worked fine (all the rest is kept as default)&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Shall I consider/look at the Folders/files permissions of the tomcat production server running the Alfresco application which may have tweaked file permissions for security reasons ?&amp;nbsp; Or Realm stuff ?&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 20:41:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-401-unauthorized-when-typing-http-localhost-8080-manager/m-p/94881#M27966</guid>
      <dc:creator>Kiwi</dc:creator>
      <dc:date>2019-12-26T20:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error 401 Unauthorized - When typing   http://localhost:8080/manager/html</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-401-unauthorized-when-typing-http-localhost-8080-manager/m-p/94882#M27967</link>
      <description>&lt;P&gt;What are you trying to do? Access Tomcat or Alfresco?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 12:43:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-401-unauthorized-when-typing-http-localhost-8080-manager/m-p/94882#M27967</guid>
      <dc:creator>jljwoznica</dc:creator>
      <dc:date>2019-12-27T12:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error 401 Unauthorized - When typing   http://localhost:8080/manager/html</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-401-unauthorized-when-typing-http-localhost-8080-manager/m-p/94883#M27968</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Thank you for your reply. Yes&amp;nbsp; I am trying to access tomcat&amp;nbsp; that is part of the Alfresco bundle. Accessing as&amp;nbsp;&lt;BR /&gt;manager-gui role. As already mentioned, I made a Lab install of Alfresco using the same version and it just worked straigh away.&lt;/P&gt;&lt;P&gt;Wondering: A potential port 8080 conflict between &lt;STRONG&gt;Alfresco&lt;/STRONG&gt; application and "&lt;STRONG&gt;manager&lt;/STRONG&gt;" application both defined under C:\alfresco-content-services\tomcat\&lt;STRONG&gt;webapps ?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 16:54:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-401-unauthorized-when-typing-http-localhost-8080-manager/m-p/94883#M27968</guid>
      <dc:creator>Kiwi</dc:creator>
      <dc:date>2019-12-27T16:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error 401 Unauthorized - When typing   http://localhost:8080/manager/html</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-401-unauthorized-when-typing-http-localhost-8080-manager/m-p/94884#M27969</link>
      <description>&lt;P&gt;I am not sure if this has anything to do with it, but I read this:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you deployed previous versions of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;Alfresco Community Edition&lt;/SPAN&gt;&lt;SPAN&gt;, you must remove any temporary files created by your application server. Use the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph filepath"&gt;clean_tomcat.bat&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;or&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph filepath"&gt;clean_tomcat.sh&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;command.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;\&lt;A href="https://docs.alfresco.com/community/tasks/alf-war-install.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/community/tasks/alf-war-install.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Did you install from the war file?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 19:40:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-401-unauthorized-when-typing-http-localhost-8080-manager/m-p/94884#M27969</guid>
      <dc:creator>jljwoznica</dc:creator>
      <dc:date>2019-12-27T19:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error 401 Unauthorized - When typing   http://localhost:8080/manager/html</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/error-401-unauthorized-when-typing-http-localhost-8080-manager/m-p/94885#M27970</link>
      <description>&lt;P&gt;In fact there were some updates going on since&amp;nbsp; last year until recently. I ma not the one who installed it, it's through a 3rd party company.&amp;nbsp; I don't know what will be the impact after running the cleaning batch.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2019 19:54:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/error-401-unauthorized-when-typing-http-localhost-8080-manager/m-p/94885#M27970</guid>
      <dc:creator>Kiwi</dc:creator>
      <dc:date>2019-12-27T19:54:25Z</dc:date>
    </item>
  </channel>
</rss>

