1 Reply Latest reply on Feb 1, 2011 5:23 AM by ssl oss

    [solved] gadget error on Gatein-3.1.0-tomcat

    ssl oss Newbie

      Hi, All.

       

      I get error when I try to add a gadget to Dashboard.

      I don't know what causes this problem.

       

      The error didn't occur when I tried on WindowsXP with

      exactly the same archive.

       

      And is it normal to get a couple of warnings while startup?

       

      my environment:

        Centos 5.5

        open-JDK1.6.0

       

       

      Here is what I did:

      • Download "GateIn-3.1.0-FINAL-tomcat.tar.gz" and un-tar it.
      • Run "bin/gatein.sh start"
      • Access to the portal with "http://<IPAddr>/portal/ and log in as Mary
      • Click on "Dashboard"
      • Click "Add gadget"
      • Drag & drop a gadget
      • and error occurs

       

      The error is:

       

      2011/02/01 12:08:16 org.exoplatform.webui.core.UIApplication processAction

      致命的: Error during the processAction phase

      org.exoplatform.portal.config.StaleModelException: Could not find supposed present child with id df303a327f00000100a4777569d42fe0

              at org.exoplatform.portal.pom.data.Mapper.saveChildren(Mapper.java:779)

              at org.exoplatform.portal.pom.data.Mapper.save(Mapper.java:650)

              at org.exoplatform.portal.pom.data.Mapper.saveChildren(Mapper.java:851)

              at org.exoplatform.portal.pom.data.Mapper.saveChildren(Mapper.java:679)

              at org.exoplatform.portal.pom.data.Mapper.saveDashboard(Mapper.java:1186)

              at org.exoplatform.portal.pom.config.tasks.DashboardTask$Save.run(DashboardTask.java:106)

              at org.exoplatform.portal.pom.config.tasks.DashboardTask$Save.run(DashboardTask.java:68)

              at org.exoplatform.portal.pom.config.POMSession.execute(POMSession.java:390)

              at org.exoplatform.portal.pom.config.ExecutorDispatcher.execute(ExecutorDispatcher.java:41)

              at org.exoplatform.portal.pom.config.TaskExecutionDecorator.execute(TaskExecutionDecorator.java:38)

              at org.exoplatform.portal.pom.config.cache.DataCache.execute(DataCache.java:74)

              at org.exoplatform.portal.pom.config.POMSessionManager.execute(POMSessionManager.java:201)

              at org.exoplatform.portal.pom.config.POMDataStorage.saveDashboard(POMDataStorage.java:289)

              at org.exoplatform.portal.config.DataStorageImpl.saveDashboard(DataStorageImpl.java:341)

              at org.exoplatform.dashboard.webui.component.UIDashboardContainer.save(UIDashboardContainer.java:481)

              at org.exoplatform.dashboard.webui.component.UIDashboardContainer$AddNewGadgetActionListener.execute(UIDashboardContainer.java:512)

              at org.exoplatform.webui.event.Event.broadcast(Event.java:89)

              at org.exoplatform.webui.core.lifecycle.Lifecycle.processAction(Lifecycle.java:56)

              at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:137)

              at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processAction(UIApplicationLifecycle.java:58)

              at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:137)

              at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:115)

              at org.exoplatform.webui.application.portlet.PortletApplication.processAction(PortletApplication.java:169)

              at org.exoplatform.webui.application.portlet.PortletApplicationController.processAction(PortletApplicationController.java:80)

              at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:558)

              at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109)

              at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72)

              at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:506)

              at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)

              at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)

              at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:197)

              at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)

              at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119)

              at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)

              at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65)

              at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)

              at org.gatein.pc.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)

              at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)

              at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)

              at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$001(ContextDispatcherInterceptor.java:49)

              at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:123)

              at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:82)

              at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:616)

              at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)

              at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)

              at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)

              at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84)

              at org.gatein.wci.command.CommandDispatcher.include(CommandDispatcher.java:58)

              at org.gatein.wci.tomcat.TC6ServletContainerContext.include(TC6ServletContainerContext.java:87)

              at org.gatein.wci.impl.DefaultServletContainer.include(DefaultServletContainer.java:198)

              at org.gatein.pc.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:69)

              at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77)

              at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)

              at org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)

              at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)

              at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:75)

              at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)

              at org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:117)

              at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)

              at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:231)

              at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)

              at org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomizationInterceptor.java:76)

              at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)

              at org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:229)

              at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)

              at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:152)

              at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:177)

              at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:903)

              at org.exoplatform.portal.webui.application.UIPortletActionListener$ProcessActionActionListener.execute(UIPortletActionListener.java:105)

              at org.exoplatform.webui.event.Event.broadcast(Event.java:89)

              at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:127)

              at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:62)

              at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:137)

              at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:73)

              at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:37)

              at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:137)

              at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:115)

              at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:107)

              at org.exoplatform.web.WebAppController.service(WebAppController.java:143)

              at org.exoplatform.portal.application.PortalController.onService(PortalController.java:127)

              at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:116)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:72)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:116)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:76)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:112)

              at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)

              at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:66)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)

              at java.lang.Thread.run(Thread.java:636)

       

       

      Please help...or it helps alot just to know if someone else

      had the same issue.

       

      Thank you,

      Kenta

        • 1. gadget error on Gatein-3.1.0-tomcat
          ssl oss Newbie

          I found the error was because of the proxy settings.

           

          I put proxy host and port in JAVA_OPTS in gatein.sh as follows:

           

          JAVA_OPTS="-Xms128m -Xmx384m -XX:MaxPermSize=192m $JAVA_OPTS $LOG_OPTS $SECURITY_OPTS $EXO

          _OPTS -Dhttp.proxyHost=<PROXY_HOST_NAME> -Dhttp.proxyPort=<PROXY_PORT>"

           

          I hope this helps someone.

           

          Thank you,

          Kenta