Hi,

I want to set some option  for my tomcat and I added the following line: 

export JAVA_OPTS=-server -Xms800m -Xmx800m 
-XX:PermSize=64M-XX:MaxNewSize=256m-XX:MaxPermSize=256m -Djava.awt.headless=true

However, when I startup the tomcat, it throws the following error: 

[r...@ebusiness ~]# /opt/tomcat/bin/startup.sh
/opt/tomcat/bin/startup.sh: line 26: export: `-Xms800m': not a valid identifier
/opt/tomcat/bin/startup.sh: line 26: export: `-Xmx800m': not a valid identifier
/opt/tomcat/bin/startup.sh: line 26: export: 
`-XX:PermSize=64M-XX:MaxNewSize=256m-XX:MaxPermSize=256m': not a valid 
identifier
/opt/tomcat/bin/startup.sh: line 26: export: `-Djava.awt.headless=true': not a 
valid identifier

Why?






 

Reply via email to