DotCMS - Out of Memory Exception

50 visualizações
Pular para a primeira mensagem não lida

shreykh...@gmail.com

não lida,
28 de mai. de 2014, 06:58:2028/05/2014
para dot...@googlegroups.com
Dear All,

i am facing issues with my dotCMs server. Whenever , after startup , i am trying to access the admin console ,  am getting an error in the dotcms.log file

org.elasticsearch.indices.IndexMissingException: [working_20140206140750] missing
    at org.elasticsearch.cluster.metadata.MetaData.convertFromWildcards(MetaData.java:570)
    at org.elasticsearch.cluster.metadata.MetaData.concreteIndices(MetaData.java:475)
    at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.<init>(TransportSearchTypeAction.java:111)
    at org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.<init>(TransportSearchQueryThenFetchAction.java:70)
    at org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.<init>(TransportSearchQueryThenFetchAction.java:61)
    at org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction.doExecute(TransportSearchQueryThenFetchAction.java:58)
    at org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction.doExecute(TransportSearchQueryThenFetchAction.java:48)
    at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:61)
    at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:108)
    at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:43)
    at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:61)
    at org.elasticsearch.client.node.NodeClient.execute(NodeClient.java:90)
    at org.elasticsearch.client.support.AbstractClient.search(AbstractClient.java:210)
    at org.elasticsearch.action.search.SearchRequestBuilder.doExecute(SearchRequestBuilder.java:806)
    at org.elasticsearch.action.support.BaseRequestBuilder.execute(BaseRequestBuilder.java:53)
    at org.elasticsearch.action.support.BaseRequestBuilder.execute(BaseRequestBuilder.java:47)
    at com.dotcms.content.elasticsearch.business.ESContentFactoryImpl.indexSearch(ESContentFactoryImpl.java:1352)
    at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.searchIndex(ESContentletAPIImpl.java:588)
    at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.search(ESContentletAPIImpl.java:461)
    at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.search(ESContentletAPIImpl.java:453)
    at com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.search(ContentletAPIInterceptor.java:1508)
    at com.dotmarketing.portlets.contentlet.business.HostAPIImpl.findByName(HostAPIImpl.java:186)
    at com.dotmarketing.portlets.contentlet.business.HostAPIImpl.resolveHostName(HostAPIImpl.java:133)
    at com.dotmarketing.business.web.HostWebAPIImpl.getCurrentHost(HostWebAPIImpl.java:65)
    at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:93)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:162)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:146)
    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:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:465)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)
[28/05/14 16:21:50:968 IST] ERROR business.HostAPIImpl: NO INDEX - SENDING THE DEFAULT HOST org.elasticsearch.indices.IndexMissingException: [working_20140206140750] missing
java.lang.RuntimeException: org.elasticsearch.indices.IndexMissingException: [working_20140206140750] missing

On the tomcat console , I am getting Out of Memory exception. I am unable to understand what is causing this error. Please help.

thanks,
shrey khandelwal

Falzone, Chris

não lida,
28 de mai. de 2014, 08:40:4128/05/2014
para dot...@googlegroups.com
Well, the error you posted has nothing to do with memory, so maybe you have 2 issues:

1.  You do not have the index that dotCMS thinks you should have.  You need to log into dotCMS and fire off a full reindex in the maintenance section.
2.  The OOM exception.  This you probably need look in catalina.out to see the actual error message, either you are not giving the JVM enough -Xmx or your PermGen space needs to be increased.  Both of these are adjusted in bin/startup.sh (or .bat in windows unless you are using the wrapper then the wrapper.conf).


--
You received this message because you are subscribed to the Google Groups "Dotcms User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
Visit this group at http://groups.google.com/group/dotcms.
For more options, visit https://groups.google.com/d/optout.



--

Christopher Falzone

Interactive Developer


A Q U E N T

Digital, Creative, and Marketing Talent


aquent.com

cfal...@aquent.com

Responder a todos
Responder ao autor
Encaminhar
0 nova mensagem