Crucible failed to start which was running fine before
Asked by PavanKumar:

I have taken latest crucible image and configured the required OPTs and DB.

It was running fine But when I restart the Crucible container, It is not getting started and ERROR as below :

2018-03-21 03:30:59,944 INFO - Server started on :8080 (http) (control port on 127.0.0.1:8059)

2018-03-21 04:24:41,053 ERROR - Exception "Soy rendering failed for template '%s'." (javax.servlet.ServletException) while processing "/404.jsp" (Referer:"<http://m.facebook.com>")

javax.servlet.ServletException: Soy rendering failed for template '%s'.

at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:944) \[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?\]

at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:879) \[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?\]

at org.apache.jsp._404_jsp._jspService(_404_jsp.java:113) \[classes/:?\]

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) \[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?\]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:770) \[javax.servlet-api-3.0.1.jar:3.0.1\]

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669) \[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312\]

at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1526) \[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312\]

at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.prettyurls.filter.PrettyUrlsCommonFilter.preventDoubleInvocation(PrettyUrlsCommonFilter.java:38) \[?:?\]

at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter.doFilter(PrettyUrlsSiteMeshFixupFilter.java:22) \[?:?\]

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter.doFilter(PrettyUrlsDispatcherFilter.java:55) \[?:?\]

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.prettyurls.filter.PrettyUrlsCommonFilter.preventDoubleInvocation(PrettyUrlsCommonFilter.java:38) \[?:?\]

at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter.doFilter(PrettyUrlsSiteMeshFilter.java:65) \[?:?\]

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter.doFilter(PrettyUrlsMatcherFilter.java:51) \[?:?\]

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1502) \[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312\]

at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:58) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:56) \[?:?\]

at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58) \[atlassian-plugins-servlet-4.4.0.jar:?\]

at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1502) \[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312\]

at com.atlassian.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:148) \[fisheye.jar:?\]

at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1502) \[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312\]

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101) \[spring-web-4.0.9.RELEASE.jar:4.0.9.RELEASE\]


Answers:
author: Mark A_
body: Hi Pavan,

Is this still an issue for you?

-Mark

comments: author: PavanKumar
body: [@Mark A_](/t5/user/viewprofilepage/user-id/162783) No, we have reset complete setup. Seems to be we need to clean cache properly. Can you guide me to clean the cache from installation to get this issue resolved if possible.

Thanks,

-Pavan


author: Mark A_
body: Hey [@PavanKumar](/t5/user/viewprofilepage/user-id/1200000)

It's hard for me to say if the issue was cache related but to answer your question, there are two cache areas for Crucible, your plugin and repository cache.

**Repository Cache**

We have a KB on [how to manually delete the repository cache](https://confluence.atlassian.com/fishkb/how-do-i-manually-delete-the-repository-cache-and-trigger-the-reindexing-677085253.html) but please note that this will trigger an entire repository index when doing so.

**Plugin Cache**

On rare occasions due to a move or migration, this can become corrupted. This cache is located in your *FISHEYE_INST/var/* osgi*-cache* path. While Crucible is stopped, removing the osgi*-cache* folder will prompt its recreation on application start.

-Mark