Page History
...
The solution is to increase the system-wide limit on the number of open files. The exact procedure, however, varies from one OS to the next, see Too many open files.
Expand | ||
---|---|---|
| ||
|
...
Info |
---|
If you want to run two different Tomcats simultaneously you need to change other ports too. This is useful if you want to run different versions of Magnolia at the same time. In |
Windows Firewall is blocking Java
Allow an exception in Windows Firewall for Java.
- Go to Control Panel > Windows Firewall.
- Go to the Exceptions tab.
- Click Add Program and browse to the java.exe file in the Java installation directory, for example
C:\Sun\SDK\jdk\bin\java.exe
. - Click OK.
If you get a security alert during startup, check the Private networks checkbox and click Allow access.
Cannot publish content with path-based locking
After upgrading to Magnolia 5.7.9, it is not possible to publish content locally. The following errors can be found in the logs:
Log of the Author instance
Code Block |
---|
ERROR info.magnolia.publishing.command.PublicationCommand 08.06.2021 09:42:18 – Receiver: magnoliaPublic8080, error: Unable to contact receiver, HTTP response code: 500. |
Log of the Public instance
Code Block |
---|
ERROR info.magnolia.publishing.receiver.operation.jcr.AbstractJcrReceiveOperation 08.06.2021 09:41:52 – UNC path is missing sharename: /\website\/
java.nio.file.InvalidPathException: UNC path is missing sharename: /\website\/ |
As a temporary workaround, switch the locking mode to compatibility
(JCR-based) locking in the configuration of the publishing-core
module:
/modules/publishing-core/config@lockManagerMode=compatibility
Windows Firewall is blocking Java
Allow an exception in Windows Firewall for Java.
- Go to Control Panel > Windows Firewall.
- Go to the Exceptions tab.
- Click Add Program and browse to the java.exe file in the Java installation directory, for example
C:\Sun\SDK\jdk\bin\java.exe
. - Click OK.
If you get a security alert during startup, check the Private networks checkbox and click Allow access.
CATALINA_HOME environment variable is not defined
...
Jira | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Natural order not respected in results of content searches
If you search for content using searchfn.searchPage()
, searchfn.searchContent()
or by executing search queries directly from a template, the search result order will not respect the natural order. This issue is caused by a bug in Apache Jackrabbit filed as JCR-3932: "Result of JCR-SQL2 query doesn't respect document order in JCR".
Until the JCR bug is fixed, do not use searchfn
. To get the correct order, execute JCR XPath queries directly.