Konrad Windszus created SLING-7428:
--------------------------------------
Summary: StartupFilter nor reliably stopped (and still returning
503) when executing org.apache.sling.scripting.sightly.testing
Key: SLING-7428
URL: https://issues.apache.org/jira/browse/SLING-7428
Project: Sling
Issue Type: Bug
Components: Scripting
Reporter: Konrad Windszus
Assignee: Radu Cotescu
For me the IT
https://github.com/apache/sling-org-apache-sling-scripting-sightly-testing-content
fails every second time stating that client received status code 503. This is
due to the fact that the condition in
https://github.com/apache/sling-org-apache-sling-starter-startup/blob/dbe9746f945312a05f99648357ed4c88b01d325a/src/main/java/org/apache/sling/starter/startup/impl/Activator.java#L107
to stop the StartupFilter (which returns the 503) is never fulfilled.
There is always the untransformed resource at {{/apps/sightly/install/README}}
(https://github.com/apache/sling-org-apache-sling-scripting-sightly-testing-content/blob/master/src/main/resources/SLING-INF/apps/sightly/install/README).
We should either remove this resource from the install folder (so that this is
no longer being picked up by the JCR installer) or we should no longer check
for untransformed resources (not sure about the implications).
I am not sure why I am not running into this every time I execute the IT but
only about half of the time. Seems to be related to some unfortunate timings.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)