AnsweredAssumed Answered

AlfrescoRuntimeException: Failed to re-initialise compiledMo

Question asked by savic.prvoslav on Aug 26, 2010
Latest reply on Aug 26, 2010 by savic.prvoslav
Hi , we have about 100 or more tenants in alfresco, and yesterday we created a few more and AlfrescoRuntimeException: Failed to re-initialise compiledModelsCache  started to happened, alfresco can not be used any more, what can we do , and why is this happening.
org.alfresco.error.AlfrescoRuntimeException: Failed to re-initialise compiledModelsCache 
   at org.alfresco.repo.dictionary.DictionaryDAOImpl.getCompiledModels(DictionaryDAOImpl.java:919)
   at org.alfresco.repo.dictionary.DictionaryDAOImpl.getCompiledModels(DictionaryDAOImpl.java:752)
   at org.alfresco.repo.dictionary.DictionaryDAOImpl.getSubTypes(DictionaryDAOImpl.java:515)
   at org.alfresco.repo.dictionary.DictionaryComponent.getSubTypes(DictionaryComponent.java:133)
   at org.alfresco.repo.search.impl.lucene.LuceneQueryParser.getFieldQuery(LuceneQueryParser.java:370)
   at org.alfresco.repo.search.impl.lucene.LuceneQueryParser.getFieldQuery(LuceneQueryParser.java:182)
   at org.alfresco.repo.search.impl.lucene.QueryParser.Term(QueryParser.java:1009)
   at org.alfresco.repo.search.impl.lucene.QueryParser.Clause(QueryParser.java:758)
   at org.alfresco.repo.search.impl.lucene.QueryParser.Query(QueryParser.java:701)
   at org.alfresco.repo.search.impl.lucene.QueryParser.parse(QueryParser.java:139)
   at org.alfresco.repo.search.impl.lucene.LuceneQueryParser.parse(LuceneQueryParser.java:129)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneSearcherImpl.query(ADMLuceneSearcherImpl.java:252)
   at org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:85)
   at org.alfresco.repo.security.authority.AuthorityDAOImpl.findUserContainers(AuthorityDAOImpl.java:345)
   at org.alfresco.repo.security.authority.AuthorityDAOImpl.getUserContainers(AuthorityDAOImpl.java:326)
   at org.alfresco.repo.security.authority.AuthorityDAOImpl.findAuthorities(AuthorityDAOImpl.java:283)
   at org.alfresco.repo.security.authority.AuthorityDAOImpl.getContainingAuthorities(AuthorityDAOImpl.java:259)
   at org.alfresco.repo.security.authority.AuthorityServiceImpl.getContainingAuthorities(AuthorityServiceImpl.java:290)
   at org.alfresco.repo.security.authority.AuthorityServiceImpl.getAuthoritiesForUser(AuthorityServiceImpl.java:168)
   at org.alfresco.repo.security.permissions.impl.PermissionServiceImpl.getDynamicAuthorities(PermissionServiceImpl.java:783)
   at org.alfresco.repo.security.permissions.impl.PermissionServiceImpl.hasPermission(PermissionServiceImpl.java:477)
   at org.alfresco.repo.security.permissions.impl.PermissionServiceImpl.hasPermission(PermissionServiceImpl.java:979)
   at sun.reflect.GeneratedMethodAccessor466.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy74.hasPermission(Unknown Source)
   at org.alfresco.repo.security.permissions.impl.acegi.ACLEntryVoter.vote(ACLEntryVoter.java:384)
   at net.sf.acegisecurity.vote.AffirmativeBased.decide(AffirmativeBased.java:69)
   at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:394)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:275)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy62.getRootNode(Unknown Source)
   at org.alfresco.repo.config.source.RepoUrlConfigSource.getInputStream(RepoUrlConfigSource.java:124)
   at org.alfresco.config.source.BaseConfigSource.getConfigDeployments(BaseConfigSource.java:107)
   at org.alfresco.config.BaseConfigService.appendConfig(BaseConfigService.java:245)
   at org.alfresco.config.BaseConfigService.parse(BaseConfigService.java:285)
   at org.alfresco.config.xml.XMLConfigService.initConfig(XMLConfigService.java:111)
   at org.alfresco.repo.config.xml.RepoXMLConfigService.initConfig(RepoXMLConfigService.java:152)
   at org.alfresco.config.BaseConfigService.reset(BaseConfigService.java:146)
   at org.alfresco.repo.config.xml.RepoXMLConfigService.getGlobalConfigImpl(RepoXMLConfigService.java:236)
   at org.alfresco.config.BaseConfigService.getGlobalConfig(BaseConfigService.java:237)
   at org.apache.jsp.index_jsp._jspService(index_jsp.java:98)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
   at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

Outcomes