I am able to compile a class under our shared tomcat 5.9 environment as long as I log on as root. If I log on as a shared user and submit the same compile options, I receive
"Error occurred during initialization of VM, Could not reserve enough space for object heap, Could not create the Java virtual machine."
The compile code is below;
javac -J-Xms30m -J-Xmx40m -cp /home/mikeippo/www/WEB-INF/classes/beans/*.java -sourcepath /home/mikeippo/www/WEB-INF/classes/beans -classpath /home/mikeippo/www/WEB-INF/classes/beans:/home/mikeippo/www/WEB-INF/classes:/home/mikeippo/www/WEB-INF/lib/servlet.jar:/home/mikeippo/www/WEB-INF/lib/mail.jar
We have tried just about every combination of xms / xmx memory values and always get the same results. This leads us to the conclusion that there is no xms/xmx memory assigned to a shared user.
Where do we assign xms/xmx memory to a shared user in our configuration. I believe that it is in the server.xml but cannot find the parameters
We asked this question in our last Request Title: Users Cannot compile under shared tomcat 5.9 but it appeared that the person who was helping us did not know the answer and gave up because he has not responded in about a week. This left us hanging, so we created another question.
Your help is much appreciated