Article ID: 758, created on Feb 12, 2009, last review on May 9, 2014

  • Applies to:
  • Plesk 11.0 for Linux

Resolución

Si $CATALINA_HOME/psa-users/DOMAIN.COM.xml no existe, deberá crearlo.

Primero, obtenga el nombre de usuario y la contraseña del administrador para el dominio:

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 |
+----------------+----------------------------------+


Ahora use estos valores para crear el archivo.

export PSA_PASSWORD="d59a93a6a8ebd4b90421ff0fe47e76df"

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


Reinicie Tomcat.

29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c aea4cd7bfd353ad7a1341a257ad4724a 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF