HI I'm trying to access tomcat manager
I've edit the file :
nano /opt/alfresco-community/tomcat/conf/tomcat-users.xml
and then I pasted those balise :
<role rolename="manager-gui"/>
<user username="tomcat" password="secretpass" roles="manager-gui"/>
after a restart I still have the same message, saying me that I can't access to the manager ...
can you help me please ?
Solved! Go to Solution.
Hi,
I think this link could be useful:
In my case I added the following lines to the file: "/opt/alfresco-community/tomcat/conf/tomcat-users.xml"
<role rolename="manager-gui"/>
<role rolename="manager-status"/>
<role rolename="manager-jmx"/>
<role rolename="manager-script"/>
<user username="manager" roles="manager-gui,manager-status" password="manager"/>
In second place in "{Alfresco}\tomcat\conf\Catalina\localhost" folder I created a file named "manager.xml" with the following content:
<?xml version='1.0' encoding='utf-8'?>
< Context antiResourceLocking="false" privileged="true" useHttpOnly="true" override="true">
<Valve className="org.apache.catalina.authenticator.BasicAuthenticator" securePagesWithPragma="false" />
</Context >
After that I restarted the service and when I tried to access: http://localhost:8383/manager/status it prompt:
user: manager
password: manager
And it works in Alfresco 201704.
I've tried http://localhost:8383/manager/html too, with the same success result.
Anyway, i'm not completely sure if it's necessary doing anymore in a production server.
Regards,
Hi,
I think this link could be useful:
In my case I added the following lines to the file: "/opt/alfresco-community/tomcat/conf/tomcat-users.xml"
<role rolename="manager-gui"/>
<role rolename="manager-status"/>
<role rolename="manager-jmx"/>
<role rolename="manager-script"/>
<user username="manager" roles="manager-gui,manager-status" password="manager"/>
In second place in "{Alfresco}\tomcat\conf\Catalina\localhost" folder I created a file named "manager.xml" with the following content:
<?xml version='1.0' encoding='utf-8'?>
< Context antiResourceLocking="false" privileged="true" useHttpOnly="true" override="true">
<Valve className="org.apache.catalina.authenticator.BasicAuthenticator" securePagesWithPragma="false" />
</Context >
After that I restarted the service and when I tried to access: http://localhost:8383/manager/status it prompt:
user: manager
password: manager
And it works in Alfresco 201704.
I've tried http://localhost:8383/manager/html too, with the same success result.
Anyway, i'm not completely sure if it's necessary doing anymore in a production server.
Regards,
I've followed it but it doesn't work,
I just get an error 404
the link you sent me works perfectly ! thanks a lot ! :-)
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.