1 Reply Latest reply on Mar 13, 2006 9:18 AM by albino

    After install JBOSS Portal : "HTTP Status 500"

    lorenzoflores

      Hi,

      I'm installing JBOSS Portal. When browser access: http://localhost:8080/portal, ocurrs the following error: HTTP Status 500 (see below the detail)

      Can somebody help me to identify the problem?

      Thank in advance.

      Lorenzo.

      --------------------------------------------------------------------------------

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      javax.servlet.ServletException: No null layout allowed here
      org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:227)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


      root cause

      javax.servlet.ServletException: No null layout allowed here
      org.jboss.portal.core.command.RenderPageCommand.renderMarkup(RenderPageCommand.java:182)
      org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java:348)
      org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:164)
      org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
      org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
      org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168)
      org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61)
      org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58)
      org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
      org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107)
      org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93)
      org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77)
      org.jboss.portal.core.CoreController.handle(CoreController.java:190)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      java.lang.reflect.Method.invoke(Unknown Source)
      org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
      $Proxy115.handle(Unknown Source)
      org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
      org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
      org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


      root cause

      java.lang.IllegalArgumentException: No null layout allowed here
      org.jboss.portal.theme.LayoutDispatcher.(LayoutDispatcher.java:77)
      org.jboss.portal.core.command.RenderPageCommand.renderMarkup(RenderPageCommand.java:177)
      org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java:348)
      org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:164)
      org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
      org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
      org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168)
      org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61)
      org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58)
      org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
      org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107)
      org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93)
      org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77)
      org.jboss.portal.core.CoreController.handle(CoreController.java:190)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      java.lang.reflect.Method.invoke(Unknown Source)
      org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
      $Proxy115.handle(Unknown Source)
      org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
      org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75)
      org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
      org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
      org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
      org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


      note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.

        • 1. Re: After install JBOSS Portal :
          albino

          Hi,

          I can't use also the JPortal 2.2.1RC2 with JBossAS 4.0.4 RC1. I got the following exception when I started JBossAS.

          ERROR [MainDeployer] Could not create deployment: file:/C:/jboss/server/default/deploy/jboss-portal.sar

          java.lang.NoClassDefFoundError: javax/activation/MimeTypeParseException
          at java.lang.Class.forName0(Native Method)
          at java.lang.Class.forName(Unknown Source)
          at ...



          When the AS initialisation ended and I tried to access the portal I got this Exception:

          ERROR [PortalServlet] Cannot get portal server

          Any idea?
          Albundy