1 2 Previous Next 22 Replies Latest reply on Apr 27, 2006 6:03 AM by David Perez

    help in starting portal server (No null layout allowed here.

    Qaiser Mehmood Newbie

      Hi,



      I have installed the Jboss AS and now put the jboss portal server and after starting the server, and when I start running this URL http://localhost:8080/portal/, I am getting this error. Please help me.

      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(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:585)
      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)
      $Proxy109.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(NativeMethodAccessorImpl.java:39)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:585)
      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)
      $Proxy109.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)

        • 2. Re: help in starting portal server (No null layout allowed h
          Qaiser Mehmood Newbie

          Hi ,

          I have initialized the datasource, because when I started the server, its insterted a lot of tables and data into database. But when I want to run the first page of the portal, its showing me this error.

          Qaiser

          • 3. Re: help in starting portal server (No null layout allowed h
            Qaiser Mehmood Newbie

            Hi,

            I am also getting this error, when I restarted the server.

            java.lang.IllegalArgumentException: No transaction manager provided
            at org.jboss.portal.common.transaction.Transactions.applyBefore(Transact
            ions.java:72)
            at org.jboss.portal.security.impl.store.TreeCacheAdapter.start(TreeCache
            Adapter.java:146)
            at org.jboss.portal.security.impl.store.JBossTreeCacheStore.startService
            (JBossTreeCacheStore.java:68)
            at org.jboss.portal.security.impl.JBossPortalPolicyConfigStoreImpl.start
            Service(JBossPortalPolicyConfigStoreImpl.java:264)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
            upport.java:274)
            at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
            81)
            at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBo
            ssService.java:86)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
            java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
            or.java:118)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
            BeanOperationInterceptor.java:127)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:245)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
            ler.java:960)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:428)
            at org.jboss.system.ServiceController.start(ServiceController.java:446)
            at org.jboss.system.ServiceController.start(ServiceController.java:446)
            at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:245)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
            at $Proxy4.start(Unknown Source)
            at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
            java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
            or.java:118)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
            BeanOperationInterceptor.java:127)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:245)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
            at $Proxy6.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
            tScanner.java:319)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
            canner.java:507)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
            doScan(AbstractDeploymentScanner.java:192)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
            bstractDeploymentScanner.java:265)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
            upport.java:274)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
            eanSupport.java:230)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
            java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:245)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
            ler.java:943)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:428)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
            java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
            java:245)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
            at $Proxy4.start(Unknown Source)
            at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
            java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
            sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
            er.java:141)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
            or.java:118)

            • 5. Re: help in starting portal server (No null layout allowed h
              ajpurkiss Newbie

              I have the same problem - I have the following setup

              MySQL 5
              latest DB connector
              JBOss AP 4.0.4RC1
              Portal 2.1.2

              The tables are built but no data seems to have been put in them.

              Root of the problem seems to be the PortalPolicyConfigStore section which failed

              • 6. Re: help in starting portal server (No null layout allowed h
                ajpurkiss Newbie

                JNDI looks like it failed as well so sql table updates fail

                • 7. Re: help in starting portal server (No null layout allowed h
                  Steve Curd Newbie

                  Did you already try resetting the database?

                  1) shut down the server
                  2) delete the "portal" directory under server/default/data
                  3) Remove all the JBoss tables or wipe out all data contained within those tables.
                  4) restart the server. I think they use Hibernate to automatically check for the existence of needed tables and to recreate and repopulate them as necessary.

                  That has worked for me in the past.

                  • 8. Re: help in starting portal server (No null layout allowed h
                    tom zhu Newbie

                    Hi, I also met such errors, do you have any solution?

                    • 9. Re: help in starting portal server (No null layout allowed h
                      Woodler Expert

                      do you see any errors or warnings on server startup ?

                      my guess would be that the stack trace you see is a result of something more profound going wrong earlier (like no connection to the database, etc. )

                      • 10. Re: help in starting portal server (No null layout allowed h
                        Francesco Tumanischvili Newbie

                        I was getting both the "no transaction error" on startup and the "null layout" when accessing the portal. Now I got rid of the "no transaction" doing what I list below, but I still get the null layout and portal is not accessible. Stack trace seems to mention just before the "no layout" error a:

                        WARN [ThemeServiceImpl] Theme with name [Nphalanx] not found


                        I don't know if it could be related. Only error during startup regards mail in portal service and I guess it's not related at all to the main issue

                        Any clue?

                        Configuration:
                        - MySql 4.1
                        - Latest connector
                        - JBoss 4.04RC1
                        - Portal2.2.1RC2
                        - JDK 1.5
                        - Win Xp

                        Steps to get rid of "no transaction" error:

                        - delete all jbossportal related db tables
                        - delete dir 'portal' from jboss/../data
                        - use mysql connector 3.1.12
                        - use this suggestion from topic : http://www.jboss.com/index.html?module=bb&op=viewtopic&t=75740&postdays=0&postorder=asc&start=20

                        I was getting the no transaction manager problem that others described earlier on this thread. I changed the configuration of the transient tree cache mbean in the portal's jboss-service.xml to the following...

                        Code:

                        <mbean code="org.jboss.cache.TreeCache" name="portal:service=TreeCache,type=transient">
                        <attribute name="TransactionManagerLookupClass">org.jboss.cache.JBossTransactionManagerLookup</attribute>
                        <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
                        <attribute name="CacheMode">LOCAL</attribute>
                        *<depends>jboss.jca:service=DataSourceBinding,name=PortalDS</depends>*
                        </mbean>



                        My error trace:

                        20:50:42,851 WARN [ThemeServiceImpl] Theme with name [Nphalanx] not found
                        20:50:42,942 ERROR [PortalServlet] Invocation exception
                        org.jboss.portal.server.invocation.InvocationException: javax.servlet.ServletException: No null layout allowed here
                        at org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:168)
                        at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
                        at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
                        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168)
                        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61)
                        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58)
                        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
                        at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107)
                        at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93)
                        at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77)
                        at org.jboss.portal.core.CoreController.handle(CoreController.java:190)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:585)
                        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
                        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                        at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
                        at $Proxy98.handle(Unknown Source)
                        at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
                        at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47)
                        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52)
                        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
                        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69)
                        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184)
                        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87)
                        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75)
                        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
                        at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                        at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
                        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
                        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
                        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
                        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                        at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                        at java.lang.Thread.run(Thread.java:595)
                        Caused by: javax.servlet.ServletException: No null layout allowed here
                        at org.jboss.portal.core.command.RenderPageCommand.renderMarkup(RenderPageCommand.java:182)
                        at org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java:348)
                        at org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:164)
                        ... 80 more
                        20:50:43,412 ERROR [[PortalServletWithPathMapping]] Servlet.service() for servlet PortalServletWithPathMapping threw exception
                        java.lang.IllegalArgumentException: No null layout allowed here
                        at org.jboss.portal.theme.LayoutDispatcher.(LayoutDispatcher.java:77)
                        at org.jboss.portal.core.command.RenderPageCommand.renderMarkup(RenderPageCommand.java:177)
                        at org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java:348)
                        at org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:164)
                        at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
                        at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
                        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168)
                        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61)
                        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58)
                        at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
                        at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107)
                        at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93)
                        at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77)
                        at org.jboss.portal.core.CoreController.handle(CoreController.java:190)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:585)
                        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
                        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                        at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
                        at $Proxy98.handle(Unknown Source)
                        at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
                        at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47)
                        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52)
                        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
                        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69)
                        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184)
                        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87)
                        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75)
                        at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
                        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
                        at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
                        at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                        at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
                        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
                        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
                        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
                        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                        at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                        at java.lang.Thread.run(Thread.java:595)[/url]

                        • 11. Re: help in starting portal server (No null layout allowed h
                          lavanya sripada Newbie

                          Hi,
                          I get the same error, did you fix this?

                          thanks,

                          • 12. Re: help in starting portal server (No null layout allowed h
                            noicangi Novice

                            that error apears me one time i was editing the generic layout, copy again the jboss portal2.2rc2 to your deploy directory and try again

                            • 13. Re: help in starting portal server (No null layout allowed h
                              Joe DeStefano Newbie

                              I had the same problem, and curiously enough, it was fixed when I installed the mail services (yes, mail - I know it seems to have nothing to do with portals or transaction managers). The installer-created JBAS I had was missing mail-service.xml and the mail-plugin.jar, which I nicked from the tgz version of JBAS. I also copied in the mail-ra.rar, although I confess that I have no idea what that is for :-) Installing the mail services mail the complaint about the TransactionManager go away, and then the portal worked fine.

                              Go figure.

                              • 14. Re: help in starting portal server (No null layout allowed h
                                Joelle FOTSO Newbie

                                sorry, i'm a french speaker.

                                j'ai rencontré le même problème ce matin et j'ai finalement pu le résoudre.
                                assurez vous que le fichier portal-*-ds.xml contient la bonne chaine de connexion à votre base de données. j'utilise jboss-4.0.2 et jboss-portal-2.0.2RC1.
                                Ma base est une base oracle(jbossportal) installée sur un serveur qui se nomme luanda, et j me connecte avec l'user portal/sinti
                                Le contenu de mon fichier portal-oracle-ds.xml est le suivant:

                                <?xml version="1.0" encoding="UTF-8"?>

                                <local-tx-datasource>
                                <jndi-name>PortalDS</jndi-name>
                                <connection-url>jdbc:oracle:thin:@luanda:1521:jbossportal</connection-url>
                                <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
                                <user-name>portal</user-name>
                                sinti
                                </local-tx-datasource>
                                <no-tx-datasource>
                                <jndi-name>NoTxPortalDS</jndi-name>
                                <connection-url>jdbc:oracle:thin:@luanda:1521:jbossportal</connection-url>
                                <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
                                <user-name>portal</user-name>
                                sinti
                                </no-tx-datasource>

                                1 2 Previous Next