Comment se reconnecter à Tomcat Manager?

Fermé
chercheur2017 Messages postés 57 Date d'inscription mardi 18 avril 2017 Statut Membre Dernière intervention 16 décembre 2018 - Modifié le 2 juil. 2017 à 13:48
Bonjour à tous,

Afin de déployer un fichier WAR, je me suis connecté sur le lien suivant:

"http://localhost:8080/manager/html" dans le but de réaliser ce déploiement au niveau de "Tomcat Manager". Au début j'accédait le plus normalement du monde avec un compte que j'ai créé au niveau du fichier "tomcat-users.xml". Mais le problème n'était pas réglé (je n'ai pas pus déployé le WAR).

Deux jours après, j'ai essayé de me connecté avec un autre username et un autre password (tomcat/tomcat), mais je n'est pas pu me connecté avec ces valeurs; et après plusieurs tentatives, les champs de saisi pour introduire les valeurs ont disparu!!

Comment procéder pour faire réapparaître de nouveau ces champs?

J'ai essayé d'intervenir au niveau du fichier "context.xml", mais je n'ai pas su comment faire!!

NB: voici le contenu actuel (par défaut) de mon fichier "context.xml":

<?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.
--><!-- The contents of this file will be loaded for each web application --><Context>

    <!-- Default set of monitored resources. If one of these changes, the    -->
    <!-- web application will be reloaded.                                   -->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>

    <!-- Uncomment this to disable session persistence across Tomcat restarts -->
    <!--
    <Manager pathname="" />
    -->

    <!-- Uncomment this to enable Comet connection tacking (provides events
         on session expiration as well as webapp lifecycle) -->
    <!--
    <Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
    -->
</Context>


Merci d'avance.
A voir également: