[Logo] JForum - Powering Communities
  [Search] 搜尋   [Recent Topics] 最新主題   [Hottest Topics] 熱門主題   [Top Downloads] 熱門下載   [Groups] 回首頁 
[Register] 會員註冊 /  [Login] 登入 


JForum 2.8.3 is out with various fixes and improvements. Read all about it here

Configuration of enabling the Captcha? RSS feed
討論區首頁 » Developer Forum
發表人 內容
ashok


註冊時間: 2015/3/18
文章: 3
離線
[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 [Disk] 下載
 描述 Captcha does not show
 檔案大小 177 Kbytes
 下載次數:  61483 次

andowson


註冊時間: 2011/6/30
文章: 252
離線
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
 
討論區首頁 » Developer Forum
前往:   
行動版
Powered by JForum 2.8.3 © 2023 JForum Team • Maintained by Andowson Chang and Ulf Dittmer