tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <user080...@hotmail.com>
Subject problem on configure the java_option
Date Tue, 16 Dec 2008 12:54:30 GMT
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: 

[root@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?






 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message