Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Sling Eclipse IDE 1.1.0
-
None
Description
In some cases, e.g. deployment of a configuration for PID org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl the sling repository service is restarted in the background which leads to temporary failures during publishing like this
Failed publishing path=/content, result=JcrResult[ success:false, exception: org.apache.sling.ide.transport.RepositoryException - javax.jcr.RepositoryException: AuthenticationSupport service missing. Cannot authenticate request.]
The publish client code should check in advance if the relevant bundles/services are running.