data export : how to increase JVM heap size in tomcat

please,
tell me how to increase JVM heap size in tomcat for dataset creation after java internal error?
thanks.
> Date: Wed, 29 Sep 2010 12:25:53 +0300
> From: naitala.ronald@gmail.com
> To: developers@openclinica.org; users@openclinica.org
> CC:
> Subject: [Users] Re: data export
>
> I managed to increase JVM heap size in tomcat and I have succeeded
>
> Thanks
>
> On 9/29/10, Naitala Ronald wrote:
> > Morning all
> >
> > Am downloading data in openclinica using the tab-delimited text and
> > Apache tomcat encounters an internal error. What could be the source
> > of the problem.
> >
> > The following message is returned.
> >
> > HTTP Status 500 -
> >
> > --------------------------------------------------------------------------------
> >
> > type Exception report
> >
> > message
> >
> > description The server encountered an internal error () that prevented
> > it from fulfilling this request.
> >
> > exception
> >
> > javax.servlet.ServletException: Servlet execution threw an exception
> > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)
> > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
> > org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
> > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
> > org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
> > org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
> > org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)
> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
> > org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
> > org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
> > org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
> > org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)
> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
> > org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
> > org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
> > org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
> > org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
> > org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
> >
> >
> > root cause
> >
> > java.lang.OutOfMemoryError: Java heap space
> >
> >
> > note The full stack trace of the root cause is available in the Apache
> > Tomcat/5.5.27 logs.
> >
> >
> > --------------------------------------------------------------------------------
> >
> > Apache Tomcat/5.5.27
> >
> > Regards,
> > Naitala
> >
>

Comments

  • I have attached a step by step instruction of how I did it.
    Hope it will be of help
    Regards,
    Naitala
    On 9/29/10, Michel BITEMO wrote:
    > >
    > > please,
    > > tell me how to increase JVM heap size in tomcat for dataset creation after
    > > java internal error?
    > >
    > > thanks.
    > >
    >> >> Date: Wed, 29 Sep 2010 12:25:53 +0300
    >> >> From: naitala.ronald@gmail.com
    >> >> To: developers@openclinica.org; users@openclinica.org
    >> >> CC:
    >> >> Subject: [Users] Re: data export
    >> >>
    >> >> I managed to increase JVM heap size in tomcat and I have succeeded
    >> >>
    >> >> Thanks
    >> >>
    >> >> On 9/29/10, Naitala Ronald wrote:
    >>> >> > Morning all
    >>> >> >
    >>> >> > Am downloading data in openclinica using the tab-delimited text and
    >>> >> > Apache tomcat encounters an internal error. What could be the source
    >>> >> > of the problem.
    >>> >> >
    >>> >> > The following message is returned.
    >>> >> >
    >>> >> > HTTP Status 500 -
    >>> >> >
    >>> >> > --------------------------------------------------------------------------------
    >>> >> >
    >>> >> > type Exception report
    >>> >> >
    >>> >> > message
    >>> >> >
    >>> >> > description The server encountered an internal error () that prevented
    >>> >> > it from fulfilling this request.
    >>> >> >
    >>> >> > exception
    >>> >> >
    >>> >> > javax.servlet.ServletException: Servlet execution threw an exception
    >>> >> > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)
    >>> >> > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
    >>> >> > org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
    >>> >> > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    >>> >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
    >>> >> > org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
    >>> >> > org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
    >>> >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >>> >> > org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)
    >>> >> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    >>> >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >>> >> > org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
    >>> >> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    >>> >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >>> >> > org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
    >>> >> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    >>> >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >>> >> > org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
    >>> >> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    >>> >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >>> >> > org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)
    >>> >> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    >>> >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >>> >> > org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
    >>> >> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    >>> >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >>> >> > org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
    >>> >> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    >>> >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >>> >> > org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
    >>> >> > org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
    >>> >> > org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    >>> >> >
    >>> >> >
    >>> >> > root cause
    >>> >> >
    >>> >> > java.lang.OutOfMemoryError: Java heap space
    >>> >> >
    >>> >> >
    >>> >> > note The full stack trace of the root cause is available in the Apache
    >>> >> > Tomcat/5.5.27 logs.
    >>> >> >
    >>> >> >
    >>> >> > --------------------------------------------------------------------------------
    >>> >> >
    >>> >> > Apache Tomcat/5.5.27
    >>> >> >
    >>> >> > Regards,
    >>> >> > Naitala
    >>> >> >
    >> >>
  • Dear Naitala,
    It has succeed.
    many thanks.
    merci beaucoup.
    Michel
    Date: Wed, 29 Sep 2010 14:17:14 +0300
    Subject: Re: [Users] data export : how to increase JVM heap size in tomcat
    From: naitala.ronald@gmail.com
    To: users@openclinica.org
    I have attached a step by step instruction of how I did it.

    Hope it will be of help

    Regards,

    Naitala

    On 9/29/10, Michel BITEMO wrote:
    >
    > please,
    > tell me how to increase JVM heap size in tomcat for dataset creation after
    > java internal error?
    >
    > thanks.
    >
    >> Date: Wed, 29 Sep 2010 12:25:53 +0300
    >> From: naitala.ronald@gmail.com
    >> To: developers@openclinica.org; users@openclinica.org
    >> CC:
    >> Subject: [Users] Re: data export
    >>
    >> I managed to increase JVM heap size in tomcat and I have succeeded
    >>
    >> Thanks
    >>
    >> On 9/29/10, Naitala Ronald wrote:
    >> > Morning all
    >> >
    >> > Am downloading data in openclinica using the tab-delimited text and
    >> > Apache tomcat encounters an internal error. What could be the source
    >> > of the problem.
    >> >
    >> > The following message is returned.
    >> >
    >> > HTTP Status 500 -
    >> >
    >> > --------------------------------------------------------------------------------
    >> >
    >> > type Exception report
    >> >
    >> > message
    >> >
    >> > description The server encountered an internal error () that prevented
    >> > it from fulfilling this request.
    >> >
    >> > exception
    >> >
    >> > javax.servlet.ServletException: Servlet execution threw an exception
    >> > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)
    >> > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
    >> > org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
    >> > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
    >> > org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
    >> > org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
    >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >> > org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)
    >> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >> > org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
    >> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >> > org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
    >> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >> > org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
    >> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >> > org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)
    >> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >> > org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)
    >> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >> > org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
    >> > org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    >> > org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    >> > org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
    >> > org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
    >> > org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
    >> >
    >> >
    >> > root cause
    >> >
    >> > java.lang.OutOfMemoryError: Java heap space
    >> >
    >> >
    >> > note The full stack trace of the root cause is available in the Apache
    >> > Tomcat/5.5.27 logs.
    >> >
    >> >
    >> > --------------------------------------------------------------------------------
    >> >
    >> > Apache Tomcat/5.5.27
    >> >
    >> > Regards,
    >> > Naitala
    >> >
    >>
This discussion has been closed.