[rules-users] Http 401 error in drools 5.6.0.CR1

nkhogen nkhogen at gmail.com
Thu Dec 5 21:12:31 EST 2013


If a change set has a resource pointing to Guvnor in 5.6.0.CR1, the resource
is rejected because of http 401 because basicAuthentication is enabled by
default.

Previously in 5.5.0.Final, in addResourceMapping(Resource resource, boolean
notify), there was no check for existence of the resource as

 if ( notify && newMapping ) { ... }

In 5.6.0.CR1, it has been changed to
  if ( notify && newMapping && ((InternalResource)resource).exists() ) { ..}

and the the exists() method simply invokes URL.openStream() which fails with
401 (unauthorized) and the resource is not added.



--
View this message in context: http://drools.46999.n3.nabble.com/Http-401-error-in-drools-5-6-0-CR1-tp4027121.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list