geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Chauvet (Commented) (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 Tue, 20 Mar 2012 16:57:39 GMT

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

Guillaume Chauvet commented on GERONIMO-5560:
---------------------------------------------

I up this ticket. We have the same problem with geronimosrv.exe (version 3.0.0-beta1) on 
Windows XP 32bits. I followed the same instructions and I obtain this result :

Booting Geronimo Kernel (in Java 1.6.0_30)...
Module  1/52 org.apache.geronimo.framework/j2ee-system/3.0-beta-1/car              started
in   .000s
Module  2/52 org.apache.geronimo.framework/rmi-naming/3.0-beta-1/car               started
in   .062s
Module  3/52 org.apache.geronimo.framework/plugin/3.0-beta-1/car                   started
in   .469s
Module  4/52 org.apache.geronimo.framework/j2ee-security/3.0-beta-1/car            started
in   .593s
Module  5/52 org.apache.geronimo.framework/server-security-config/3.0-beta-1/car   started
in   .062s
Module  6/52 org.apache.geronimo.framework/bundle-recorder/3.0-beta-1/car          started
in   .000s
Module  7/52 org.apache.geronimo.framework/geronimo-gbean-deployer/3.0-beta-1/car  started
in   .843s
Module  8/52 org.apache.geronimo.configs/j2ee-server/3.0-beta-1/car                started
in   .406s
Module  9/52 org.apache.geronimo.configs/j2ee-deployer/3.0-beta-1/car              started
in   .422s
Module 10/52 org.apache.geronimo.configs/bval-deployer/3.0-beta-1/car              started
in   .344s
Module 11/52 org.apache.geronimo.configs/transaction-1_6/3.0-beta-1/car            started
in   .610s
Module 12/52 org.apache.geronimo.configs/system-database/3.0-beta-1/car            started
in  2.250s
Module 13/52 org.apache.geronimo.configs/openjpa2/3.0-beta-1/car                  2012-03-20
17:51:13,000 WARN  [aries] Managed persistence context support is no longer available f
or use with the Aries Blueprint container
 started in   .000s
Module 14/52 org.apache.geronimo.configs/openejb/3.0-beta-1/car                    started
in  2.235s
Module 15/52 org.apache.geronimo.configs/jasper/3.0-beta-1/car                     started
in   .062s
Module 16/52 org.apache.geronimo.configs/tomcat7/3.0-beta-1/car                    started
in  1.344s
Module 17/52 org.apache.geronimo.configs/connector-deployer-1_6/3.0-beta-1/car     started
in   .156s
Module 18/52 org.apache.geronimo.configs/tomcat7-deployer/3.0-beta-1/car           started
in   .391s
Module 19/52 org.apache.geronimo.configs/web-extender/3.0-beta-1/car               started
in   .031s
Module 20/52 org.apache.geronimo.configs/hot-deployer/3.0-beta-1/car               started
in   .047s
Module 21/52 org.apache.geronimo.configs/remote-deploy-tomcat/3.0-beta-1/car       started
in  1.703s
Module 22/52 org.apache.geronimo.configs/jasper-deployer/3.0-beta-1/car            started
in   .015s
Module 23/52 org.apache.geronimo.configs/myfaces/3.0-beta-1/car                    started
in   .079s
Module 24/52 org.apache.geronimo.configs/myfaces-deployer/3.0-beta-1/car           started
in   .468s
Module 25/52 org.apache.geronimo.configs/sharedlib-extender/3.0-beta-1/car         started
in   .015s
Module 26/52 org.apache.geronimo.configs/sharedlib/3.0-beta-1/car                  started
in   .016s
Module 27/52 org.apache.geronimo.configs/aries/3.0-beta-1/car                      started
in   .015s
Module 28/52 org.apache.geronimo.configs/aries-deployer/3.0-beta-1/car             started
in   .000s
Module 29/52 org.apache.geronimo.configs/persistence-jpa20-deployer/3.0-beta-1/car started
in   .062s
Module 30/52 org.apache.geronimo.plugins/pluto-support/3.0-beta-1/car              started
in   .032s
Module 31/52 org.apache.geronimo.plugins/console-tomcat/3.0-beta-1/car             started
in  1.172s
Module 32/52 org.apache.geronimo.plugins/plugin-console-tomcat/3.0-beta-1/car      started
in   .906s
Module 33/52 org.apache.geronimo.plugins.monitoring/mconsole-ds/3.0-beta-1/car     started
in   .078s
Module 34/52 org.apache.geronimo.plugins.monitoring/mconsole-tomcat/3.0-beta-1/car started
in  2.016s
Module 35/52 org.apache.geronimo.configs/activemq-broker-blueprint/3.0-beta-1/car 2012-03-20
17:51:29,218 WARN  [AMQPersistenceAdapter] The ReferenceStore is not valid - recovering
 ...
 started in  1.031s
Module 36/52 org.apache.geronimo.configs/activemq-ra/3.0-beta-1/car                started
in   .938s
Module 37/52 org.apache.geronimo.plugins/activemq-console-tomcat/3.0-beta-1/car    started
in   .828s
Module 38/52 org.apache.geronimo.plugins/debugviews-console-tomcat/3.0-beta-1/car  started
in   .328s
Module 39/52 org.apache.geronimo.plugins/sysdb-console-tomcat/3.0-beta-1/car       started
in   .438s
Module 40/52 org.apache.geronimo.plugins/openejb-console-tomcat/3.0-beta-1/car     started
in   .828s
Module 41/52 org.apache.geronimo.configs/openejb-deployer/3.0-beta-1/car           started
in   .094s
Module 42/52 org.apache.geronimo.configs/openejb-corba-deployer/3.0-beta-1/car     started
in   .125s
Module 43/52 org.apache.geronimo.configs/j2ee-corba-yoko/3.0-beta-1/car            started
in   .500s
Module 44/52 org.apache.geronimo.configs/openwebbeans-deployer/3.0-beta-1/car      started
in   .015s
Module 45/52 org.apache.geronimo.plugins.monitoring/agent-ds/3.0-beta-1/car        started
in   .844s
Module 46/52 org.apache.geronimo.configs/mejb/3.0-beta-1/car                       started
in   .907s
Module 47/52 org.apache.geronimo.plugins.monitoring/agent-car-jmx/3.0-beta-1/car   started
in   .062s
Module 48/52 org.apache.geronimo.configs/welcome-tomcat/3.0-beta-1/car             started
in   .297s
Module 49/52 org.apache.geronimo.configs/javamail/3.0-beta-1/car                   started
in   .063s
Module 50/52 org.apache.geronimo.plugins/plancreator-console-tomcat/3.0-beta-1/car started
in   .297s
Module 51/52 org.apache.geronimo.configs/procrun/3.0-beta-1/car                    started
in   .000s
Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" java.lang.OutOfMemoryError:
PermGen space
                
> 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.
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