continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Trummer" <martin.trum...@24act.com>
Subject FYI: OutOfMemoryError
Date Thu, 06 Aug 2009 14:27:38 GMT
I just had a strange situation:
 * when I look at a project in the 'Project Group Summary', I see that
the last build was successful (the green sign)
 * then I open 'Build results' for that project and also see that the
last build was successful (the green sign)
   but when I now open the 'Result' for this build, I see the
errormessage/stacktrace below

My explanation/solution for this:
 * First I thought, that maven didn't have enough memory and messed
around with MAVEN_OPTS, but that was not the problem
   * after the automatic build, the target directory existed and the
.jar file was also there
   * and also manually calling maven (with the same arguments) on the
command line worked
   * so the maven build was ok & thus the green sign was also correct
 * when doing the manuall build I noticed, that my debug-level was very
low and that a lot of info was printed on stdout/stderr 
 * so I guess that:
   * the build was ok, but the problem only occured when the continuum
webapplication tried to render the build-results

solution:
increase the memory for the continuum web-application in:
C:\Programme\apache-continuum-1.2\conf\wrapper.conf
***
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=256

# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=1024
***

now everything works fine again

cheers, martin

*******************************************************

Error Occurred
java.lang.reflect.InvocationTargetException

Show/hide Stack Trace

        java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActio
nInvocation.java:358)
	at
com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultA
ctionInvocation.java:218)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:192)
	at
com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercep
t(DefaultWorkflowInterceptor.java:175)
	at
com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(Met
hodFilterInterceptor.java:86)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(Valid
ationInterceptor.java:115)
	at
com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(Met
hodFilterInterceptor.java:86)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
org.apache.maven.continuum.web.interceptor.ForceContinuumConfigurationIn
terceptor.intercept(ForceContinuumConfigurationInterceptor.java:72)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
org.codehaus.plexus.redback.xwork.interceptor.PolicyEnforcementIntercept
or.intercept(PolicyEnforcementInterceptor.java:149)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
org.codehaus.plexus.redback.xwork.interceptor.SecureActionInterceptor.in
tercept(SecureActionInterceptor.java:178)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
org.codehaus.plexus.xwork.interceptor.ExceptionMappingInterceptor.interc
ept(ExceptionMappingInterceptor.java:58)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercep
t(DefaultWorkflowInterceptor.java:175)
	at
com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(Met
hodFilterInterceptor.java:86)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(Valid
ationInterceptor.java:115)
	at
com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(Met
hodFilterInterceptor.java:86)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(Fil
eUploadInterceptor.java:174)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.webwork.interceptor.debugging.DebuggingInterceptor.inte
rcept(DebuggingInterceptor.java:169)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterce
ptor.java:151)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept
(ExceptionMappingInterceptor.java:186)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
org.codehaus.plexus.redback.xwork.interceptor.AutoLoginInterceptor.inter
cept(AutoLoginInterceptor.java:156)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
org.codehaus.plexus.redback.xwork.interceptor.ForceAdminUserInterceptor.
intercept(ForceAdminUserInterceptor.java:76)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
org.codehaus.plexus.redback.xwork.interceptor.EnvironmentCheckIntercepto
r.intercept(EnvironmentCheckInterceptor.java:122)
	at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
	at
com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.jav
a:116)
	at
com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(Dispat
cherUtils.java:273)
	at
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDisp
atcher.java:202)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1088)
	at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.
java:118)
	at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
ava:52)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1088)
	at
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
ContextCleanUp.java:88)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:1088)
	at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
	at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2
16)
	at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
	at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:206)
	at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:114)
	at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
	at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne
ction.java:829)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
	at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
	at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
	at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
395)
	at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.ja
va:450)
Caused by: java.lang.OutOfMemoryError: Java heap space

      

Mime
View raw message