[jboss-user] [JBoss Portal] - Re: java.lang.OutofMemoryException

pucky do-not-reply at jboss.com
Thu Aug 16 01:58:03 EDT 2007


I hate to throw in a Me too, but I think I'm having the same issue with the same error. 


2007-08-16 00:48:58,783 ERROR [org.jboss.portal.server.servlet.CommandServlet] Exception in command invocation
java.lang.OutOfMemoryError: PermGen space
        at sun.misc.Unsafe.defineClass(Native Method)
        at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
        at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
        at sun.reflect.MethodAccessorGenerator.generateMethod(MethodAccessorGenerator.java:59)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:28)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at javax.faces.component._ComponentAttributesMap.getComponentProperty(_ComponentAttributesMap.java:221)
        at javax.faces.component._ComponentAttributesMap.get(_ComponentAttributesMap.java:128)
        at org.apache.myfaces.renderkit.html.HtmlRendererUtils.renderHTMLAttribute(HtmlRendererUtils.java:501)
        at org.apache.myfaces.renderkit.html.HtmlRendererUtils.renderHTMLAttributes(HtmlRendererUtils.java:515)
        at org.apache.myfaces.renderkit.html.HtmlLinkRendererBase.renderCommandLinkStart(HtmlLinkRendererBase.java:167)
        at org.apache.myfaces.renderkit.html.HtmlLinkRendererBase.encodeBegin(HtmlLinkRendererBase.java:87)
        at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:307)
        at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
        at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
        at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
        at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:540)
        at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
        at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:323)
        at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298)
        at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380)
        at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
        at org.jboss.portal.faces.loader.FacesPortlet.render(FacesPortlet.java:100)
        at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
        at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
        at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
        at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
2007-08-16 00:48:58,786 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal-admin].[CommandServlet]] Servlet.service() for servlet CommandServlet threw exception
java.lang.OutOfMemoryError: PermGen space
        at sun.misc.Unsafe.defineClass(Native Method)
        at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
        at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
        at sun.reflect.MethodAccessorGenerator.generateMethod(MethodAccessorGenerator.java:59)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:28)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at javax.faces.component._ComponentAttributesMap.getComponentProperty(_ComponentAttributesMap.java:221)
        at javax.faces.component._ComponentAttributesMap.get(_ComponentAttributesMap.java:128)
        at org.apache.myfaces.renderkit.html.HtmlRendererUtils.renderHTMLAttribute(HtmlRendererUtils.java:501)
        at org.apache.myfaces.renderkit.html.HtmlRendererUtils.renderHTMLAttributes(HtmlRendererUtils.java:515)
        at org.apache.myfaces.renderkit.html.HtmlLinkRendererBase.renderCommandLinkStart(HtmlLinkRendererBase.java:167)
        at org.apache.myfaces.renderkit.html.HtmlLinkRendererBase.encodeBegin(HtmlLinkRendererBase.java:87)
        at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:307)
        at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
        at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
        at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
        at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:540)
        at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
        at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:323)
        at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298)
        at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380)
        at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
        at org.jboss.portal.faces.loader.FacesPortlet.render(FacesPortlet.java:100)
        at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
        at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
        at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
        at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
2007-08-16 00:48:58,792 WARN  [org.hibernate.engine.loading.LoadContexts] fail-safe cleanup (collections) : org.hibernate.engine.loading.CollectionLoadContext at 1fbcd1b<rs=com.mysql.jdbc.ResultSet at 183f728>
2007-08-16 00:48:58,792 WARN  [org.hibernate.engine.loading.LoadContexts] fail-safe cleanup (collections) : org.hibernate.engine.loading.CollectionLoadContext at 56deff<rs=com.mysql.jdbc.ResultSet at 14043b3>
2007-08-16 00:48:58,792 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception
java.lang.OutOfMemoryError: PermGen space
        at sun.misc.Unsafe.defineClass(Native Method)
        at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
        at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
        at sun.reflect.MethodAccessorGenerator.generateMethod(MethodAccessorGenerator.java:59)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:28)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at javax.faces.component._ComponentAttributesMap.getComponentProperty(_ComponentAttributesMap.java:221)
        at javax.faces.component._ComponentAttributesMap.get(_ComponentAttributesMap.java:128)
        at org.apache.myfaces.renderkit.html.HtmlRendererUtils.renderHTMLAttribute(HtmlRendererUtils.java:501)
        at org.apache.myfaces.renderkit.html.HtmlRendererUtils.renderHTMLAttributes(HtmlRendererUtils.java:515)
        at org.apache.myfaces.renderkit.html.HtmlLinkRendererBase.renderCommandLinkStart(HtmlLinkRendererBase.java:167)
        at org.apache.myfaces.renderkit.html.HtmlLinkRendererBase.encodeBegin(HtmlLinkRendererBase.java:87)
        at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:307)
        at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
        at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
        at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
        at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:540)
        at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
        at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:323)
        at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298)
        at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380)
        at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
        at org.jboss.portal.faces.loader.FacesPortlet.render(FacesPortlet.java:100)
        at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)
        at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)
        at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)
        at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074664#4074664

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074664



More information about the jboss-user mailing list