[Logo] JForum - Powering Communities
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


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

Configuration of enabling the Captcha? RSS feed
Forum Index » Developer Forum
Author Message
ashok


Joined: 2015/3/18
Messages: 3
Offline
[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]
 Filename cap.PNG [Disk] Download
 Description Captcha does not show
 Filesize 177 Kbytes
 Downloaded:  56486 time(s)

andowson


Joined: 2011/6/30
Messages: 251
Offline
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
 
Forum Index » Developer Forum
Go to:   
Mobile view
Powered by JForum 2.8.3 © 2023 JForum Team • Maintained by Andowson Chang and Ulf Dittmer