Hi,

> On Tue, Aug 4, 2015 at 12:24 PM, Robert Munteanu <romb...@apache.org> wrote:
>> ...3. With my changes the configuration is not detected ( by the SCR
>> Runtime ? ) when created so the repository is not started...

It looks like it is started, but for some reason (interaction with the
config writeback??) the OSGi installer then deletes its config, here's
what I see in error.log on a fresh startup:

$ egrep 'verifyConfig|SlingServer.*REGISTERED|Deleted.*SlingServer|Repository
has been' sling/logs/error.log

04.08.2015 16:36:32.198 *INFO* [OsgiInstallerImpl]
org.apache.sling.jcr.jackrabbit.server.impl.Activator
verifyConfiguration: Created configuration
org.apache.sling.jcr.jackrabbit.server.SlingServerRepository.98b4bd1c-11f8-49e7-a5ed-684abf3acfc6
for org.apache.sling.jcr.jackrabbit.server.SlingServerRepository

04.08.2015 16:36:37.482 *INFO* [OsgiInstallerImpl]
org.apache.sling.jcr.jackrabbit.server Service
[org.apache.sling.jcr.jackrabbit.server.SlingServerRepository.98b4bd1c-11f8-49e7-a5ed-684abf3acfc6,229,
[org.apache.sling.jcr.api.SlingRepository, javax.jcr.Repository,
org.apache.jackrabbit.api.management.RepositoryManager]] ServiceEvent
REGISTERED

04.08.2015 16:36:38.783 *INFO* [CM Event Dispatcher (Fire
ConfigurationEvent:
pid=org.apache.sling.jcr.jackrabbit.server.SlingServerRepository.98b4bd1c-11f8-49e7-a5ed-684abf3acfc6)]
org.apache.jackrabbit.core.RepositoryImpl Repository has been shutdown

04.08.2015 16:45:25.610 *INFO* [OsgiInstallerImpl]
org.apache.sling.audit.osgi.installer Deleted configuration
org.apache.sling.jcr.jackrabbit.server.SlingServerRepository.org.apache.sling.jcr.jackrabbit.server.SlingServerRepository.98b4bd1c-11f8-49e7-a5ed-684abf3acfc6
from resource 
TaskResource(url=jcrinstall:/apps/sling/install/org.apache.sling.jcr.jackrabbit.server.SlingServerRepository-98b4bd1c-11f8-49e7-a5ed-684abf3acfc6.config,
entity=config:org.apache.sling.jcr.jackrabbit.server.SlingServerRepository.org.apache.sling.jcr.jackrabbit.server.SlingServerRepository.98b4bd1c-11f8-49e7-a5ed-684abf3acfc6,
state=UNINSTALL,
attributes=[service.factoryPid=org.apache.sling.jcr.jackrabbit.server.SlingServerRepository,
installation.hint=launchpad:resources/install.jackrabbit/15/org.apache.sling.jcr.jackrabbit.server-2.2.1-SNAPSHOT.jar,
resource.uri.hint=org.apache.sling.jcr.jackrabbit.server.SlingServerRepository-98b4bd1c-11f8-49e7-a5ed-684abf3acfc6,
service.pid=org.apache.sling.jcr.jackrabbit.server.SlingServerRepository.98b4bd1c-11f8-49e7-a5ed-684abf3acfc6],
digest=588c513978ea07a8a9091048913e231e)

I'm still digging deeper to find out why that happens...

-Bertrand

Reply via email to