10 Replies Latest reply on Nov 18, 2008 8:05 AM by Raja Sekhar

    Error occured accessing the

    Raja Sekhar Newbie

      I just followed the Installation Tutorial.
      I downloaded the jboss-portal-2.7.0.GA binary code.
      Next I added mysql-connector-java-5.1.7-bin to
      D:\jboss-4.2.2.GA\server\default\lib
      Next I added portal-mysql-ds to the
      D:\jboss-4.2.2.GA\server\default\\deploy directory.
      I run the server using run command.
      Next When I access the "http://localhost:8080/por" the following error is produced.



      javax.servlet.ServletException: java.lang.NullPointerException
      org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:278)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      root cause

      java.lang.NullPointerException
      org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:252)
      org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:112)
      org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:81)
      org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:72)
      org.jboss.portal.core.controller.Controller.handle(Controller.java:252)
      org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
      org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
      org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
      org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      and portal-mysql-ds.xml file as
      <datasources>
       <local-tx-datasource>
       <jndi-name>JBOSSPortalDS</jndi-name>
       <connection-url>jdbc:mysql://localhost:3306/jbossportal</connection-url>
       <driver-class>com.mysql.jdbc.Driver</driver-class>
       <user-name>root</user-name>
       <password>sa</password>
       </local-tx-datasource>
      </datasources>


      Is any thing wrong here.
      Can any one help me in this aspect.

      Thanx-
      sekhar

        • 1. Re: Error occured accessing the
          Peter Johnson Master

          Did you create the "jbossportal" database in MySQL, and did you set the password for "root" to be "sa"?

          If that does not solve the problem, then: You posted the error from the browser. There should also be a stack trace in the console log. Please post the first exception stack trace from the console log. You might have to increase the console buffer size to see the first stack trace (otherwise it might scroll off of the buffer).

          • 2. Re: Error occured accessing the
            Raja Sekhar Newbie

            HI Peter,
            I created the jbossportal database and This database has 82 tables now.
            This is the complete error message from the log-


            2008-11-10 09:56:07,845 ERROR [org.jboss.portal.server.servlet.PortalServlet] Unexpected exception
            java.lang.NullPointerException
            at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:252)
            at org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:112)
            at org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:81)
            at org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:72)
            at org.jboss.portal.core.controller.Controller.handle(Controller.java:252)
            at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
            at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
            at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
            at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
            at java.lang.Thread.run(Thread.java:595)
            2008-11-10 09:56:07,877 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal].[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception
            java.lang.NullPointerException
            at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:252)
            at org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:112)
            at org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:81)
            at org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:72)
            at org.jboss.portal.core.controller.Controller.handle(Controller.java:252)
            at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
            at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
            at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
            at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
            at java.lang.Thread.run(Thread.java:595)


            • 3. Re: Error occured accessing the
              Peter Johnson Master

              Why didn't I see this before? The jndi-name in the *-ds.xml file should be "PortalDS".

              • 4. Re: Error occured accessing the
                Raja Sekhar Newbie

                Hi Peter,

                I changed the name to "PortalDs" and still I got the following error.


                :35,006 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
                lang.OutOfMemoryError: PermGen space
                :35,006 ERROR [org_jboss_portal_core_samples_users_CurrentUsersPortlet] The portlet threw an exception
                .portlet.PortletException: javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space
                at org.jboss.portal.portlet.impl.jsr168.api.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:169)
                at org.jboss.portal.portlet.impl.jsr168.api.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:79)
                at org.jboss.portal.core.samples.users.CurrentUsersPortlet.doView(CurrentUsersPortlet.java:90)
                at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:258)
                at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:245)
                at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:399)
                at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:568)
                at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)
                at org.jboss.portlet.filter.JBossPortletFilter.doFilter(JBossPortletFilter.java:79)
                at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)
                at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:80)
                at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:505)
                at org.jboss.portal.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
                at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionIntercept
                vokeNotSupported$aop(TransactionInterceptor.java:97)
                at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(Transac
                nterceptor$invokeNotSupported_N6922078035659651697.java)
                at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
                at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)
                at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(Transac
                nterceptor$invokeNotSupported_N6922078035659651697.java)
                at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
                at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)
                at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(Transac
                nterceptor$invokeNotSupported_N6922078035659651697.java)
                at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
                at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
                at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
                at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                at org.jboss.portal.portlet.aspects.portlet.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:196)
                at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                at org.jboss.portal.portlet.aspects.portlet.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInt
                tor.java:119)
                ....
                ....
                ....
                ....
                :32,661 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
                lang.OutOfMemoryError: PermGen space
                :32,661 ERROR [org_jboss_portal_core_samples_jsp_JSPPortlet] The portlet threw an exception
                :43,645 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
                :18,332 ERROR [[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception
                lang.OutOfMemoryError: PermGen space



                Any modifications/configurations are required.
                I am New to this.
                Thanks-
                Sekhar

                • 6. Re: Error occured accessing the
                  Peter Johnson Master

                  I noticed the same error the first time I ran Portal 2.7. Makes me wonder what has changed (or has been added) that it now requires a larger permgen space.

                  • 7. Re: Error occured accessing the
                    Thomas Heute Master

                    With 2.6 we were at the limit, with 2.7 there are a bit more libs included so more permgen space. (which has a low value by default on most JDKs)

                    If you remove the services you don't use you would save PermGen space if you really need to.

                    • 8. Re: Error occured accessing the
                      Raja Sekhar Newbie

                      I tried by changiing the memory settings to

                      set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx1024m
                      and also ,I cleared the "server/default/work/jboss.web/localhost" directory and "server/default/tmp" directories before starting the server.
                      While starting the server shows warings like
                      17:36:45,531 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.portal.PortalObjectImpl]; usin
                      g defaults.
                      17:36:45,562 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.portal.ObjectNode]; using defa
                      ults.
                      17:36:45,578 WARN [EhCacheProvider] Could not find configuration [org.jboss.portal.core.impl.model.portal.ObjectNodeSecurityConst
                      raint]; using defaults.
                      ...
                      ...
                      ...

                      and while accessing the localhost:8080/portal the following error is produced


                      18:06:58,875 ERROR [InternalPortletContentProvider] Portlet invoker exception during portlet window rendering
                      org.jboss.portal.portlet.PortletInvokerException: javax.servlet.ServletException
                      at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:101)
                      at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                      at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
                      at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                      at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:75)
                      at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                      at org.jboss.portal.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:116)
                      at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                      at org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:219)
                      at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.org$jboss$portal$core$impl$portlet$state$ProducerPortle
                      tInvoker$invoke$aop(ProducerPortletInvoker.java:53)
                      at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletI
                      nvoker$invoke_N8654503705355129869.java)
                      at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
                      at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
                      at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletI
                      nvoker$invoke_N8654503705355129869.java)
                      at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
                      at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
                      ...
                      ...
                      ...

                      18:07:25,046 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                      18:07:25,046 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
                      18:07:30,499 ERROR [[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception
                      java.lang.OutOfMemoryError: PermGen space
                      at org.jboss.portal.core.model.portal.control.page.DefaultPageControlPolicy.doControl(DefaultPageControlPolicy.java:180)
                      at org.jboss.portal.core.model.portal.command.render.RenderWindowCommand.execute(RenderWindowCommand.java:106)
                      at org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
                      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                      at org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:124)
                      at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                      at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:134)
                      at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                      at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
                      at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                      at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
                      at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                      at org.jboss.portal.core.aspects.controller.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:
                      48)
                      at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                      at org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
                      at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                      at org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
                      at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                      at org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:55)
                      at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                      at org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
                      at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                      at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                      at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
                      18:07:36,061 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
                      java.lang.NoClassDefFoundError: org/apache/coyote/Constants
                      at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1557)
                      at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:934)
                      at org.apache.coyote.Response.action(Response.java:183)
                      at org.apache.coyote.Response.sendHeaders(Response.java:379)
                      at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:305)
                      at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:273)
                      at org.apache.catalina.connector.Response.finishResponse(Response.java:486)
                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
                      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
                      at java.lang.Thread.run(Thread.java:619)
                      Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.apache.coyote.Constants, msg=PermGen space
                      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:560)
                      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
                      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
                      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
                      ... 12 more
                      Caused by: java.lang.OutOfMemoryError: PermGen space
                      18:07:41,904 ERROR [Http11Protocol] Error reading request, ignored
                      java.lang.OutOfMemoryError: PermGen space


                      Friends, Am I irritating you...
                      Thanks in advance.
                      sekhar

                      • 9. Re: Error occured accessing the
                        Peter Johnson Master

                        You still are not setting the permgen size. These are the settings I use:

                        set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=256m


                        • 10. Re: Error occured accessing the
                          Raja Sekhar Newbie

                          Thanx a lot Peter....
                          Finally jbossportal2.7 is running on y machine using bundled source.

                          But when I tried using binary source it is not working....
                          the following error is produced...


                          18:28:47,455 ERROR [InternalPortletContentProvider] Portlet invoker exception during portlet window rendering
                          org.jboss.portal.portlet.PortletInvokerException: javax.servlet.ServletException
                          at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:101)
                          at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                          at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
                          at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                          at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:75)
                          at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                          at org.jboss.portal.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:116)
                          at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                          at org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:219)
                          at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.org$jboss$portal$core$impl$portlet$state$ProducerPortle
                          tInvoker$invoke$aop(ProducerPortletInvoker.java:53)
                          at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletI
                          nvoker$invoke_N8654503705355129869.java)
                          at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
                          at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
                          at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletI
                          nvoker$invoke_N8654503705355129869.java)
                          at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
                          at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
                          at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletI
                          nvoker$invoke_N8654503705355129869.java)
                          at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java)
                          at org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:145)

                          at org.jboss.portal.portlet.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:14
                          9)
                          at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$1.invoke(InstanceContainerImpl.java:93)
                          at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                          at org.jboss.portal.portlet.management.PortletContainerManagementInterceptorImpl.invoke(PortletContainerManagementIntercep
                          torImpl.java:59)
                          at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                          at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInt
                          erceptor.java:93)
                          at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                          at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:93)
                          at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
                          at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:162)
                          at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.org$jboss$portal$core$impl$model$instance$InstanceConta
                          inerImpl$invoke$aop(InstanceContainerImpl.java:418)
                          at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContaine
                          rImpl$invoke_N8654503705355129869.java)
                          at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
                          at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
                          at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContaine
                          rImpl$invoke_N8654503705355129869.java)
                          at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
                          at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
                          at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContaine
                          rImpl$invoke_N8654503705355129869.java)
                          at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.invoke(InstanceContainerImpl.java)
                          at org.jboss.portal.core.impl.model.instance.AbstractInstance.invoke(AbstractInstance.java:231)
                          at org.jboss.portal.core.impl.model.content.InternalContentProvider.renderWindow(InternalContentProvider.java:345)
                          at org.jboss.portal.core.model.portal.command.render.RenderWindowCommand.execute(RenderWindowCommand.java:100)
                          at org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
                          at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
                          at org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:124)
                          at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                          at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                          at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:134)
                          at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                          at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                          at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
                          at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                          at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                          at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
                          at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
                          at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
                          at org.jboss.portal.core.aspects.controller.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:


                          Once again Thanx a lot Peter...
                          I deployed the first portlet...

                          -sekhar