Article ID: 758, created on Feb 20, 2009, last review on May 1, 2014

  • Applies to:
  • Plesk 11.0 for Linux

Résolution

Si $CATALINA_HOME/psa-users/DOMAIN.COM.xml n'existe pas, vous devez le créer.

Tout d'abord, obtenez le mot de passe et le login du manager du domaine :

mysql -uadmin -p`cat /etc/psa/.psa.shadow ` -D psa -e 'select p.parameter,p.value from Parameters p, DomainServices ds, domains d where p.id=ds.parameters_id and ds.type="tomcat" and ds.dom_id=d.id and d.name="DOMAIN_NAME";'
+----------------+----------------------------------+
| parameter | value |
+----------------+----------------------------------+
| manager_login | 3030435a3bce1dff91a1a98d6f6be993 |
| manager_passwd | d59a93a6a8ebd4b90421ff0fe47e76df |
+----------------+----------------------------------+


Puis utilisez ces valeurs pour créer le fichier.

export PSA_PASSWORD="d59a93a6a8ebd4b90421ff0fe47e76df"

$PRODUCT_ROOT_D/admin/sbin/tomcatmng --install-service --vhost-name="DOMAIN_NAME" --manager-login="3030435a3bce1dff91a1a98d6f6be993"


Redémarrez Tomcat.

29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c aea4cd7bfd353ad7a1341a257ad4724a 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF