forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sjur Nørstebø Moshagen <sjur.mosha...@kolumbus.fi>
Subject Re: Strange site-build error: Failure updating element
Date Sun, 18 Jul 2004 18:31:33 GMT
Hi,

I have been busy with other issues, so it took me some time to get back  
on this. Sorry. If this issue is still relevant after   
http://marc.theaimsgroup.com/?t=108982454500004&r=1&w=2&n=4, please  
read on.

På 13. jul. 2004 kl. 20.41 skrev Juan Jose Pablos:

> Sjur Nørstebø Moshagen escribió:
>> In the hope that it will help, here's a new dump from today. Actions:
>> - forrest (no such error)
>> - small document changes
>> - forrest - error
> I did a few test, and It is a bug on the jcs code somewhere. to fix it  
> we need to get a new copy of the jcs from:
>
> http://cvs.apache.org/viewcvs.cgi/jakarta-turbine-jcs/tempbuild/jcs 
> -1.0-dev.jar
>
> Could you test to move   
> forrest/trunk/lib/core/jcs-1.0-dev-20040516.jar out the way and put  
> the lib that you just download from the previous link?

I did, and it still generated the same error, but this time with more  
information. The output from after the last file processed is attached  
below. I didn't change anything else in my Forrest installation between  
the tests.

>> PS. I'm also having a very strange caching problem today, don't know   
>> whether it relates to this bug or to cocoon/Forrest at all: I made  
>> some  small changes to tabs.xml, but whatever I do, only the old  
>> version is  showing up. This happens in all browsers I have tested,  
>> even when  they're told to *not* cache, and the old version also  
>> survives shutdown  and restart of Tomcat, even though the _file_  
>> within the webapp is the  new version. IT SHOULD NOT BE POSSIBLE! Or  
>> is it? Appearently. DS.
> posibly becasue the cache is writen to disk.
> Remove  the build/tmp/cocoon-work directory

My stupid mistake. Forget it:/

Sjur

18.jul.2004 21:01:25 org.apache.jcs.engine.CacheEventQueue destroy
INFO: Cache event queue destroyed: CacheEventQueue  
[listenerId=-748435884, cacheName=main]
18.jul.2004 21:01:25  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache optimizeFile
INFO: Optomizing file keyHash.size()=258
18.jul.2004 21:01:25  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache doUpdate
SEVERE: Failure updating element, cacheName: main, key:  
PK_G-file-file:/Volumes/Data/Users/sjur/Documents/samsandok/src/ 
documentation/content/xdocs/site.xml_T-xslt-file:/Volumes/Data/Users/ 
sjur/svn-forrest/forrest/src/core/bin/../context/resources/stylesheets/ 
absolutize-linkmap.xsl_T-xslt-file:/Volumes/Data/Users/sjur/svn- 
forrest/forrest/src/core/bin/../context/resources/stylesheets/ 
site2site-normalizetabs.xsl_T-xslt-file:/Volumes/Data/Users/sjur/svn- 
forrest/forrest/src/core/bin/../context/resources/stylesheets/ 
normalizehrefs.xsl_T-xslt-file:/Volumes/Data/Users/sjur/svn-forrest/ 
forrest/src/core/bin/../context/resources/stylesheets/site2site- 
selectnode.xsl;path=specs/conv/konv-skript.html_T-xslt-file:/Volumes/ 
Data/Users/sjur/svn-forrest/forrest/src/core/bin/../context/resources/ 
stylesheets/relativize-linkmap.xsl;path=specs/conv/konv-skript.html
java.lang.InterruptedException
         at java.lang.Object.wait(Native Method)
         at  
org.apache.jcs.utils.locking.ReadWriteLock.writeLock(ReadWriteLock.java: 
127)
         at  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache.doUpdate(IndexedD 
iskCache.java:262)
         at  
org.apache.jcs.auxiliary.disk.AbstractDiskCache$MyCacheListener.handlePu 
t(AbstractDiskCache.java:417)
         at  
org.apache.jcs.engine.CacheEventQueue$PutEvent.doRun(CacheEventQueue.jav 
a:538)
         at  
org.apache.jcs.engine.CacheEventQueue$AbstractCacheEvent.run(CacheEventQ 
ueue.java:454)
         at  
org.apache.jcs.engine.CacheEventQueue$QProcessor.run(CacheEventQueue.jav 
a:426)
18.jul.2004 21:01:25 org.apache.jcs.engine.CacheEventQueue$QProcessor  
run
INFO: QProcessor exiting for CacheEventQueue [listenerId=-748435884,  
cacheName=main]
18.jul.2004 21:01:30  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache doDispose
WARNING: Closing files, base filename: main
18.jul.2004 21:01:30 org.apache.jcs.engine.control.CompositeCache  
dispose
WARNING: Called close for main
18.jul.2004 21:01:30  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache optimizeFile
INFO: Optomizing file keyHash.size()=0
18.jul.2004 21:01:30  
org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCache doDispose
WARNING: Closing files, base filename: groupIdCache
18.jul.2004 21:01:30 org.apache.jcs.engine.control.CompositeCache  
dispose
WARNING: Called close for groupIdCache
Total time: 7 minutes 7 seconds,  Site size: 1?382?791 Site pages: 115



BUILD FAILED
/Volumes/Data/Users/sjur/svn-forrest/forrest/src/core/targets/site.xml: 
44: Java returned: 1

Total time: 7 minutes 49 seconds


Mime
View raw message