1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Java options for tomcat - setting Xms Xmx

Discussion in 'General Discussion' started by byronm, Feb 27, 2006.

  1. byronm

    byronm New Member

    Joined:
    Mar 26, 2005
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Where do you set these parameters for Cpanel? I've tried editing /usr/sbin/startcpanel as well as adding -Xmx1024m -Xms1024m" into the /var/cpanel/tomcat.options and nada.. i'm not used to this jsvc and for some reason resin decided to crash apache everytime i start it.
     
  2. byronm

    byronm New Member

    Joined:
    Mar 26, 2005
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Found out the ordering of the file /usr/sbin/starttomcat was wrong. Moving the "$options" variable ahead of the debug option fixed the problem so now my apps work once again.
     
  3. gemby

    gemby Member

    Joined:
    Feb 16, 2002
    Messages:
    200
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Pula, Croatia
    Can you paste me your stattomcat file? I have similar problems too, but when i move $options form end, tomcat refuses to start.
     

Share This Page