Re: Link Livesites: Cocoon 2.1
on Wed, 18 Feb 2004 15:08:50 +0200 Peter Velychko [EMAIL PROTECTED] wrote: Hi, I'd like to suggest you the link the site powered with cocoon 2.1.3. title: Olympic Plaza description: The site of the first megamall in Kiev and Ukraine URL: http://www.olympic-plaza.com.ua/ Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. ... Regards, Rufio -- 010 XMMS now playing PGP: 0x97EB7818 001 Scianka S/N: 0x052D 111 --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: multiple xpaths in XPathDirecory
on Tue, 13 Jan 2004 23:02:19 +0100 [EMAIL PROTECTED] wrote: Ah, wild guess: the XPathDirectoryGenerator uses @name to give the original filename. No, it doesn't, but this is also option - change filenames I was also unable to get xpath1|xpath2 working when both expressions contained attributes. I was able to change the XML file to make tags out of the attributes after that it worked. snip/ Thanx, I thing it's the easiest way (my sitemap would reflect filenames changes :) Regards, Rufio -- 010 XMMS now playing 001 Abruptum 111 In Umbra Malitiae Ambulabo, In Aeternum In Criumpho Tenebraum - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with caching aggregated src
on Sat, 03 Jan 2004 13:07:03 +0100 Joerg Heinicke [EMAIL PROTECTED] wrote: I couldn't find a bug in bugzilla, so can you file it there please? I was going to locate the problem, send description and recipe to the bugtrack in few days but in this situation I'll do it just after I get my pass to bugtrack. Regards, Rufio -- 010 nmap -O www.microsoft.com 001 [..] 111 Running: Linux 2.5.X - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with caching aggregated src
on Sat, 03 Jan 2004 18:46:32 +0100 Jorg Heymans [EMAIL PROTECTED] wrote: I had a look at this. Joerg's observation is correct. There is an easy way around IMHO : Check the lastmodified attribute of the directory instead of each individual file. Adding or removing files in a directory updates the lastmodified timestamp of this directory (at least on windows). If someone can check this behaviour on linux/macosX (don't have axx to a linux box until wednesday) then i'ld be happy to provide a patch. creating a file changes mtime of dir on linux. Regards, Rufio -- 010 nmap -O www.microsoft.com 001 [..] 111 Running: Linux 2.5.X - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with caching aggregated src
on Sat, 03 Jan 2004 13:07:03 +0100 Joerg Heinicke [EMAIL PROTECTED] wrote: I couldn't find a bug in bugzilla, so can you file it there please? I was going to locate the problem, send description and recipe to the bugtrack in few days but in this situation I'll do it just after I get my pass to bugtrack. Regards, Rufio -- 010 nmap -O www.microsoft.com 001 [..] 111 Running: Linux 2.5.X - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tree databases
on Mon, 29 Dec 2003 07:44:44 -0500 Geoff Howard [EMAIL PROTECTED] wrote: rufio wrote: I found LDAP transformer. Anyway I don't know what exactly I'll use, maybe plain xml files would be enough; SQL isn't good for tree-like structured data. There are xml databases. Check out xindice block included with Cocoon for one option. I know, also Exist supports cocoon. Regards, Rufio -- 010 nmap -O www.microsoft.com 001 [..] 111 Running: Linux 2.5.X - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tree databases
on Sat, 27 Dec 2003 16:53:38 -0800 Ralph Goers [EMAIL PROTECTED] wrote: I wrote the input module and source myself. They aren't in Cocoon. I found LDAP transformer. Anyway I don't know what exactly I'll use, maybe plain xml files would be enough; SQL isn't good for tree-like structured data. So, is your code published? Regards, Rufio -- 010 nmap -O www.microsoft.com 001 [..] 111 Running: Linux 2.5.X - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tree databases
Hi. Is there a way to use tree databases in cocoon? Any papers? Regards, Rufio -- 010 nmap -O www.microsoft.com 001 [..] 111 Running: Linux 2.5.X - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tree databases
on Sat, 27 Dec 2003 15:08:06 -0800 Ralph Goers [EMAIL PROTECTED] wrote: Pardon my ignorance, but what do you mean by tree database. I am accessing LDAP via a source and an input module. I access them in a manner similar to accessing normal unix files in directories. Anyway, thanx for the keyword ('LDAP') to search on:) Regards, Rufio -- 010 nmap -O www.microsoft.com 001 [..] 111 Running: Linux 2.5.X - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with caching aggregated src
on Sun, 21 Dec 2003 15:20:37 +0100 Jorg Heymans [EMAIL PROTECTED] wrote: ok so : 1) test1.html - caches 2) you add a file to src/main and request test1.html - new file does not show up 3) you request test2.html - new file shows up and is cached Is this what you're getting now? Exactly it's like this: I have some xml files in src/main, eg file1.xml and file2.xml, and all of them show up when I call any page as a menu. Now: 1) request file1.html - file1.xml + all as a menu 2) add new.xml to src/main 3) refresh file1.html - nothing happens 3) request file2.html - see new menu with new.html Note that you can also set map:pipeline type=noncaching, try setting this. It's suboptimal but unless you're on a high traffic site you could live with it. Now it's ok. It's a development environment :) but what if it was production? Regards, Rufio -- 010 nmap -O www.microsoft.com 001 [..] 111 Running: Linux 2.5.X - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with caching aggregated src
on Sun, 21 Dec 2003 16:57:14 +0100 Jorg Heymans [EMAIL PROTECTED] wrote: Question is do you really need caching? I mean how many hits/sec do you really expect from this in a live environment? No, I don't need caching now, I do my homepage on cocoon just to learn using it. But I guess I'll need one in furure comercial projects. I'll try to write minimal sitemap that reproduces the bug and send it on bugzilla. Regards, Rufio -- 010 nmap -O www.microsoft.com 001 [..] 111 Running: Linux 2.5.X - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with caching aggregated src
on Sat, 20 Dec 2003 21:35:52 +0100 Jorg Heymans [EMAIL PROTECTED] wrote: Are you using 2.0.4? no, 2.1.2 If you're using 2.1.x then you shouldn't be affected by this bug and something else is wrong. Is your xpathdirectory generating correct cachevalidity and cachekey? Jorg map:match pattern=srcdir-name.xml map:generate type=xpathdirectory src=src/main [...] /map:match [...] map:match pattern=toc.xml map:aggregate element=menus map:part src=cocoon:/srcdir-name.xml strip-root=true/ map:part src=src/toc.xml strip-root=true/ /map:aggregate map:serialize type=xml/ /map:match Everything is ok until this point, GETting toc.xml gives proper results. map:match pattern=*.html map:aggregate element=site map:part src=cocoon:/toc.xml/ map:part src=src/main/{1}.xml/ /map:aggregate map:transform src=style/toc2html2.xsl/ map:serialize type=xhtml/ /map:match Regards, Rufio -- 010 nmap -O www.microsoft.com 001 [..] 111 Running: Linux 2.5.X - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with caching aggregated src
on Sat, 20 Dec 2003 22:45:17 +0100 Jorg Heymans [EMAIL PROTECTED] wrote: snip map:match pattern=*.html map:aggregate element=site map:part src=cocoon:/toc.xml/ map:part src=src/main/{1}.xml/ /map:aggregate map:transform src=style/toc2html2.xsl/ map:serialize type=xhtml/ /map:match Can you enable full debugging on core.log Sure. How? As I look at the logkit.xconf i'd say it's enabled but core.log is empty. Regards, Rufio -- 010 nmap -O www.microsoft.com 001 [..] 111 Running: Linux 2.5.X - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
external executables
Hi! I'm looking for way to run a program using CGI. I probably could write a generator to do that but maybe there is one already? Regards, Rufio -- 010 nmap -O www.microsoft.com 001 [..] 111 Running: Linux 2.5.X - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
reader, unknown filetype and NullPointer
Hi When I try to get file of unknown type (with extension not listed in web.xml) I get NullPointerException. I could add some mimes to web.xml but not for all files this makes sense. How to make cocoon to return some default mime or not to return any without the exception? Regards, Rufio -- 010 nmap -O www.microsoft.com 001 [..] 111 Running: Linux 2.5.X - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to protect a Cocoon project
on Wed, 22 Oct 2003 09:53:37 +0200 Olivier Billard [EMAIL PROTECTED] wrote: Hi Joern, Isn't it the goal of filesystems, to protect file from beeing read by non authorized persons ? It's possible with WinNT, 2000, XP, and of course Unix-like OSes. Just give the right rights to the right persons ;) It's not a solution, when u send a demo say, on a CD, client may do with it what he wants. Maybe hiding backdoors isn't good example, just say jou don't want to give the source. To Jrn: Maybe solution is to obfuscate compiled sitemaps. Assuming (I didn't check) cocoon compares only mtime of source and compiled sitemap, you can remove content of source and set its mtime to older than compiled sitemap (or to the value before the truncation). As about static files, there is storeJanitor wich may help a bit (a small one :). If cocoon can read files, user can too, it's just matter of time, cost and knowledge. On the other hand cocoon shouldn't force people to write only opensource. Obfuscating/xoring/rot13ing files should be in most cases enough, at least until your app becomes so popular that people could simply ask on usenet how to read your 'crypted' files. This of course needs modyfying cocoon but it's worth if u want to make money on not OS cocoon apps. And remember: information wants to be free :) Regards, Rufio -- nmap -sS -O -p80,81 www.microsoft.com [..] Running: Linux 2.5.X OS details: Linux Kernel 2.4.18 - 2.5.70 (X86) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: map:aggregate / map:part does only work with XML files?
on Mon, 01 Sep 2003 13:37:20 -0700 Miles Elam [EMAIL PROTECTED] wrote: Also, something like map:aggregate map:generate type=file src=foo.xml/ map:generate type=directory src=foo// map:generate type=custom src=bar/ /map:aggregate looks a bit odd to me. Then again, that may simply be because I'm not used to it. It would definitely require some retooling of the pipeline code to accommodate. This looks odd, but think os using two generators of the same type used on different source or used on the same source but with different parameters; aggregator's params allow you to make output looking like directly from generator. whatever/ It just so happens that the developers have been talking about doing away with resources in favor of pipeline fragments. The thread appears to be missing(!?!) on marc.theaimsgroup.com. However, in the real-time.com archives, you can find Stefano's proposal and resulting thread of discussion (http://archives.real-time.com/pipermail/cocoon-devel/2003-August/018 386.html). Couldn't open the url nor find the result (big tree thread), but after reading the first paragraph of the Stefano's proposal I think VPC could resolve problems I mentioned. But the same point applies to aggegated generators too I guess. Virtual Pipeline Componets + aggregator taking any generator would made aggregating resources problem nonexisted. BTW about=map:resource map:resource really looks like map:match with literal pattern (no special chars) that ends with xml serializer and is putted in internal pipeline, ie. resource looks like pipeline part and AFAIR docs doesn't say it's not. Considering this, map:resource looks like component intended for sitemap modularisation, and internal pipelines looks like workaround for use with aggregators. IMO simplest workaround for this would be special protocol for map:resources (probably outdated by virtual pipeline components). /BTW I think that's all. Regards, Rufio -- nmap -sS -O -p80,81 www.microsoft.com [..] Running: Linux 2.5.X OS details: Linux Kernel 2.4.18 - 2.5.70 (X86) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: map:aggregate / map:part does only work with XML files?
on Mon, 1 Sep 2003 17:43:14 +0200 Bertrand Delacretaz [EMAIL PROTECTED] wrote: ...But this looks to me like a workaround ;-), any plans to enhance the aggregate feature? I think the current way of doing aggregation makes perfect sense if you think of aggregating pipelines, not only generators. AFAIK there are no plans to change this. And I thing aggregator should be able to take anything that produces SAX events - generators/resources/whatever, so people didn't have to use pipeline-for-generator workaround. Regards, Rufio -- nmap -sS -O -p80,81 www.microsoft.com [..] Running: Linux 2.5.X OS details: Linux Kernel 2.4.18 - 2.5.70 (X86) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: map:aggregate / map:part does only work with XML files?
on Mon, 01 Sep 2003 11:12:39 -0700 Miles Elam [EMAIL PROTECTED] wrote: rufio wrote: And I thing aggregator should be able to take anything that produces SAX events - generators/resources/whatever, so people didn't have to use pipeline-for-generator workaround. It can. map:part src=.../ can take a remote URI, a local absolute URI, a local relative URI, and the output of another pipeline. What exactly is the limitation? simply: all other generators (if we can assume that map:part takes role of file generator) can't be used here. For all intents and purposes from the user point of view, map:part/ is a generator. If readers et al. (read: possible non-XML content) were allowed into map:aggregate/, Cocoon's XML processing contracts would be horribly broken. I didn't say anything about readers - anything that produses SAX events In addition, putting what amounts to a full pipeline in the aggregator has issues as well which I will explain below. stuff-about-debugging stuff-about-sitemap-mainanance So what were the use cases for needing these added semantics to the aggregator that outweigh what was just mentioned? There are two situations where you really need to call pipeline from map:part : - as you mentioned - debugging - situations where you really *want* to call them but putting anything-that-produces-SAX-events in map:part would be simply more intuitive. Hmm, I think map:resource would be good use case. What is the sense of having map:resources if I still have to define pipelines/matchers for them? And one more: every time I call another pipeline isn't there any performance issue (during serializing and deserializing) ? BTW IMO sitemap is like programming language - I program the cocoon. But in other programming langs I can use for() in another for() or if() in if() or even call method from another method Why I can't use, for example map:aggregate in map:aggregate? Regards, Rufio -- nmap -sS -O -p80,81 www.microsoft.com [..] Running: Linux 2.5.X OS details: Linux Kernel 2.4.18 - 2.5.70 (X86) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Sharing a cocoon instance to save memory
Sorry, it was late and I misunderstood your question. Regards, Rufio -- nmap -sS -O -p80,81 www.microsoft.com [..] Running: Linux 2.5.X OS details: Linux Kernel 2.4.18 - 2.5.70 (X86) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to aggregate resource or generator?
Hi How to aggregate resource or generator? Do I have to define matcher in internal pipeline for each? Regards, Rufio -- nmap -sS -O -p80,81 www.microsoft.com [..] Running: Linux 2.5.X OS details: Linux Kernel 2.4.18 - 2.5.70 (X86) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to aggregate resource or generator?
on Mon, 25 Aug 2003 23:33:31 -0700 Chris Wilkes [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2003 at 06:47:44AM +0200, rufio wrote: How to aggregate resource or generator? Do I have to define matcher in internal pipeline for each? Not sure what you're asking, but a good place to start is on the Cocoon Wiki: http://wiki.cocoondev.org/Search.jsp?query=aggregateSearch=Find%21 http://wiki.cocoondev.org/Wiki.jsp?page=Aggregator http://wiki.cocoondev.org/Wiki.jsp?page=ContentAggregationExample If one of those doesn't help you out, could you post how your situation is different? I want to call a resource or generator in map:aggregate/map:part/@src. from: http://wiki.cocoondev.org/Wiki.jsp?page=Aggregator blockquote Question: Given that the src attribute can access pipelines, why oh why not just let it access generators directly so you can trivially merge the contents of two or more generators without having to set up special pipelines for them ?? /blockquote This answers my question: NO! Regards, Rufio -- nmap -sS -O -p80,81 www.microsoft.com [..] Running: Linux 2.5.X OS details: Linux Kernel 2.4.18 - 2.5.70 (X86) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: C2.1 and own root sitemp /Internal Server Error [sending secondtime]
on Thu, 21 Aug 2003 12:26:46 -0400 Geoff Howard [EMAIL PROTECTED] wrote: the ComponentSelector has nothing to do with the map:selector and family. Probably this error means that you forgot to define a default generator, etc. and have pipelines which depend on the definition of a default. Thanx for the hint I asked for. I copied whole map:components/ from the original sitemap.xmap so it won't cause problems. Does having unused components have impact on performance? or maybe just compile time of sitemap? Regards, Rufio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JavaDoc not in Build 2.1Final
on Wed, 20 Aug 2003 09:46:30 +0200 Joerg Heinicke [EMAIL PROTECTED] wrote: rufio wrote: I have downloaded and build the Final 2.1 release and there is no JavaDoc. Has anyone else had this problem ? Same problem, I copied them by hand. What do you mean with copied them by hand? After build webapp they have to be in $COCOON_HOME/build/webapp/api. I must've exclude javadocs, like you mentioned below. Regards, Rufio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Encoding of web.xml
on Tue, 19 Aug 2003 23:51:20 -0600 (CST) Antonio Gallardo [EMAIL PROTECTED] wrote: Hi: Why the web.xml of cocoon is still having: ?xml version=1.0 encoding=ISO-8859-1? I already changed it to ?xml version=1.0 encoding=UTF-8? and it works. Of course it works, UTF-8 is superset of ISO-8859-1. Regards, Rufio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
C on tomcat with security manager
Hi I try to run cocoon on tomcat with security manager enabled, but I get exceptions. What extra (above default) permissions cocoon needs? Regards, Rufio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 2.1rc1 build error
on Wed, 6 Aug 2003 10:52:33 -0700 Jeff Ramsdale [EMAIL PROTECTED] wrote: I ran into the same problem. I found that doing build with no arguments didn't give me the error while build webapp did. I didn't have the time to probe deeper. That's weird; webapp is the default target. I'd be interesting in hearing if/when you resolve it! It seems the problem is with test cases, so I simply removed dependency in compile target (actually I removed compile-deprecated dependency too, but removing compile-tests should be enough). After that build war compiles cleanly (and war depends on webapp so it should resolve your problem too) regards, Rufio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how to put request param into SQLTransformer
Hi? I don't know jow to pass request parameter to QSLTransformer -is there a direct way? -or shall I use XSLT to substitute param/strip result -or it's better to write xsp page? I'm pretty sure there's a direct way but docs are still far to ideal Regards, Rufio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
forced caching of volatile data
Hi all Is there a way to enfoce an asumption that volatile data (eg. stored in DB) changes once a specific interval? Now if we have 100 requests/s SQLTransformer querys DB 100 times/s, right? I'd like to set it up to query only once a, say minute and cache the result. Regards, Rufio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to put request param into SQLTransformer
on Thu, 14 Aug 2003 09:37:22 +0200 g[R]eK [EMAIL PROTECTED] wrote: Read this: http://cocoon.apache.org/2.1/userdocs/transformers/sql-transformer.html#Substitution In the example parameter is hardcoded into sitemap; how to put there request parameter value? Hope this help. Regards, Rufio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
2.1rc1 build error
Hi all When I try to build WAR on jdk1.4 I get these errors: compile-tests: Compiling 24 source files to /home/rufio/cocoon-2.1rc1/build/cocoon-2.1rc1/test /home/rufio/cocoon-2.1rc1/src/test/org/apache/cocoon/components/resolver/test/ResolverImplTestCase.java:64: cannot resolve symbol symbol : class ResolverImpl location: package resolver import org.apache.cocoon.components.resolver.ResolverImpl; ^ /home/rufio/cocoon-2.1rc1/src/test/org/apache/cocoon/components/resolver/test/ResolverImplTestCase.java:234: cannot resolve symbol symbol : class ResolverImpl location: class org.apache.cocoon.components.resolver.test.ResolverImplTestCase private ResolverImpl resolverImpl; ^ /home/rufio/cocoon-2.1rc1/src/test/org/apache/cocoon/components/resolver/test/ResolverImplTestCase.java:282: cannot resolve symbol symbol : class ResolverImpl location: class org.apache.cocoon.components.resolver.test.ResolverImplTestCase resolverImpl = (ResolverImpl) manager.lookup(role); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. 3 errors There aren't any prequestions in INSTALL.txt so I have no clue what could be the reason? Regards, Rufio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 2.1rc1 build error
on Wed, 06 Aug 2003 19:18:47 -0400 Geoff Howard [EMAIL PROTECTED] wrote: rufio wrote: on Wed, 6 Aug 2003 18:05:11 +0100 Cedric Picard [EMAIL PROTECTED] wrote: I just checked my own version 2.1m2 and ResolverImpl.java does not exist in src/java/org/apache/cocoon/components/resolver. You'll need to get this class from CVS if you downloaded the release version. I found this class in depreated, which means this test is outdated; I also found problems with other tests This was cleaned up recently - I thought right before rc1, but maybe it was right after. Before the cleanup it should only have happened when excluding the deprecated classes from the build. That explains everything. I excluded deprecated classes. I didn't think I'd need them to go through the tests. After the cleanup, it should never happened. If you're curious, looking through the archives for [EMAIL PROTECTED] and [EMAIL PROTECTED] should clear the timing up, and give more explanation of what was going wrong. Well, the tests are suited for the deprecated classes so it's pretty obvious that the code wasn't cleaned before the rc1. Thanx for the explanation. Geoff Howard Regards, Rufio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: forced caching of volatile data
on Mon, 11 Aug 2003 02:45:29 + Steve Schwarz [EMAIL PROTECTED] wrote: You might want to talk to your DBA about how your database handles caching. Properly tuned if all this SQL activity is really all selects (and all the same set of selects) the DBMS shouldn't even hit the disk - all the data will be in it's in memory caches. Of course query design dramatically impacts cacheablity too. You'll pay the data transfer and cocoon processing cost but it might be trivial depending on your queries/amount of data if it all stays in the dbms cache. You may really want/need the transactional integrity provided by the dbms if you are combining queries (on possibly different caching intervals) in a client single response. As Geoff implies the approach you mention could provide stale data for as long a 59.9...secs depending on the frequency of insert/update/delete. Rigging up a load test with the real queries/db will tell you if this is an issue... I'm not talking about DB, I want cacheable SQLTransformer. Such transformer with some atribute, like map:transform type=sql map:parameter name=forcevalidfor value=60/ would assume validity of cached result for 60 secs. HTH Steve Regards, Rufio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 2.1rc1 build error
on Wed, 6 Aug 2003 18:05:11 +0100 Cedric Picard [EMAIL PROTECTED] wrote: I just checked my own version 2.1m2 and ResolverImpl.java does not exist in src/java/org/apache/cocoon/components/resolver. You'll need to get this class from CVS if you downloaded the release version. I found this class in depreated, which means this test is outdated; I also found problems with other tests Thanx for your Re. Regards, Rufio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]