On Mar 19, 2008, at 13:22 , ACUITY | Stefan Yanku wrote:

Yes, there's no setenv.sh in the provided tomcat bundle yet.

It's a script you can add yourself and which is called by catalina.sh on startup.


Could you also elaborate on how you modified the magnolia_control.sh script

I changed this the following lines:

magnolia_control.bat
set CATALINA_OPTS=%CATALINA_OPTS% -Xms1024M -Xmx1024M -

magnolia_control.sh
export CATALINA_OPTS="$CATALINA_OPTS -Xms1024M -Xmx1024M -


- the .bat scripts are not used on osx or unix
- I suppose it's just a copy/paste mistake if the end of the lines are missing - -Xms sets the initial Java heap size while -Xmx sets the maximum Java heap size. It doesn't really help setting Xms to a high value.

... and how you started Tomcat ?

I started Tomcat via the Terminal:

cd /Library/Tomcat/bin
./startup.sh

Well, that makes absolutely no use of the magnolia_control script that you modified, so obviously your changes have been ignored :)
./magnolia_control.sh start
./magnolia_control.sh stop
.. provides shortcuts to start/stop, our default settings, and a central place for customization of both start and stop operations.

Cheers,

-g

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to