If you are learning or curious to learn more about Tomcat then check out this beginner to the advanced course. This simple trick has helped me, and I hope you too! 2 05:44:26.898 INFO .ployDirectory Deployment of web application directory has finished in ms 2 05:44:26.909 INFO .start Starting ProtocolHandler 2 05:44:26.924 INFO .start Starting ProtocolHandler 2 05:44:26.931 INFO .Catalina.start Server startup in 2085 ms Look at the catalina.out file and it should be started. JAVA_OPTS="$JAVA_OPTS $JSSE_OPTS =file:/dev/./urandom"
#Apache tomcat 8 error occurred during initialization of vm windows#
It's because of how the JVM allocates memory on Windows it insists on allocating a contiguous chunk of memory, which often Windows can't provide, even if there are enough separate chunks to satisfy the allocation request. occurred during initialization of VM Could not reserve enough space for. This is actually not an Eclipse-specific issue it's a general Java-on-Windows issue.
It was getting stuck at the following stage during startup.Lately, I was working on Tomcat 9 and encountered an issue. You have done two things, one checked the system path for JAVA and its Ok and checked that JAVA is working fine.
![apache tomcat 8 error occurred during initialization of vm apache tomcat 8 error occurred during initialization of vm](https://1.bp.blogspot.com/-w-DZ0o8QXbg/VYsKUYErfuI/AAAAAAAAANY/Qv2M8sYTijU/s1600/vm-args.png)
![apache tomcat 8 error occurred during initialization of vm apache tomcat 8 error occurred during initialization of vm](https://joseluisbz.files.wordpress.com/2010/11/tomcat7-javajdk1-7-0.png)
In java, Xms is the minimum heap size that is allocated at initialization of. where options include: -client to select the 'client' VM -server to select the 'server' VM -hotspot is a synonym for the 'client' VM deprecated The default VM is client. Apache Tomcat getting stuck while starting In the first part, we will produce the error by passing VM/JVM parameters.