Originally posted by Niti Auekittiroj:
it's work now.
thank you very much to everyone.
the problem is in catalina.sh
someone edit
JAVA_OPTS="-Xms256m -Xmx1024m"
into catalina.sh
when I get this line out, tomcat is work.
but I don't know why.
do you know about meaning of this line ?
and why does it error with this line ?
-Xmsn Specify the initial size, in bytes, of the memory allocation pool. This value must be a multiple of 1024 greater than 1MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is 2MB. Examples:
-Xms6291456
-Xms6144k
-Xms6m
-Xmxn Specify the maximum size, in bytes, of the memory allocation pool. This value must a multiple of 1024 greater than 2MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is 64MB. Examples:
-Xmx83886080
-Xmx81920k
-Xmx80m
SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand