Cocoon 2.1 CVS and Java 1.4.2

2003-07-01 Thread Antonio Gallardo
Hi: Just reporting that Cocoon 2.1 CVS run using Sun Java 1.4.2. My config: Red Hat Linux 9 Java 1.4.2 Tomcat 4.1.24 Cocoon 2.1 CVS Best Regards, Antonio Gallardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

RuntimeException : The sitemap is null

2003-07-01 Thread GUILLAUME Gabriel FTRD/DIH/HDM REN
Hi folks, I'm currently performing some load tests on the following configuration : cocoon 2.0.4 resin 2.1.9 SUN JDK 1.4.003 Linux (RH 9) After 5-10 minutes, I got the following "well known" RuntimeException : The sitemap is null. I've seen on the cocoon-dev archive that a bug report has been re

Mount vs File for logicsheets inside cocoon.xconf

2003-07-01 Thread Derek Hohls
I'd appreciate a brief explanation (or pointer to such) as to why: works (placed inside the section of cocoon.xconf) and why: gives an error (the file could not be located). I have seen both forms of referencing used in examples, but cannot get the latter to work... can someone suggest w

esql:getXXX - wrong diagnostics?

2003-07-01 Thread Dmitry Diskin
Hello I have been struggling with the following problem for a while: if I specify non-existing column name in tag, I get the following error message: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing statement: sel

newbie question with wildcard in sitemap

2003-07-01 Thread Sliman Bouchareb
hi cocooners, i have the following directory structrue: cocoon:| |protected- |-docs - |-home |-fr |. |-stylsheets

Re: newbie question with wildcard in sitemap

2003-07-01 Thread Joerg Heinicke
You have a surrounding not only this . This makes it necessary to use {../1}: Regards, Joerg Sliman Bouchareb wrote: hi cocooners, i have the following directory structrue: cocoon:| |protected- |-docs - |-home

how long still a session valid ?

2003-07-01 Thread Sliman Bouchareb
hi, im using : is there a time out or something like that in the session-validator ? many thanx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Cache Key

2003-07-01 Thread David LAGARDERE
Hello. I'm doing an extensive use of cache and I'd like to be sure that every key is unique. Can the Hash algorithm provided with Cocoon (buzhash) generate two identical keys ? If so, what will happen ? Thanks in advance David LAGARDERE __

Re: Mount vs File for logicsheets inside cocoon.xconf

2003-07-01 Thread Vadim Gritsenko
Derek Hohls wrote: I'd appreciate a brief explanation (or pointer to such) as to why: works (placed inside the section of cocoon.xconf) and why: gives an error (the file could not be located). I have seen both forms of referencing used in examples, but cannot get the latter to work... ca

background task management

2003-07-01 Thread David Kavanagh
For those who were interested in something to manage background tasks in cocoon, have a look at bug 20271 in the bugzilla database. Please vote for it so it gets some attention. Thanks, David

sendMail using Logicsheet

2003-07-01 Thread Yan, Charlene
All,   It may be a silly question.  I'm using Cocoon2.1M2's sendMail example.  http://localhost:8080/cocoon/samples/mail/sendmail/new.html.  When I tried to use sendMail by logicsheet, after the email is sent, there is "setup done" message on the next page.  I cannot find out where the messag

LDAP Transformer

2003-07-01 Thread Maxime.Gheysen
hello, I have integrated ldap into my portal as identhification system. My problem is that I have to put a filter to search all users from these seven groups : DG_IT-CLI-DAR_A_00 to DG_IT-CLI-DAR_A_06 I have to ways, the first would be to set into my filter a parameter in the sitemap, like But i

Accessing file in selector

2003-07-01 Thread Paul Bowler
I'm creating a new selector that takes in an xml configuration file as a parameter from the sitemap. The selector, unlike other components such as Transformers, does not have access to a SourceResolver object so my component cannot find the xml file passed to it. How can I access the Source ob

Re: LDAP Transformer

2003-07-01 Thread Yury Mikhienko
On Tue, 1 Jul 2003 14:55:52 +0200 <[EMAIL PROTECTED]> wrote: > hello, > I have integrated ldap into my portal as identhification system. > My problem is that I have to put a filter to search all users from these > seven groups : > DG_IT-CLI-DAR_A_00 to DG_IT-CLI-DAR_A_06 > I have to ways, the firs

RE: LDAP Transformer

2003-07-01 Thread Maxime.Gheysen
it doesn't work. As I said the filter cannot be definied as parameter in the sitemap. It returns the error [LDAPTransformer] Error in LDAP-Query: javax.naming.directory.InvalidSearchFilterException: Empty filter; It must be a bug or so... But refering to the original may, with the other way to se

Howto use a generated stylesheet

2003-07-01 Thread Olivier Billard
Hi all ! I'm trying to use a generated stylesheet for an xsl transformer and I get this error : org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon:/picto-filter.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler He

Re: Howto use a generated stylesheet

2003-07-01 Thread Olivier GUCKERT
Olivier Billard a écrit : > > Hi all ! > > I'm trying to use a generated stylesheet for an xsl transformer and I get this error > : > > org.apache.cocoon.ProcessingException: Unable to get transformer handler for > cocoon:/picto-filter.xsl: > org.apache.excalibur.xml.xslt.XSLTProcessorExcept

RE: LDAP Transformer

2003-07-01 Thread Maxime.Gheysen
I think there must be a way other than set the parameter in the sitemap like : from the ldap.xml write something like that : (&(cn=)) Is that possible? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] .org] Sent: Tuesday, July 01, 2003 3:59 PM To: [EMAIL PROTECTED] S

Re: Howto use a generated stylesheet

2003-07-01 Thread Olivier Billard
Thanks Olivier but this syntax is not correct. You must put a "/" to refer to the current sitemap, and "//" to refer to the root sitemap (or maybe the inverse). -- Olivier BILLARD Olivier GUCKERT wrote: Olivier Billard a écrit : Hi all ! I'm trying to use a generated stylesheet for an xsl

Re: Howto use a generated stylesheet

2003-07-01 Thread Upayavira
Check out: http://wiki.cocoondev.org/Wiki.jsp?page=MetaStylesheets Regards, Upayavira On 1 Jul 2003 at 16:06, Olivier GUCKERT wrote: > > > Olivier Billard a écrit : > > > > Hi all ! > > > > I'm trying to use a generated stylesheet for an xsl transformer and > > I get this error : > > > > org.a

RE: Howto use a generated stylesheet

2003-07-01 Thread Orson Davis
The stylesheet must be available before the pipeline is setup. The setup, configure and compose methods for each component in a pipeline is called before the startdocument method is called. In the case of the org.apache.cocoon.transformation.TraxTransformer the call to the stylesheet is made in b

RE: LDAP Transformer with XSP page?

2003-07-01 Thread Maxime.Gheysen
Is it possible to create the ldap.xml, with the ldap queries in a xsp page? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] .org] Sent: Tuesday, July 01, 2003 4:10 PM To: [EMAIL PROTECTED] Subject: RE: LDAP Transformer I think there must be a way other than set the

RE: Howto use a generated stylesheet

2003-07-01 Thread Upayavira
On 1 Jul 2003 at 9:19, Orson Davis wrote: > The stylesheet must be available before the pipeline is setup. The > setup, configure and compose methods for each component in a pipeline > is called before the startdocument method is called. In the case of > the org.apache.cocoon.transformation.Trax

RE: Howto use a generated stylesheet

2003-07-01 Thread Orson Davis
Sadly, for my application no. I am breaking all the rules and having the xml determine which stylesheet I want to use. :-( It is a legacy app and that was the easiest way to update it from cocoon 1.8.1 to cocoon 2.0.4 -Original Message- From: Upayavira [mailto:[EMAIL PROTECTED] Sent: Tue

SourceResolver in Selector?

2003-07-01 Thread Paul Bowler
Anyone know how to resolve a URI within a selector? No SourceResolver is passed to it, unlike a Transformer, and I'm trying to gain access to a local XML file with no luck. Thanks, Paul. - To unsubscribe, e-mail: [EMAIL PROTE

RE: Howto use a generated stylesheet

2003-07-01 Thread Upayavira
On 1 Jul 2003 at 9:19, Orson Davis wrote: > The stylesheet must be available before the pipeline is setup. The > setup, configure and compose methods for each component in a pipeline > is called before the startdocument method is called. In the case of > the org.apache.cocoon.transformation.Trax

Re: Howto use a generated stylesheet

2003-07-01 Thread Olivier Billard
Thanks Upayavira ! Unfortunately, using the http:// protocol isn't very portable... "Con" and "StephenNg" were able to use the cocoon protocol... I'll ask them. I'm using the CVS version of cocoon. Thanks again... -- Olivier Upayavira wrote: Check out: http://wiki.cocoondev.org/Wiki.jsp?page

XUpdate questions

2003-07-01 Thread jm
hi all, i have one complex xml-document which i want to edit via my webbrowser with some kinds of forms so i don't really need a heavy CMS. i read about xmlforms, xforms and then i came across XUpdate which sounds like that i'm looking for. (but i would be glad about any system which is easy

RE: XUpdate questions

2003-07-01 Thread Jonathan Spaeth
Title: RE: XUpdate questions The Xupdate functionality comes with the xindice database.  (See the wiki for more information on how to integrate xindice). Jon -Original Message- From: jm [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 01, 2003 9:43 AM To: [EMAIL PROTECTED] Subject: X

Re: Howto use a generated stylesheet

2003-07-01 Thread Joerg Heinicke
Hello Olivier, your sitemap looks absolutely ok and I can't spot any error. We did such things too and everything works without any problems. No http:// needed, nothing with wrong order of initialization of components. Olivier Billard wrote: Hi all ! I'm trying to use a generated stylesheet fo

problem with WebServiceProxyGenerator

2003-07-01 Thread "Hübner, Stefan"
Title: problem with WebServiceProxyGenerator Hello out there, I'm developing a webapp with cocoon-2.1m2 and want to use the wsproxy. but wsproxy doesn't work, instead it throws an IllegalArgumentException "host parameter is null". the configuration is quite simple and should be correct - as

Re: background task management

2003-07-01 Thread Peter Nuetzel . inglobo
Hi David, I am interested in your background task manager. I downloaded your document and your code from Bugzilla and found that several source files are missing. e.g. the Actions described in the document and com.dotech.cocoon.environment.thread.BackgroundThreadEnvironment used by the FileUpload

Unable to get transformer handler...

2003-07-01 Thread James Cummings
Hiya, I'm really new to cocoon so am probably doing something completely wrong. But using cocoon 2.1m3-dev, I want to grab a particular elment by id() from an xml file in the first step of a pipeline, and convert the result to html in the second step. In each instance I want the parameters in th

Pipelines and error handling

2003-07-01 Thread Eddy Fras
Hi, I have a problem with Cocoon 2.0.4 and error handling in a homemade Transformer. I declared an error-handler in my sitemap and when a SAX exception is thrown in the transformer, the handler applies a specific XSL stylesheet on the generated error code. The problem is that when the error occurs

Re: Howto use a generated stylesheet

2003-07-01 Thread Olivier Billard
Thanks Joerg for your answer, It is in fact an error in my xsl, as I wrote on "Cocoon-dev"... I'm very happy to see that the cocoon protocol works fine with transformers... I'm now looking for the solution of the next problem (there is always a next problem... ;)) Thanks again !! -- Olivier Joer

[Fwd: RE: Link Livesites: http://www.ctg.albany.edu]

2003-07-01 Thread Joerg Heinicke
FYI Joerg Original Message Subject: RE: Link Livesites: http://www.ctg.albany.edu Date: Tue, 1 Jul 2003 09:03:26 -0400 From: Jim Costello <[EMAIL PROTECTED]> To: 'Joerg Heinicke' <[EMAIL PROTECTED]> Joerg and Derek, The white paper (which is nearly a year old) on our Web site

Re: background task management

2003-07-01 Thread David Kavanagh
Peter, Thanks for finding the omission. I've uploaded a zip including the two actions. Yes, that environment object was needed to keep the underlying code happy. I don't do anything with the pipeline results. I just scan for elements because I was doing some SQL commands via the SQLTransforme

RE: Howto use a generated stylesheet

2003-07-01 Thread Orson Davis
Looking at how everything uses the avalon framework it appears that the initialize, configure and setup methods are called on every component of a pipeline before any processing occurs. Whether that includes components of subpipelines I don't know, but in the case of Olivier Billard and his sitema

AW: how long still a session valid ?

2003-07-01 Thread Markus Heussen
Hi, by default the session valid periode depend on the servlet engine and its configuration you are using. but you can set the session invalid interval within your xsp page: look at the documentation at http://cocoon.apache.org/2.1/userdocs/xsp/session.html Markus -Ursprüngliche Nachricht

Re: Howto use a generated stylesheet

2003-07-01 Thread Olivier Billard
Hi Orson ! The problem is solved, finally ! As I wrote in my previous mail, the problem came from an error in the transformation... The cocoon protocol works in the transformer... Thanks anyway for your answer ! -- Olivier Orson Davis wrote: Looking at how everything uses the avalon framework

question: adapting matchers to environment

2003-07-01 Thread FREDERICK E WAYNE
hullo all, we're running a cocoon site in multiple places. each of the developers has their own local tomcat/cocoon install, plus we have the production server. trouble is, the production server has a slightly different environment. URIs have to be a little different: development: http://local

Re: RuntimeException : The sitemap is null

2003-07-01 Thread Sylvain Wallez
GUILLAUME Gabriel FTRD/DIH/HDM REN wrote: Hi folks, I'm currently performing some load tests on the following configuration : cocoon 2.0.4 resin 2.1.9 SUN JDK 1.4.003 Linux (RH 9) After 5-10 minutes, I got the following "well known" RuntimeException : The sitemap is null. I've seen on the cocoon

Re: problem with WebServiceProxyGenerator

2003-07-01 Thread Tony Collen
Hübner, Stefan wrote: Hello out there, I'm developing a webapp with cocoon-2.1m2 and want to use the wsproxy. but wsproxy doesn't work, instead it throws an IllegalArgumentException "host parameter is null". the configuration is quite simple and should be correct - as far as the documentation is u

[ANNOUNCE] Cocoon Training Classes in July, August

2003-07-01 Thread Lajos
Hi all - Just a reminder that I will be giving my "Building Cocoon Applications" class July 14-17 in Colorado Springs, CO, USA. This is a four-day crash course in everything you need to know to build Cocoon-based applications. We cover sitemap logs, XSPs, logicsheets, actions, portals, authent

Re: Cocoon 2.1 CVS and Java 1.4.2

2003-07-01 Thread Andreas Hochsteger
The same over here. My config: * SuSE Linux 8.2 * Sun J2SDK 1.4.2 * Tomcat 4.1.24 * Cocoon CVS from yesterday Antonio Gallardo wrote: Hi: Just reporting that Cocoon 2.1 CVS run using Sun Java 1.4.2. My config: Red Hat Linux 9 Java 1.4.2 Tomcat 4.1.24 Cocoon 2.1 CVS Best Regards, Antonio Gallard

Trouble with if

2003-07-01 Thread Tim Bachta
I am having trouble with an xsl:if condition. I am testing to see if the date value is the same as the previous date value. If it is I want to skip over the code otherwise I want it to execute the code, simple, here is my code: (the xsl:variable is declared under the stylesheet element as Xml

Re: problem with WebServiceProxyGenerator

2003-07-01 Thread Joerg Heinicke
There seems to be a real problem with WebServiceProxyGenerator: http://www.mail-archive.com/[EMAIL PROTECTED]/msg27925.html Joerg Tony Collen wrote: Hübner, Stefan wrote: Hello out there, I'm developing a webapp with cocoon-2.1m2 and want to use the wsproxy. but wsproxy doesn't work, instead

Re: problem with WebServiceProxyGenerator

2003-07-01 Thread Tony Collen
Joerg Heinicke wrote: There seems to be a real problem with WebServiceProxyGenerator: http://www.mail-archive.com/[EMAIL PROTECTED]/msg27925.html Yeah, It's looking that way :( I've noticed posts from other people asking about this, too -- no replies. I'm a little short on time this afternoon, I

Re: Trouble with if

2003-07-01 Thread Joerg Heinicke
Group your data by , anything else won't work. http://www.jenitennison.com/xslt/grouping/muenchian.xml http://www.dpawson.co.uk/xsl/sect2/N4486.html Joerg Tim Bachta wrote: I am having trouble with an xsl:if condition. I am testing to see if the date value is the same as the previous date value.

Re: Unable to get transformer handler...

2003-07-01 Thread Joerg Heinicke
Hello James, James Cummings wrote: Hiya, I'm really new to cocoon so am probably doing something completely wrong. But using cocoon 2.1m3-dev, I want to grab a particular elment by id() from an xml file in the first step of a pipeline, and convert the result to html in the second step. In each i

Re: XUpdate questions

2003-07-01 Thread Erik Bruchez
I am not sure if this is 100% relevant to your need, as it looks like you may need XIndice, but we will release soon an XUpdate processor that we developed independently from the XUpdate implementation that comes with XIndice. It will work with our framework OXF (www.orbeon.com/oxf), but will also

Re: esql:getXXX - wrong diagnostics?

2003-07-01 Thread Joerg Heinicke
Why? You use a not existing column name and you get the message "Invalid column name". What's wrong with it? Joerg Dmitry Diskin wrote: Hello I have been struggling with the following problem for a while: if I specify non-existing column name in tag, I get the following error message: org.ap

Re: Trouble with if

2003-07-01 Thread Erik Bruchez
If you just want to ignore the subsequent productivity-line records with the same date, i.e. you are only concerned about the first record for a given date, AND records with the same date are ordered, you could use something like: > Group your data by , anything else won't work. > > http://www.j

Re: including a static XML file in the return from my sql call?

2003-07-01 Thread Joerg Heinicke
Have a look on the output of the render-logic5.xsl transformation. You have maybe kicked the sql:* elements out of your XML. Joerg Paul Tomsic wrote: I'm trying to import a static XML file into the results of my SQL call. Here's my sitemap.xmap block:

Re: esql:getXXX - wrong diagnostics?

2003-07-01 Thread Erik Bruchez
Probably that Dmitry would have found a line number pointing to his element in the XSP file useful. -Erik Joerg Heinicke wrote: Why? You use a not existing column name and you get the message "Invalid column name". What's wrong with it? Joerg Dmitry Diskin wrote: Hello I have been struggl

RE: problem with WebServiceProxyGenerator

2003-07-01 Thread Lenz, Evan
I have been periodically scanning the list for almost a year, hoping that someone would take this bull by the horns, i.e. wsproxy in general. At SU Law, we are currently supporting legacy ASP pages through use of the HTMLGenerator and hard-coded GET params in sitemap.xmap. I have really been lookin

RE: Trouble with if

2003-07-01 Thread Tim Bachta
Can you give me an example of what you are referring to? Tim Bachta -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2003 2:12 PM To: [EMAIL PROTECTED] Subject: Re: Trouble with if Group your data by , anything else won't work. http://www.je

Re: problem with WebServiceProxyGenerator

2003-07-01 Thread Tony Collen
Lenz, Evan wrote: I have been periodically scanning the list for almost a year, hoping that someone would take this bull by the horns, i.e. wsproxy in general. At SU Law, we are currently supporting legacy ASP pages through use of the HTMLGenerator and hard-coded GET params in sitemap.xmap. I have

Re: esql:getXXX - wrong diagnostics?

2003-07-01 Thread Joerg Heinicke
Ah, I misread this. But this can't be fixed until a complete refactoring of XSP. At the moment it's an XSLT transformation to a java file. The binding to the original XSP is completely lost. Joerg Erik Bruchez wrote: Probably that Dmitry would have found a line number pointing to his element

Re: Trouble with if

2003-07-01 Thread Joerg Heinicke
... Please use a more appropriate forum like Mulberry's xslt list for pure XSLT questions: http://www.mulberrytech.com/xsl/xsl-list/. Joerg Tim Bachta wrote: Can you give me an example of what you are referring to? Tim Bachta -Original Message- From: Joerg Heinicke

RE: problem with WebServiceProxyGenerator

2003-07-01 Thread Lenz, Evan
> A year?! Yoink. I had some mods to the WSPG a while ago and I know it > was working correctly. I > don't think they were that long ago, though. Sorry, I didn't mean to imply that it had been completely broken for a year, but just that for whatever reason it has never been up to snuff for what

Re: background task management

2003-07-01 Thread Peter Nuetzel . inglobo
Hi David, there are still missing the sources for com.dotech.cocoon.environment.thread.BackgroundThreadEnvironment and com.dotech.messaging.Message to compile all classes. The latter one is less interesting, but the BackgroundThreadEnvironment seems to be pretty cocoon specific ;-) I would suggest

Re: background task management

2003-07-01 Thread Peter Nuetzel . inglobo
Hi David, there are still missing the sources for com.dotech.cocoon.environment.thread.BackgroundThreadEnvironment and com.dotech.messaging.Message to compile all classes. The latter one is less interesting, but the BackgroundThreadEnvironment seems to be pretty cocoon specific ;-) I would suggest

XSP examples not working in Cocoon 1.8.2

2003-07-01 Thread Mark Vitale
When I load the example /xsp/page.xml (First XSP Page and pure content version) I get the folowing error: java.lang.Exception: XSP Java Compiler: Compilation failed for _page.java error: An error has occurred in the compiler; please file a bug report http://java.sun.com/cgi-bin/bugreport.cgi). 1 e

Re: XUpdate questions

2003-07-01 Thread Michael Wechner
Erik Bruchez wrote: I am not sure if this is 100% relevant to your need, as it looks like you may need XIndice, but we will release soon an XUpdate processor that we developed independently from the XUpdate implementation that comes with XIndice. Under what software license will your XUpdate pro

Re: sendMail using Logicsheet

2003-07-01 Thread Christian Haul
Yan, Charlene wrote: It may be a silly question. I'm using Cocoon2.1M2's sendMail example. http://localhost:8080/cocoon/samples/mail/sendmail/new.html. When I tried to use sendMail by logicsheet, after the email is sent, there is "setup done" message on the next page. I cannot find out where

Re: XUpdate questions

2003-07-01 Thread Erik Bruchez
Michael Wechner wrote: > Erik Bruchez wrote: > >> I am not sure if this is 100% relevant to your need, as it looks >> like you may need XIndice, but we will release soon an XUpdate >> processor that we developed independently from the XUpdate >> implementation that comes with XIndice. > > Under wh

Antw: RE: LDAP Transformer with XSP page?

2003-07-01 Thread Martin Geissler
Hello Maxime, it is possible. the xsp page has to generate the correct xml syntax for the LDAP transformer. (example at wiki) Martin >>> [EMAIL PROTECTED] Dienstag, 1. Juli 2003 16:20:59 >>> Is it possible to create the ldap.xml, with the ldap queries in a xsp page? -Original Message-

Re: LDAP Transformer with XSP page?

2003-07-01 Thread Yury Mikhienko
On Tue, 1 Jul 2003 16:20:59 +0200 <[EMAIL PROTECTED]> wrote: > Is it possible to create the ldap.xml, with the ldap queries in a xsp > page? > Yes, for example: http://apache.org/xsp"; xmlns:ldap="http://apache.org/cocoon/LDAP/1.0";> String cn = request.getParameter("cn

RE: SourceResolver in Selector?

2003-07-01 Thread GUILLAUME Gabriel FTRD/DIH/HDM REN
Hi, I have developped a matcher that use a SourceResolver as follows 1) My class implements the import org.apache.avalon.framework.component.Composable interface 2) I get the ComponentManager as follows /** The component manager instance */ protected org.apache.avalon.framework.component