When this problem occurs, search for Du Niang, and find that there are two solutions
1. The memory can be adjusted in the resin configuration file
One: config file: <jvm-arg>-Xmx256m</jvm-arg>, which can be enlarged.
Two: The processing configuration for jsp page compilation in the app-default.xml file is as follows:
<servlet servlet-name="resin-jsp" servlet-class="com.caucho.jsp.JspServlet">
<init>
<load -tld-on-init>false</load-tld-on-init>
<page-cache-max>1024</page-cache-max>
</init>
<load-on-startup/>
</servlet>
来源------------http://swiftlet.net/archives/723
2, linux system encoding problem
First, use the locale command to view the current server setting region. The result I came out was:
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8 "
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN .UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
Indicates that the Chinese region is
used using the export LANG=en_US.UTF-8 command Modified to English US region.
---------------------------------------------------------------------------------------------------------------------------
But neither solved the problem
By modifying resin.conf
<javac compiler="internal" args="-source 1.5"/>改为<javac compiler="javac" args="-source 1.5"/>
solved the problem
---------------------------- end of record