[jboss-dev-forums] [Design of Kosmos] - Re: serviceResultUpdaterJob not traversing repository

sstuart4 do-not-reply at jboss.com
Wed Jul 26 14:38:22 EDT 2006


Im afraid the problem still exists...

I replaced ehcache-1.2 with ehcache-1.2.1 as suggested. I gathered the information from my log and put it together below:


  | [Initial server startup...]
  | 
  | 2006-07-26 11:28:46,981 INFO  [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)] Started in 2m:20s:322ms
  | 2006-07-26 11:28:47,741 DEBUG [org.quartz.simpl.SimpleJobFactory] Producing instance of Job 'DEFAULT.serviceResultUpdaterJob', class=hu.midori.kosmos.server.ServiceResultUpdaterJob
  | 2006-07-26 11:28:47,742 DEBUG [org.quartz.core.JobRunShell] Calling execute on job DEFAULT.serviceResultUpdaterJob
  | 2006-07-26 11:28:47,751 INFO  [hu.midori.kosmos.server.ServiceResultUpdaterJob] Running scheduled update job...
  | 2006-07-26 11:28:47,752 INFO  [hu.midori.kosmos.server.ServiceResultUpdaterJob] Update job completed.
  | 
  | [Accessing the SVN Monitoring Portlet... 1st time.]
  | 
  | 2006-07-26 11:31:58,738 INFO  [STDOUT] Jul 26, 2006 11:31:58 AM hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet doView
  | INFO: Viewing...
  | 2006-07-26 11:31:58,777 INFO  [STDOUT] Jul 26, 2006 11:31:58 AM hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet doView
  | 2006-07-26 11:31:58,996 DEBUG [hu.midori.kosmos.server.MethodResultCacheInterceptor] Accessing cache "hu.midori.kosmos.server.cache" [0 items]...
  | 2006-07-26 11:31:58,996 INFO  [hu.midori.kosmos.server.MethodResultCacheInterceptor] Cache-miss: reloading "hu.midori.kosmos.server.svn.SvnServiceImpl.getRepositories.http://myserver.net/repos/project/tags/Kosmos-test"...
  | 2006-07-26 11:31:58,997 DEBUG [hu.midori.kosmos.server.svn.SvnServiceImpl] Returning repositories...
  | 2006-07-26 11:31:58,997 DEBUG [hu.midori.kosmos.server.AbstractKosmosService] Beginning store session....
  | 
  | [Repo traveral takes place... on a small dummy repository I set up.]
  | 
  | 2006-07-26 11:32:17,197 DEBUG [hu.midori.kosmos.server.svn.SvnServiceImpl] Adding repository "http://myserver.net/repos/project/tags/Kosmos-test rev.3778"...
  | 2006-07-26 11:32:17,197 DEBUG [hu.midori.kosmos.server.AbstractKosmosService] Ending store session...
  | 2006-07-26 11:32:17,205 DEBUG [hu.midori.kosmos.server.MethodResultCacheInterceptor] "hu.midori.kosmos.server.svn.SvnServiceImpl.getRepositories.http://myserver.net/repos/project/tags/Kosmos-test" saved to cache
  | 
  | [Accessing the SVN Monitoring Portlet... 2nd time.]
  | 
  | 2006-07-26 11:32:17,324 INFO  [STDOUT] Jul 26, 2006 11:32:17 AM hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet doView
  | INFO: SVN repositories downloaded: 1
  | 2006-07-26 11:32:17,327 DEBUG [hu.midori.kosmos.server.AbstractKosmosService] Service invoked: returning timestamp...
  | 2006-07-26 11:32:17,332 INFO  [STDOUT] Jul 26, 2006 11:32:17 AM hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet doView
  | INFO: SVN timestamp: Wed Jul 26 11:31:58 CDT 2006
  | 
  | [Server gets restarted...]
  | 
  | 2006-07-26 11:36:03,359 INFO  [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)] Started in 2m:22s:176ms
  | 2006-07-26 11:36:05,797 DEBUG [org.quartz.simpl.SimpleJobFactory] Producing instance of Job 'DEFAULT.serviceResultUpdaterJob', class=hu.midori.kosmos.server.ServiceResultUpdaterJob
  | 2006-07-26 11:36:05,798 DEBUG [org.quartz.core.JobRunShell] Calling execute on job DEFAULT.serviceResultUpdaterJob
  | 2006-07-26 11:36:05,806 INFO  [hu.midori.kosmos.server.ServiceResultUpdaterJob] Running scheduled update job...
  | 2006-07-26 11:36:05,808 INFO  [hu.midori.kosmos.server.ServiceResultUpdaterJob] Update job completed.
  | 
  | [Accessing the SVN Monitoring Portlet... 3rd time.]
  | 
  | 2006-07-26 11:36:21,811 INFO  [STDOUT] Jul 26, 2006 11:36:21 AM hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet doView
  | INFO: Viewing...
  | 2006-07-26 11:36:21,848 INFO  [STDOUT] Jul 26, 2006 11:36:21 AM hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet doView
  | INFO: repoUrl parameter received: null
  | 2006-07-26 11:36:22,080 DEBUG [hu.midori.kosmos.server.MethodResultCacheInterceptor] Accessing cache "hu.midori.kosmos.server.cache" [0 items]...
  | 2006-07-26 11:36:22,081 INFO  [hu.midori.kosmos.server.MethodResultCacheInterceptor] Cache-miss: reloading "hu.midori.kosmos.server.svn.SvnServiceImpl.getRepositories.http://myserver.net/repos/project/tags/Kosmos-test"...
  | 2006-07-26 11:36:22,081 DEBUG [hu.midori.kosmos.server.svn.SvnServiceImpl] Returning repositories...
  | 2006-07-26 11:36:22,081 DEBUG [hu.midori.kosmos.server.AbstractKosmosService] Beginning store session....
  | 
  | [Repo traveral takes place again...]
  | 
  | 2006-07-26 11:36:46,322 DEBUG [hu.midori.kosmos.server.svn.SvnServiceImpl] Adding repository "http://myserver.net/repos/project/tags/Kosmos-test rev.3778"...
  | 2006-07-26 11:36:46,322 DEBUG [hu.midori.kosmos.server.AbstractKosmosService] Ending store session...
  | 

In short, these are the steps I took:

1) Replaced the ehcache w/ the new release in kosmos-server's WEB-INF/lib.
2) Started the server.
3) Accessed the SvnMonitoringPortlet which loaded the cache.
4) Accessed the SvnMonitoringPortlet again to verify the cached data.
5) Restarted the server.
6) Accessed the SvnMonitoringPortlet a third time which revealed the cache was empty again.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961100#3961100

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961100



More information about the jboss-dev-forums mailing list