第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

tomcat查看后臺(tái)管理怎么設(shè)置用戶名和密碼.我這邊沒法查看,然后報(bào)401,沒權(quán)限

54741442000185b005000316.jpg

求對(duì)策

正在回答

14 回答

<?xml?version='1.0'?encoding='utf-8'?>
<!--
??Licensed?to?the?Apache?Software?Foundation?(ASF)?under?one?or?more
??contributor?license?agreements.??See?the?NOTICE?file?distributed?with
??this?work?for?additional?information?regarding?copyright?ownership.
??The?ASF?licenses?this?file?to?You?under?the?Apache?License,?Version?2.0
??(the?"License");?you?may?not?use?this?file?except?in?compliance?with
??the?License.??You?may?obtain?a?copy?of?the?License?at

??????http://www.apache.org/licenses/LICENSE-2.0

??Unless?required?by?applicable?law?or?agreed?to?in?writing,?software
??distributed?under?the?License?is?distributed?on?an?"AS?IS"?BASIS,
??WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND,?either?express?or?implied.
??See?the?License?for?the?specific?language?governing?permissions?and
??limitations?under?the?License.
-->
<tomcat-users?xmlns="http://tomcat.apache.org/xml"
??????????????xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
??????????????xsi:schemaLocation="http://tomcat.apache.org/xml?tomcat-users.xsd"
??????????????version="1.0">
<!--
??NOTE:??By?default,?no?user?is?included?in?the?"manager-gui"?role?required
??to?operate?the?"/manager/html"?web?application.??If?you?wish?to?use?this?app,
??you?must?define?such?a?user?-?the?username?and?password?are?arbitrary.?It?is
??strongly?recommended?that?you?do?NOT?use?one?of?the?users?in?the?commented?out
??section?below?since?they?are?intended?for?use?with?the?examples?web
??application.
-->
<!--
??NOTE:??The?sample?user?and?role?entries?below?are?intended?for?use?with?the
??examples?web?application.?They?are?wrapped?in?a?comment?and?thus?are?ignored
??when?reading?this?file.?If?you?wish?to?configure?these?users?for?use?with?the
??examples?web?application,?do?not?forget?to?remove?the?<!..?..>?that?surrounds
??them.?You?will?also?need?to?set?the?passwords?to?something?appropriate.
-->
<!--
??<role?rolename="tomcat"/>
??<role?rolename="role1"/>
??<user?username="tomcat"?password="<must-be-changed>"?roles="tomcat"/>
??<user?username="both"?password="<must-be-changed>"?roles="tomcat,role1"/>
??<user?username="role1"?password="<must-be-changed>"?roles="role1"/>
-->
??<role?rolename="manager-gui"/>
??<role?rolename="manager-script"/>
??<role?rolename="admin-gui"/>
??<role?rolename="manager-jmx"/>
??<role?rolename="manager-status"/>
??<user?username="tomcat"?password="123456"?roles="manager-status"/>
</tomcat-users>


0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

qq_阿良_5

step1. 修改conf目錄下的tomcat-users.xml文件內(nèi)容如上 step2. 重啟tomcat step3. 再次進(jìn)入server status頁面,輸入用戶名和密碼分別為:tomcat/123456 即可
2016-11-23 回復(fù) 有任何疑惑可以回復(fù)我~
#2

慕粉1851516597

試了這么多,就你的可以用。多謝大神
2017-02-10 回復(fù) 有任何疑惑可以回復(fù)我~

在tomcat-users.xml中配置賬號(hào)密碼后,記得重啟tomcat,修改的東西才有效

0 回復(fù) 有任何疑惑可以回復(fù)我~

為什么設(shè)置好了用戶名和密碼之后可以進(jìn)入后臺(tái),但再次重啟tomcat用戶名就登錄不上了?失效了!!! ? ? ? ? ? ? ? ?tomcat-users.xml里面也沒有了剛剛的配置!

0 回復(fù) 有任何疑惑可以回復(fù)我~

.o0.0o. ?哈哈 謝謝

0 回復(fù) 有任何疑惑可以回復(fù)我~

O(∩_∩)O非常感謝!~

0 回復(fù) 有任何疑惑可以回復(fù)我~
<?xml?version='1.0'?encoding='utf-8'?>
<!--
??Licensed?to?the?Apache?Software?Foundation?(ASF)?under?one?or?more
??contributor?license?agreements.??See?the?NOTICE?file?distributed?with
??this?work?for?additional?information?regarding?copyright?ownership.
??The?ASF?licenses?this?file?to?You?under?the?Apache?License,?Version?2.0
??(the?"License");?you?may?not?use?this?file?except?in?compliance?with
??the?License.??You?may?obtain?a?copy?of?the?License?at

??????http://www.apache.org/licenses/LICENSE-2.0

??Unless?required?by?applicable?law?or?agreed?to?in?writing,?software
??distributed?under?the?License?is?distributed?on?an?"AS?IS"?BASIS,
??WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND,?either?express?or?implied.
??See?the?License?for?the?specific?language?governing?permissions?and
??limitations?under?the?License.
-->
<tomcat-users>
<!--
??NOTE:??By?default,?no?user?is?included?in?the?"manager-gui"?role?required
??to?operate?the?"/manager/html"?web?application.??If?you?wish?to?use?this?app,
??you?must?define?such?a?user?-?the?username?and?password?are?arbitrary.
-->
<!--
??NOTE:??The?sample?user?and?role?entries?below?are?wrapped?in?a?comment
??and?thus?are?ignored?when?reading?this?file.?Do?not?forget?to?remove
??<!..?..>?that?surrounds?them.
-->
<role?rolename="manager-gui"/>
<user?username="tomcat"?password="tomcat"?roles="manager-gui"/>
<!--
??<role?rolename="tomcat"/>
??<role?rolename="role1"/>
??<user?username="tomcat"?password="tomcat"?roles="tomcat"/>
??<user?username="both"?password="tomcat"?roles="tomcat,role1"/>
??<user?username="role1"?password="tomcat"?roles="role1"/>
-->
</tomcat-users>


4 回復(fù) 有任何疑惑可以回復(fù)我~
#1

qq_韶華易逝_(tái)1

謝謝了
2016-04-28 回復(fù) 有任何疑惑可以回復(fù)我~

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

直接在tomcat-user.xml文件中的<tomcat-users></tomcat-users>之間加入上面這一句即可,這句話的意思是吧用戶名設(shè)置為tomcat,密碼設(shè)為123。

不要把<!-- -->這個(gè)符號(hào)去掉,這里是注釋,舉例說明你可以把名字密碼設(shè)置為各種類型。


1 回復(fù) 有任何疑惑可以回復(fù)我~
#1

Refactor易先生

親,按照你的方法進(jìn)去輸入密碼還是不行。。。。。。。。。。
2015-10-14 回復(fù) 有任何疑惑可以回復(fù)我~
#2

鮮衣 回復(fù) Refactor易先生

我的全文是這樣的。你看下一條回答。
2015-10-14 回復(fù) 有任何疑惑可以回復(fù)我~

我只加了一個(gè)角色manager-gui就可以訪問了,role="admin-gui"是什么意思,也是系統(tǒng)里內(nèi)置的么?@諾顏寧

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

xingoo

manager-gui - Allows access to the html interface manager-gui是使用戶具有 頁面登錄管理 的權(quán)限,所以僅僅設(shè)置這一個(gè)角色 就可以了。至于上面提供的admin-gui猜想是自定義的角色吧
2015-03-21 回復(fù) 有任何疑惑可以回復(fù)我~
#2

小小鳥002

我也覺得奇怪,以為只有admin就可以,但是還要加一個(gè)gui才行
2015-05-02 回復(fù) 有任何疑惑可以回復(fù)我~

非常感謝,已成功.

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

qq_XXIT郁_0

怎么弄好的?教教我……
2016-02-03 回復(fù) 有任何疑惑可以回復(fù)我~

打開Tomcate安裝文件中的conf文件夾,之后打開tomcat-users.xml文件,在<tomcat-users></tomcat-users>的標(biāo)簽之間j加入一下代碼,此時(shí)你的用戶名和密碼是admin,這樣就可以實(shí)現(xiàn)你想要的了

54752dc800010a8b05000045.jpg

1 回復(fù) 有任何疑惑可以回復(fù)我~
#1

無計(jì)留春住 提問者

謝謝啦.
2014-11-26 回復(fù) 有任何疑惑可以回復(fù)我~
#2

human123

<!-- <role rolename="tomcat"/> <role rolename="role1"/> <user username="admin" password="admin" roles="admin-gui,manager-gui"/> 我按你這樣子改了之后 輸入用戶名還有密碼 但是還是不行
2015-04-10 回復(fù) 有任何疑惑可以回復(fù)我~
#3

小小鳥002 回復(fù) human123

你那個(gè)注釋符號(hào)應(yīng)該沒有取消吧? <!---第一行的這個(gè)是注釋符
2015-05-02 回復(fù) 有任何疑惑可以回復(fù)我~
#4

嗨糊蘿卜 回復(fù) human123

user 后面的roles寫的不對(duì) ,要跟role 的rolename相同
2016-11-23 回復(fù) 有任何疑惑可以回復(fù)我~
#5

慕粉13212751343 回復(fù) 小小鳥002

改后要重啟服務(wù)器
2017-05-17 回復(fù) 有任何疑惑可以回復(fù)我~
查看2條回復(fù)
首頁上一頁12下一頁尾頁

舉報(bào)

0/150
提交
取消

tomcat查看后臺(tái)管理怎么設(shè)置用戶名和密碼.我這邊沒法查看,然后報(bào)401,沒權(quán)限

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)