We're updating the issue view to help you get more done. 

GeoFence and Control-flow are incompatible

Description

If I install both, login doesn't work; it shows the same page as if the user/password were incorrect. This appears in the log:

1 2 3 4 5 6 7 8 9 19 Oct 14:17:15 ERROR [auth.GeoFenceAuthenticationProvider] - Error in authenticating with GeoFence com.google.common.util.concurrent.UncheckedExecutionException: org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [${servicesUrl}]; nested exception is java.net.MalformedURLException: no protocol: ${servicesUrl} at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201) at com.google.common.cache.LocalCache.get(LocalCache.java:3934) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) at org.geoserver.geofence.cache.CachedRuleReader.authorize(CachedRuleReader.java:277) at org.geoserver.geoserver.authentication.auth.GeoFenceAuthenticationProvider.authenticate(GeoFenceAuthenticationProvider.java:84) at org.geoserver.security.GeoServerAuthenticationProvider.authenticate(GeoServerAuthenticationProvider.java:58)

If I remove the control-flow jars and restart it works as expected.

Environment

Latest (2.9-SNAPSHOT) probe package.
Latest (3.2.0) GeoFence deployed as a separate war and properly configured following the Github wiki.
Tomcat 8.0.36.
Java 1.8.0_101.
Linux Mint Rebecca.

Status

Assignee

Unassigned

Reporter

Víctor González

Triage

Fix versions

Affects versions

2.9.1
2.9.2

Components

Priority

Medium