1 2 3 Previous Next 31 Replies Latest reply on May 21, 2007 3:35 PM by theute Go to original post
      • 15. Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul
        theute

        So i guess you used the JEMS installer to get 4.0.5+EJB3 ?

        The version we test on is the standard JBoss 4.0.5, the installer is slightly different.

        If your other developer had reported it before we could have had a look for CR2.

        If you confirm that it is by using the JEMS installer i can have a look now and we could find a fix or workaround for Final.

        That's unfortunate that this bug happened on you.

        (btw, you should be able to turn off the workflow mechanism in portal-cms.sar/portal-workflow.sar/META-INF/jboss-service.xml and have the CMS working without jBPM.

        So basically all the issues you mentionned on the first post were non issues. There is maybe a bug on some version of AS but that's why CR2 exist.
        And Final will also contain bugs, that's software life.

        So now if you could report bugs without being insultant we would all have a better life.

        • 16. Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul
          theute

          It appears that the CMS workflow cannot be that easily turned off. I created a Jira feature request for you: http://jira.jboss.com/jira/browse/JBPORTAL-1399

          • 17. Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul

            Yes - I used the JEMS installer (1.2.0) to create 4.0.5 + EJB3.

            Thanks

            • 18. Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul
              theute

              Ok, i will give it a try tomorrow.

              • 19. Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul
                theute

                Actually the installation guide has a warning about it:
                http://docs.jboss.com/jbportal/v2.6/reference-guide/en/html/installation.html


                Warning
                Make sure to download the JBoss AS Zip version. DO NOT ATTEMPT to deploy JBoss Portal on the installer version of JBoss AS! We are currently working on aligning the Application installer with JBoss Portal.


                So basically you need to work around.
                Install JBoss AS using the JEMS installer using the *portal * configuration.

                It will install 2.4.

                Now you can update the jbossportal.sar to 2.6 and you should have an environment for Seam *and* portal. That's what you are trying to achieve i think.




                • 20. Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul
                  theute

                  I tried the following:
                  Installed JBoss AS 4.0.5 with ejb3 profile using the JEMS installer 1.2.0.GA:
                  http://labs.jboss.com/jemsinstaller/downloads

                  Moved jboss-portal.sar, portal-cms.sar, portal-samples.sar in the deply directory with the datasource descriptor.

                  The dashboard is working correctly, everything i tried was working (Except hot deployment of the CMS). The testsuite is not runned against this particular configuration though.

                  Please, let me know what you did differently.

                  • 21. Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul

                    The only thing that I think I did differently from you is that I didn't use JEMS to create a portal installation - I just created 4.0.5 with ejb3 profile. I can't figure out what I did differently from you - maybe you used a different source for 2.6CR2 than the JBoss website download?

                    Anyway, I appreciate you looking into this with me.

                    Thanks,
                    Brad Smith

                    • 22. Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul
                      rharari

                      Hi Brad,

                      I´ve a question:


                      We are evaluating a few open source portals.


                      Please, can you post or send me and e-mail describing which open source portals your team are evaluating? And also explain why you have decided to use jboss-portal? I´ve also evaluated some portals (open-source and commercial) before starting my project and in my opinion jboss-portal has the best cost/benefit relationships. I agree with you that the documentation is not the best but who provides a complete documentation? Personally, I think source code is some of the best documentation you can have.

                      and....


                      Google gadget integration (who really needs that?)?


                      I do! ;p


                      Thanks

                      r.harari


                      • 23. Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul

                         

                        "rharari" wrote:
                        Hi Brad,

                        I´ve a question:


                        We are evaluating a few open source portals.


                        Please, can you post or send me and e-mail describing which open source portals your team are evaluating? And also explain why you have decided to use jboss-portal? I´ve also evaluated some portals (open-source and commercial) before starting my project and in my opinion jboss-portal has the best cost/benefit relationships. I agree with you that the documentation is not the best but who provides a complete documentation? Personally, I think source code is some of the best documentation you can have.

                        and....


                        Google gadget integration (who really needs that?)?


                        I do! ;p


                        Thanks

                        r.harari


                        Here are some answers to your questions (opinions are liberally sprinkled throughout my response ;-))

                        Two summers ago, when JBoss Portal was 2.0.1 (+/-), I quickly put together a portal for an intranet project here. At the time, JBoss portal was the smallest, fastest, and easiest to customize. Once JBoss Portal started adding in things like IPC, WSRP, and changing directions with the security model, and of course, adding more 'stuff' to the CMS portion, I find that the portal starts to get significantly slower, much more complex, and often times quite fragile. So this year (late 2006-to-present) we've reevaluated liferay, exo portal, jetspeed 2, and jboss portal. Of these, JBoss is still a better portal primarily because it is easier to get started with and build a development process around.

                        So our reasons for using (or attempting to use) JBoss Portal for a current internal project (moving from BEA Weblogic Portal 8.1.4 to JBoss Portal 2.6.X) are the following:

                        a.) an initial very positive experience with a younger JBoss Portal
                        b.) we're basically standardized on using JBoss App Server, Hibernate, and many other JBoss components in our architecture.
                        c.) relative ease of use, customization, development process (just create multiple wars for a particular portal implementation in JBoss).

                        Some of the pain we have had using JBoss Portal 2.6 and the success we have had using Seam + Ajax4jsf + Facelets has led us to now pursue a path in which JBoss Portal 2.6 will be a temporary stop-gap solution to evolve our original BEA Portal. Our plans now are to continue converting BEA portlets to standard JSR-168 portlets deployed in JBOss Portal; in this conversion, we are now using Facelets and JSF (myfaces + tomahawk) for our presentation layer. After this initial conversion, we will be all set architecturally to drop out the JSR-168 API's and go to a complete Seam-based architecture. I've found that the combination of Seam + Facelets + Ajax4JSF + Richfaces + Tomahawk allows us to solve a vast array of user-interface development problems. Plus, this combination allows us to make a 'portal-enough' user experience that takes full advantage of Ajax and other Web 2.0 techniques without the 'noise' of JSR 168.

                        One comment on the google gadget thingy - I have nothing against a google-gadget portlet or add-on module, but I really think that JBoss Portal would do better if it was a delivered as a basic Portal 'engine' with a lot of the bells and whistles available as easy-drop-in add ons. Unfortunately, a lot of the bells and whistles (such as a google-gadget portlet) are simply lumped into the basic portal - making the whole product complex, hard to document, and fragile at times.
                        Splitting the Portal into logical pieces allows each piece to evolve independently - most likely the core engine won't change too much because the fundamental building blocks are a JSR168 portlet container plus the paging and customization system.

                        And finally, yes, the source code is good documentation - it's an invaluable resource during development for solving the tough problems of using any technology.

                        Hope this helps.

                        Brad Smith

                        • 24. Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul

                          JBoss Portal has sort of lost its way as well. There are more and more features in the Portal that have nothing to do with JSR-168 and everything to do with bells and whistles for marketing. It would be far more useful if they were to do something like create a portal bridge for AJAX4JSF or better document the security module implementation.

                          That being said, there is a lot of noise in Portal environments in general that simply gets in the way of development.

                          • 25. Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul

                            BTW what is with jsf-example.jar containing the Facelet bridge class.

                            Also replace the method in the class with this one so it works within and outside the portal.

                            protected ResponseWriter createResponseWriter(FacesContext context)
                            throws IOException, FacesException
                            {
                            ExternalContext extContext = context.getExternalContext();
                            if(extContext.getRequest() instanceof ServletRequest)
                            return super.createResponseWriter(context);
                            RenderKit renderKit = context.getRenderKit();
                            RenderRequest request = (RenderRequest)extContext.getRequest();
                            RenderResponse response = (RenderResponse)extContext.getResponse();
                            String contenttype = request.getResponseContentType();
                            if(contenttype == null)
                            contenttype = "text/html";
                            String encoding = response.getCharacterEncoding();
                            if(encoding == null)
                            encoding = "ISO-8859-1";
                            ResponseWriter writer = renderKit.createResponseWriter(FaceletViewHandler.NullWriter.Instance, contenttype, encoding);
                            contenttype = writer.getContentType();
                            response.setContentType(contenttype);
                            writer = writer.cloneWithWriter(response.getWriter());
                            return writer;
                            }

                            • 26. Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul
                              theute

                               

                              "bsmithjj" wrote:
                              One comment on the google gadget thingy - I have nothing against a google-gadget portlet or add-on module, but I really think that JBoss Portal would do better if it was a delivered as a basic Portal 'engine' with a lot of the bells and whistles available as easy-drop-in add ons. Unfortunately, a lot of the bells and whistles (such as a google-gadget portlet) are simply lumped into the basic portal - making the whole product complex, hard to document, and fragile at times.
                              Splitting the Portal into logical pieces allows each piece to evolve independently - most likely the core engine won't change too much because the fundamental building blocks are a JSR168 portlet container plus the paging and customization system.


                              Again all the bells and whistles are totally pluggable.
                              Look into jboss-portal.sar ou have several packages, remove what you don't want.
                              You don't want the google widgets ? Delete widget.war, everything related to it will be removed. You don't like the CMS ? remove portal-cms.war. You don't want the test pages and news portlets ? Remove portal-samples.war...
                              If we don't put it as default noone see that we have it.

                              What is interesting about Google widget is to show you that you can integrate other kind of stuff (Content-types). Out of the box we show you that you can put in a window: A JSR-168 portlet, a CMS resource, a Google widget, the content of a file, *Your content type*...

                              • 27. Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul
                                theute

                                 

                                "swestbom" wrote:
                                JBoss Portal has sort of lost its way as well. There are more and more features in the Portal that have nothing to do with JSR-168 and everything to do with bells and whistles for marketing. It would be far more useful if they were to do something like create a portal bridge for AJAX4JSF or better document the security module implementation.


                                JSR-168 portlet contained is implemented and is not much, customers and community wants something that they can use out of the box, if they can't manage pages, can't have a dashboard and so on, it's not usable. This is not about marketing, this is about value-added.

                                Ajax4JSF (then RichFaces) support is on the way, but we also need to define some standards, Stan Silvert and Julien Viet are part of JSR-301 to define the JSF bridge first. Same thing for a full support of JBoss Seam)

                                I don't know what you mean by "security module implementation" but if you are talking about the identity related authentication and authorization mechanism, you should have a look at the nightly build of the documentation. If something is missing let us know.

                                • 28. Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul

                                  Thomas, can you fix the JSF Facelet bridge? I gave you the fix (a few additional lines of code) and rename the jar to something meaningful instead of jsf-example.jar?

                                  Facelets should work within and outside the portal not in just one or the other, the instance of check and referral to the parent method fixes the problem neatly.

                                  I would vote for getting AJAX4JSF working correctly first meeting a non-existent standard second.

                                  • 29. Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul
                                    theute

                                     

                                    "swestbom" wrote:
                                    Thomas, can you fix the JSF Facelet bridge? I gave you the fix (a few additional lines of code) and rename the jar to something meaningful instead of jsf-example.jar?


                                    I don't know what you are talking about, we submitted a patch to Facelets, but we don't own Facelets so i can't tell you if the path is part of any release yet. Could

                                    I would vote for getting AJAX4JSF working correctly first meeting a non-existent standard second.


                                    Again, i'm not sure what you are talking about.
                                    Ajax4JSF support for portal depends on JSR-301. We need to support MyFaces as well as the Sun RI.

                                    Work done on Ajax4JSF support for Portal is being done by the Exadel gurus it is work on progress, you can read about it here:
                                    http://jboss.com/index.html?module=bb&op=viewtopic&t=107325