• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Trying to figure out why Tomcat wont start

NolanT

New Pleskian
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:
Ah ha!

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

Thanks Igor!
 
Last edited:
Back
Top