1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Eclipseから起動したTomcatのWebアプリケーションマネージャにアクセス

Posted at

設定ファイルの編集

以下、二つの設定ファイルに追記する

  • tomcat-users.xml

roleとuserを追加

tomcat-user.xml
<tomcat-users>
  :
 (中略)
  :
  <role rolename="manager-gui"/>
  <user name="任意のユーザ名" password="任意のパスワード" roles="manager-gui"/>

</tomcat-users>

  • server.xml

Contextを追加

server.xml
<Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true">
  :
 (中略)
  :
  <Context path="/manager" docBase="${catalina.home}/webapps/manager" privileged="true"/>

</Host>

アクセス

Eclipseよりtomcatを起動して以下のURLにアクセス
http://localhost:8080/manager/html

Basic認証画面が表示されたらOK!!
tomcat-user.xmlに追加したユーザ・パスワードでアクセス可能

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?