We are using re-captcha in our portal application to prevent robotic
attacks.
We are using Oracle WebLogic Portal and Apache HTTP server. The
server is connected to intranet which is connected to internet via
Proxy and protected with firewall.
I have downloaded the JAR file and have included in the classpath of
the application server.
I am able to see the captcha image on the portal page.
While validating the user input I am getting the exception:
“java.net.UnknownHostException: api-verify.recaptcha.net”. (Attached
the complete stack trace)
I tried adding the following configuration parameters to the WebLogic
startup script for proxy settings.
set JAVA_OPTIONS=%JAVA_OPTIONS%-Dhttp.proxyHost=proxyserverip -
Dhttp.proxyPort=proxyport -Dhttp.proxyUser=domain\mailid -
Dhttp.proxyPassword=password
Now I started getting a new error
“weblogic.net.http.HttpUnauthorizedException: Proxy or Server
Authentication Required”.
Even though I have mentioned the credentials to authenticate proxy,
the application server is not sending the credentials to the proxy
server.
Has anybody come across the same error. Any help in this regard is
highly appreciated.
Regards,
Prasanth
-Dhttp.proxyPort=
-Dhttp.proxyUser=
-Dhttp.proxyPassword=