Results 1 to 3 of 3

Thread: Java options for tomcat - setting Xms Xmx

  1. #1
    Registered Member
    Join Date
    Mar 2005
    Posts
    19

    Default Java options for tomcat - setting Xms Xmx

    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. #2
    Registered Member
    Join Date
    Mar 2005
    Posts
    19

    Default

    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. #3
    Registered Member cPanel Partner NOC Badge
    Join Date
    Feb 2002
    Location
    Pula, Croatia
    Posts
    196
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by byronm
    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.
    Can you paste me your stattomcat file? I have similar problems too, but when i move $options form end, tomcat refuses to start.

Similar Threads

  1. Java/Tomcat Issue
    By wagittech in forum General Discussion
    Replies: 3
    Last Post: 03-20-2009, 03:33 AM
  2. Query About tomcat and java
    By ngchandak in forum General Discussion
    Replies: 1
    Last Post: 07-21-2005, 01:46 AM
  3. Java (Tomcat)
    By dzalbo in forum General Discussion
    Replies: 1
    Last Post: 05-02-2005, 10:52 PM
  4. Tomcat/Java problems
    By marcusg70 in forum General Discussion
    Replies: 1
    Last Post: 03-30-2005, 07:26 AM
  5. Java TomCat
    By billmicke in forum General Discussion
    Replies: 0
    Last Post: 05-17-2002, 11:08 AM
bargain