I decided that it may help to give some more information about my setup, as I keep running into this "PermGen Space" error.<br><br>The JBoss installation I'm using is freshly unzipped and installed with no changes.<br>
<br>I'm running JBoss with the following specs:<br><br><b>JBoss Portal:</b> <a href="http://2.6.3.GA">2.6.3.GA</a><br><b>Operating System:</b> Ubuntu 7.10 using a <br><b>Processor:</b> Dual Intex Xeon 64-bit 4-core processors<br>
<b>Ram:</b> 8 GB<br><b>Java:</b> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_13-b05, mixed mode)<br><br>This is the most recent fatal error I have gotten while just performing basic operations in the portal as admin:<br>
<br>16:55:10,325 ERROR [STDERR] Feb 13, 2008 4:55:10 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/portal-faces-lib.jar!/META-INF/portal.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/portal-faces-lib.jar!/META-INF/portal.taglib.xml</a><br>
16:55:10,364 ERROR [STDERR] Feb 13, 2008 4:55:10 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml</a><br>
16:55:10,403 ERROR [STDERR] Feb 13, 2008 4:55:10 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml</a><br>
16:55:10,416 ERROR [STDERR] Feb 13, 2008 4:55:10 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml</a><br>
16:55:10,473 ERROR [STDERR] Feb 13, 2008 4:55:10 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml</a><br>
16:55:10,484 ERROR [STDERR] Feb 13, 2008 4:55:10 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml</a><br>
16:55:11,073 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true<br>16:55:11,073 INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now.<br>
16:55:11,073 INFO [MyfacesConfig] Starting up Tomahawk on the RI-JSF-Implementation.<br>16:55:11,073 INFO [MyfacesConfig] Starting up Tomahawk on the MyFaces-JSF-Implementation<br>16:55:11,073 ERROR [MyfacesConfig] Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations.<br>
16:55:42,446 ERROR [STDERR] Feb 13, 2008 4:55:42 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml</a><br>
16:55:42,462 ERROR [STDERR] Feb 13, 2008 4:55:42 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml</a><br>
16:55:42,467 ERROR [STDERR] Feb 13, 2008 4:55:42 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/portal-faces-lib.jar!/META-INF/portal.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/portal-faces-lib.jar!/META-INF/portal.taglib.xml</a><br>
16:55:42,481 ERROR [STDERR] Feb 13, 2008 4:55:42 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml</a><br>
16:55:42,488 ERROR [STDERR] Feb 13, 2008 4:55:42 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml</a><br>
16:55:42,495 ERROR [STDERR] Feb 13, 2008 4:55:42 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit<br>INFO: Added Library from: jar:file:/opt/jboss-<a href="http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml">portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml</a><br>
16:55:42,789 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true<br>16:55:42,789 INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now.<br>
16:55:42,789 INFO [MyfacesConfig] Starting up Tomahawk on the RI-JSF-Implementation.<br>16:55:42,789 INFO [MyfacesConfig] Starting up Tomahawk on the MyFaces-JSF-Implementation<br>16:55:42,789 ERROR [MyfacesConfig] Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations.<br>
16:55:57,381 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception<br>java.lang.OutOfMemoryError: PermGen space<br> at java.lang.Throwable.getStackTraceElement(Native Method)<br> at java.lang.Throwable.getOurStackTrace(Throwable.java:592)<br>
at java.lang.Throwable.printStackTrace(Throwable.java:511)<br> at org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Compiler.java:477)<br> at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:430)<br>
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:405)<br> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)<br> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)<br>
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)<br> at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)<br> at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316)<br>
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)<br> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)<br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br>
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)<br>
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)<br> at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)<br> at org.jboss.portal.portlet.impl.jsr168.api.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:86)<br>
at org.jboss.portal.core.ui.content.portlet.PortletContentEditorPortlet.getContent(PortletContentEditorPortlet.java:176)<br> at org.jboss.portal.core.ui.content.portlet.PortletContentEditorPortlet.doEditContent(PortletContentEditorPortlet.java:100)<br>
at org.jboss.portal.core.ui.content.portlet.PortletContentEditorPortlet.doDispatch(PortletContentEditorPortlet.java:90)<br> at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)<br> at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483)<br>
at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405)<br> at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86)<br>
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)<br> at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeRequiresNew$aop(TransactionInterceptor.java:111)<br>
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequiresNew_1464645299204216429.invokeNext(TransactionInterceptor$invokeRequiresNew_1464645299204216429.java)<br> at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)<br>
at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)<br>16:55:57,382 ERROR [org_jboss_portal_core_ui_content_portlet_PortletContentEditorPortlet] The portlet threw an exception<br>16:56:04,751 ERROR [STDERR] org.jboss.portal.portlet.PortletInvokerException: javax.servlet.ServletException<br>
16:56:07,805 ERROR [STDERR] org.jboss.portal.core.controller.ControllerException: org.jboss.portal.portlet.PortletInvokerException: javax.servlet.ServletException<br>16:56:10,635 ERROR [[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception<br>
java.lang.OutOfMemoryError: PermGen space<br><br><br>This problem didn't happen when I was running the 32-bit version of Ubuntu, etc, on this server. But now that I am using 64-bit everything seems to be going wrong.<br>
<br>~chris<br>