Problem starting cocoon: SAX2 driver class not found

2002-08-20 Thread Dirk . Fries
Hello Cocoon users! On accessing my cocoon installation with http://localhost:8080/cocoon/; I still get the error message SAX2 driver class org.apache.xerces.parsers.SAXParser not found. The Cocoon version is 2.0.3 and I tried it with Tomcat 4.0.3 and 4.0.4. The file access.log of the cocoon

Re: embedding image-stream in pdf

2002-08-20 Thread KOZLOV Roman
Hi Frank, There was a problem with images URL's in generated pdf. The matter is that relative URL's don't work. You have to put complete absolute URL's (like http://host... etc.). I've used host matcher in the following pipeline to get full path to images as a parameter in XSLT:

Re: embedding image-stream in pdf

2002-08-20 Thread KOZLOV Roman
Sorry, the sitemap snippet is wrong (forgot request action to get {context}) . The right one is the following: map:match pattern=print_lubricant.pdf map:match type=host pattern=* map:act type=request map:generate src=some_source.xml/ map:transform

Re: Common practice: how to keep links to html-trees consistent

2002-08-20 Thread Ivan Luzyanin
Easiest solusion is to use headBASE href=../head in your generated pages Ivan. P.S. http://www.w3.org/TR/REC-html32.html#base On Mon, 2002-08-19 at 23:42, Koen Pellegrims wrote: Guys, This is something that most of you *must* have come across at one point or another, and I am just

RE: I hate typo-s

2002-08-20 Thread Whalley, Anthony
Title: Message Whatch this space ! -Original Message-From: Greg Jones [mailto:[EMAIL PROTECTED]] Sent: 19 August 2002 20:44To: [EMAIL PROTECTED]Subject: I hate typo-s It seems that most of my frustration with any programming environment is my own typing

RE: Common practice: how to keep links to html-trees consistent

2002-08-20 Thread Whalley, Anthony
Make all your links relative to the root directory Eg /index.html /products/productA.html -Original Message- From: Koen Pellegrims [mailto:[EMAIL PROTECTED]] Sent: 19 August 2002 21:43 To: Cocoon-Users@Xml. Apache. Org Subject: Common practice: how to keep links to html-trees

RE: Common practice: how to keep links to html-trees consistent

2002-08-20 Thread Piroumian Konstantin
From: Whalley, Anthony [mailto:[EMAIL PROTECTED]] Make all your links relative to the root directory Eg /index.html /products/productA.html In this case browser interprets your links relative to the host and not the application context. You should perform a transformation to generate

sunrise context question

2002-08-20 Thread Barbara Post
Hello, back to work :-) 1. what is the persistence of a sunshine context I define ? i.e. I have one pipeline and two xsl : map:transform src=xsl1.xsl map:transform type=sunShine map:transform src=other.xsl map:transform src=xsl2.xsl map:transform type=sunShine. I want xsl2 to use something

RE: sunrise context question

2002-08-20 Thread Carsten Ziegeler
Barbara Post wrote: Hello, back to work :-) 1. what is the persistence of a sunshine context I define ? i.e. I have one pipeline and two xsl : map:transform src=xsl1.xsl map:transform type=sunShine map:transform src=other.xsl map:transform src=xsl2.xsl map:transform type=sunShine.

RE: Link Livesites: Cue and Review Recording Services [Cocoon 2]

2002-08-20 Thread Carsten Ziegeler
Added. Thanks Carsten -Original Message- From: Stuart Roebuck [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 1:42 PM To: [EMAIL PROTECTED] Subject: Link Livesites: Cue and Review Recording Services [Cocoon 2] http://www.cueandreview.org.uk/ Public

AW: embedding image-stream in pdf

2002-08-20 Thread Przybilla, Frank
Hi Roman, I don't know if I got it right what you mean. What I want to in fop, maybe in conjunction with cocoon, is the following: fo:external-graphic src=http://localhost:8080/image-servlet/, where the servlet is producing an image stream. I don't want to store the image as a file and then

XSP caching and jsessionid

2002-08-20 Thread Michael Zehrer
Hi List, after getting xsp caching to work (which is really fun), there is a problem with pages that include urlrewritten links containing that jsessionid=, is there any solution fot making these pages chacheable? Cheers Michael

weird ? (sunshine, c203)

2002-08-20 Thread Barbara Post
Hello, I cannot get sunshine:setxml to work... sitemap : map:transform src=xsl/genlicform2fill.xsl map:parameter name=use-request-parameters value=true/ /map:transform !-- stores in context -- map:transform type=sunShine/ !-- another map:transform --

Re: weird ? (sunshine, c203)

2002-08-20 Thread Barbara Post
I added sunshine:createcontext name=MyContext/ in my template but nope. Bert V.K., do you have more documentation / code snippets on this ? Thanks, Babs - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 11:25 AM Subject:

RE: weird ? (sunshine, c203)

2002-08-20 Thread Carsten Ziegeler
Do you declare the sunshine namespace in your xslt? Carsten -Original Message- From: Barbara Post [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 11:52 AM To: [EMAIL PROTECTED] Subject: Re: weird ? (sunshine, c203) I added sunshine:createcontext name=MyContext/ in my

Re: weird ? (sunshine, c203)

2002-08-20 Thread Barbara Post
Yes I do. double-checked. - Original Message - From: Carsten Ziegeler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 11:59 AM Subject: RE: weird ? (sunshine, c203) Do you declare the sunshine namespace in your xslt? Carsten

Re: AW: embedding image-stream in pdf

2002-08-20 Thread KOZLOV Roman
So, if your servlet will produce proper HTML response then it should work. Roman Przybilla, Frank wrote: Hi Roman, I don't know if I got it right what you mean. What I want to in fop, maybe in conjunction with cocoon, is the following: fo:external-graphic

RE: weird ? (sunshine, c203)

2002-08-20 Thread Carsten Ziegeler
Try putting the log transformer between your xslt transformer and the sunShine transformer - you will then get the exact output of the xslt transformation. I guess that either the namespace for sunshine is not set or wrong (some versions of Xalan forgot to output the namespace very rarely, so

Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Martin Polley
Am I doing something wrong? Setup: RedHat Linux 7.3 J2SDK 1.4.1_01 Tomcat 4.0.4 Cocoon 2.0.3 (vm 1.4 version) Java SDK and Tomcat (tomcat-full tomcat-webapps) were downloaded as RPMs, Cocoon as a binary tarball. When I go to http://localhost:8080/cocoon/, it

Re: Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Stephan Michels
On Tue, 20 Aug 2002, Martin Polley wrote: Am I doing something wrong? Setup: RedHat Linux 7.3 J2SDK 1.4.1_01 Tomcat 4.0.4 Cocoon 2.0.3 (vm 1.4 version) Java SDK and Tomcat (tomcat-full tomcat-webapps) were downloaded as RPMs, Cocoon as a binary tarball. When

RE: Weird characters ESQL + XSP - URL

2002-08-20 Thread Jan Willem Penterman
Thank you. I already suspected it to be something like this, but I was looking in the wrong place all the time, or had the problem at more files in my pipeline. Anyway it's solved now, by clearing out the linebreaks and tabs for nice markup in my editor. Isn't there a way to simply say Ignore any

Re: Dynamic XSP resource

2002-08-20 Thread Roger I Martin PhD
Just from a quick look, the map:generate src for menu.html has cocoon: as a part of it relative path; do you have such a path and can such an animal be part of a url? --Roger - Original Message - From: Tuomo Lesonen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002

XML data via POST request

2002-08-20 Thread Boscoe
Hi all, I am writing this because the archive isn't accessible at the moment, so I can' t reply to my original mail. A while ago, I had the problem that I wanted to send XML data via POST to a XSP. I received some interesting hints from Vadim Gritschenko (thanks again, Vadim), but in the

RE: Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Martin Polley
Unfortunately, I am at my (work) Windows machine right now, so I cannot check it. But I know that unpackWARs is set to true. (This is the default setting, I think.) I'll have a look at the logs as soon as I get back to my Linux machine. Thanks for your help. Martin Polley Technical

Re: Dynamic XSP resource

2002-08-20 Thread Tuomo Lesonen
On Tue, 20 Aug 2002, Roger I Martin PhD wrote: Just from a quick look, the map:generate src for menu.html has cocoon: as a part of it relative path; do you have such a path and can such an animal be part of a url? I use cocoon:/ protocol to tell cocoon, that menu.xsp in not directly

Re: weird ? (sunshine, c203)

2002-08-20 Thread Barbara Post
My namespace is : http://sunshine.sunde.sunshine/1.0; and I use Xalan 2.3.1, Xerces 2.0.2. I am sure that I can use context without sunrise authentication, am I wrong ? (anyway in the full app I use authentication). Transformer works well for getxml context=sunRise, but not my custom context...

Re: weird ? (sunshine, c203) [oops]

2002-08-20 Thread Barbara Post
ok the namespace was wrong ! it should have been : http://cocoon.apache.org/sunshine/1.0 :-/ dunno where I took it from !! gotta solve it soon then... - Original Message - From: Carsten Ziegeler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 12:07 PM Subject:

Re: Problem starting cocoon: SAX2 driver class not found

2002-08-20 Thread Vadim Gritsenko
[EMAIL PROTECTED] wrote: Hello Cocoon users! On accessing my cocoon installation with http://localhost:8080/cocoon/; I still get the error message SAX2 driver class org.apache.xerces.parsers.SAXParser not found. Classloading issue. The Cocoon version is 2.0.3 and I tried it with Tomcat

Re: XSP caching and jsessionid

2002-08-20 Thread Joerg Heinicke
I don't think so. The best way is to add the URL rewriter as a single transformation step on the end of the pipe. Regards, Joerg Michael Zehrer wrote: Hi List, after getting xsp caching to work (which is really fun), there is a problem with pages that include urlrewritten links

Anyone seen this cache problem?: - java.lang.ClassCastException: org.apache.cocoon.caching.CachedEventObject

2002-08-20 Thread Christopher Watson
Could anyone help with this cache problem ... I seem to get these errors creep into existence for certain static document (e. g. images). Everything is fine for a couple of days, then I start getting cache errors on access to some static files. Once a certain URI starts failing, it keeps

AW: XSP caching and jsessionid

2002-08-20 Thread Michael Zehrer
But then I would have a cached copy only for each user/session? But I want a global cache... -Ursprüngliche Nachricht- Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 20. August 2002 14:47 An: [EMAIL PROTECTED] Betreff: Re: XSP caching and jsessionid Michael Zehrer

xsl variable and sunshine getxml

2002-08-20 Thread Barbara Post
c2.0.3.. I am surprised that : sunshine:getxml context=MyContext path=/root/lkfmPageTitle/ works while : variable name=foo sunshine:getxml context=MyContext path=/root/lkfmPageTitle/ /variable xsl:value-of select=$foo/ does not... I need to pass the value to a template (of an imported reused

Re: Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Vadim Gritsenko
Martin Polley wrote: Am I doing something wrong? Setup: RedHat Linux 7.3 J2SDK 1.4.1_01 Tomcat 4.0.4 Cocoon 2.0.3 (vm 1.4 version) Java SDK and Tomcat (tomcat-full tomcat-webapps) were downloaded as RPMs, Cocoon as a binary tarball. When I go to

RE: Anyone seen this cache problem?: - java.lang.ClassCastException: org.apache.cocoon.caching.CachedEventObject

2002-08-20 Thread Carsten Ziegeler
Perhaps this is the same bug as described here: http://marc.theaimsgroup.com/?t=10293301812r=1w=2 Carsten -Original Message- From: Christopher Watson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 2:48 PM To: Cocoon-Users Subject: Anyone seen this cache problem?: -

Merging Dynamic Content and Static HTML in Same Page

2002-08-20 Thread Michael Edge
Hi All Is it possible within Cocoon to produce a single page that is made up of both static and dynamic content. For example, I would like to produce reports that all contain a standard header with images and toolbars, etc., but where the dynamic part of the page is generated by an XSP using

Re: Download Dialog box

2002-08-20 Thread Vadim Gritsenko
Atul Gulve wrote: Hi, I want to add export functionality in my application. It means, when a user clicks on some link he should get a download dialog box. But I am not able to access HttpServletResponse in xsp. What would you do if it were available? If anyone knows how to

RE: Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Martin Polley
Vadim Gritsenko wrote: snip unzip /snip DOH! Martin Polley Technical Communicator http://www.surf-com.com/ [EMAIL PROTECTED] Tel: (+972) (4) 9095-732 Mobile: (053) 864-280 ICQ 15617901 - Please check that your question has

Re: xsl variable and sunshine getxml

2002-08-20 Thread KOZLOV Roman
Why not xsl:variable? Roman Barbara Post wrote: c2.0.3.. I am surprised that : sunshine:getxml context=MyContext path=/root/lkfmPageTitle/ works while : variable name=foo sunshine:getxml context=MyContext path=/root/lkfmPageTitle/ /variable xsl:value-of select=$foo/ does not...

Re: xsl variable and sunshine getxml

2002-08-20 Thread Barbara Post
yeah it was a typo in my mail but indeed I have xsl:variable in my xsl. sorry.. - Original Message - From: KOZLOV Roman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 3:03 PM Subject: Re: xsl variable and sunshine getxml Why not xsl:variable? Roman Barbara

Re: Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Simon Price
Possible cause: You need to make sure that the tomcat user/group has permission to write to the webapps directory. Martin Polley wrote: Unfortunately, I am at my (work) Windows machine right now, so I cannot check it. But I know that unpackWARs is set to true. (This is the default

RE: xsl variable and sunshine getxml

2002-08-20 Thread Carsten Ziegeler
-Original Message- From: Barbara Post [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 2:52 PM To: [EMAIL PROTECTED] Subject: xsl variable and sunshine getxml c2.0.3.. I am surprised that : sunshine:getxml context=MyContext path=/root/lkfmPageTitle/ works while :

Re: xsl variable and sunshine getxml

2002-08-20 Thread Barbara Post
thanks for the explaination Carsten. I finally palinly copied the needed templates into my stylesheet, rather than writing more stylesheets ;-) as I thought of too. - Original Message - From: Carsten Ziegeler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 3:15 PM

Re: xsl variable and sunshine getxml

2002-08-20 Thread Joerg Heinicke
Hello Barbara, that's a simple XSL problem. With variable name=foo sunshine:getxml context=MyContext path=/root/lkfmPageTitle/ /variable you create a Result Tree Fragment (RTF), not a node set. A RTF contains the nodes, but you can't operate on them like on a node set. It behaves more

RE: Merging Dynamic Content and Static HTML in Same Page

2002-08-20 Thread Luca Morandini
Micheal, I think this is a case for aggregation: read the aggregating paragraph at http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html Best regards, - Luca Morandini GIS Consultant [EMAIL

Re: Anyone seen this cache problem?: - java.lang.ClassCastException:org.apache.cocoon.caching.CachedEventObject

2002-08-20 Thread Vadim Gritsenko
Christopher Watson wrote: Could anyone help with this cache problem ... I seem to get these errors creep into existence for certain static document (e. g. images). Everything is fine for a couple of days, then I start getting cache errors on access to some static files. Once a certain URI

Re: AW: XSP caching and jsessionid

2002-08-20 Thread Vadim Gritsenko
Michael Zehrer wrote: But then I would have a cached copy only for each user/session? But I want a global cache... Which is obviously not possible. Either you cache response for each session, or you do not cache (encode URL transformer, as you can see, works exactly same way). PS We are

Using views

2002-08-20 Thread Igor Abade V. Leite
Hi! I'm about to start using views. I'm trying to do something that I'm not sure can be done. Can I use map:aggregate in views? What for? Well, this way I would be able to add my side-menu XML elements after the content generation, but before the final transformation. I'm looking for a way to

Re: Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Vadim Gritsenko
Martin Polley wrote: Vadim Gritsenko wrote: snip unzip /snip DOH! Yup. For gourmands and purists: jar -x Vadim - Please check that your question has not already been answered in the FAQ before posting.

RE: Common practice: how to keep links to html-trees consistent

2002-08-20 Thread Robert Koberg
Hi, Perhaps it is an easy thing to do, but what happens if you stage your sites (dev, qa, certification, live) or have a distribution of software you want to document (you want the HTML to work wherever the user downloads it). Or perhaps you want to hand it off to your boss to look over on her

RE: Using views

2002-08-20 Thread Per Kreipke
Hi! I'm about to start using views. I'm trying to do something that I'm not sure can be done. Can I use map:aggregate in views? As far as I know, you can't tell cocoon to aggregate views. You can define a view to reference a part of an aggregate. What for? Well, this way I would be able

dull problem : redirecting after transforming

2002-08-20 Thread Barbara Post
I have a series of transformers (last one inserts in a database) then want to go to another pipeline (anyway I have to do a generation from new xml, not the DB successful insertion message) without having interaction with the user, how can I do that ? map:redirect-to uri=... right after a

RE: Merging Dynamic Content and Static HTML in Same Page

2002-08-20 Thread Stefan Seifert
There is another possibility, though a bit out of the scope of cocoon: Use Cocoon to genrate HTML content that includes a Server Side Include-Statement (!--#include...--), put a Apache Webserver 2.x in front of cocoon (i.e. using mod_jk). With proper configuration in httpd.conf of the Apache

RE: Merging Dynamic Content and Static HTML in Same Page

2002-08-20 Thread Luca Morandini
Michael, you can just aggregate without trasnforming (though you MUST serialize after aggregating). Moreover, you can aggregate the results of other pipelines, like in: map:aggregate element=page map:part src=cocoon:/all-parameters.xml/ map:part src=cocoon:/form-emptylog.xml

RE: Download Server - directory access denied

2002-08-20 Thread Matthew Hailstone
Vadim, Thanks for relating my problem to the FAQ. Now I understand. :) That was the problem. Interesting to note, though, here is the change that fixed the problem: !-- Download Server -- map:pipeline map:match pattern=download map:act type=request

Portal question [ the request parameters are available from insidethe coplets?]

2002-08-20 Thread Ramy Mamdouh
Hello, I have a small portal [cocoon 2.1-dev] question here. The requests parameters passed to the main portal pipeline (that one containing the portal generator) are available to the coplets? I mean if we invoked the portal generator pipeline with some parameters (e.g /index?abc=10), where

Re: Download Server - directory access denied

2002-08-20 Thread Vadim Gritsenko
Matthew Hailstone wrote: Vadim, Thanks for relating my problem to the FAQ. Now I understand. :) That was the problem. Interesting to note, though, here is the change that fixed the problem: !-- Download Server -- map:pipeline map:match pattern=download 1 Entered match scope

Re: dull problem : redirecting after transforming

2002-08-20 Thread Christian Haul
On 20.Aug.2002 -- 04:11 PM, Barbara Post wrote: Barbara, in short: you cannot. If you had a redirect after the response is already produced, it would be ignored. In addition, you may not have a pipeline with a generator but without a serializer (correction: call-ressource may be the last, but

RE: Download Server - directory access denied

2002-08-20 Thread Matthew Hailstone
I see. So the map:parameter element, notwithstanding it is inside the map:act type=resource-exists element, is actually still inside the map:act type=request element's scope. From your comment, I suppose I should have known this because it follows the XSLT specification. Thanks again! That is

RE: Portal question [ the request parameters are available from inside the coplets?]

2002-08-20 Thread Matthew Langham
Ramy, the coplet needs to be configured to handle parameters. Check the handlesParameters entry in the portal documentation. This is optional - so you will need to turn it on using the portal tool or by editing the coplet profile. Matthew -- Open Source Group Cocoon { Consulting,

Re: XML data via POST request

2002-08-20 Thread Leszek Gawron
On Tue, Aug 20, 2002 at 01:33:49PM +0200, Boscoe wrote: Hi all, I am writing this because the archive isn't accessible at the moment, so I can' t reply to my original mail. A while ago, I had the problem that I wanted to send XML data via POST to a XSP. I received some interesting

RE: Merging Dynamic Content and Static HTML in Same Page

2002-08-20 Thread Michael Edge
Thanks again for the help. It now works. My sitemap entry is as follows, and I get a proper header and footer surrounding my report. Thanks to you Stefan for your Apache suggestion. I'll keep that in mind. Regards Michael map:match pattern=header

RE: dull problem : redirecting after transforming

2002-08-20 Thread Luca Morandini
Barbara, I solved a problem like yours in a rather awkward way... but you may find it useful. 1) I wanted to choose a pipeline based on a parameter outputted by my database operations (I use Stored Procedures, hence an output parameter, called intStatus, was used as a status variable: 0 Ok, 1

problem trying to use JNI inside an action

2002-08-20 Thread Ramsés Morales
Hi. I can't use the java native interface inside an action. With the line System.loadLibrary(whatever) inside my action I get a strange behavior. The action doesn't starts, and I get no errors, nor any message on any log. If I comment that line, the action runs properly. I have to call a dll,

turning off logging

2002-08-20 Thread Fernando Padilla
Hello. LogKit seems to be continuously outputting log messages - like the ones below -, even though I have tried to turn off all logging ( to avoid using up the diskspace at our hosting provider ). Has anyone run into this? Any ideas of how to ask LogKit to please not tell me everytime that

RE: turning off logging

2002-08-20 Thread Luca Morandini
Fernando, Change the log level from DEBUG to ERROR in logkit.xconf (and take a look at the mail archives, this has been answered many times over). Best regards, - Luca Morandini GIS Consultant [EMAIL

Re: Portal question [ the request parameters are available from insidethe coplets?]

2002-08-20 Thread Ramy Mamdouh
Hi Matthew, Thanks for replying, but handlesParameters just handles the parameters of the portal engine (like size, customize, etc). And handlesParameters is true by default. What I'm asking about is handling any other parameters passed with the main portal uri. handlesParameters has no

RE: turning off logging

2002-08-20 Thread Lai, Harry
Hi Fernando, I ran into this same problem a little bit ago, and I solved it by setting the log-level in the web.xml settings for the Cocoon servlet. The default in there is DEBUG, and I just moved it up to INFO just to avoid the logger created/returned messages. As for why that works, I

RE: turning off logging

2002-08-20 Thread Fernando Padilla
On Tue, 20 Aug 2002, Lai, Harry wrote: Hi Fernando, I ran into this same problem a little bit ago, and I solved it by setting the log-level in the web.xml settings for the Cocoon servlet. The default in there is DEBUG, and I just moved it up to INFO just to avoid the logger

RE: Internal server error

2002-08-20 Thread Naquin, Beth
Title: RE: Internal server error This could be way off the mark, but since no one else answered: Do you try to redirect after you've already written part of the content (like html or ?xml ...)? I used to get a similar error when programming with Active Server Pages, and it had to do with

authentication framework and bea weblogic

2002-08-20 Thread michael_hampel
Hello, after trying out the Authentication Framework on Tomcat and everything worked fine, we now deployed on BEA Weblogic 6.1 SP1 on Solaris. There, we unfortunately get the following error message, where we couldn´t find out where the error is coming from. We think that we get

RE: Download Server - directory access denied

2002-08-20 Thread Matthew Hailstone
Wow! Great comment. I changed the URI to: cocoon base URI/download?file=../../../conf/web.xml and actually accessed the file. Is this a concern to anyone else? Thanks Per. Matthew Note: not sure if this will happen, but passing the file name as a request, you may want to make sure that

Re: Download Server - directory access denied

2002-08-20 Thread Vadim Gritsenko
Matthew Hailstone wrote: I see. So the map:parameter element, notwithstanding it is inside the map:act type=resource-exists element, is actually still inside the map:act type=request element's scope. Yes, this is correct. From your comment, I suppose I should have known this because it

RE: Strange error using JPEG/SVGSerializier under heavy load - ClassCastException

2002-08-20 Thread Stefan Seifert
After a lot of resarching and debugging i found the source of this problem - a (minor) bug in Batik, that only appeared because some now unneeded code lines in the Cocoon SVG Builder. I submitted a patch to Bugzilla: #11856. I will submit a patch to Batik too, to resolve the real source of this

RE: Download Server - directory access denied

2002-08-20 Thread Per Kreipke
Wow! Great comment. I changed the URI to: cocoon base URI/download?file=../../../conf/web.xml and actually accessed the file. Is this a concern to anyone else? Thanks Per. Sure. It might be a concern to others, but doing it in the resolver would probably break just about everything in

RE: Download Server - directory access denied

2002-08-20 Thread Matthew Hailstone
It might be a concern to others, but doing it in the resolver would probably break just about everything in C2: the resolver is used by the sitemap to get relative URLs for every pipeline, matcher etc. And viewing the source using the samples might use relative paths. I suggest that

Pipelineand matchers

2002-08-20 Thread David LAGARDERE
Hello. Is it better to have as many pipelines as matchers or is it recommended having one pipeline including all matchers ? What are the technical differences ? What are the consequences in terms of performances ? Thanks in advance. David LAGARDERE

Dynamic data in XMLForm

2002-08-20 Thread Björn Voigt
Hello, i have a little problem to create dynamic xf:selectOne ... with XMLForm. I use a Bean which contains an java.util.Collection attribute myCollection. With the following sample i can show all names of the Objects of myCollection. xf:group ref=/ xf:captionMy Collection

empty generation from xIndice or eXist

2002-08-20 Thread Daniel Fournier
Hi happy Cocoon users, I have installed xIndice and eXist to test these DB in the Cocoon environment. After configuring cocoon.xconf and following advices from cocooncenter or others users from this list, I'm testing xIndice (or eXist) acces thru the xmldb protocol, i.e. (from my sitemap)

Link Livesites: no longer

2002-08-20 Thread Andreas Kuckartz
This site listed as the second entry under Live Sites powered by Apache Cocoon seems to be a Zope site (and has some technical problems): Sirvisetti UDDI Registrar WAP site http://www.sirvisetti.com/uddihtml/uddi Andreas -

RE: Download Server - directory access denied

2002-08-20 Thread Per Kreipke
It seems that absolute URLs are not a problem. The following examples give me an error page: URI: cocoon base URI/../filename.jpg cocoon base URI/download/../../filename.jpg cocoon base URI/images/../../filename.jpg error page: HTTP Status 404 - /filename.jpg

RE: Tomcat doesn't unpack cocoon.war

2002-08-20 Thread Martin Polley
Simon Price wrote: Possible cause: You need to make sure that the tomcat user/group has permission to write to the webapps directory. Hah! That did it! I had to change the permissions for /var/cache/tomcat4 as well. Then it worked great. Thanks again! Martin Polley Technical Communicator Surf

Re: Tomcat won't unpack cocoon.war

2002-08-20 Thread Martin Polley
Title: Re: Tomcat won't unpack cocoon.war Simon Price wrote: Possible cause: You need to make sure that the tomcat user/group has permission to write to the webapps directory. Hah! That did it! I had to change the permissions for /var/cache/tomcat4 as well. Then it worked great. Thanks

RE: Anyone seen this cache problem?: - java.lang.ClassCastException: org.apache.cocoon.caching.CachedEventObject

2002-08-20 Thread Christopher Watson
Carsten. I think it's not the same problem, since I'm just doing a map:read to get the .gif :-( (The bug you mentioned below seemed to be resolved by a patch to batik, so I guess it was a generated svgjpeg image in their case) I'm just going to look at something Vadim has suggested ...

Re: Using views

2002-08-20 Thread Justin Fagnani-Bell
Igor, I think you can do what you want with a map:aggregrate, but not in every pipeline. Try somehting like this: map:match pattern=** map:aggregate element=site map:part src=cocoon:/part/{1}/ map:part src=cocoon:/menu.xml/ /map:aggregate map:transform src=something.xsl/

RE: ?something redirection

2002-08-20 Thread Conal Tuohy
I think you want a RequestParameterMatcher or WildCardRequestParameterMatcher. -Original Message- From: Jesper Rasmussen [mailto:[EMAIL PROTECTED]] snip/ I'm porting some old systems to cocoon. Before our url's wast foo.com/?something In our new cocoon layout the url might be

Re: Pipelineand matchers

2002-08-20 Thread Vadim Gritsenko
David LAGARDERE wrote: Hello. Is it better to have as many pipelines as matchers or is it recommended having one pipeline including all matchers ? Split as you want. Usually, you have at least two pipelines: one internal and one is not. In the future (2.1), you will be able to choose

Re: empty generation from xIndice or eXist

2002-08-20 Thread Vadim Gritsenko
Daniel Fournier wrote: Hi happy Cocoon users, How 'bout unhappy developers? :-? I have installed xIndice and eXist to test these DB in the Cocoon environment. After configuring cocoon.xconf and following advices from cocooncenter or others users from this list, I'm testing xIndice (or

Re: Link Livesites: no longer

2002-08-20 Thread Giacomo Pati
On 20 Aug 2002, Andreas Kuckartz wrote: This site listed as the second entry under Live Sites powered by Apache Cocoon seems to be a Zope site (and has some technical problems): Sirvisetti UDDI Registrar WAP site http://www.sirvisetti.com/uddihtml/uddi Thanks for the pointer. Giacomo