Hello everyone.
I have a problem with getting the property value when I use a Quartz
Scheduler job. The problem is that the session which is used to put the
job into the scheduler, becomes closed when the jobs tries to fire the
event.
So the code is quite simple.
Node node;
String propValue = node.getProperty("result").getString();
So I have an instance of node, but when I try to get his property value
"result" I stuck with the exception: "javax.jcr.RepositoryException:
this session has been closed".
This is happens only when I use the job scheduler embedded into the
Sling. I suppose that the job class did not preserve the session
persistence when the job fires, because it is closed already when I put
the job into the repository. If there any reasonable option for action
from this point or I need to do some form persistence of the session
until its launch.
Thanks in advance.
Dimitar