geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Carey (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-5560) Running Geronimo as a Windows service (geronimosrvw.exe) gives Java PermGen space out of memory error
Date Mon, 10 Jan 2011 21:36:02 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-5560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979778#action_12979778
] 

Michael Carey commented on GERONIMO-5560:
-----------------------------------------

I'm also experiencing this condition, on a server running Windows Server 2003 R2. I've created
a fresh installation of Geronimo 2.2.1, manually installed procrun for this version, with
no further plug-ins or deploys.

Processor: Intel Core2 Quad, Q9400 @ 2.66GHz; 3.87 GB RAM

I've established my JAVA_OPTS as "-XX:MaxPermSize=1024m -Xms64M -Xmx512M -server", and attempted
to place the same in the geronimosrvw Java pane.

The server is able to start via the start-server script, but running geronimosrv results in
PermGen errors, when run from the Windows Service interface or from the command-line.

> Running Geronimo as a Windows service (geronimosrvw.exe) gives Java PermGen space out
of memory error
> -----------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5560
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5560
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Windows 2008R2 server
>            Reporter: Albert T. Wong
>            Priority: Critical
>
> Followed the instructions at https://cwiki.apache.org/GMOxDOC22/running-geronimo-as-a-windows-service.html.
  No problem installing the Windows Service Wrapper.   When you start up the service and hit
Geronimo, after login, throws PermGen space out of memory error.   I also tried geronimosrvw.exe
and modifying the command line startup (added -Xmx256m -XX:MaxPermSize=128m in the startup
-> arguments) and still geronimosrvw.exe gives me the same error.
> ----------------------------
> type Exception report
> message
> description The server encountered an internal error () that prevented it from fulfilling
this request.
> exception
> javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space
> 	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)
> 	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
> 	jsp.WEB_002dINF.themes.navigation_jsp._jspService(navigation_jsp.java:296)
> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> 	org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
> 	jsp.WEB_002dINF.themes.default_002dtheme_jsp._jspService(default_002dtheme_jsp.java:116)
> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> 	org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:151)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> 	org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(PlutoURLRebuildFilter.java:48)
> 	org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilter.java:130)
> root cause
> java.lang.OutOfMemoryError: PermGen space
> 	java.lang.ClassLoader.defineClass1(Native Method)
> 	java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
> 	java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> 	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> 	org.apache.geronimo.kernel.classloader.JarFileClassLoader.access$200(JarFileClassLoader.java:52)
> 	org.apache.geronimo.kernel.classloader.JarFileClassLoader$6.run(JarFileClassLoader.java:302)
> 	java.security.AccessController.doPrivileged(Native Method)
> 	org.apache.geronimo.kernel.classloader.JarFileClassLoader.findClass(JarFileClassLoader.java:254)
> 	org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:416)
> 	org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:256)
> 	java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> 	java.lang.Class.forName0(Native Method)
> 	java.lang.Class.forName(Class.java:169)
> 	org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.getEvaluatorByName(ExpressionEvaluatorManager.java:125)
> 	org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.evaluate(ExpressionEvaluatorManager.java:81)
> 	org.apache.taglibs.standard.tag.el.core.ForEachTag.evaluateExpressions(ForEachTag.java:164)
> 	org.apache.taglibs.standard.tag.el.core.ForEachTag.doStartTag(ForEachTag.java:75)
> 	jsp.WEB_002dINF.themes.navigation_jsp._jspService(navigation_jsp.java:116)
> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> 	org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
> 	jsp.WEB_002dINF.themes.default_002dtheme_jsp._jspService(default_002dtheme_jsp.java:116)
> 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> note The full stack trace of the root cause is available in the Apache Geronimo (Embedded
Tomcat/6.0.20.0) logs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message