วันจันทร์ที่ 26 กุมภาพันธ์ พ.ศ. 2561

Forget user & password Apache Tomcat


   
 1. Go to folder apache tomcat  for example : C:\apache-tomcat-7.0.84\conf 

  
 2. Open file tomcat-users.xml by Notepad


3. Focus tag
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="both" roles="tomcat,role1"/>
<user username="role1" password="role1" roles="role1"/>
Uncomment all tag or add another user and user role 


4. Open command 
go to apache-tomcat-7.0.84\bin 
> shutdown 
 > Enter

5. Open command 
go to apache-tomcat-7.0.84\bin 
 > startup
 > Enter

6. Success.





ไม่มีความคิดเห็น:

แสดงความคิดเห็น

Set Enable .Net framework 3.5 on windows 10 (ติดตั้ง .Netframework 3.5 บนวินโดวน์ 10)

1. Download windows 8.1 file [ TH : ดาวน์โหลดไฟล์ ของ windows 8.1 ] 2. Mount File windows Copy file \sources\sxs from mount drive ...