• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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