Default username and password of tomcat 7 in azure wbsites

百般思念 提交于 2019-12-10 18:49:18

问题


What is the Default username and password of tomcat 7 when we create azure website with tomcat 7 from gallery. i have tried admin,root, etc nit working :(

if there is no default username and password. is there any way to access the tomcat manager?? is there any way to access catalina config to change the user configration in azure websites??

please help.. thanks in advance :)


回答1:


I think there is no default user. You can define your a user in manager-gui role to be able to use it with /manager/html this definition goes into wwwroot\bin\apache-tomcat-7.0.52\conf\tomcat-users.xml

You can edit that file in FTP and add your user, but an easier way would be to go into https://<YourSiteName>.scm.azurewebsites.net/DebugConsole and log-in with your deployment credentials azure account and go to that file and edit it in the browser. You can also use Monoco (Visual Studio Online) https://<YourSiteName>.scm.azurewebsites.net/Dev but you need to enable it in portal first, then use your deployment credentials again.

After you get to the XML, you need to add something like the following to your <tomcat-users> tag

<role rolename="manager-gui"/>
<user username="admin" password="admin" roles="manager-gui"/>

Please restart your website after the changes takes place.



来源:https://stackoverflow.com/questions/22863099/default-username-and-password-of-tomcat-7-in-azure-wbsites

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!