There's a pretty good chance that you're being redirected as a result of not being
As a tip on diagnosing, try using curl from the server you're deploying on, to see
what you get, like so:
Find out what happens with unauthenticated access:
And authenticated access:
curl -u admin:admin http://whatevertheurlis/
That might indicate what's going on.
On 5 Jun 2013, at 13:51, abhinay_agarwal <abhinay_agarwal(a)infosys.com> wrote:
I am trying to reach my guvnor repository using a very simple block of code
UrlResource urlResource = new UrlResource(url);
Now, this code works fine on standalone, but as soon as the code is deployed
with the application, it throws this exception:
*java.net.ProtocolException: Server redirected too many times (20)*
I know there is some problem with server side coding, but I am not able to
I guess, when I am trying to access the guvnor link through my application,
it gets into an infinite redirection and not able to come out from it.
Might be the Authenticator class of java.net
is called and
getPasswordAuthentication() fails, but since I am not an expertise in this
locale so facing issue to resolve it.
Any help is welcome.
View this message in context:
Sent from the Drools: User forum mailing list archive at Nabble.com
rules-users mailing list