1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Trying to figure out why Tomcat wont start

Discussion in 'Plesk 11.x for Linux' started by NolanT, Nov 21, 2012.

  1. NolanT

    NolanT New Pleskian

    10
     
    Joined:
    Oct 1, 2012
    Messages:
    2
    Likes Received:
    0
    First time poster here, I been trying to figure this out but I need to ask for advice.

    I am on MediaTemple DV 2GB server, running OS CentOS 5.8 (Final), 11.0.9 Update #26,
    I followed a wiki and successfully installed Tomcat, but when I go to start the service, it never starts.

    I went ahead and added to the tomcat5.conf file:
    JAVA_OPTS="-Xms128M -Xmx256M"

    But when I check the catalina.out log I see this:
    -sh: line 0: export: `
    ': not a valid identifier
    Invalid maximum heap size: -Xmx256M
    Could not create the Java virtual machine.


    Any thoughts to what I might be doing wrong? Or what I need to config for the DV system I am running. Thanks for the feedback.
     
    Last edited: Nov 21, 2012
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  3. NolanT

    NolanT New Pleskian

    10
     
    Joined:
    Oct 1, 2012
    Messages:
    2
    Likes Received:
    0
    Ah ha!

    Double quotes. Should be: JAVA_OPTS=-Xms64M -Xmx128M

    Thanks Igor!
     
    Last edited: Nov 21, 2012
Loading...