會員註冊 / 登入  |  電腦版  |  Jump to bottom of page

Developer Forum » Re:Configuration of enabling the Captcha?

發表人: ashok
10 年 前
[Wed Apr 08 03:11:35 EDT 2015] [Info] CsrfGuard analyzing request /forum/forums/list.page
[Wed Apr 08 03:11:36 EDT 2015] [Info] CsrfGuard analyzing request /forum/js/list/userLocalTime.page
[Wed Apr 08 03:11:36 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:11:39 EDT 2015] [Info] CsrfGuard analyzing request /forum/user/insert.page
[Wed Apr 08 03:11:39 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:11:41 EDT 2015] [Info] CsrfGuard analyzing request /forum/user/acceptAgreement.page
[Wed Apr 08 03:11:42 EDT 2015] [Info] CsrfGuard analyzing request /forum/user/insert.page
[Wed Apr 08 03:11:42 EDT 2015] [Info] CsrfGuard analyzing request /forum/captcha/generate/1428477102005.page
[Wed Apr 08 03:11:42 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:12:43 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:12:47 EDT 2015] [Info] CsrfGuard analyzing request /forum/captcha/generate.page
[Wed Apr 08 03:13:22 EDT 2015] [Info] CsrfGuard analyzing request /forum/jforum.page
[Wed Apr 08 03:13:23 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:13:23 EDT 2015] [Info] CsrfGuard analyzing request /forum/captcha/generate/1428477202359.page
[Wed Apr 08 03:14:24 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:15:25 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:16:25 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:17:26 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:18:27 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:19:28 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:20:28 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:21:29 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:22:30 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:23:31 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:24:32 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:25:32 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:26:33 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:27:34 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:28:35 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:29:35 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:30:36 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp
[Wed Apr 08 03:31:37 EDT 2015] [Info] CsrfGuard analyzing request /forum/ping_session.jsp




the captcha image is loaded in shows the tomcat log files..

how to set tomcat JAVA_OPTS="-Djava.awt.headless=true" ????
which tomcat file to edit?... any sug???



[Thumb - cap.PNG]
檔案名稱 cap.PNG
描述 Captcha does not show
檔案大小 177 Kbytes
下載次數 61469 次
[Disk] 下載


發表人: andowson
10 年 前
You can create a file setenv.sh under tomcat/bin directory

The content of my setenv.sh is as follows:

JAVA_HOME="/usr/java/latest"
JAVA_OPTS="-server -XX:NewSize=123m -XX:MaxNewSize=123m -XX:SurvivorRatio=8 -Xss256k -Xms495m -Xmx495m -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true"


You can modify the other memory size options according to your server's capacity.

Reference:
http://www.andowson.com/posts/list/556.page




會員註冊 / 登入  |  電腦版  |  Jump to top of page