joerghoh commented on PR #57:
URL:
https://github.com/apache/sling-org-apache-sling-jcr-repoinit/pull/57#issuecomment-2636814742
on my system the ITs fail with a message like this:
```
[INFO] Running
org.apache.sling.jcr.repoinit.it.RepositoryInitializerFactoryIT
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
21.559 s <<< FAILURE! - in
org.apache.sling.jcr.repoinit.it.RepositoryInitializerFactoryIT
[ERROR]
org.apache.sling.jcr.repoinit.it.RepositoryInitializerFactoryIT.testReferencesAndScripts
Time elapsed: 10.294 s <<< ERROR!
org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for
service org.apache.sling.jcr.api.SlingRepository
```
in the log files I find this:
```
org.apache.sling.jcr.base[org.apache.sling.jcr.oak.server.internal.OakSlingRepositoryManager]
: start: Uncaught Throwable trying to access Repository, calling
stopRepository()
java.lang.ClassCastException: class
org.apache.jackrabbit.oak.jcr.repository.RepositoryImpl cannot be cast to class
org.apache.jackrabbit.api.JackrabbitRepository
(org.apache.jackrabbit.oak.jcr.repository.RepositoryImpl is in unnamed module
of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader
@5e7a6e5a; org.apache.jackrabbit.api.JackrabbitRepository is in unnamed module
of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader
@55a3d881)
at
org.apache.sling.jcr.oak.server.internal.OakSlingRepositoryManager.acquireRepository(OakSlingRepositoryManager.java:154)
at
org.apache.sling.jcr.base.AbstractSlingRepositoryManager.initializeAndRegisterRepositoryService(AbstractSlingRepositoryManager.java:481)
at
org.apache.sling.jcr.base.AbstractSlingRepositoryManager.access$300(AbstractSlingRepositoryManager.java:86)
at
org.apache.sling.jcr.base.AbstractSlingRepositoryManager$4.run(AbstractSlingRepositoryManager.java:462)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]