[HELP] What's wrong?

2002-10-16 Thread simo kauranen
All of a sudden cocoon can't find my transformer and gives the next error message: org.apache.avalon.framework.component.ComponentException: UnnamedSelector: ComponentSelector could not find the component for hint: store Here are the critical parts of my sitemap: ... map:transformers

AW: [HELP] What's wrong?

2002-10-16 Thread Sternath Elmar
are you sure that org.apache.cocoon.transformation is the correct package path of your Transformer? If so, check if the Transformer is contained in webapps/cocoon/WEB-INF/lib/cocoon.jar. However I would recommend to use a specific package path for your own components, generate also your

Re: AW: [HELP] What's wrong?

2002-10-16 Thread simo kauranen
As a matter of fact cocoon finds my transformer (which I have written myself and which is placed in WEB-INF/classes/org/apache/cocoon/transformation) in the components element, otherwise it would throw ClassNotFoundException. The problem is that cocoon don't understand my call for

Re: PosgreSQL and Modular DB Actions.

2002-10-16 Thread Christian Haul
On 15.Oct.2002 -- 07:26 PM, Bobby Mitchell wrote: Antonio Gallardo Rivera wrote: Hi, I am trying to run the Modular Dabatase Example from the Cocoon site, but with PostgreSQL 7.2. I am using Cocoon 2.1 (lastest CVS), Java 1.4.1, Tomcat 4.1.12 on Red Hat Linux 7.3. Someone make it

Re: How to insert multiple rows in a table at once?

2002-10-16 Thread Christian Haul
On 15.Oct.2002 -- 08:05 PM, Tuomo Lesonen wrote: In your sitemap inside map:actions put: map:action name=mod-db-add src=org.apache.cocoon.acting.modular.DatabaseAddAction descriptorcontext://foo/bar/database.xml/descriptor throw-exceptiontrue/throw-exception /map:action In

Re: PosgreSQL and Modular DB Actions.

2002-10-16 Thread Antonio Gallardo Rivera
Can you send me the PostgreSQL module Christian? Antonio Gallardo El Miércoles, 16 de Octubre de 2002 01:47, Christian Haul escribió: On 15.Oct.2002 -- 07:26 PM, Bobby Mitchell wrote: Antonio Gallardo Rivera wrote: Hi, I am trying to run the Modular Dabatase Example from the Cocoon

Re: Proposal: Documentation about database connection

2002-10-16 Thread Antonio Gallardo Rivera
I think this is fine. What about to make it in Wiki? Antonio Gallardo El Martes, 15 de Octubre de 2002 23:40, Gabriele Domenichini escribió: What about setting up a page with the configurations needed to connect cocoon to the various database ? There is already something but is distributed

Re: Proposal: Documentation about database connection

2002-10-16 Thread Barbara Post
This is great, I can provide the part for Tamino 3.1, XML native DB. However, I would need to host a small zip file somewhere, since the officially released jar is not ok for now... A colleague modified the classes for it to work with Cocoon. Within some months changes are expected : version 4.1

Cocoon components list

2002-10-16 Thread Sylvain.Thevoz
Hello, I have just finished to read the Carsten and Matthew Cocoon book. I recommend this book to all of the persons who want to start in Cocoon. In the book there is a part that is very useful for Cocoon users (I think): the Cocoon components list (Appendix A). But the book lists the

Coocon Error Handling

2002-10-16 Thread Murari
In cocoon we have this tag to show the error message map:handle-errors map:transform src=../stylesheets/system/error2html.xsl/ map:serialize status-code=500/ /map:handle-errors But I

Request parameters in a cocoon:/

2002-10-16 Thread ROSSEL Olivier
When you call a cocoon:/ from your pipeline, the sitemap calls itself. But inside this new call, you lose the initial request parameters. Is there a way to set new request-parameters for the cocoon:/ call? Or keep the intial request parameters when the sitemap calls itself? This e-mail is

Re: [newbie] wml serializer

2002-10-16 Thread Johannes Koch
Zein Dowe wrote: I got this one in my Sitemap: map:serializer logger=sitemap.serializer.wml mime-type=text/vnd.wap.wml name=wml src=org.apache.cocoon.serialization.XMLSerializer doctype-public-//WAPFORUM//DTD WML 1.1//EN/doctype-public

Caching Problem

2002-10-16 Thread Johann Romefort
Hi, I got a problem when calling a pipeline with the cocoon:/ protocol. I always get a cached xml response instead of the updated content. I turned the pipeline component configuration to noncaching but it does not seems to work. Here is the snippet from my sitemap. map:pipeline map:match

[SUMMARY] Exception object in handle-errors? Re: Coocon Error Handling

2002-10-16 Thread Nicola Ken Barozzi
Murari wrote: In cocoon we have this tag to show the error message map:handle-errors map:transform src=../stylesheets/system/error2html.xsl/ map:serialize status-code=500/

RE: [SUMMARY] Exception object in handle-errors? Re: Coocon Error Handling

2002-10-16 Thread Murari
Hello, I m not able to get that object in action...can u tell me how will I get this object in XSP and how will I call get and set method on that. -Original Message- From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 6:28 PM To: [EMAIL PROTECTED]

XLS serializer and non-english characters

2002-10-16 Thread Yury Mikhienko
Hello folks! Can I use non-english characters in xls document (dynamically generated by HSSFSerializer)? I'm trying the following configuration: map:serializer name=xls src=org.apache.cocoon.serialization.HSSFSerializer mime-type=application/vnd.ms-excel encodingKOI8-R/encoding

Re: XLS serializer and non-english characters

2002-10-16 Thread Andrew C. Oliver
There is a minor problem I have not had time to correct yet. encoding is an attribute, but if its set the serializer should check that its non-us/uk/aus and in that case set encoding to 16-bit. However currently it just assumes 8-bit. I'm under a mountain of to-dos but thats at the top of my

Re: PosgreSQL and Modular DB Actions.

2002-10-16 Thread Bobby Mitchell
Sure, I can work on that. Christian Haul wrote: On 15.Oct.2002 -- 07:26 PM, Bobby Mitchell wrote: Antonio Gallardo Rivera wrote: Hi, I am trying to run the Modular Dabatase Example from the Cocoon site, but with PostgreSQL 7.2. I am using Cocoon 2.1 (lastest CVS), Java 1.4.1, Tomcat 4.1.12

Re: XLS serializer and non-english characters

2002-10-16 Thread Yury Mikhienko
On 16 Oct 2002 07:16:29 -0400 Andrew C. Oliver [EMAIL PROTECTED] wrote: There is a minor problem I have not had time to correct yet. encoding is an attribute, but if its set the serializer should check that its non-us/uk/aus and in that case set encoding to 16-bit. However currently it

Cocoon Connection Pooling and Database Shutdown

2002-10-16 Thread Michael Edge
Could anyone shed some light on what happens to the Cocoon connection pool when the database it depends on is shutdown and then restarted. I expect an exception to be thrown as the connections are invalid, and though I don't explicitly catch it using esql:error-results in my XSP page, I

Re: Cocoon Connection Pooling and Database Shutdown

2002-10-16 Thread Antonio Gallardo Rivera
Try this tag: esql:error-results The error is: esql:get-message/ /esql:error-results Antonio Gallardo El Miércoles, 16 de Octubre de 2002 06:51, Michael Edge escribió: Could anyone shed some light on what happens to the Cocoon connection pool when the database it depends on is

Re: Cocoon Connection Pooling and Database Shutdown

2002-10-16 Thread Berin Loritsch
Michael Edge wrote: Could anyone shed some light on what happens to the Cocoon connection pool when the database it depends on is shutdown and then restarted. I expect an exception to be thrown as the connections are invalid, and though I don't explicitly catch it using esql:error-results in

Re: Cocoon Connection Pooling and Database Shutdown

2002-10-16 Thread Antonio Gallardo Rivera
I forgot: See below El Miércoles, 16 de Octubre de 2002 06:51, Michael Edge escribió: Could anyone shed some light on what happens to the Cocoon connection pool when the database it depends on is shutdown and then restarted. I expect an exception to be thrown as the connections

RE: Cocoon 1.8.2 and FOP 0.20.4

2002-10-16 Thread George Pieri
Do you know if new Cocoon 2.0 supports the new FOP ? Even though I think cocoon and APIs such as FOP are great the general trend that I seem to finding is that the software tends not to be backward compatable which sometimes make it difficult in a corporate environment. Thanks for your

Reference to a servlet in sitemap

2002-10-16 Thread Mauro Daniel Ardolino
Hi! I have tried to reference a servlet in sitemap without success. I searched in the web and in the mails an haven't found an answer. I have to program a servlet (e.g. a simple servlet that throws a html). So I configured the servlet in the web.xml file. Then, because I'm using cocoon, I have

xInclude and SQL Transformer NullPointerException

2002-10-16 Thread Martin Schimak
I experience the following problem: I am including fragments of another xml file using xinclude and the xpointer() syntax. Works fine. If I then want to use the SQLTransformer within the same pipeline, I get a org.apache.cocoon.ProcessingException: Failed to execute pipeline.:

Re: AW: [HELP] What's wrong?

2002-10-16 Thread Geoff Howard
--- simo kauranen [EMAIL PROTECTED] wrote: As a matter of fact cocoon finds my transformer (which I have written myself and which is placed in WEB-INF/classes/org/apache/cocoon/transformation) in the components element, otherwise it would throw ClassNotFoundException. Are you certain

PHP servlet problems

2002-10-16 Thread Gabriel Egolf
Hi, I am trying to integrate the functionality of PHP with Cocoon, but I seem to have run into some problems. When I try to run a small test script, 1 of 2 things will happen. 1. I get nothing back (the browser just sits and acts busy), or 2. If I restart my servlet engine, I receive a

mod-db example not working.

2002-10-16 Thread Antonio Gallardo Rivera
I am trying to start the example of mod-db using PostgreSQL. Currently, I have the autoincr, working, but the problem now is inserting a new row in the table groups - the easier one ;). In the database.xml there is defined as: table name=groups keys key name=gid

Re: Cocoon Connection Pooling and Database Shutdown

2002-10-16 Thread Michael Edge
Why should I use carriage returns in my messages, Berin? Michael - Message from Berin Loritsch [EMAIL PROTECTED] on Wed, 16 Oct 2002 09:01:01 -0400 - To: [EMAIL PROTECTED]

Re: Cocoon Connection Pooling and Database Shutdown

2002-10-16 Thread Berin Loritsch
Michael Edge wrote: Why should I use carriage returns in my messages, Berin? So that we don't have to scroll on forever in one direction, and it makes it alot easier to interpose comments throughout your message--adding context to other people's response. -- They that give up essential

Re: mod-db example not working.

2002-10-16 Thread Christian Haul
On 16.Oct.2002 -- 07:53 AM, Antonio Gallardo Rivera wrote: Thread-9/DatabaseAction: Could not select output mode attribute:null So, you are using a CVS version, eh? The default outputmode used to be (and still is) attribute which was recently renamed request-attr. You need to add / change the

RE: Cocoon Connection Pooling and Database Shutdown

2002-10-16 Thread Hunsberger, Peter
Why should I use carriage returns in my messages, Berin? So that we don't have to scroll on forever in one direction, and it makes it alot easier to interpose comments throughout your message--adding context to other people's response. Berin, what mail client are you using? Most have a

Re: Cocoon Connection Pooling and Database Shutdown

2002-10-16 Thread Berin Loritsch
Hunsberger, Peter wrote: Why should I use carriage returns in my messages, Berin? So that we don't have to scroll on forever in one direction, and it makes it alot easier to interpose comments throughout your message--adding context to other people's response. Berin, what mail

Re: mod-db example not working.

2002-10-16 Thread Bobby Mitchell
Antonio Gallardo Rivera wrote: I am trying to start the example of mod-db using PostgreSQL. Currently, I have the autoincr, working, but the problem now is inserting a new row in the table groups - the easier one ;). In the database.xml there is defined as: table name=groups keys

Re: Cocoon Connection Pooling and Database Shutdown

2002-10-16 Thread Steven Noels
Berin Loritsch wrote: I've had other people complain to me about the same thing. When you *respond* using Mozilla, what was once a auto-wrapped line is now one long line that goes on forever. In the message composition menu: Options Rewrap. I use it all the time - dunnow if my mails are

Re: TransFormers

2002-10-16 Thread Jeff Turner
On Wed, Oct 16, 2002 at 01:57:38PM +0900, Tanmay Kumar wrote: Hi all, I am finding Cocoon very useful for our project. Thanks a lot to the developers... I have one requirement like this. Is there any Cocoon class to address this issue? Input will be a DOM node, but while parsing the DOM

RE: Request parameters in a cocoon:/

2002-10-16 Thread Ryan Agler
In my experience the request parameters seem to be preserved. I am using the interpreted sitemap (not sure if that makes a difference) and have several places in my sitemap where I am certain they are working. For example: map:match pattern=*.xsp map:generate type=serverpages

Re: mod-db example not working.

2002-10-16 Thread Bobby Mitchell
Bobby Mitchell wrote: Antonio Gallardo Rivera wrote: I am trying to start the example of mod-db using PostgreSQL. Currently, I have the autoincr, working, but the problem now is inserting a new row in the table groups - the easier one ;). In the database.xml there is defined as: table

Re: Cocoon Connection Pooling and Database Shutdown

2002-10-16 Thread Bobby Mitchell
Hunsberger, Peter wrote: Why should I use carriage returns in my messages, Berin? So that we don't have to scroll on forever in one direction, and it makes it alot easier to interpose comments throughout your message--adding context to other people's response.

Re: mod-db example not working.

2002-10-16 Thread Antonio Gallardo Rivera
Thanks Bobby. Antonio Gallardo El Miércoles, 16 de Octubre de 2002 08:53, Bobby Mitchell escribió: Bobby Mitchell wrote: Antonio Gallardo Rivera wrote: I am trying to start the example of mod-db using PostgreSQL. Currently, I have the autoincr, working, but the problem now is

Re: mod-db example not working.

2002-10-16 Thread Antonio Gallardo Rivera
Thanks, Chris. Yes, I am using the lastest 2.1 CVS, like always ;) I made this changes in the sitemap: map:action name=mod-db-add src=org.apache.cocoon.acting.modular.DatabaseAddAction descriptordatabase.xml/descriptor inputrequest-param/input output-moderequest-attr/output-mode

RE: Request parameters in a cocoon:/

2002-10-16 Thread ROSSEL Olivier
map:match pattern=*.xsp map:generate type=serverpages src=xsp/(1).xsp/ map:transform src=stylesheets/copySelf.xsl / map:serialize type=xml/ /map:match map:match pattern=bigPage map:aggregate element=page map:part src=cocoon:/data1.xsp/ map:part

Q: Stripped-Down usage? (no web server)

2002-10-16 Thread Torched Salamander
Has anyone used *just* the core components of cocoon in a project? I don't have a web server, I'm not running tomcat. Currently, I have a bunch of java classes that make SQL calls against a DB, and build up a big XML doc. I then have more java classes that apply various XSL transformations

Re: xInclude and SQL Transformer NullPointerException

2002-10-16 Thread Timothy Larson
I had a similar problem. When I used the XInclude transformer, I got a NullPointerException when I tried to refer to the results with the cocoon:/ protocol. Here was my solution (bad hack, but it worked): I made a stylesheet copy-of.xsl that simply copied what it was passed without changing it.

RE: Request parameters in a cocoon:/

2002-10-16 Thread Ryan Agler
Good question -- I have not tried that scenario. As a workaround, instead of extracting request parameters from a stylesheet, you could something like this in the xsp fooxsp:exprrequest.getParameter(foo)/xsp:expr/foo barxsp:exprrequest.getParameter(bar)/xsp:expr/bar and use XSLT to get the

RE: Request parameters in a cocoon:/

2002-10-16 Thread ROSSEL Olivier
Good question -- I have not tried that scenario. As a workaround, instead of extracting request parameters from a stylesheet, you could something like this in the xsp fooxsp:exprrequest.getParameter(foo)/xsp:expr/foo barxsp:exprrequest.getParameter(bar)/xsp:expr/bar and use XSLT to get

Re: Request parameters in a cocoon:/

2002-10-16 Thread Cédric Damioli
ROSSEL Olivier wrote: Good question -- I have not tried that scenario. As a workaround, instead of extracting request parameters from a stylesheet, you could something like this in the xsp fooxsp:exprrequest.getParameter(foo)/xsp:expr/foo barxsp:exprrequest.getParameter(bar)/xsp:expr/bar and

RE: Request parameters in a cocoon:/

2002-10-16 Thread ROSSEL Olivier
I think that a cocoon:/ call resets all the requestParameters. Maybe, but it should not! Are you sure? Its purpose is to create a new request with old AND new parameters (AFAIU) Well, if you have ideas about how I can pass NEW request parameters for the cocoon:/ call, I am really

Re: mod-db example not working.

2002-10-16 Thread Antonio Gallardo Rivera
Sorry, I made and error, I needed to change: output-mode to output in the below description. Antonio Gallardo El Miércoles, 16 de Octubre de 2002 09:09, Antonio Gallardo Rivera escribió: Thanks, Chris. Yes, I am using the lastest 2.1 CVS, like always ;) I made this changes in the sitemap:

Re: mod-db example not working.

2002-10-16 Thread Antonio Gallardo Rivera
Bobby: Are you using the lastes CVS too? Antonio Gallardo El Miércoles, 16 de Octubre de 2002 08:53, Bobby Mitchell escribió: Bobby Mitchell wrote: Antonio Gallardo Rivera wrote: I am trying to start the example of mod-db using PostgreSQL. Currently, I have the autoincr, working, but

Re: Q: Stripped-Down usage? (no web server)

2002-10-16 Thread Geoff Howard
You can use the cocoon CLI command line interface, by executing org.apache.cocoon.Main. It's not very well documented, but you can glean enough to use it from the archive, the source code and the build target for the docs. HTH, Geoff Howard --- Torched Salamander [EMAIL PROTECTED] wrote: Has

Re: mod-db example not working.

2002-10-16 Thread Christian Haul
On 16.Oct.2002 -- 10:53 AM, Bobby Mitchell wrote: Here others-mode request is saying get the values from however I defined type=request in the mode name. Other values are: attrib - get values from attributes; session if input/ is session, request if input/ is request. others -- I'm not

Problems running servlets under cocoon

2002-10-16 Thread Mauro Daniel Ardolino
Hello! I'm having problems trying to run servlets under cocoon. Error message on browser: Cocoon 2 - Internal server error java.lang.RuntimeException: servlet/maeff could not be found. (possible context problem) at

Re: mod-db example not working.

2002-10-16 Thread Bobby Mitchell
Antonio Gallardo Rivera wrote: Bobby: Are you using the lastes CVS too? Yes, from about 2 weeks ago. Antonio Gallardo El Miércoles, 16 de Octubre de 2002 08:53, Bobby Mitchell escribió: Bobby Mitchell wrote: Antonio Gallardo Rivera wrote: I am trying to start the example

Re: mod-db example not working.

2002-10-16 Thread Bobby Mitchell
Could you be a bit more specific, what values you are referring to? I had the most trouble figuring out the descriptor file. keys key name=ID type=string autoincrement=false mode name=request parameter=ID type=all/ !-- if mode is not defined it defaults to request

Re: Q: Stripped-Down usage? (no web server)

2002-10-16 Thread Jerry Fowler
My home-rolled version (which you can easily improve) is: #!/bin/tcsh setenv CATALINA_HOME here setenv CATALINA_BASE there cd $CATALINA_BASE foreach lib (`find $CATALINA_HOME/common/lib webapps/cocoon/WEB-INF/lib -name *.jar`) if (! $?CLASSPATH ) then setenv

RE: Request parameters in a cocoon:/

2002-10-16 Thread Lee V
Modifying Ryan's example a little bit... map:match pattern=*.xsp map:generate type=serverpages src=xsp/(1).xsp/ map:transform src=stylesheets/copySelf.xsl map:parameter name=use-request-parameters value=true / /map:transform map:serialize type=xml/ /map:match map:match pattern=bigPage

Re: Cocoon 1.8.2 and FOP 0.20.4

2002-10-16 Thread J.Pietschmann
George Pieri wrote: Do you know if new Cocoon 2.0 supports the new FOP ? Yes on both accounts. Even though I think cocoon and APIs such as FOP are great the general trend that I seem to finding is that the software tends not to be backward compatable which sometimes make it difficult in a

Modular FormValidator?

2002-10-16 Thread Antonio Gallardo Rivera
Hi! I am finished a challenge with Modular Database Actions. :) Can someone tell me if there are some similar in the FormValidator? I mean some kind of FormValidator action that can be combined with Modular Databse Actions. Thanks in advance, Antonio Gallardo

[C 2.1 CVS] - About roles in user Authentication

2002-10-16 Thread Antonio Gallardo Rivera
I have configured the User Authentication sucessfully. I saw that there is a role field. Is this value a must field? I made my own path building tables in a database for users, object and permission. The permissions are for example: Admin users, admin lists, create new data, etc. Then I saw

DBPrism with DB2

2002-10-16 Thread Shawn Hainsworth
Has anyone used DB Prism with DB2, specifically DB2 on the I-Series (AS/400). I have not been able to find any adapters -- just stubs in the DB Prism source? - Please check that your question has not already been answered in

Sunrise Authorization Tutorials

2002-10-16 Thread Richard Reyes
Hello Guys, I am creating application portal where i'll be using Sunrise Authentication and Authorization. I think I have implemented the basics of Authentication and what left is the implementations of the Authorization. Can anyone give me any examples on how to implement these in my

Re: Modular FormValidator?

2002-10-16 Thread Christian Haul
On 16.Oct.2002 -- 03:14 PM, Antonio Gallardo Rivera wrote: Hi! I am finished a challenge with Modular Database Actions. :) Can someone tell me if there are some similar in the FormValidator? No. There's one reading request attributes and one reading session attributes. And of course the