Product:
Search Type:

Tomcat error. Memory database file psa-users/DOMAIN.COM.xml cannot be read.

Article ID: 758 
Last Review: Apr,19 2007
APPLIES TO:
  • Plesk 7.0.x
  • Plesk 7.1.x Reloaded
  • Plesk 7.5.x Reloaded
  • Plesk 8.x for Linux/Unix

RESOLUTION

If $CATALINA_HOME/psa-users/DOMAIN.COM.xml doesn't exist you should create it.

Firstly, get manager's login and password for the domain:

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


Then use these values to create the file.

export PSA_PASSWORD="d59a93a6a8ebd4b90421ff0fe47e76df"

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


Restart tomcat.
Keywords: tomcat, Memory database, cannot be read

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields