Magnolia 6.1 reached end of life on March 31, 2021. This branch is no longer supported, see End-of-life policy.
...
( Tested on Windows 10.) When starting up Tomcat with the Magnolia CLI mgnl start
command, you get a flickering window, the server hangs and nothing is written into the logs. To see the actual error, don't use Magnolia CLI to start Magnolia, start Tomcat directly with <your-magnolia-install-folder>\apache tomcat\bin\catalina.bat run
. This should start Magnolia in the same window and allow you to see the error message:
Code Block |
---|
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap |
The most likely cause is that you are trying to allocate too much heap space in the 32-bit JVM.
Solution: Replace the JVM with a 64-bit version.
You get the following error message after a fresh Java installation:
Code Block |
---|
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variables is needed to run this program |
Solution: Set the variables through the "Edit the system environment variables" dialog.
If you get an error like this one:
Code Block |
---|
The JRE_HOME environment variable is not defined correctly
The environment variable is needed to run this program |
then you are most probably attempting to run Tomcat with the JAVA_HOME
variable set but without the JRE_HOME
variable defined.
Solution: Set the JRE_HOME
variable.
...