Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Java options for tomcat - setting Xms Xmx

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

  1. byronm

    byronm Member

    Joined:
    Mar 26, 2005
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    151
    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 Member

    Joined:
    Mar 26, 2005
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    151
    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 Well-Known Member
    PartnerNOC

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice