Administration manual - FAQ


This page contains answers to frequently asked questions and problems.

  1. java.lang.IllegalArgumentException: There's no site for server XXXX, port YYYY and path ZZZZ
  2. Application launch error: The repository home /home/cms/Ametys_CMS/data/repository appears to be in use since the file named .lock is already locked by the current process. at org.apache.jackrabbit.core.util.RepositoryLock.tryLock

java.lang.IllegalArgumentException: There's no site for server XXXX, port YYYY and path ZZZZ

The incoming front-office server asks the back-office server to serve it the pages of the http://XXXX:YYYY/ZZZZ site, but the back-office server replies that it does not manage this site: the list of Url sites managed by the back-office is accessible aturl of the back-office _sites.xml (for example http://monserveur.com/cms/_sites.xml).

This problem is due to an incorrect setting of the site'surl : theurl set is different from theurl used. See the documentation for the "Url" parameter in site configuration.

Application launch error: The repository home /home/cms/Ametys_CMS/data/repository appears to be in use since the file named .lock is already locked by the current process. at org.apache.jackrabbit.core.util.RepositoryLock.tryLock

Several problems can lead to this error:

  • The application is launched twice by the same tomcat (one definition in webapps and one in a context, for example).
  • The tomcat is launched 2 times
Back to top