[Hippo-cms7-user] Solving crashes in production environment

Ard Schrijvers a.schrijvers at onehippo.com
Wed Dec 2 10:07:42 CET 2009


Hello Wim (pls continue on hst2 list),

are you running the website embedded with a repository? If not, you
need to make sure that you restart the website if you restart the
repository. Also, currently, when you do an 'update all content',
unfortunately, the site needs to be restarted. Increasing memory does
not help, because we configured that the jcr session pool has a
maximum of 25. I want to make this configurable. If you did not
restart the repository, or an update all content, I am not sure what
might cause the problem and must investigate it

Regards Ard



On Wed, Dec 2, 2009 at 9:54 AM, Wim Ederveen
<wim.ederveen at atosorigin.com> wrote:
>
> Hello,
>
> We're currently experiencing crashes in our production environment and I
> would like to ask you for some help on solving the issues we have. I will
> post some error logging we're getting.
> It seems that we're having problems with memory and session pooling?
> What could we do to tackle these issues?
> Our Hippo Site runs on a tomcat 6.0.20 and has MySQL database for the
> repository.
> We've allready started to implement the APR libraries for tomcat and are
> trying to tweak the JVM with the environment variable CATALINA_OPTS="-server
> -Xmx1024m"
> Could it be the jvm requires more memory?
>
> These are the errors we're getting
>
> >From the lcalhost.log:
>
> 1-dec-2009 17:35:32 org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Servlet.service() for servlet BinariesServlet threw exception
> org.hippoecm.hst.core.jcr.pool.NoAvailableSessionException: No session is
> available now. Probably the session pool was exhasuted.
>        at
> org.hippoecm.hst.core.jcr.pool.BasicPoolingRepository.login(BasicPoolingRepository.java:195)
>        at
> org.hippoecm.hst.core.jcr.pool.BasicPoolingRepository.login(BasicPoolingRepository.java:212)
>        at
> org.hippoecm.hst.core.jcr.pool.MultipleRepositoryImpl.login(MultipleRepositoryImpl.java:125)
>        at
> org.hippoecm.hst.core.jcr.pool.MultipleRepositoryImpl.login(MultipleRepositoryImpl.java:113)
>        at
> org.hippoecm.hst.servlet.BinariesServlet.getSession(BinariesServlet.java:265)
>        at org.hippoecm.hst.servlet.BinariesServlet.doGet(BinariesServlet.java:102)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.hippoecm.hst.container.HstVirtualHostsFilter.doFilter(HstVirtualHostsFilter.java:108)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
>        at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>        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.core.StandardHostValve.invoke(StandardHostValve.java:128)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
>        at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
>        at java.lang.Thread.run(Thread.java:619)
>
> >From the catalina.out:
>
> org.hippoecm.hst.core.jcr.pool.NoAvailableSessionException: No session is
> available now. Probably the session pool was exhasuted.
>        at
> org.hippoecm.hst.core.jcr.pool.BasicPoolingRepository.login(BasicPoolingRepository.java:195)
>        at
> org.hippoecm.hst.core.jcr.pool.BasicPoolingRepository.login(BasicPoolingRepository.java:212)
>        at
> org.hippoecm.hst.core.jcr.pool.MultipleRepositoryImpl.login(MultipleRepositoryImpl.java:125)
>        at
> org.hippoecm.hst.core.jcr.pool.MultipleRepositoryImpl.login(MultipleRepositoryImpl.java:113)
>        at
> org.hippoecm.hst.site.request.HstRequestContextImpl.getSession(HstRequestContextImpl.java:83)
>        at
> org.hippoecm.hst.component.support.bean.BaseHstComponent.getObjectBeanManager(BaseHstComponent.java:330)
>        at
> org.hippoecm.hst.component.support.bean.BaseHstComponent.getBeanForResolvedSiteMapItem(BaseHstComponent.java:314)
>        at
> org.hippoecm.hst.component.support.bean.BaseHstComponent.getContentBean(BaseHstComponent.java:218)
>        at nl.ivho.components.DossierPagina.doBeforeRender(DossierPagina.java:23)
>        at
> org.hippoecm.hst.core.container.HstComponentInvokerImpl.invokeBeforeRender(HstComponentInvokerImpl.java:111)
>        at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
>        at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
>        at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
>        at
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:77)
>        at
> org.hippoecm.hst.core.logging.HstComponentInvokerProfiler.profile(HstComponentInvokerProfiler.java:70)
>        at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:627)
>        at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:616)
>        at
> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:64)
>        at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
>        at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>        at $Proxy0.invokeBeforeRender(Unknown Source)
>        at
> org.hippoecm.hst.core.container.AggregationValve.processWindowsBeforeRender(AggregationValve.java:230)
>        at
> org.hippoecm.hst.core.container.AggregationValve.invoke(AggregationValve.java:96)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.ResourceServingValve.invoke(ResourceServingValve.java:73)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at org.hippoecm.hst.core.container.ActionValve.invoke(ActionValve.java:152)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.SiteMenusResolvingValve.invoke(SiteMenusResolvingValve.java:34)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.SecurityValve.invoke(SecurityValve.java:50)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.ContextResolvingValve.invoke(ContextResolvingValve.java:142)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.SiteResolvingValve.invoke(SiteResolvingValve.java:52)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at org.hippoecm.hst.core.container.HstURLValve.invoke(HstURLValve.java:48)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline.invokeValves(HstSitePipeline.java:62)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline.invoke(HstSitePipeline.java:53)
>        at
> org.hippoecm.hst.core.container.HstRequestProcessorImpl.processRequest(HstRequestProcessorImpl.java:64)
>        at
> org.hippoecm.hst.core.container.HstRequestProcessorImpl.processRequest(HstRequestProcessorImpl.java:30)
>        at
> org.hippoecm.hst.container.HstContainerServlet.doGet(HstContainerServlet.java:189)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>        at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>        at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>        at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>        at
> org.hippoecm.hst.container.HstVirtualHostsFilter.doFilter(HstVirtualHostsFilter.java:128)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
>        at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>        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.core.StandardHostValve.invoke(StandardHostValve.java:128)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
>        at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
>        at java.lang.Thread.run(Thread.java:619)
> 2009-12-01 17:37:47,686 [http-80-17] DEBUG nl.ivho.components.HomeLayout -
> doBeforeRender
> org.hippoecm.hst.content.beans.query.exceptions.QueryException: Error
> occurred in server thread; nested exception is:
>        java.lang.OutOfMemoryError: Java heap space
>        at
> org.hippoecm.hst.content.beans.query.HstQueryImpl.execute(HstQueryImpl.java:209)
>        at nl.ivho.components.ZoekResultaat.doBeforeRender(ZoekResultaat.java:87)
>        at
> org.hippoecm.hst.core.container.HstComponentInvokerImpl.invokeBeforeRender(HstComponentInvokerImpl.java:111)
>        at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
>        at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
>        at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
>        at
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:77)
>        at
> org.hippoecm.hst.core.logging.HstComponentInvokerProfiler.profile(HstComponentInvokerProfiler.java:70)
>        at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:627)
>        at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:616)
>        at
> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:64)
>        at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
>        at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>        at $Proxy0.invokeBeforeRender(Unknown Source)
>        at
> org.hippoecm.hst.core.container.AggregationValve.processWindowsBeforeRender(AggregationValve.java:230)
>        at
> org.hippoecm.hst.core.container.AggregationValve.invoke(AggregationValve.java:96)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.ResourceServingValve.invoke(ResourceServingValve.java:73)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at org.hippoecm.hst.core.container.ActionValve.invoke(ActionValve.java:152)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.SiteMenusResolvingValve.invoke(SiteMenusResolvingValve.java:34)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.SecurityValve.invoke(SecurityValve.java:50)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.ContextResolvingValve.invoke(ContextResolvingValve.java:142)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.SiteResolvingValve.invoke(SiteResolvingValve.java:52)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at org.hippoecm.hst.core.container.HstURLValve.invoke(HstURLValve.java:48)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline.invokeValves(HstSitePipeline.java:62)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline.invoke(HstSitePipeline.java:53)
>        at
> org.hippoecm.hst.core.container.HstRequestProcessorImpl.processRequest(HstRequestProcessorImpl.java:64)
>        at
> org.hippoecm.hst.core.container.HstRequestProcessorImpl.processRequest(HstRequestProcessorImpl.java:30)
>        at
> org.hippoecm.hst.container.HstContainerServlet.doGet(HstContainerServlet.java:189)
>        at
> org.hippoecm.hst.container.HstContainerServlet.doPost(HstContainerServlet.java:200)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>        at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>        at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>        at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>        at
> org.hippoecm.hst.container.HstVirtualHostsFilter.doFilter(HstVirtualHostsFilter.java:128)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
>        at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>        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.core.StandardHostValve.invoke(StandardHostValve.java:128)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
>        at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.jackrabbit.rmi.client.RemoteRepositoryException: Error
> occurred in server thread; nested exception is:
>        java.lang.OutOfMemoryError: Java heap space: Error occurred in server
> thread; nested exception is:
>        java.lang.OutOfMemoryError: Java heap space
>        at
> org.apache.jackrabbit.rmi.client.ClientQuery.execute(ClientQuery.java:65)
>        at
> org.hippoecm.hst.content.beans.query.HstQueryImpl.execute(HstQueryImpl.java:201)
>        ... 69 more
> Caused by: java.rmi.ServerError: Error occurred in server thread; nested
> exception is:
>        java.lang.OutOfMemoryError: Java heap space
>        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:333)
>        at sun.rmi.transport.Transport$1.run(Transport.java:159)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
>        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
>        at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
>        at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>        at java.lang.Thread.run(Thread.java:619)
>        at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
>        at
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
>        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
>        at
> java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
>        at
> java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
>        at $Proxy11.execute(Unknown Source)
>        at
> org.apache.jackrabbit.rmi.client.ClientQuery.execute(ClientQuery.java:63)
>        ... 70 more
> Caused by: java.lang.OutOfMemoryError: Java heap space
> org.hippoecm.hst.content.beans.query.exceptions.QueryException: Error
> occurred in server thread; nested exception is:
>        java.lang.OutOfMemoryError: Java heap space
>        at
> org.hippoecm.hst.content.beans.query.HstQueryImpl.execute(HstQueryImpl.java:209)
>        at nl.ivho.components.ZoekResultaat.doBeforeRender(ZoekResultaat.java:87)
>        at
> org.hippoecm.hst.core.container.HstComponentInvokerImpl.invokeBeforeRender(HstComponentInvokerImpl.java:111)
>        at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
>        at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
>        at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
>        at
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:77)
>        at
> org.hippoecm.hst.core.logging.HstComponentInvokerProfiler.profile(HstComponentInvokerProfiler.java:70)
>        at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:627)
>        at
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:616)
>        at
> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:64)
>        at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
>        at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>        at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>        at $Proxy0.invokeBeforeRender(Unknown Source)
>        at
> org.hippoecm.hst.core.container.AggregationValve.processWindowsBeforeRender(AggregationValve.java:230)
>        at
> org.hippoecm.hst.core.container.AggregationValve.invoke(AggregationValve.java:96)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.ResourceServingValve.invoke(ResourceServingValve.java:73)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at org.hippoecm.hst.core.container.ActionValve.invoke(ActionValve.java:152)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.SiteMenusResolvingValve.invoke(SiteMenusResolvingValve.java:34)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.SecurityValve.invoke(SecurityValve.java:50)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.ContextResolvingValve.invoke(ContextResolvingValve.java:142)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.SiteResolvingValve.invoke(SiteResolvingValve.java:52)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at org.hippoecm.hst.core.container.HstURLValve.invoke(HstURLValve.java:48)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline$Invocation.invokeNext(HstSitePipeline.java:93)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline.invokeValves(HstSitePipeline.java:62)
>        at
> org.hippoecm.hst.core.container.HstSitePipeline.invoke(HstSitePipeline.java:53)
>        at
> org.hippoecm.hst.core.container.HstRequestProcessorImpl.processRequest(HstRequestProcessorImpl.java:64)
>        at
> org.hippoecm.hst.core.container.HstRequestProcessorImpl.processRequest(HstRequestProcessorImpl.java:30)
>        at
> org.hippoecm.hst.container.HstContainerServlet.doGet(HstContainerServlet.java:189)
>        at
> org.hippoecm.hst.container.HstContainerServlet.doPost(HstContainerServlet.java:200)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
>        at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
>        at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
>        at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
>        at
> org.hippoecm.hst.container.HstVirtualHostsFilter.doFilter(HstVirtualHostsFilter.java:128)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>        at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>        at
> org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
>        at
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
>        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.core.StandardHostValve.invoke(StandardHostValve.java:128)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
>        at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
>        at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.jackrabbit.rmi.client.RemoteRepositoryException: Error
> occurred in server thread; nested exception is:
>        java.lang.OutOfMemoryError: Java heap space: Error occurred in server
> thread; nested exception is:
>        java.lang.OutOfMemoryError: Java heap space
>        at
> org.apache.jackrabbit.rmi.client.ClientQuery.execute(ClientQuery.java:65)
>        at
> org.hippoecm.hst.content.beans.query.HstQueryImpl.execute(HstQueryImpl.java:201)
>        ... 69 more
> Caused by: java.rmi.ServerError: Error occurred in server thread; nested
> exception is:
>        java.lang.OutOfMemoryError: Java heap space
>        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:333)
>        at sun.rmi.transport.Transport$1.run(Transport.java:159)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
>        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
>        at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
>        at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>        at java.lang.Thread.run(Thread.java:619)
>        at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
>        at
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
>        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
>        at
> java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:178)
>        at
> java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
>        at $Proxy11.execute(Unknown Source)
>        at
> org.apache.jackrabbit.rmi.client.ClientQuery.execute(ClientQuery.java:63)
>        ... 70 more
> Caused by: java.lang.OutOfMemoryError: Java heap space
>
> 2009-12-01 17:38:11,797 [http-80-30] ERROR
> org.hippoecm.hst.core.jcr.pool.BasicPoolingRepository - SEVERE: The session
> pool is broken with negative active session count. -1
>
> Thanks for the help,
>
> Gr Wim
>
>
> --
> View this message in context: http://n2.nabble.com/Solving-crashes-in-production-environment-tp4098674p4098674.html
> Sent from the General Discussion / Features / Bugs mailing list archive at Nabble.com.
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/community.html
>



More information about the Hippo-cms7-user mailing list