[
https://issues.apache.org/jira/browse/SLING-6342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated SLING-6342:
-----------------------------------
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
{code}
Failed publishing path=/content, result=JcrResult[ success:false, exception:
org.apache.sling.ide.transport.RepositoryException -
javax.jcr.RepositoryException: AuthenticationSupport service missing. Cannot
authenticate request.]
{code}
The publish client code should check in advance if the relevant
bundles/services are running.
was:
In some cases, e.g. deployment of a configuration for PID
{{org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl}} the
repository is restarted in the background which leads to temporary failures
during publishing like this
{code}
Failed publishing path=/content, result=JcrResult[ success:false, exception:
org.apache.sling.ide.transport.RepositoryException -
javax.jcr.RepositoryException: AuthenticationSupport service missing. Cannot
authenticate request.]
{code}
The publish client code should check in advance if the relevant
bundles/services are running.
Summary: Sling IDE: Better deal with reconfigurations of the sling
repository service (was: Sling IDE: Better deal with reconfigurations of the
repository service)
> Sling IDE: Better deal with reconfigurations of the sling repository service
> ----------------------------------------------------------------------------
>
> Key: SLING-6342
> URL: https://issues.apache.org/jira/browse/SLING-6342
> Project: Sling
> Issue Type: Bug
> Components: IDE
> Affects Versions: Sling Eclipse IDE 1.1.0
> Reporter: Konrad Windszus
>
> 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
> {code}
> Failed publishing path=/content, result=JcrResult[ success:false, exception:
> org.apache.sling.ide.transport.RepositoryException -
> javax.jcr.RepositoryException: AuthenticationSupport service missing. Cannot
> authenticate request.]
> {code}
> The publish client code should check in advance if the relevant
> bundles/services are running.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)