13 Replies Latest reply on Aug 9, 2007 9:52 AM by unibrew

    jboss-forums-1.0.0RC-P2.6Alpha Errors

    yonia

      Hi,

      Ive just installed jboss-portal-2.6.1.GA and when I drop the forums jboss-forums-1.0.0RC-P2.6Alpha.zip .war fiel I get these errors:

      11:16:55,273 INFO [EARDeployer] Init J2EE application: file:/E:/jboss-portal-2.6.1.GA/server/default/deploy/jboss-forums.ear
      11:17:05,558 INFO [Configuration] configuring from url: jar:file:/E:/jboss-portal-2.6.1.GA/server/default/tmp/deploy/tmp29283jboss-forums.ear
      11:17:05,568 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/CategoryImpl.hbm.xml
      11:17:05,588 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.CategoryImpl -> jbp_forums_categories
      11:17:05,588 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/ForumImpl.hbm.xml
      11:17:05,598 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.ForumImpl -> jbp_forums_forums
      11:17:05,598 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/PollImpl.hbm.xml
      11:17:05,618 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.PollImpl -> jbp_forums_polls
      11:17:05,618 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.PollImpl.options -> jbp_forums_poll_option
      11:17:05,618 INFO [HbmBinder] Mapping collection: org.jboss.portlet.forums.impl.PollImpl.voted -> jbp_forums_poll_voted
      11:17:05,618 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/PosterImpl.hbm.xml
      11:17:05,628 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.PosterImpl -> jbp_forums_posters
      11:17:05,628 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/PostImpl.hbm.xml
      11:17:05,638 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.PostImpl -> jbp_forums_posts
      11:17:05,648 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/TopicImpl.hbm.xml
      11:17:05,658 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.TopicImpl -> jbp_forums_topics
      11:17:05,658 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/WatchImpl.hbm.xml
      11:17:05,668 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.WatchImpl -> jbp_forums_watch
      11:17:05,678 INFO [HbmBinder] Mapping joined-subclass: org.jboss.portlet.forums.impl.TopicWatchImpl -> jbp_forums_topicswatch
      11:17:05,678 INFO [HbmBinder] Mapping joined-subclass: org.jboss.portlet.forums.impl.ForumWatchImpl -> jbp_forums_forumswatch
      11:17:05,678 INFO [Configuration] Reading mappings from resource : org/jboss/portlet/forums/impl/AttachmentImpl.hbm.xml
      11:17:05,688 INFO [HbmBinder] Mapping class: org.jboss.portlet.forums.impl.AttachmentImpl -> jbp_forums_attachments
      11:17:05,688 INFO [Configuration] Configured SessionFactory: null
      11:17:05,818 WARN [ServiceController] Problem starting service org.jboss.security.acl.AclKernelFactory:service=aclKernelFactory
      java.lang.NoClassDefFoundError: org/apache/myfaces/custom/fileupload/UploadedFile
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
      at java.lang.Class.getMethod0(Class.java:2642)
      at java.lang.Class.getMethod(Class.java:1579)

      So I basically dont get to view the forums get installed - any help will be most welcome.

      Thanks,

      Yoni.

        • 1. Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
          theute

          Please use the "JBoss Forums" forums.
          THe answer might already be there.

          • 2. Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
            mimra

            Just to let you know, there is a GA version available of the 1.0.0.
            Using that won't do you much good though - please see the following topic from the Forum group:

            http://www.jboss.com/index.html?module=bb&op=viewtopic&t=114546

            There are still some problems with the GA version and Portal 2.6.1.

            /Michael

            • 3. Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
              theute

              JBoss Portal 2.6.1.GA + JBoss AS 4.0.5.GA + JBoss Forums 1.0.0.GA is a combination that should work in the meantime

              • 4. Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
                yonia

                Hi There,
                Thanks all of you for your comments. I have checked the blog and get my answer.
                Thanks,
                Yoni.

                • 5. Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
                  mimra

                  Hi Yoni

                  Could you please elaborate on that?
                  Did you manage to get the Jboss Forums application running under JBoss Portal 2.6.1?

                  The setup that Thomas suggets doesn't seem to work.
                  I have trid with a fresh installation of Jboss AS 4.0.5 from the JEMS installer and the binary version of JBoss Portal 2.6.1. This works fine, but when I deploy the Forums application I get:

                  09:02:13,781 INFO [FacesConfigurator] Reading config /WEB-INF/forums-config.xml
                  09:02:14,062 ERROR [ClassUtils] Class org.jboss.portal.faces.el.DelegatingPropertyResolver not found
                  java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.portal.faces.el.DelegatingPropertyResolver
                   at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
                   at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
                   at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
                   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                   at java.lang.Class.forName0(Native Method)
                   at java.lang.Class.forName(Class.java:242)
                   at org.apache.myfaces.shared_impl.util.ClassUtils.classForName(ClassUtils.java:138)
                   at org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(ClassUtils.java:157)
                   at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:531)
                   at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:460)
                   at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:141)
                   at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:69)
                   at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:52)
                   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
                   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
                   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
                   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
                   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
                   at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                   at java.lang.reflect.Method.invoke(Method.java:585)
                   at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
                   at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
                   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                   at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
                   at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                   at java.lang.reflect.Method.invoke(Method.java:585)
                   at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
                   at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
                   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                  .
                  .
                  .
                  


                  /Michael

                  • 6. Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
                    theute

                    Weird because that's what is running on http://portal.demo.jboss.com if i remember well

                    • 7. Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
                      mimra
                      • 8. Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
                        yonia

                        Hi Mimra,
                        I didnt try the 4.05 jboss alternative...
                        I will be interested to know though how do you get it to work?
                        Yoni.

                        • 9. Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
                          theute

                          i've just seen the topic, so i guess i had a previous version of JBoss Forums that wasn't using the portal faces library.

                          • 10. Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
                            unibrew

                            Hi All,

                            First of all, please use JBoss Forums' forum for this kind of discussions : http://www.jboss.com/index.html?module=bb&op=viewforum&f=247

                            Secondly, I'm already working to solve all those issues and yes there are problems with portal-faces-lib. Forums were using it from the beginning but lately you hid it Thomas from other deployments. I didn't look into Portal sources but my guess would be that you placed this lib with jsf libs in a folder that is not visible to main classloader or you declared a scoped one for them, right ?

                            This is not a big deal, I have other issues with packaging myfaces. So, please be patient and use proper forum.

                            Regards
                            ------------------
                            Ryszard Kozmik
                            JBoss Forums Lead
                            JBoss Labs Team

                            • 11. Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
                              theute

                              Yes portal-faces-lib is originally for internal usage, but feel free to use it.

                              We had to change the classloading a bit for our own portlets so that they can work on JBoss AS 4.0 and 4.2 without any configuration and without affecting the other JSF portlets. The other reason is that we wanted the admin portlet and wsrp portlet to be able to live inside jboss-portal.sar.

                              • 12. Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
                                unibrew

                                I understand the need of hiding JSF libs but portal-faces-lib isn't bound to any specific JSF implementation, is it ?. So, I'm not sure why it is hid as well. Nevertheless, not a big problem for me.

                                • 13. Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
                                  unibrew

                                  There is a new binary of JBoss Forums.

                                  More info at:
                                  http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072511#4072511