Please join your peers on either March 26 (8pm GMT) or March 28 (8am GMT) to watch as user extraordinaire and forum legend @"lindsay.stevens" demonstrates OpenClinica Insight.

See preview and register at https://openclinica.com/insight-webinar

Insight makes it easy to ask questions of ALL of your clinical and operational data and visualize answers via interactive reports and dashboards. The idea is simple, but the results are powerful: ask your questions, choose your visualizations, then return often for updated, interactive results that link you to all of the underlying data.

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: [email protected]
> To: [email protected]; [email protected]
> 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: [email protected]
    >> >> To: [email protected]; [email protected]
    >> >> 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: [email protected]
    To: [email protected]
    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: [email protected]
    >> To: [email protected]; [email protected]
    >> 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.