RE: Problems installing Cocoon 2.1-dev: NoSuchMethodError - SOLVED

2002-06-21 Thread Albertsen, Juergen
Hi everbody, yesterday evening I spent some time reubuilding the whole Avalon framework. Because the access to my FreeBSD box is fairly slow I did it on a Linux box, but because of Write Once, Run Anywhere this shouldn't be a difference, no? ;-) However, after uploading the updated JARs to my

Re: Problems installing Cocoon 2.1-dev: NoSuchMethodError - SOLVE D

2002-06-21 Thread Stuart Roebuck
Jürgen, Congratulations on building Avalon! Your experience seems to confirm that Avalon is the heart of the matter. One test I carried out when I was having problems was to unpack the avalon JAR files and put the classes directly into the WEB- INF/classes directory on the off-chance that

RE: Problems installing Cocoon 2.1-dev: NoSuchMethodError - SOLVE D

2002-06-21 Thread Albertsen, Juergen
Stuart, doing a diff is a very good idea but I'm afraid the result might not lead us to the reason for all this hassle because I used the latest CVS version and a diff would also reveal normal code changes. When time permits I wil have a closer look at at all this, but the weather might be too

requests with document function

2002-06-21 Thread Johannes Koch
Cocoon 2.0.2/Tomcat 4.0.1/Java1.3.1_01 In an XSLT stylesheet I have the following template: xsl:template match=foo xsl:variable name=bar select=document('http://www.xyz.org/bla.xml')/fasel/ xsl:variable name=hasGrmpf select=boolean($bar/grmpf)/ xsl:apply-templates select=$bar/grmpf/

Re: Lucene and cocoon-view

2002-06-21 Thread M Al-yahya
Hi Lajos, Thanks for your reply. 1. I can not find a SimpleLuceneXMLIndexerImpl in the core.log 2. The view is not working. When I request http://localhost:8080/cocoon/myapps?cocoon-view=content I see the transformed page which I could see using :

XMLizable from DOM example needed

2002-06-21 Thread KOZLOV Roman
Hi, Could somebody share an example of XMLizable object implementation initialized by org.w3c.dom.Document for xsp. Thank you in advance. Roman - Please check that your question has not already been answered in the FAQ

Entity resolver problem ....

2002-06-21 Thread Guy Bobenrieth
Hello, This time I've tried to set cocoon (2.1-dev) to handle the entity resolution nicely for my XML files. I've set the "CatalogManager.properties" file so that my own catalog is red : I can see it in the std output that it is the case ! This catalog is about rewritting SYSTEM

Re: Lucene, xml files and dtds.

2002-06-21 Thread Guy Bobenrieth
Hello Vladim, You are right ! It works now ... but only if I use a PUBLIC identifer in my xml files instead of a SYSTEM one. Thanks again. Guy - Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 20, 2002 6:29 PM Subject: RE: Lucene,

Re: Lucene and cocoon-view

2002-06-21 Thread M Al-yahya
Hi Lajos, At Last... problem solved :) Well here's what I did : 1. I realized that I was having the same problem as you the views should be inside the components and not after it. 2. Made sure that in the pipeline the map:transform... where the view label is inserted was returning a mime-type

[doc] draft FAQ xinclude/cinclude

2002-06-21 Thread Diana Shannon
Q. What are the similarities and differences of xinclude and cinclude? A. Similarities - Both provides mechanisms to include content from other documents - Both support cocoon:/ protocol (i.e. they both use Cocoon's resolver). xinclude transformer - implements the W3C XInclude spec. - allows

RE: Lucene and cocoon-view

2002-06-21 Thread Piroumian Konstantin
From: M Al-yahya [mailto:[EMAIL PROTECTED]] Hi Lajos, At Last... problem solved :) Well here's what I did : 1. I realized that I was having the same problem as you the views should be inside the components and not after it. views should be after components. Never heard of the

Re: requests with document function

2002-06-21 Thread Johannes Koch
Johannes Koch wrote: Cocoon 2.0.2/Tomcat 4.0.1/Java1.3.1_01 In an XSLT stylesheet I have the following template: xsl:template match=foo xsl:variable name=bar select=document('http://www.xyz.org/bla.xml')/fasel/ xsl:variable name=hasGrmpf select=boolean($bar/grmpf)/

RE: [doc] draft FAQ xinclude/cinclude

2002-06-21 Thread Vadim Gritsenko
From: Diana Shannon [mailto:[EMAIL PROTECTED]] Q. What are the similarities and differences of xinclude and cinclude? A. Similarities - Both provides mechanisms to include content from other documents - Both support cocoon:/ protocol (i.e. they both use Cocoon's resolver).

RE: Lucene and cocoon-view

2002-06-21 Thread Vadim Gritsenko
From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] From: M Al-yahya [mailto:[EMAIL PROTECTED]] Hi Lajos, At Last... problem solved :) Well here's what I did : 1. I realized that I was having the same problem as you the views should be inside the components and not after

Re: Lucene and cocoon-view

2002-06-21 Thread Ugo Cei
Unfortunately, it looks like views are broken when using aggregations, even in 2.0.3-dev. Can anyone confirm this? Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]

RE: Lucene and cocoon-view

2002-06-21 Thread Vadim Gritsenko
From: Ugo Cei [mailto:[EMAIL PROTECTED]] Unfortunately, it looks like views are broken when using aggregations, even in 2.0.3-dev. Can anyone confirm this? Huh? I mean, what's broken in 2.0.3? Short test case, please. Vadim Ugo -- Ugo Cei - Consorzio di Bioingegneria e

SQLTransformer, multiple execute-query siblings?

2002-06-21 Thread Bertrand Delacretaz
Hi SQLers, If I understand the SQLTransformer code correctly, this construct is not supported: execute-query queryselect A/query execute-query queryselect B using values from select A in where clause/query execute-query !-- is a second one here supported? -- execute-query

How can I configure Cocoon2 to run my JSP's ?

2002-06-21 Thread tolga tunca
I am using Tomcat4.0.1 , Cocoon 2.0.2 . I have my JSP's, they generate valid XML's. But I couldn't see them working with C2. I tried the JSP Generator and JSP Reader examples of C2 but they didn't work too. I put the error message below, maybe it will be helpful. Any help would be appreciated.

RE: How can I configure Cocoon2 to run my JSP's ?

2002-06-21 Thread Piroumian Konstantin
I don't have problems with the examples in 2.0.3 and Tomcat 4.0.1. They work OOTB. Something's wrong with your JAXP libs. Check, that you don't have one more xml-api packages somewhere in your classpath before xml-apis.jar from Cocoon. (A hint: check batik-**.jar). I can check if your JSPs work

Re: Lucene and cocoon-view

2002-06-21 Thread leo leonid
On Friday, June 21, 2002, at 03:46 Uhr, Vadim Gritsenko wrote: From: Ugo Cei [mailto:[EMAIL PROTECTED]] Unfortunately, it looks like views are broken when using aggregations, even in 2.0.3-dev. Can anyone confirm this? no, works in 2.0.3. but doesn't in 2.1. /Leo Huh? I mean,

RE: [doc] draft FAQ xinclude/cinclude

2002-06-21 Thread Lai, Harry
Hi Diana, This looks like a great summary to me! Just FYI, I also found an older post indicating that CInclude has better performance than XInclude (mentioned near the bottom of the post). http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=100339923211176w=2 If this is true, it'd probably also

RE: SQLTransformer, multiple execute-query siblings?

2002-06-21 Thread Argyn Kuketayev
it doesn't support two nested queries on the same level of nesting, as far as I remember after looking at C2.0.1 sources. I don't think it's fixed. Workaround is: 1. modify source codes 2. use XSP I use XSP with ESQL Can someone confirm this, and is there a workaround other than chaining

RE: SQLTransformer, multiple execute-query siblings?

2002-06-21 Thread Stephen Ng
After flirting briefly with SQLTransformer, I'm using XSP/ESQL--they work great. A couple alternatives might be to create separate pipelines with SQLTransformer and aggregate them in your sitemap, or to build a single large union query. -Original Message- From: Argyn Kuketayev

Re: Lucene and cocoon-view

2002-06-21 Thread Ugo Cei
Vadim Gritsenko wrote: From: Ugo Cei [mailto:[EMAIL PROTECTED]] Unfortunately, it looks like views are broken when using aggregations, even in 2.0.3-dev. Can anyone confirm this? Huh? I mean, what's broken in 2.0.3? Short test case, please. map:views map:view from-label=content

Re: SQLTransformer, multiple execute-query siblings?

2002-06-21 Thread Jens Lorenz
- Original Message - From: Argyn Kuketayev [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 21, 2002 4:27 PM Subject: RE: SQLTransformer, multiple execute-query siblings? it doesn't support two nested queries on the same level of nesting, as far as I remember after looking

Re: Lucene and cocoon-view

2002-06-21 Thread leo leonid
On Friday, June 21, 2002, at 04:34 Uhr, Ugo Cei wrote: Vadim Gritsenko wrote: From: Ugo Cei [mailto:[EMAIL PROTECTED]] Unfortunately, it looks like views are broken when using aggregations, even in 2.0.3-dev. Can anyone confirm this? Huh? I mean, what's broken in 2.0.3? Short test case,

RE: SQLTransformer, multiple execute-query siblings?

2002-06-21 Thread Argyn Kuketayev
maybe I'm wrong, but it didn't look very difficult to me at that time (two months ago). The issue was with stack of queries: whenever the new /esql:execute-query tag was ended, transformer would go up in the stack. So, if there was a second nested query, then the tranformer would mess up the

RE: SQLTransformer, multiple execute-query siblings?

2002-06-21 Thread Luca Morandini
Bertrand, could, just possibly, a sub-select fit the bill ? something like: SELECT Name FROM Employee WHERE Ssn IN ( SELECT DISTINCT PMSsn FROM Projects WHERE Status = 'open' ) Best regards,

Re: Lucene and cocoon-view

2002-06-21 Thread Ugo Cei
leo leonid wrote: When I request index?cocoon-view=content I should get the result of the aggregation before the transformation, right? no, you missed to add a label=content to somepart or anotherpart. /Leo The label is associated with all of the generators in the map:components

Re: [doc] draft FAQ xinclude/cinclude

2002-06-21 Thread Diana Shannon
On Friday, June 21, 2002, at 10:25 AM, Lai, Harry wrote: Thanks Harry. Hi Diana, This looks like a great summary to me! Just FYI, I also found an older post indicating that CInclude has better performance than XInclude (mentioned near the bottom of the post).

Re: Lucene and cocoon-view

2002-06-21 Thread leo leonid
On Friday, June 21, 2002, at 04:57 Uhr, Ugo Cei wrote: leo leonid wrote: When I request index?cocoon-view=content I should get the result of the aggregation before the transformation, right? no, you missed to add a label=content to somepart or anotherpart. /Leo The label is associated

RE: Cocoon 2.0.3 problems...

2002-06-21 Thread Per Kreipke
Stuart, I'm using 2.0.3 CVS all the time, never seen any NPE of this kind. Last time I ran C203 with T404 was yesterday, and still, no NPE. Vadim This sounds to me like this fault: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9701 I'm fairly convinced there is

where can i download cocoon2.0.3 ?

2002-06-21 Thread tolga tunca
i can't find cocoon2.0.3 in the cocoon web site. latest distribution is cocoon2.0.2 in the downloads section. __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com

RE: Lucene and cocoon-view

2002-06-21 Thread Vadim Gritsenko
From: Ugo Cei [mailto:[EMAIL PROTECTED]] leo leonid wrote: When I request index?cocoon-view=content I should get the result of the aggregation before the transformation, right? no, you missed to add a label=content to somepart or anotherpart. Or map:aggregate itself. /Leo

RE: Cocoon 2.0.3 problems...

2002-06-21 Thread Vadim Gritsenko
From: Per Kreipke [mailto:[EMAIL PROTECTED]] Stuart, I'm using 2.0.3 CVS all the time, never seen any NPE of this kind. Last time I ran C203 with T404 was yesterday, and still, no NPE. Vadim This sounds to me like this fault:

RE: Cocoon 2.0.3 problems...

2002-06-21 Thread Per Kreipke
Or, is this a problem with the classloader and JAXP (the same problem that was fixed in 2.1)? Details: http://marc.theaimsgroup.com/?l=xml-cocoon-devm=102380326124346w=2 Should this be moved back into 2.0.3? Stuart, I'm using 2.0.3 CVS all the time, never seen any NPE of this kind. Last

RE: Cocoon 2.0.3 problems...

2002-06-21 Thread Per Kreipke
Vadim, Thanks. java version 1.3.1 Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24) Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode) Win2k. Did you have to do anything to make Excalibur pick up the JAXP parser? E.g. -Dblahblah on the execution line or somesuch?

RE: where can i download cocoon2.0.3 ?

2002-06-21 Thread Ricardo Trindade
They are refering to CVS or daily snapshot. -Original Message- From: tolga tunca [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 21 de Junho de 2002 16:25 To: [EMAIL PROTECTED] Subject: where can i download cocoon2.0.3 ? i can't find cocoon2.0.3 in the cocoon web site. latest

RE: Cocoon 2.0.3 problems...

2002-06-21 Thread Vadim Gritsenko
From: Per Kreipke [mailto:[EMAIL PROTECTED]] Did you have to do anything to make Excalibur pick up the JAXP parser? E.g. -Dblahblah on the execution line or somesuch? No, never, see install doc. Here's what I think you've told me so far: - you've built 2.0.3 as it is in CVS (any

RE: where can i download cocoon2.0.3 ?

2002-06-21 Thread Vadim Gritsenko
From: Ricardo Trindade [mailto:[EMAIL PROTECTED]] They are refering to CVS *branch*. See http://cvs.apache.org/ or daily snapshot. Snapshot is a 2.1-alpha. Vadim -Original Message- From: tolga tunca [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 21 de Junho de 2002 16:25

RE: Cocoon 2.0.3 problems...

2002-06-21 Thread Vadim Gritsenko
Per, Forgot to tell you one thing every newbie should do... DO THIS EVERY TIME YOU GET NEW VERSION OR UPDATE CVS 1) rm -rf $COCOON_HOME/build/cocoon 2) rm -rf $TOMCAT_HOME/work/cocoon Vadim From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] From: Per Kreipke [mailto:[EMAIL PROTECTED]]

Re: SQLTransformer, multiple execute-query siblings?

2002-06-21 Thread Jens Lorenz
- Original Message - From: Jens Lorenz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 21, 2002 4:40 PM Subject: Re: SQLTransformer, multiple execute-query siblings? From: Argyn Kuketayev [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 21, 2002 4:27 PM Subject:

RE: SQLTransformer, multiple execute-query siblings?

2002-06-21 Thread Luca Morandini
Jens, I beg your pardon, but, what's the use of having such nested queries ? In this sample, wouldn't: select id, name from employee_table where department_id in ( select id from department_table ) be simpler ? Not to

RE: SQLTransformer, multiple execute-query siblings?

2002-06-21 Thread Argyn Kuketayev
Your example shows that it's possible to have one nested query inside another one. But it doesn't show that you may have sibling nested queries. as far as I remember, you can have only one child (nested query), but that child can have one child too and so on. you can't have this: page

RE: SQLTransformer, multiple execute-query siblings?

2002-06-21 Thread Argyn Kuketayev
suppose you want to have this xml: P row1 p-name/p-address/ c1 row1c1-name//row1 row2.. /c1 c2 row1c2-name//row1 row2.. /c2 /row1 row2 . /P here, P-parent, c1, c2 - children -Original Message- From: Luca Morandini [mailto:[EMAIL PROTECTED]] Sent:

RE: SQLTransformer, multiple execute-query siblings?

2002-06-21 Thread Luca Morandini
Argyn, oh, I see... In such a case I'd make a nice XSL to convert the query results to the format I like (I've posted such an XSL some time ago). Anyway, I can see the rationale. The point is that SQL produces rowset (inherently NOT hierarchycal), while XML is strongly hierarchycal. I

How can I configure Cocoon2 to run my JSP's ?

2002-06-21 Thread tolga tunca
I am using Tomcat 4.0.1 , Cocoon 2.0.2 . I have my JSP's, they generate valid XML's. But I couldn't see them working with C2. I tried the JSP Generator and JSP Reader examples of C2 but they didn't work too. I put the error message below, maybe it will be helpful. Any help would be appreciated.

xsl:message in C2

2002-06-21 Thread gorillacommunications
Hi All, Where does the output of xsl:message go in C2/Tomcat4.0.3/Win2K? In C1 it went to the tomcat console window. Thanks, Leona - Please check that your question has not already been answered in the FAQ before posting.

RE: Cocoon 2.0.3 problems...

2002-06-21 Thread Per Kreipke
Finally :-) Forgot to tell you one thing every newbie should do... DO THIS EVERY TIME YOU GET NEW VERSION OR UPDATE CVS 1) rm -rf $COCOON_HOME/build/cocoon 2) rm -rf $TOMCAT_HOME/work/cocoon Yep, did those for the Nth time. Then I decided to get the latest 1.3.X JDK and see if that

Re: Help on displaying both image and content in one output

2002-06-21 Thread Bert Van Kets
At 23:49 20/06/2002 +0200, you wrote: Sreenivasan N. wrote: hi all I would like to display my output with a image and content. Basically i would like to give user output with a chart using svg2jpg serializer and html output using an XSP taking data from database. Is it possible in cocoon..?

Re: using frames

2002-06-21 Thread Bert Van Kets
If you call myhomepagemenu and myhomepagemain, do you get some content? If you don't, you should check you xsl files if they are correct and give you any content. Bert At 21:02 21/06/2002 +0200, you wrote: hi! i want to use frames in my hompage - so i did this. in my index.xsp -- frameset

RE: Cocoon 2.0.3 problems...

2002-06-21 Thread Per Kreipke
P.s. Thank you, Vadim et al, for your help! - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL

RE:

2002-06-21 Thread Geoff Howard
Looks like you're using WebSphere? I wonder if there is a bug/conflict with the error handling process when run on WebSphere. Are you testing the error handling, or are there two problems here - one that your pipeline is throwing an error and the other that the error handling isn't working? Is