Tomcat not loading on NetWare 6.5

  • 3393861
  • 14-Sep-2006
  • 16-Mar-2012

Environment

Novell NetWare 6.5
Novell NetWare 6.5 Support Pack 1
Novell Tomcat 4.0

Situation

Tomcat not loading on NetWare 6.5
Error: Error occurred during initialization of VM could not reserve enough space for object heap
Error: java: class org.apache.catalina.startup.Bootstrap exited with status -9
SERVER.EXE is started with a -u### switch

Resolution

This occurs due to the use of the -u switch when SERVER.EXE loads. SERVER.EXE places memory limits on the amount of memory available to user processes on the server, which directly effects tomcat. To remedy this situation, there are three options :
  • remove the -u switch in the AUTOEXEC.BAT file when loading the SERVER.EXE file.
  • Alter the amount of memory specified by the -u parameter to allow for the requirements of the installation of tomcat. This is usually at least 512 Mb.
  • Alter the tomcat startup scripts to use a lesser amount of memory. For example, the SYS:/TOMCAT/4/BIN/TOMCAT4.NCF file contains a line exporting CATALINA_OPTS. The values regarding the amount of memory being used by this instance of tomcat is specified by the -Xmx### (and the -Xms must be equal or lesser, equal being preferred). Note that this option may limit the space available to the tomcat process, and can effect the web applications running under tomcat.

Additional Information

Not enough memory allocated to Java heap

Formerly known as TID# 10093274