8 Replies Latest reply on Oct 20, 2007 8:38 AM by rutfield

    ObjectLoader not found error in 2.6.2

    rutfield

      I upgraded from JBP 2.6.0 to 2.6.2 after upgrading JBOSS from 4.04 to 4.2.1GA. All went very smoothly; however, the server.log has the following error which I can not seem to resolve.

      I downloaded the source and performed an 'ant main' and 'ant deploy' to get things going.

      Any ideas?
      CR

      01:35:32,692 INFO [STDOUT] session created
      01:35:33,614 WARN [TagLibCache] Internal Error: File /WEB-INF/web.xml not found
      01:35:37,697 ERROR [STDERR] edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: org/jboss/portal/common/concurrent/loader/ObjectLoader
      01:35:37,700 ERROR [STDERR] at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:299)
      01:35:37,700 ERROR [STDERR] at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:118)
      01:35:37,700 ERROR [STDERR] at org.jboss.portal.widget.google.provider.GGProvider$GGWidgetEntry.getWidget(GGProvider.java:171)
      01:35:37,700 ERROR [STDERR] at org.jboss.portal.widget.google.provider.GGProvider.getWidget(GGProvider.java:105)
      01:35:37,700 ERROR [STDERR] at org.jboss.portal.widget.WidgetPortlet.doView(WidgetPortlet.java:114)
      01:35:37,700 ERROR [STDERR] at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
      01:35:37,700 ERROR [STDERR] at org.jboss.portal.widget.WidgetPortlet.doDispatch(WidgetPortlet.java:135)

        • 1. Re: ObjectLoader not found error in 2.6.2
          rutfield


          I still can not find where this is defined.

          The source code in jboss-portal-2.6.2.GA-src.zip does not have it, yet SVN as recently as March has the code (trunk/common/src/main/org/jboss/portal/common/concurrent/loader/).

          I checked the thirdparty libraries by unpacking the jar files, but the only org/jboss/portal/common/concurrent is a Valve.class.

          I can not use any google gadgets until I resolve this. They worked fine with 2.6.0.
          Everything else seems to be working OK.

          Thanks.
          CR

          • 2. Re: ObjectLoader not found error in 2.6.2
            theute

            What's the issue with google gadget ? It should work out of the box...

            Common is in its repo:
            http://anonsvn.jboss.org/repos/portal/modules/common/

            • 3. Re: ObjectLoader not found error in 2.6.2
              theute

              Read too fast again...
              This class doesn't exist in 2.6.2 and is not referenced neither.

              Obviously you are running an old widget.war with a newer core. Actually widget.war has been renamed to portal-widget.war make sure you don't have a portal-widget.war and a widget.war

              • 4. Re: ObjectLoader not found error in 2.6.2
                rutfield

                That was very helpful, but I'm not there, yet.
                I removed the widget.war from the deploy directory and restarted JBOSS.
                When in admin and I select 'google widget' from the pull-down on the page layout page, the server.log says 'portal not found'.
                I rebuilt and redeployed portal-widget.war, as a precaution.

                Any ideas?

                17:32:58,290 ERROR [STDERR] org.jboss.portal.portlet.NoSuchPortletException: No such portlet /widget.GoogleWidgetPortlet
                17:32:58,293 ERROR [STDERR] at org.jboss.portal.portlet.container.PortletContainerInvoker.getPortlet(PortletContainerInvoker.java:179)
                17:32:58,293 ERROR [STDERR] at org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.getPortlet(ProducerPortletInvoker.java:186)

                • 5. Re: ObjectLoader not found error in 2.6.2
                  theute

                  you need to change the reference to the widget with the admin console

                  • 6. Re: ObjectLoader not found error in 2.6.2
                    rutfield

                    Are you referring to logging in as admin, and modifying the portlet definitions? I do not see a google widget because it can not find the portlet.

                    Should I modify web.xml to reflect 'portal-widget/goolgle' in
                    <param-value>widget/google</param-value> ?

                    Sorry, if this is obvious.
                    CR

                    • 7. Re: ObjectLoader not found error in 2.6.2
                      theute

                      The best if you can is to delete your widget windows and re-create them.

                      Or modify the references in the DB.

                      Or rename portal-widget.war as widget.war

                      I made a change in 2.6.2 that lead to this problem, sorry i didn't mean to.

                      • 8. Re: ObjectLoader not found error in 2.6.2
                        rutfield

                        Modifying the reference in the PORTLET_REF table worked perfectly.

                        Thanks!