1 2 Previous Next 21 Replies Latest reply: Oct 4, 2006 9:07 AM by Aron Gombas RSS

    Kosmos portlet page is empty

    Yuri Plakosh Newbie

      I use "JBoss Portal + JBoss AS 4.0.3SP1" and "kosmos-0.2.0RC1-for-jboss-portal". I have copied kosmos-portlet.war, kosmos-server.war, slide.war to deploy directory of JBoss AS. I have started http://localhost:8080/portal/ and found Kosmos in menu. When I have clicked it (http://localhost:8080/portal/portal/default/Kosmos) I got empty page.
      Where did I make a mistake?

        • 1. Re: Kosmos portlet page is empty
          Aron Gombas Novice

           

          "yuri.plakosh" wrote:
          Where did I make a mistake?

          The reason is probably that (for some reason) JBP cannot parse the instance definitions from "kosmos-objects.xml" correctly.
          If so, here is the quick fix:
          - login as admin to the portal
          - go to the Management portlet
          - create the portlet instances "manually", configure the Kosmos page with these instance

          ... and it should work now.

          • 2. Re: Kosmos portlet page is empty
            Yuri Plakosh Newbie

            In Management portlet I see following instances on the Kosmos page:

            GmfCcMonitoringPortlet
            KosmosDependenciesSfMonitoring
            JavadesktopCcMonitoringPortlet
            KosmosToolsSfMonitoring
            JBossCcMonitoring
            JBossProductsSfMonitoring
            AtlassianJiraMonitoring
            JBossSvnMonitoringPortlet
            CodehausJiraMonitoring
            JBossJiraMonitoring
            JBossJiraSoapMonitoring

            But in the list box I see only following portlets, that can be added to Kosmos page:
            PolicyConfiguratorPortletInstance
            CMSPortletInstance
            CMSAdminPortletInstance
            ManagementPortletInstance
            NavigationPortletInstance
            UserPortletInstance
            CatalogPortletInstance
            ThemePortletInstance
            ThemeSelectorInstance
            TestPortletInstance
            CounterPortletInstance
            CachedCounterPortletInstance
            PortletSessionPortletInstance
            CharsetPortletInstance
            ExceptionPortletInstance
            MissingPortletInstance
            PreferencesPortletInstance
            PortletAInstance
            PortletBInstance
            HeaderContentInstance
            ContentRewriteInstance
            SecuredTestPortletInstance
            HintPortletInstance
            WsrpSelectorTestPortletInstance
            TapestryHelloWorldInstance

            So I cannot add Kosmos portlets to Kosmos page manually from Managment portlet.

            Any idea?

            • 3. Re: Kosmos portlet page is empty
              Aron Gombas Novice

              Try this:
              - go to Management portlet
              - go to "Portlet" tab
              - click one of the Kosmos portlets
              - enter a unique name and click "Create Instance"
              - check if the new instance is in the list

              ...and now go and configure this new instance to the portal page wanted.

              • 4. Re: Kosmos portlet page is empty
                Yuri Plakosh Newbie

                Thank you. It works now.

                • 5. Re: Kosmos portlet page is empty
                  Aron Gombas Novice

                  Glad that it finally works.
                  Hey, Yuri, if for some reason you decide to use Kosmos in Russian inside your company, please contribute the resource bundles if you're fine with that.

                  • 6. Re: Kosmos portlet page is empty
                    Yuri Plakosh Newbie

                    Hi. We do not use Russian versions of software in our company, because we have people from many countries. Well, if I had time I would help you with russian version of Kosmos.

                    But for this time I have other problem while using Kosmos. I have added JavadesktopCcMonitoringPortlet to my page.

                    When I entered to it I got "Nothing found to display." message.

                    In JBoss AS console I see the following:

                    12:54:19,765 INFO [CcMonitoringPortlet] Viewing...
                    12:54:19,937 INFO [MethodResultCacheInterceptor] Cache-hit: "hu.midori.kosmos.server.cc.CcServiceImpl.getProjects.http://javadesktop.org/cruisecontrol/buildresults/databinding-HEAD" returned from cache
                    12:54:19,984 INFO [MethodResultCacheInterceptor] Cache-hit: "hu.midori.kosmos.server.cc.CcServiceImpl.getProjects.http://javadesktop.org/cruisecontrol/buildresults/jdnc-HEAD" returned from cache
                    12:54:19,984 INFO [MethodResultCacheInterceptor] Cache-hit: "hu.midori.kosmos.server.cc.CcServiceImpl.getProjects.http://javadesktop.org/cruisecontrol/buildresults/swinglabs-demos-HEAD" returned from cache
                    12:54:20,000 INFO [MethodResultCacheInterceptor] Cache-hit: "hu.midori.kosmos.server.cc.CcServiceImpl.getProjects.http://javadesktop.org/cruisecontrol/buildresults/swingx-HEAD" returned from cache
                    12:54:20,421 INFO [ExportViewFactory] Initializing ExportViewFactory with type={csv,excel,xml,pdf}
                    12:54:20,437 WARN [ExportViewFactory] Unable to instantiate class for pdf export. org.displaytag.export.PdfView was found, but required libraries are missing:com/lowagie/text/Element
                    12:54:20,453 INFO [TableProperties] No LocaleResolver configured.
                    12:54:20,609 INFO [TableProperties] I18nResourceProvider initialized to org.displaytag.localization.I18nJstlAdapter.



                    What is wrong?

                    Sometimes when pressing refresh it throws exceptions in JBoss AS:

                    13:07:43,234 INFO [CcMonitoringPortlet] Viewing...
                    13:07:43,250 INFO [MethodResultCacheInterceptor] Cache-miss: reloading "hu.midori.kosmos.server.cc.CcServiceImpl.getProjects.http://javadesktop.org/cruisecontrol/buildresults/databinding-HEAD"...
                    13:07:49,109 ERROR [CcServiceImpl] Unable to scrape
                    java.lang.NullPointerException
                    at hu.midori.kosmos.server.cc.CcServiceImpl.getProjects(CcServiceImpl.java:69)
                    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:585)
                    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
                    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
                    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
                    at hu.midori.kosmos.server.MethodResultCacheInterceptor.invoke(MethodResultCacheInterceptor.java:55)
                    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
                    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
                    at $Proxy131.getProjects(Unknown Source)
                    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:585)
                    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
                    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
                    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
                    at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:68)
                    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
                    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
                    at $Proxy132.getProjects(Unknown Source)
                    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:585)
                    at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:157)
                    at org.springframework.remoting.caucho.HessianServiceExporter.handleRequest(HessianServiceExporter.java:110)
                    at org.springframework.web.servlet.mvc.SimpleHandlerAdapter.handle(SimpleHandlerAdapter.java:46)
                    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:792)
                    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:726)
                    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
                    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
                    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.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:159)
                    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:595)


                    • 7. Re: Kosmos portlet page is empty
                      Aron Gombas Novice

                      Thanks, Yuri, I've added your report to our JIRA:
                      http://jira.jboss.com/jira/browse/KOSMOS-35

                      (The problem is that the logfile in that CC log embedded in that result page is invalid! You can see it if you open the http://javadesktop.org/cruisecontrol/buildresults/databinding-HEAD page in your browser.)

                      • 8. Re: Kosmos portlet page is empty
                        Esfandiyar Talebi Newbie

                        Hi.
                        I'm using JBossJiraMonitoring portlet in eXo Portal and I have the same problem posted by Yuri. It shows me 'Nothing found to display'. It doesn't throw any exception either.
                        I tried the solution given above. The problem is I can't find this portlet in the list of Portlets to add it manually.

                        Anyone can suggest me a solution.

                        Thanks in advance.

                        Regards,
                        Esfandiyar

                        • 9. Re: Kosmos portlet page is empty
                          Aron Gombas Novice

                          Hi!
                          Yuri's original problem was related to JBoss Portal, not to eXo...
                          Also, as you wrote you can see the "nothing found to display" message, which means that the portlet is deployed correctly. Are you sure that "monitored.url" points to the correct JIRA resource?

                          • 10. Re: Kosmos portlet page is empty
                            Esfandiyar Talebi Newbie

                            Hi.
                            Thanks for your reply.

                            After many tries, the current status is while it's reloading the cache through an infinite loop it gives following errors in reloading each uri:

                            http-8080-Processor50, 20-May-2006 09:09:02, unauthenticated, PROPFIND, 207 "Multi-Status", 62 ms, /files

                            and for some of them this error:
                            [INFO] MethodResultCacheInterceptor - Cache-miss: reloading "hu.midori.kosmos.server.jira.JiraWebCrawlingServi
                            ceImpl.getProjects.http://jira.jboss.com/jira/browse/JBAS"...
                            [ERROR] JiraWebCrawlingServiceImpl - Unable to scrape <java.lang.IllegalArgumentException: Unknown issue statu
                            s: 10000>java.lang.IllegalArgumentException: Unknown issue status: 10000
                            at hu.midori.kosmos.server.jira.JiraWebCrawlingServiceImpl.getProjects(JiraWebCrawlingServiceImpl.java
                            :152)
                            at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                            at java.lang.reflect.Method.invoke(Method.java:585)
                            at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvoca
                            tion.java:181)
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                            a:148)
                            at hu.midori.kosmos.server.MethodResultCacheInterceptor.invoke(MethodResultCacheInterceptor.java:55)
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                            a:170)
                            at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
                            at $Proxy2.getProjects(Unknown Source)
                            at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                            at java.lang.reflect.Method.invoke(Method.java:585)
                            at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvoca
                            tion.java:181)
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                            a:148)
                            at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceI
                            nterceptor.java:68)
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                            a:170)
                            at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
                            at $Proxy3.getProjects(Unknown Source)
                            at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
                            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                            at java.lang.reflect.Method.invoke(Method.java:585)
                            at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:157)
                            at org.springframework.remoting.caucho.HessianServiceExporter.handleRequest(HessianServiceExporter.jav
                            a:110)
                            at org.springframework.web.servlet.mvc.SimpleHandlerAdapter.handle(SimpleHandlerAdapter.java:46)
                            at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:792)
                            at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:726)
                            at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
                            at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
                            at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
                            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
                            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
                            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
                            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
                            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
                            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
                            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
                            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
                            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
                            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
                            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
                            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.ja
                            va:705)
                            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
                            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
                            at java.lang.Thread.run(Thread.java:595)



                            **********
                            It create the store folder in bin directory of tomcat and you can see many cache files with 0 size...

                            Thanks again.
                            Esfandiyar

                            • 11. Re: Kosmos portlet page is empty
                              Esfandiyar Talebi Newbie

                              Hi.
                              Thanks for your reply.

                              After many tries, the current status is while it's reloading the cache through an infinite loop it gives following errors in reloading each uri:

                              http-8080-Processor50, 20-May-2006 09:09:02, unauthenticated, PROPFIND, 207 "Multi-Status", 62 ms, /files

                              and for some of them this error:
                              [INFO] MethodResultCacheInterceptor - Cache-miss: reloading "hu.midori.kosmos.server.jira.JiraWebCrawlingServi
                              ceImpl.getProjects.http://jira.jboss.com/jira/browse/JBAS"...
                              [ERROR] JiraWebCrawlingServiceImpl - Unable to scrape <java.lang.IllegalArgumentException: Unknown issue statu
                              s: 10000>java.lang.IllegalArgumentException: Unknown issue status: 10000
                              at hu.midori.kosmos.server.jira.JiraWebCrawlingServiceImpl.getProjects(JiraWebCrawlingServiceImpl.java
                              :152)
                              at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                              at java.lang.reflect.Method.invoke(Method.java:585)
                              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
                              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvoca
                              tion.java:181)
                              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                              a:148)
                              at hu.midori.kosmos.server.MethodResultCacheInterceptor.invoke(MethodResultCacheInterceptor.java:55)
                              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                              a:170)
                              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
                              at $Proxy2.getProjects(Unknown Source)
                              at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                              at java.lang.reflect.Method.invoke(Method.java:585)
                              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
                              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvoca
                              tion.java:181)
                              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                              a:148)
                              at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceI
                              nterceptor.java:68)
                              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                              a:170)
                              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
                              at $Proxy3.getProjects(Unknown Source)
                              at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                              at java.lang.reflect.Method.invoke(Method.java:585)
                              at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:157)
                              at org.springframework.remoting.caucho.HessianServiceExporter.handleRequest(HessianServiceExporter.jav
                              a:110)
                              at org.springframework.web.servlet.mvc.SimpleHandlerAdapter.handle(SimpleHandlerAdapter.java:46)
                              at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:792)
                              at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:726)
                              at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
                              at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
                              at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
                              at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
                              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
                              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
                              at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                              at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
                              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
                              at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
                              at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
                              at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
                              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                              at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                              at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                              at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
                              at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
                              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
                              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.ja
                              va:705)
                              at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
                              at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
                              at java.lang.Thread.run(Thread.java:595)



                              **********
                              It create the store folder in bin directory of tomcat and you can see many cache files with 0 size...

                              Thanks again.
                              Esfandiyar

                              • 12. Re: Kosmos portlet page is empty
                                Esfandiyar Talebi Newbie

                                Hi.
                                Thanks for your reply.

                                After many tries, the current status is while it's reloading the cache through an infinite loop it gives following errors in reloading each uri:

                                http-8080-Processor50, 20-May-2006 09:09:02, unauthenticated, PROPFIND, 207 "Multi-Status", 62 ms, /files

                                and for some of them this error:
                                [INFO] MethodResultCacheInterceptor - Cache-miss: reloading "hu.midori.kosmos.server.jira.JiraWebCrawlingServi
                                ceImpl.getProjects.http://jira.jboss.com/jira/browse/JBAS"...
                                [ERROR] JiraWebCrawlingServiceImpl - Unable to scrape <java.lang.IllegalArgumentException: Unknown issue statu
                                s: 10000>java.lang.IllegalArgumentException: Unknown issue status: 10000
                                at hu.midori.kosmos.server.jira.JiraWebCrawlingServiceImpl.getProjects(JiraWebCrawlingServiceImpl.java
                                :152)
                                at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:585)
                                at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
                                at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvoca
                                tion.java:181)
                                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                                a:148)
                                at hu.midori.kosmos.server.MethodResultCacheInterceptor.invoke(MethodResultCacheInterceptor.java:55)
                                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                                a:170)
                                at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
                                at $Proxy2.getProjects(Unknown Source)
                                at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:585)
                                at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
                                at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvoca
                                tion.java:181)
                                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                                a:148)
                                at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceI
                                nterceptor.java:68)
                                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                                a:170)
                                at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
                                at $Proxy3.getProjects(Unknown Source)
                                at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:585)
                                at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:157)
                                at org.springframework.remoting.caucho.HessianServiceExporter.handleRequest(HessianServiceExporter.jav
                                a:110)
                                at org.springframework.web.servlet.mvc.SimpleHandlerAdapter.handle(SimpleHandlerAdapter.java:46)
                                at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:792)
                                at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:726)
                                at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
                                at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
                                at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
                                at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
                                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
                                at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                                at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                                at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
                                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
                                at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                                at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
                                at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
                                at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
                                at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                                at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                                at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                                at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
                                at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
                                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
                                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.ja
                                va:705)
                                at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
                                at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
                                at java.lang.Thread.run(Thread.java:595)



                                **********
                                It create the store folder in bin directory of tomcat and you can see many cache files with 0 size...

                                Thanks again.
                                Esfandiyar

                                • 13. Re: Kosmos portlet page is empty
                                  Esfandiyar Talebi Newbie

                                  Sorry for duplication of my message.

                                  There is another error when I set a local monitored uri from local address such as:
                                  http://fserver:7080/browse/PBP-7


                                  [INFO] MethodResultCacheInterceptor - Cache-miss: reloading "hu.midori.kosmos.server.jira.JiraWebCrawlingServi
                                  ceImpl.getProjects.http://fserver:7080/browse/PBP-7"...
                                  [ERROR] JiraWebCrawlingServiceImpl - Unable to scrape <java.lang.IllegalStateException: Couldn't find JIRA pro
                                  ject properties (0) at "http://fserver:7080/browse/PBP-7">java.lang.IllegalStateException: Couldn't find JIRA
                                  project properties (0) at "http://fserver:7080/browse/PBP-7"
                                  at hu.midori.kosmos.server.jira.JiraWebCrawlingServiceImpl.getProjects(JiraWebCrawlingServiceImpl.java
                                  :76)
                                  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:585)
                                  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
                                  at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvoca
                                  tion.java:181)
                                  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                                  a:148)
                                  at hu.midori.kosmos.server.MethodResultCacheInterceptor.invoke(MethodResultCacheInterceptor.java:55)
                                  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                                  a:170)
                                  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
                                  at $Proxy2.getProjects(Unknown Source)
                                  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:585)
                                  at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
                                  at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvoca
                                  tion.java:181)
                                  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                                  a:148)
                                  at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceI
                                  nterceptor.java:68)
                                  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.jav
                                  a:170)
                                  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
                                  at $Proxy3.getProjects(Unknown Source)
                                  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:585)
                                  at com.caucho.hessian.server.HessianSkeleton.invoke(HessianSkeleton.java:157)
                                  at org.springframework.remoting.caucho.HessianServiceExporter.handleRequest(HessianServiceExporter.jav
                                  a:110)
                                  at org.springframework.web.servlet.mvc.SimpleHandlerAdapter.handle(SimpleHandlerAdapter.java:46)
                                  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:792)
                                  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:726)
                                  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
                                  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
                                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
                                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
                                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
                                  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
                                  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                                  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                                  at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
                                  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
                                  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                                  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                                  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
                                  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                                  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
                                  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
                                  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                                  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                                  at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                                  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                                  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
                                  at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
                                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
                                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.ja
                                  va:705)
                                  at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
                                  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
                                  at java.lang.Thread.run(Thread.java:595)



                                  Thanks for your help.
                                  Esfandiyar
                                  email: esfand55@yahoo.com

                                  • 14. Re: Kosmos portlet page is empty
                                    Aron Gombas Novice

                                    Your first problem is caused by the issue status "10000" which is not a standard, but a custom status code in JIRA...
                                    Now, when Kosmos server finds such an unknown code, it throws an exception. I fixed this (instead of throwing an excetion, it just writes a note to the log).

                                    You can get the fixed version from the SVN HEAD.

                                    1 2 Previous Next