geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forrest Xia (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GERONIMO-5560) Running Geronimo as a Windows service (geronimosrvw.exe) gives Java PermGen space out of memory error
Date Wed, 21 Mar 2012 15:17:44 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-5560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Forrest Xia resolved GERONIMO-5560.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.9
                   3.0-beta-2
                   3.0
                   2.2.2
    
> 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
>            Assignee: Forrest Xia
>            Priority: Critical
>             Fix For: 2.2.2, 3.0, 3.0-beta-2, 2.1.9
>
>         Attachments: service_pr.bat
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message