10 Replies Latest reply on Jun 6, 2005 7:45 AM by Stuart Sim

    Some simple user comments on RC2

    jkester Newbie

      I had a small look at 2.0RC2 and found some small issues. I used the outofthebox version with jboss included, only replaced hsql by mysql.

      Creating a new user: jboss logs show No Such Role Users (userRegister), user gets generated, but without role, and he can not log in-

      Forum: no search function?

      No back to menu button from forums? Go into forums and you can not go back.

      DoHelp on TestPortlet generates exception.

      How to add menu items with contents of CMS Portlet? File tree of CMS portlet? I found it difficult as a normal user to scroll through my cms files;

      Weblogs?

      Theme not visible behind firewall?

      Logging in on remote machine http:///portal gives error on redirection: url not found, goes to http:////portal (double slash).

      Regards, Jan.

        • 1. Re: Some simple user comments on RC2
          Roy Russo Master

          New user: I will look in to this.

          Forum search: We are looking at integrating lucene for a portal-wide search.

          Forum navigation: Already a task in jira.

          Test page is meant for development. Some things work, some thing don't. As expected.

          I'm confused as to your menu items issue. Which menu?

          Weblogs what?

          I'm at a loss as to how to fix your particular firewall issue while trying to connect to a remote host. This could be a configuration issue or port forwarding issue with your particular network.

          • 2. Re: Some simple user comments on RC2
            jkester Newbie

            Thanks for your answer, and sorry for my cryptic remarks :-).

            About menu, I meant that as a user I do not find the CMS portlet intuitive. I would imagine as a user that there is some way to scroll through the pages that are there in the CMS. Currently a user can only rely on links that have been put in other documents. I think it would be nice for a user if there would be some way to see a tree view of available folder/documents. I guess this is a feature request.

            About weblogs: are they coming as well? I scrolled a bit through wikis/forums of jbossportal, nukes and nukes development but did not read clearly how jbossportal and nukes relate (whether they will exist next to each other or whether jbossportal will replace nukes in the future).
            Nukes had weblogs implemented. Is that intended for jbossportal as well?

            About my missing theme issue, I answered in other topic. My page is visible under www.jankester.com/portal.

            Regards, Jan

            • 3. Re: Some simple user comments on RC2
              Roy Russo Master

              CMS: Looks like you want a sitemap component to the CMS. There are no plans for this currently. The CMS frontend serves content right now and it is its only function.

              Weblogs: I'm assuming you mean the ability to blog? Nukes also had a stats component for traffic logging, so I'm not sure if you meant that. I prefer to not have the CMS track traffic stats in portal and would rather rely on server logs as they are more accurate and you can use a tool like analog or webalyzer to do some cool shit with the raw logs instead. As for a blog, there are no plans to implement blojsom. Currently, even in nukes, the blogs sit outside the cms as an independent app. One thing that is possible is taking blojsom rss feeds and having them show up in a portlet.

              Nukes was a CMS, which you see here. Portal was coded from the ground up and adheres to JSR168, which nukes did not. We have begun porting some of the modules from nukes over to portal. The download module and xwiki will be the next in-line to be added.

              • 4. Re: Some simple user comments on RC2
                Stuart Sim Newbie

                 

                "jkester" wrote:

                Creating a new user: jboss logs show No Such Role Users (userRegister), user gets generated, but without role, and he can not log in-


                Hi, I have also just installed RC2 and am getting exactly the same error - if someone could take a look at this that would be great as Im looking forward to getting it going :)

                Thanks,

                Stuart


                • 5. Re: Some simple user comments on RC2
                  Viet Master

                  I am looking into it, thanks for the feedback

                  • 6. Re: Some simple user comments on RC2
                    Stuart Sim Newbie

                    Heres the full log output on my system if it helps :-

                    14:20:41,616 ERROR [JBossPortlet] Cannot create user studie
                    org.jboss.portal.core.modules.ModuleException: No such role Users
                    at org.jboss.portal.core.impl.role.RoleModuleImpl.findRoleByName(RoleModuleImpl.java:61)
                    at org.jboss.portal.core.portlet.user.UserPortlet.userRegister(UserPortlet.java:544)
                    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:324)
                    at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:140)
                    at org.jboss.portlet.JBossPortlet.processAction(JBossPortlet.java:96)
                    at org.jboss.portlet.JBossPortlet.processAction(JBossPortlet.java:342)
                    at org.jboss.portal.portlet.invocation.DispatcherInterceptor.invokeAction(DispatcherInterceptor.java:110)
                    at org.jboss.portal.portlet.invocation.DispatcherInterceptor.invoke(DispatcherInterceptor.java:191)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.portlet.invocation.PreferencesInterceptor.invoke(PreferencesInterceptor.java:93)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:94)
                    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:324)
                    at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:49)
                    at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:98)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                    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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
                    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
                    at org.jboss.portal.server.invocation.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:58)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.core.invocation.AccessControlInterceptor.invoke(AccessControlInterceptor.java:125)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.server.invocation.component.CacheInterceptor.invoke(CacheInterceptor.java:74)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:238)
                    at org.jboss.portal.server.Component.invoke(Component.java:130)
                    at org.jboss.portal.server.invocation.portal.TargetInterceptor.invokeWindow(TargetInterceptor.java:167)
                    at org.jboss.portal.server.invocation.portal.TargetInterceptor.invoke(TargetInterceptor.java:67)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.core.invocation.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:117)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.core.invocation.UserContextInterceptor.invoke(UserContextInterceptor.java:92)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:213)
                    at org.jboss.portal.server.impl.invocation.InvocationImpl.invokeNext(InvocationImpl.java:238)
                    at org.jboss.portal.server.PortalServer.invoke(PortalServer.java:186)
                    at org.jboss.portal.server.servlet.AbstractMainServlet.invoke(AbstractMainServlet.java:78)
                    at org.jboss.portal.server.servlet.AbstractMainServlet.doGet(AbstractMainServlet.java:71)
                    at org.jboss.portal.server.servlet.AbstractMainServlet.doPost(AbstractMainServlet.java:62)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                    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.portal.core.servlet.TransactionFilter$1.run(TransactionFilter.java:79)
                    at org.jboss.portal.common.transaction.Transactions.requiresNew(Transactions.java:149)
                    at org.jboss.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:75)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
                    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:39)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
                    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
                    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:856)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
                    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:534)

                    • 7. Re: Some simple user comments on RC2
                      Georg Schmid Newbie


                      Using WinXP, JDK1.5.0_03 and MySQL 5.0.4Beta I had a similar experience as the other guys here.

                      The first problem was that the user table could not be created because it uses columns of type BIT. I replaced it with boolean and created the table manually.

                      After that I had the same problem (missing role).
                      It seems the BSH deployer script needed to be executed again, but doesn't.

                      With EJB2 I can modify the column mapping by editing the standard jboss xml configuration files (standardjboss...). How can I adapt the column mapping to MySQL5 with this hibernate-based architecture?

                      Cheers,
                      Georg

                      • 8. Re: Some simple user comments on RC2
                        Viet Master

                        it has been fixed in CVS, you can fix it in your local installation by changing Users->User in jboss-portal.sar/portal-core.war/WEB-INF/portlet.xml in the init param of the UserPortlet.

                        • 9. Re: Some simple user comments on RC2
                          Viet Master

                          what is your database ? it seems to be an hibernate issue in their dialect mapping.

                          • 10. Re: Some simple user comments on RC2
                            Stuart Sim Newbie

                             

                            "julien@jboss.com" wrote:
                            it has been fixed in CVS, you can fix it in your local installation by changing Users->User in jboss-portal.sar/portal-core.war/WEB-INF/portlet.xml in the init param of the UserPortlet.


                            Thanks Julien, that fix works a treat! - I'm impressed :o)