# Repository not found

**URL:** <https://community.bloomreach.com/t/repository-not-found/503>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [October 16, 2018, 10:55pm UTC](https://community.bloomreach.com/t/repository-not-found/503 "2018-10-16T22:55:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![itGumby](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/itgumby/32/1326_2.png) [@itGumby](https://community.bloomreach.com/u/itGumby)\
**Post date:** [October 16, 2018, 10:55pm UTC](https://community.bloomreach.com/t/repository-not-found/503/1 "2018-10-16T22:55:05Z")

</div>

The first indication of problems I find is from the catalina log:

```
16-Oct-2018 16:38:24.024 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: 
 org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cms]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
...
Caused by: java.lang.IllegalStateException: Unable to complete the scan for annotations for web application [/cms] due to a StackOverflowError. Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies. The class hierarchy being processed was [org.bouncycastle.asn1.ASN1Boolean->org.bouncycastle.asn1.DERBoolean->org.bouncycastle.asn1.ASN1Boolean]
	at org.apache.catalina.startup.ContextConfig.checkHandlesTypes(ContextConfig.java:2109)
...
16-Oct-2018 16:38:24.025 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive [/Users/brian.street/src/dhihippo/target/tomcat8x/webapps/cms.war]
 java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cms]]
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:756)
...

```

my hippo-site.log is full of:

```
16.10.2018 16:38:39 ERROR http-nio-8080-exec-3 [RewritingManager.getSession:301] Error obtaining session
javax.jcr.RepositoryException: javax.jcr.LoginException: Failed to borrow session from the pool. javax.jcr.RepositoryException: javax.jcr.RepositoryException: No repository found at: vm://
...
Caused by: javax.jcr.LoginException: Failed to borrow session from the pool. javax.jcr.RepositoryException: javax.jcr.RepositoryException: No repository found at: vm://

```

However, I don’t know how to proceed from here. Any suggestions?

---

<div class="post-metadata">

**Author:** ![jeroen.hoffman](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jeroen.hoffman/32/43_2.png) [@jeroen.hoffman](https://community.bloomreach.com/u/jeroen.hoffman)\
**Post date:** [October 17, 2018, 7:31am UTC](https://community.bloomreach.com/t/repository-not-found/503/2 "2018-10-17T07:31:41Z")

</div>

Hi,  
The site errors are the result of the CMS not starting, so please focus on this part:  
`Unable to complete the scan for annotations for web application [/cms] due to a StackOverflowError. The class hierarchy being processed was [org.bouncycastle.asn1.ASN1Boolean->org.bouncycastle.asn1.DERBoolean->org.bouncycastle.asn1.ASN1Boolean]`

Is there anything you customized in the CMS with annotations?  
HTH  
Jeroen

---

<div class="post-metadata">

**Author:** ![machak](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/machak/32/1298_2.png) [@machak](https://community.bloomreach.com/u/machak)\
**Post date:** [October 17, 2018, 8:39am UTC](https://community.bloomreach.com/t/repository-not-found/503/3 "2018-10-17T08:39:15Z")

</div>

see:

> <https://stackoverflow.com/questions/29955410/how-do-i-fix-stackoverflowerror-in-org-apache-catalina-startup-contextconfig-pop>

---

<div class="post-metadata">

**Author:** ![itGumby](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/itgumby/32/1326_2.png) [@itGumby](https://community.bloomreach.com/u/itGumby)\
**Post date:** [October 17, 2018, 4:49pm UTC](https://community.bloomreach.com/t/repository-not-found/503/4 "2018-10-17T16:49:27Z")

</div>

found 2 version of bcprov-\* got pulled in, so I was able to exclude the old version and resolve the issue. I just didn’t recognize the log message as a dependency conflict.

---

<div class="post-metadata">

**Author:** ![jeroen.hoffman](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jeroen.hoffman/32/43_2.png) [@jeroen.hoffman](https://community.bloomreach.com/u/jeroen.hoffman)\
**Post date:** [October 18, 2018, 7:32am UTC](https://community.bloomreach.com/t/repository-not-found/503/5 "2018-10-18T07:32:49Z")

</div>

Thanks for letting us know, this makes sense totally 🙂
