You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rakesh Kumar <ra...@isac.gov.in> on 2007/05/14 12:43:20 UTC
JCaptcha with Tomcat
Hi,
I am trying to use JCaptcha with TC 5.5.23 on the same machine. Is
there any way to use JCaptcha without running X server on this machine ?
Rakesh Kumar
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: JCaptcha with Tomcat
Posted by Johnny Kewl <jo...@kewlstuff.co.za>.
I cant remember offhand wot it was that made me unhappy with Jcaptcha's real
time operation, but there was definitely something that I found very buggy
and yes... you got a problem with headless java as well.... although I did
see some articles on how to try and get around this, its too much hassle....
anyway just want to tell you what I ended up doing and it works well.
I use JCaptcha to PRE- generate a a few thousand entries which I simply
store in files.... 1,2,3,4,5,6 for images and similar thing for capcha's
etc... then I just use a random number generator to get them.... servlets
are quick and no problems with headless java.... all I'm saying if u go that
way... you probably going to bump into the issue I had as well.... there was
something wrong with it... probably something to do with threads and
swing... anyway rather go for the pre-gen method... its very efficient.
Also dont have to have all the XML in your servlets anymore.... other than
that JCatcha is very cool.... but swing dependent.... unfortuanately
----- Original Message -----
From: "Rakesh Kumar" <ra...@isac.gov.in>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Monday, May 14, 2007 12:43 PM
Subject: JCaptcha with Tomcat
> Hi,
>
> I am trying to use JCaptcha with TC 5.5.23 on the same machine. Is there
> any way to use JCaptcha without running X server on this machine ?
>
> Rakesh Kumar
>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: JCaptcha with Tomcat
Posted by Pid <p...@pidster.com>.
Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Rakesh,
>
> Rakesh Kumar wrote:
>> I am trying to use JCaptcha with TC 5.5.23 on the same machine. Is there
>> any way to use JCaptcha without running X server on this machine ?
>
> If the -Djava.awt.headless=true trick doesn't work, you can always use
> "xvfb", the X virtual frame buffer. In order to run xvfb, you'll need to
> have a base X system installed.
>
> Most package managers probably have an "xvfb" package that you can install.
>
> Hope that helps,
> - -chris
And you might like to try SimpleCaptcha which I recently found to be
more user friendly and easier to configure.
Our users were unable to correctly read the JCaptcha image text in
20-30% of attempts.
http://www.google.co.uk/search?q=simplecaptcha
p
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGSF1w9CaO5/Lv0PARAsCHAJ9sC2M63bT1b40xhjm1hMCzC0uexACeL7GX
> LV0FZicopogWAhH/JX0w/Sw=
> =JvY5
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: JCaptcha with Tomcat
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rakesh,
Rakesh Kumar wrote:
> I am trying to use JCaptcha with TC 5.5.23 on the same machine. Is there
> any way to use JCaptcha without running X server on this machine ?
If the -Djava.awt.headless=true trick doesn't work, you can always use
"xvfb", the X virtual frame buffer. In order to run xvfb, you'll need to
have a base X system installed.
Most package managers probably have an "xvfb" package that you can install.
Hope that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGSF1w9CaO5/Lv0PARAsCHAJ9sC2M63bT1b40xhjm1hMCzC0uexACeL7GX
LV0FZicopogWAhH/JX0w/Sw=
=JvY5
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org