Hi all,
I was wondering whether there is a way to start the Sling launchpad,
let it do the expansion of all the embedded files and then exit.
I'd like to be able to do this from a shell script, so something
straightforward would be nice :)
Thanks!
David
Hi,
It does indeed look like SLING-3618 - yet I cannot reproduce it.
I just built launchpad 7-SNAPSHOT from scratch and started it - doesn't
reproduce the error - I get /var created as sling:Folder, and
/var/discovery too.
What steps did you do exactly?
Cheers,
Stefan
On 7/22/14 8:03 PM,
I just took my recent build, the same build that caused the problem yesterday,
and relaunched it from scratch (deleted the repo, logs, etc beforehand) and the
first two times the nodes were created, but on the third try the nodes were not
created.
I have a zip file of around 139MB of the
On Wed, Jul 23, 2014 at 10:48 AM, Stefan Egli stefane...@apache.org wrote:
...I'm not sure yet what could cause this though...
There is some non-deterministic behavior at startup - as noted in
SLING-3618 ClassLoaderWriterImpl seems to be part of the problem, that
component is not immediate so we
Hi Anjan,
Thanks for the suggestion. Is this reliable though especially since
this may be running on a wide variety of machines (very slow ones and
very fast ones)? How long should the sleep be?
I guess I was thinking it might be useful to add a command line option
to the launcher, something
Or maybe a command line option with an OSGi service filter? When a
service that matches the filter is registered then shut down the
container... Maybe with a reasonable default too.
So, e.g.:
-x (objectClass=o.a.s.SlingReady)
or
-x
Where the latter uses a default filter...
Just a thought :)
Why do you want something we already have? We have the startup support and
you can simply register a listener doing the trick. That is in fact our
ready service.
Let's not overcomplicate this thing
Carsten
2014-07-23 15:12 GMT+02:00 Bertrand Delacretaz bdelacre...@apache.org:
On Wed, Jul 23,
On Wed, Jul 23, 2014 at 4:07 PM, Carsten Ziegeler cziege...@apache.org wrote:
...We have the startup support and
you can simply register a listener doing the trick...
What do you mean by doing the trick? Validating that health checks
pass before exiting?
-Bertrand
Even that, sure - the listener is triggered by our ready service and can
then simply execute all (or a configured set of) health checks
And then signal this to somewhere - in other installations we use a simple
socket connection for the signal - observer waits for some bytes on that
socket, the