• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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